Prepare a supplier invoice
propose_create_supplier_invoicePrepares registering a new supplier invoice. Use when the person asks to register an invoice received from a supplier. Rows carry the net amount in Total, not Debit/Credit (Fortnox saves those as 0): send the invoice Total and VAT and only the cost rows; Fortnox adds the VAT and payable rows itself on the company's own accounts. 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": {…}}; required: SupplierNumber. Fortnox API POST /3/supplierinvoices (https://api.fortnox.se/apidocs).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "propose_create_supplier_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The request body, as Fortnox expects it: an object |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||