accrual_discard
Discard a drafted accrual before posting, recording the reason while keeping the row as discarded. Use reversing entries for accruals already posted.
Instructions
Retire a drafted Abgrenzung before it posts. The row stays on record as discarded with its reason; a posted accrual cannot be discarded (already_posted), reverse it instead.
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": {
"workspaceId": "<workspaceId>",
"accrualId": "<accrualId>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "accrual_discard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| accrualId | Yes | ||
| workspaceId | Yes | ||
| idempotencyKey | Yes |