Actions25
- Customer Actions
- Document Actions
- Document Line Actions
- Email Actions
- Family Actions
- Item Actions
Document → Cancel Document
AI-generatedOverview
This node operation cancels a document in the Goldylocks ERP system by sending a cancellation request to the API. It requires the internal ID of the document and a motive for the cancellation. This operation is useful for automating document management workflows where documents need to be programmatically annulled, such as order cancellations or invoice voiding.
Use Case Examples
- Cancel an invoice by providing its internal document ID and a reason for cancellation.
- Automate the annulment of purchase orders that are no longer valid by specifying the document ID and cancellation motive.
Properties
| Name | Meaning |
|---|---|
| Document ID (P) | The internal ID of the document to be cancelled. |
| Anulment Motive (M) | The reason for annulling the document, e.g., 'Anulado via API'. |
Output
JSON
json- Response from the Goldylocks API after attempting to cancel the document, containing details of the cancellation result.
Dependencies
- Goldylocks ERP API access with an API key credential
Troubleshooting
- Ensure the document ID provided is valid and exists in the Goldylocks system; invalid IDs will cause errors.
- The API key credential must be correctly configured and have permissions to cancel documents.
- If the cancellation motive is missing or empty, the API may reject the request.
- Network issues or incorrect base URL configuration can cause request failures.
Links
- Goldylocks ERP API Documentation - Official API documentation for understanding endpoints and parameters related to document cancellation.