Update Fortnox Invoice
fortnox_update_invoiceUpdate existing unbooked Fortnox invoices by document number. Modify rows, dates, fees, and references to correct or adjust invoice details.
Instructions
Update an existing invoice in Fortnox. Only unbooked invoices can be updated.
Args:
document_number (string): Invoice document number to update (required)
rows (array): Updated line items (replaces all existing rows)
Other fields: Same as create_invoice
Returns: The updated invoice details.
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": {
"document_number": "<document_number>"
},
"name": "fortnox_update_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Updated invoice rows (replaces all existing rows) | |
| freight | No | Freight/shipping cost | |
| remarks | No | Remarks printed on the invoice | |
| comments | No | Comments on the invoice | |
| due_date | No | Due date (YYYY-MM-DD) | |
| invoice_date | No | Invoice date (YYYY-MM-DD) | |
| our_reference | No | Our reference person | |
| your_reference | No | Customer's reference person | |
| document_number | Yes | Invoice document number to update (required) | |
| response_format | No | Output format: 'markdown' or 'json' | markdown |
| administration_fee | No | Administration fee |