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 → Add Attachment
AI-generatedOverview
This node operation allows you to add an attachment file to a specific Vendor Credit record in Zoho Books. It is useful when you want to associate supporting documents such as receipts, invoices, or any relevant files with a vendor credit for better record-keeping and audit trails.
Common scenarios:
- Uploading scanned receipts or credit memos related to a vendor credit.
- Attaching warranty documents or correspondence files to vendor credits.
- Adding any binary file (PDF, image, etc.) that supports the vendor credit transaction.
Practical example:
You have a vendor credit created for returned goods, and you want to upload the return authorization form as an attachment. Using this node operation, you specify the vendor credit ID and provide the binary data of the form file, optionally marking it as sendable via email.
Properties
| Name | Meaning |
|---|---|
| Vendor Credit ID | The unique identifier of the vendor credit record to which the attachment will be added. |
| Binary Property | The name of the binary property in the input data that contains the file to upload. |
| Send in Mail | Boolean flag indicating whether this attachment can be sent in emails (true/false). |
Output
The output JSON contains the response from Zoho Books API after adding the attachment. Typically, it includes details confirming the successful upload and metadata about the attachment.
If the node processes multiple items, each output item corresponds to one attachment upload result paired with the input item.
The node does not output binary data itself; it only uploads binary data provided in the input.
Dependencies
- Requires an active connection to Zoho Books via an OAuth2 API credential configured in n8n.
- The node depends on the Zoho Books API endpoint for vendor credit attachments.
- Input binary data must be provided in the specified binary property of the incoming item.
Troubleshooting
- Missing or invalid Vendor Credit ID: Ensure the vendor credit ID is correct and exists in your Zoho Books account.
- Binary property not found: Verify that the binary property name matches exactly the name of the binary data field in the input.
- File upload errors: Check file size limits and supported file types according to Zoho Books API documentation.
- Authentication errors: Confirm that the OAuth2 credentials are valid and have sufficient permissions.
- API rate limits: If many attachments are uploaded rapidly, you might hit API rate limits; consider adding delays or error handling.