Prepare booking an invoice
propose_bookkeep_invoicePrepares bookkeeping a customer invoice, by document number, which creates its voucher in Fortnox. Use when the person asks to book an invoice. This tool only prepares the change and sends nothing to Fortnox; the change is sent after the person approves it, as the answer describes. Body: {"Invoice": {…}}. Fortnox API PUT /3/invoices/{DocumentNumber}/bookkeep (https://api.fortnox.se/apidocs).
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": {
"DocumentNumber": "<DocumentNumber>"
},
"name": "propose_bookkeep_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The request body, as Fortnox expects it: an object | |
| DocumentNumber | Yes | identifies the invoice |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||