add_journal_attachment
Upload a file attachment to a journal entry to attach invoices, receipts, or supporting documents.
Instructions
Upload a file attachment to a journal entry. Supported file types: PDF, PNG, JPG, JPEG, GIF, DOC, DOCX, XLS, XLSX. Use this to attach invoices, receipts, or supporting documents to journal entries. Files must be in allowed directories and under 10MB.
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": {
"journal_id": "<journal_id>",
"file_path": "<file_path>"
},
"name": "add_journal_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| organization_id | No | Zoho org ID (uses ZOHO_ORGANIZATION_ID env var if not provided) | |
| journal_id | Yes | Journal ID to attach file to | |
| file_path | Yes | Full local file path to the attachment |