Actions40
- Customer Actions
- Customer Group Actions
- Discount Actions
- Document Actions
- Document Payment Actions
- SEPA Payment Actions
Document → Cancel Document
AI-generatedOverview
This node operation cancels a document in the EasyBill system. It is useful in scenarios where a previously created document (such as an invoice or order) needs to be invalidated or retracted. For example, if an invoice was issued by mistake or needs to be voided, this operation sends a cancellation request to the EasyBill API for the specified document ID.
Use Case Examples
- Cancel an invoice document by providing its Document ID and optionally choosing to use the standard cancellation text from the document's template.
- Automate document cancellation in workflows where documents need to be retracted based on certain conditions.
Properties
| Name | Meaning |
|---|---|
| Document ID | The unique identifier of the document to be cancelled. |
| Use Text From Template | Whether to use the standard cancellation text from the document's template when cancelling the document. |
Output
JSON
- `` - The JSON response from the EasyBill API after cancelling the document, containing details about the cancellation status and the document.
Dependencies
- EasyBill API key credential for authentication
Troubleshooting
- Ensure the Document ID is valid and exists in the EasyBill system; otherwise, the API will return an error.
- If 'Use Text From Template' is set, ensure the document template supports cancellation text to avoid unexpected results.
- API authentication errors may occur if the EasyBill API key credential is missing or invalid; verify credentials in node settings.
Links
- EasyBill API Documentation - Official API documentation for EasyBill, including endpoints for document management.
