update_invoice
Change an unbooked invoice’s header fields and replace all rows, including setting the customer email address when re-pointing to another customer.
Instructions
Change an UNBOOKED invoice (Fortnox header fields; rows replaces ALL rows — include RowId in extra to keep
rows). Re-pointing to another customer does NOT update the e-mail address (EmailInformation.EmailAddressTo) —
set it in fields too.
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": "update_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| fields | No | ||
| dry_run | No | ||
| document_number | Yes |