update_document
Modify an existing invoice, receipt, or other document type. Adjust line items, dates, notes, or other fields to keep records accurate.
Instructions
Update an existing document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docType | Yes | Type of document | |
| documentId | Yes | Document ID to update | |
| contactId | No | Contact ID for the document | |
| items | No | Array of line items | |
| date | No | Document date as Unix timestamp | |
| notes | No | Notes for the document | |
| currency | No | Currency code (e.g., EUR, USD) | |
| invoiceNum | No | Document reference number (e.g. invoice number from supplier) | |
| salesChannelId | No | Sales channel ID to associate with the document | |
| expAccountId | No | Expense account ID for expense documents |