create_invoice
Creates an unbooked Fortnox invoice for a customer from article rows, with optional freight, currency and references. Invoice quantities count as delivered and reduce stock.
Instructions
Create an invoice (unbooked). rows: [{article_number, quantity, price, description?}]. Invoice quantities are delivered quantities and take the goods out of stock.
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": {
"customer_number": "<customer_number>",
"rows": "<rows>"
},
"name": "create_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| dry_run | No | ||
| freight | No | ||
| remarks | No | ||
| currency | No | ||
| language | No | ||
| extra_fields | No | ||
| our_reference | No | ||
| your_reference | No | ||
| customer_number | Yes | ||
| terms_of_payment | No | ||
| your_order_number | No |