Zoho Books icon

Zoho Books

Consume Zoho Books API

Credit Note → Add Attachment

AI-generated

Overview

This node operation allows you to add an attachment file to a specific Credit Note in Zoho Books. It is useful when you want to associate supporting documents, such as PDFs, images, or other files, with a credit note record for better record-keeping and communication.

Common scenarios include:

  • Uploading scanned receipts or related documents to a credit note.
  • Attaching approval forms or correspondence related to the credit note.
  • Adding files that can be sent along with emails referencing the credit note.

For example, after creating a credit note, you might use this operation to upload a PDF copy of the credit note or any relevant contract document.

Properties

Name Meaning
Credit Note ID The unique identifier of the credit note to which the attachment will be added.
Binary Property The name of the binary data property containing the file to upload (e.g., "data").
Send in Mail Boolean flag indicating whether this attachment can be included when sending emails.

Output

The output JSON contains the response from Zoho Books API regarding the attachment addition. Typically, it includes details about the uploaded attachment such as its ID, filename, and metadata confirming successful upload.

If the node supports binary data input, it expects the file content in a binary property specified by the user but does not output binary data itself.

Dependencies

  • Requires a valid API authentication token configured via OAuth2 credentials for Zoho Books.
  • The node depends on Zoho Books API endpoints for credit notes and attachments.
  • The binary file to upload must be available in the workflow's binary data under the specified property name.

Troubleshooting

  • Missing or invalid Credit Note ID: Ensure the Credit Note ID provided exists and is correct; otherwise, the API will return an error.
  • Binary property not found or empty: Verify that the binary property name matches the actual binary data property in the input item and that it contains valid file data.
  • API authentication errors: Confirm that the OAuth2 credentials are correctly set up and have sufficient permissions.
  • Attachment size limits: Large files may be rejected by the API; check Zoho Books documentation for file size restrictions.
  • "Unsupported resource" error: This occurs if the resource parameter is incorrect or not implemented; ensure "creditNote" is selected as the resource.

Links and References

Discussion