Actions67
- Archive Document Actions
- Cashbook Actions
- Client Actions
- Company Actions
- E-Invoice Actions
- Email Actions
- Info Actions
- Issued Document Actions
- Product Actions
- Receipt Actions
- Received Document Actions
- Setting Actions
- Supplier Actions
- Tax (F24) Actions
- Webhook Actions
Overview
The node integrates with the Fatture in Cloud API, specifically supporting operations on various resources including E-Invoices. For the E-Invoice Send operation, it allows users to send an electronic invoice document to the relevant system or authority.
This node is beneficial for automating invoicing workflows, especially for businesses that need to issue and submit electronic invoices compliant with local regulations. It can be used to programmatically send issued e-invoices without manual intervention, streamlining accounting and compliance processes.
Practical example:
A company generates invoices in their ERP system and wants to automatically send these invoices as electronic documents to tax authorities or clients via Fatture in Cloud. Using this node, they can trigger sending the invoice by providing the company ID, document ID, and optionally a withholding tax causal.
Properties
| Name | Meaning |
|---|---|
| Company ID | The numeric identifier of the company for which the e-invoice is being sent. |
| Document ID | The numeric identifier of the issued e-invoice document to send. |
| Withholding Tax Causal | Optional string specifying the reason or cause for withholding tax when sending the invoice. |
Output
- The output is a JSON array where each item corresponds to the result of sending an e-invoice document.
- Each JSON object contains the response data returned by the Fatture in Cloud API after attempting to send the e-invoice.
- If the operation fails for any item, the output will include an error object describing the failure (if "Continue On Fail" is enabled).
- The node does not output binary data.
Dependencies
- Requires an API authentication token credential configured in n8n to authenticate requests to the Fatture in Cloud API.
- No additional external dependencies beyond the Fatture in Cloud API.
- The node expects valid company and document IDs corresponding to existing entities in the Fatture in Cloud account.
Troubleshooting
Common issues:
- Invalid or missing company ID or document ID will cause the API call to fail.
- Network or authentication errors if the API key/credential is incorrect or expired.
- Sending an e-invoice that is already sent or in an invalid state may return an error from the API.
Error messages:
- Errors from the API are captured and presented with details such as status code and message.
- Example error:
"Fatture in Cloud API Error: <error message>"with HTTP status and response details. - To resolve, verify input parameters, ensure credentials are valid, and check the document's status in Fatture in Cloud.
Enabling "Continue On Fail" allows processing multiple items even if some fail, returning error details per failed item.