Attach file to invoice
crunch_add_invoice_attachmentAttach files such as timesheets to a sales invoice while keeping existing attachments; add up to five files per invoice.
Instructions
Attach files (for example timesheets) to a sales invoice. Existing attachments are kept; an invoice can have up to 5.
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>",
"attachments": "<attachments>"
},
"name": "crunch_add_invoice_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview: return the request that would be sent (for an update, the fields that would change) without sending it | |
| invoice_id | Yes | Invoice ID (see crunch_list_invoices) | |
| attachments | Yes | Files to attach (an invoice can have up to 5) |