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
This node integrates with the "Fatture in Cloud" API, allowing users to manage various accounting and business-related resources. Specifically, for the Archive Document - Delete operation, it enables the deletion of an archived document within a specified company. This is useful for scenarios where outdated or incorrect archive documents need to be removed from the system to maintain accurate records.
Practical examples include:
- Removing mistakenly archived invoices or receipts.
- Cleaning up old documents that are no longer relevant.
- Automating document lifecycle management by deleting archives after a certain period.
Properties
| Name | Meaning |
|---|---|
| Company ID | The numeric identifier of the company under which the archive document exists. |
| Document ID | The numeric identifier of the specific archive document to delete. |
Output
The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
- The output
jsonfield contains the response from the Fatture in Cloud API after attempting to delete the archive document. - If the operation fails and "Continue On Fail" is enabled, the output will contain an error object describing the failure.
- No binary data output is involved in this operation.
Dependencies
- Requires an OAuth2 API credential for authenticating with the Fatture in Cloud API.
- The node depends on the external Fatture in Cloud service being available and accessible.
- Proper permissions must be granted to the API key/token to perform delete operations on archive documents.
Troubleshooting
Common issues:
- Invalid or missing Company ID or Document ID parameters.
- Insufficient permissions for the API token to delete archive documents.
- Network connectivity problems preventing access to the Fatture in Cloud API.
- Attempting to delete a non-existent or already deleted document.
Error messages:
"Unknown resource: archive"— indicates the resource parameter is incorrect or unsupported."Fatture in Cloud API Error: <message>"— generic API error; check the message for details such as permission denied, invalid IDs, or validation errors.- Validation errors may appear if required parameters are missing or malformed.
Resolutions:
- Verify that Company ID and Document ID are correct and correspond to existing entities.
- Ensure the API credentials have the necessary scopes/permissions.
- Check network connectivity and API endpoint availability.
- Enable "Continue On Fail" to handle errors gracefully in workflows.
Links and References
- Fatture in Cloud Official API Documentation
- n8n Documentation on Creating Custom Nodes
- OAuth2 Authentication Setup in n8n (generic reference)