Bokför kvittona
prepare_inbox_receiptsReads the receipts and expenses in the inbox folder Kvitto & Utlägg (receipts and expenses), assigns accounts and returns vouchers as one batch proposal for the person to review. Use when the person asks to book the receipts in the inbox. betalt_med says how they were paid (bank, cash, an employee's expense or an account number). It books nothing: the batch is sent only after the person approves it. Example question: "Bokför kvittona som ligger i inkorgen. De är betalda med företagskortet." Read-only; computed on the server from live Fortnox data over all pages (Fortnox API, 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": "prepare_inbox_receipts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | högst så många filer per gång, standard 10, högst 20 Number. | |
| filer | No | filernas id, kommaseparerade — standard alla i mappen Kvitto & Utlägg Comma-separated. | |
| kontering | No | historik (standard: som samma säljare bokförts tidigare) eller ett kostnadskonto för alla | |
| betalt_med | No | bank (standard: bolagets bankkonto), kassa, utlagg (en anställd lade ut — skuld till den anställde) eller ett kontonummer |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||