Ångra förberedd bilaga
revert_prepare_bilagaÅngra en FÖRBEREDD-markering på en bilaga (tar bort PREPARER-steget, status → Ej startad). Är bilagan inaktuell (STALE, underlaget har ändrats efter förberedelse eller attest) återställs den helt, även en inaktuell attest. Nekas om bilagan har en giltig attest; den ångras i appen. Kräver 'reconcile'. Argument: orgnr, bilaga_type, account, year, month.
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>",
"bilaga_type": "<bilaga_type>",
"account": "<account>",
"year": "<year>",
"month": "<month>"
},
"name": "revert_prepare_bilaga"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| month | Yes | ||
| orgnr | Yes | Bolagets organisationsnummer, 10 siffror med eller utan bindestreck, t.ex. 559900-1004. Hämta med list_companies. | |
| account | Yes | ||
| bilaga_type | Yes |