Actions76
- Bill Actions
- Contact Actions
- Credit Note Actions
- Invoice Actions
- Item Actions
- Sales Order Actions
- Tax Actions
- Tax Group Actions
- Tax Exemption (US only) Actions
- Vendor Actions
- Vendor Credit Actions
Vendor Credit → Delete Attachment
AI-generatedOverview
This node interacts with the Zoho Books API to manage vendor credits and their attachments. Specifically, the "Delete Attachment" operation under the "Vendor Credit" resource allows users to delete an attachment associated with a particular vendor credit record in Zoho Books.
Common scenarios for this node include:
- Automating cleanup of outdated or incorrect attachments on vendor credit records.
- Managing document lifecycle by programmatically removing files no longer needed.
- Integrating with workflows that update vendor credits and require attachment management.
For example, if a user has uploaded an incorrect invoice copy as an attachment to a vendor credit, they can use this node to delete that attachment automatically without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Vendor Credit ID | The unique identifier of the vendor credit from which the attachment will be deleted. |
Output
The output JSON contains the response from the Zoho Books API after attempting to delete the attachment. Typically, this will confirm whether the deletion was successful or provide error details if it failed.
No binary data is output by this operation.
Example output JSON structure:
{
"message": "Attachment deleted successfully"
}
or in case of failure:
{
"error": "Attachment not found"
}
Dependencies
- Requires an active connection to Zoho Books via an OAuth2 credential configured in n8n.
- The node depends on the Zoho Books API being accessible and the authenticated user having permissions to delete attachments on vendor credits.
Troubleshooting
Common issues:
- Invalid or missing Vendor Credit ID: Ensure the ID provided corresponds to an existing vendor credit.
- Insufficient permissions: The API credentials must have rights to modify vendor credits and their attachments.
- Network or API errors: Temporary connectivity issues or API rate limits may cause failures.
Error messages:
"Unsupported resource": This indicates the resource parameter is incorrect or not implemented; ensure "vendorCredit" is selected.- API errors returned from Zoho Books (e.g., "Attachment not found") indicate the specified attachment does not exist or was already deleted.
Resolution tips:
- Double-check the Vendor Credit ID input.
- Verify API credentials and permissions.
- Handle errors gracefully using the node's "Continue On Fail" option if appropriate.