create_supplier_invoice
Record a new supplier invoice by specifying supplier number, accounting rows, and dates. Your AI agent can log expenses or bills directly in Fortnox.
Instructions
Record a new supplier invoice (expense/bill).
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": {
"supplierNumber": "<supplierNumber>",
"rows": "<rows>"
},
"name": "create_supplier_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Invoice accounting rows (must balance) | |
| total | No | Total amount | |
| dueDate | No | Due date (YYYY-MM-DD) | |
| invoiceDate | No | Invoice date (YYYY-MM-DD) | |
| supplierNumber | Yes | Supplier number in Fortnox |