add_invoice_attachment
Attach supporting documents to invoices by uploading PDFs, images, or spreadsheets.
Instructions
Upload a file attachment to an invoice. Supported file types: PDF, PNG, JPG, JPEG, GIF, DOC, DOCX, XLS, XLSX. Use this to attach supporting documents to invoices.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice_id": "<invoice_id>",
"file_path": "<file_path>"
},
"name": "add_invoice_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_id | No | Zoho org ID (uses ZOHO_ORGANIZATION_ID env var if not provided) | |
| invoice_id | Yes | Invoice ID to attach file to | |
| file_path | Yes | Full local file path to the attachment |