Prepare a voucher
propose_create_voucherPrepares a new voucher (bookkeeping entry) with its rows. Use when the person asks to book a transaction, such as a manual entry or a correction. A booked voucher cannot be edited; a mistake is corrected with a new correcting voucher. 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: {"Voucher": {…}}; required: Description, TransactionDate, VoucherRows[].Account, VoucherSeries. Fortnox API POST /3/vouchers (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_voucher"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The request body, as Fortnox expects it: an object | |
| financialyear | No | Financial year id, used to determine which financial year the voucher is created in |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||