Update a sales invoice
update_sales_invoiceUpdate an existing sales invoice by ID to modify lines, dates, or references. Works only for invoices in concept status, ensuring no changes to finalized documents.
Instructions
Update a sales invoice.
Update an existing sales invoice by ID. The invoice must be in concept status.
[Sales Invoices] PUT /invoices/sales/{id}
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": {
"id": "<id>",
"body": "<body>"
},
"name": "update_sales_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the sales invoice to update. | |
| body | Yes | ||
| administration | No | The client administration to act on. Only one is configured: default. |