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
Bill → Add Attachment
AI-generatedOverview
This node operation allows you to add an attachment file to a specific bill in Zoho Books. It is useful when you want to associate supporting documents such as receipts, invoices, or any relevant files with a bill record for better organization and record-keeping.
Typical use cases include:
- Uploading scanned copies of paper bills.
- Attaching PDF invoices received from vendors.
- Adding images or other documents related to the bill for audit or reference purposes.
For example, after creating a bill in Zoho Books, you can use this operation to upload a PDF receipt stored in binary form within n8n, linking it directly to that bill.
Properties
| Name | Meaning |
|---|---|
| Bill ID | The unique identifier of the bill 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 | A boolean flag indicating whether this attachment can be included when sending emails. |
Output
The output JSON contains the response from Zoho Books API after adding the attachment. This typically includes metadata about the uploaded attachment such as its ID, filename, and associated bill details.
If the node processes multiple items, each output item corresponds to one attachment upload result paired with the respective input item.
The node does not output binary data itself; it uploads binary data provided in the input.
Dependencies
- Requires an active connection to Zoho Books via OAuth2 credentials configured in n8n.
- The node depends on Zoho Books API endpoints for bills and attachments.
- Input binary data must be correctly set up in the workflow prior to this node (e.g., from a previous node that fetches or generates files).
Troubleshooting
- Missing or invalid Bill ID: Ensure the "Bill ID" property is correctly set and corresponds to an existing bill in Zoho Books.
- Binary property not found: Verify that the specified binary property name matches the actual binary data key in the input.
- Authentication errors: Confirm that the OAuth2 credentials are valid and have sufficient permissions to modify bills and upload attachments.
- File size limits: Large files may be rejected by the API; check Zoho Books documentation for attachment size restrictions.
- API rate limits: If many attachments are uploaded rapidly, you might hit API rate limits; consider adding delays or error handling to retry.
Common error messages usually relate to invalid parameters or authentication failures and can be resolved by verifying input values and credentials.