Ändra verifikatförslag
edit_voucher_draftÄndra ett väntande verifikatförslag (draft) innan det godkänns. Kräver behörigheten 'reconcile'. Argument: orgnr, draft_id; valfritt date (YYYY-MM-DD), series, text, lines, note. Rader: [{account, debit_ore, credit_ore, text?}] i öre med exakt ett belopp skilt från noll per rad, eller [{account, amount_ore, text?}] med tecken (debet positivt, kredit negativt). Raderna kommer tillbaka med båda formaten från list_voucher_drafts och get_voucher.
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": {
"orgnr": "<orgnr>",
"draft_id": "<draft_id>"
},
"name": "edit_voucher_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| note | No | ||
| text | No | ||
| lines | No | ||
| orgnr | Yes | Bolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies. | |
| series | No | ||
| draft_id | Yes |