Easybill icon

Easybill

Interact with Easybill API

Overview

This node integrates with the Easybill API to manage documents, specifically supporting updating documents of type "Invoice". The primary function of the "Update Document" operation is to change the status of an existing invoice document. Common scenarios include marking an invoice as finalized once payment is received or cancelling an invoice if it was issued in error.

Practical examples:

  • Finalizing an invoice after confirming payment completion.
  • Cancelling an invoice that should no longer be processed or sent.

Properties

Name Meaning
Document Select the invoice document to update. Can be chosen from a searchable list or by ID.
New Status The new status to assign to the selected document. Options: "Cancelled" or "Finalized".

Note: Only documents of type "Invoice" are supported for this operation.

Output

The node outputs a JSON array containing the response(s) from the Easybill API after attempting to update the document(s). Each item in the output corresponds to the updated document data returned by the API.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Easybill API via an API key credential configured in n8n.
  • The node depends on internal helper methods and endpoint handlers bundled within the node's codebase to communicate with Easybill.

Troubleshooting

  • Invalid Document ID: If the provided document ID does not match the expected numeric format, the node will reject it. Ensure the document ID consists only of digits.
  • Unsupported Document Type: Attempting to update documents other than invoices will not work, as only invoice documents are supported.
  • API Authentication Errors: Failure to authenticate with Easybill API due to missing or invalid credentials will cause errors. Verify API key configuration.
  • Network Issues: Connectivity problems can prevent successful API calls. Check network access and Easybill service status.
  • Empty or Invalid Document Selection: Selecting no document or an invalid document from the list will result in errors. Always select a valid invoice document.

Links and References

Discussion