Prepare booking a supplier invoice
propose_bookkeep_supplier_invoicePrepares bookkeeping a registered supplier invoice, by GivenNumber (Fortnox's own serial number for it), which creates its voucher in Fortnox. Use when the person asks to book a supplier 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: {"SupplierInvoice": {…}}. Fortnox API PUT /3/supplierinvoices/{GivenNumber}/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": {
"GivenNumber": "<GivenNumber>"
},
"name": "propose_bookkeep_supplier_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The request body, as Fortnox expects it: an object | |
| GivenNumber | Yes | identifies the invoice |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||