Reverse booking
Reverses an existing booking entry via a GoBD-compliant counter-booking with swapped accounts. By default the reversal is posted with today's date in the current open period; with posting_mode=original_period the open source period can be corrected.
reverse_booking
Authorization
Authorization string header required API key in the format
ll_.... Pass as a Bearer token in the OAuth flow. Scopes
journal:write
Parameters
intent_id string (uuid) required intent_id of the booking entry to reverse
reason string required Reversal reason, e.g. 'Wrong account assignment'
posting_mode current_period | original_period optional Default: current_period. original_period posts the reversal to the date of the original booking if the source period is open.
Response
200
Success
MCP
JSON reverse_booking {
"tool": "reverse_booking",
"params": {
"intent_id": "<string>",
"reason": "<string>",
"posting_mode": "<string>"
}
} 200 Response
JSON {
"status": "<string>",
"reversal_intent_id": "<string>",
"original_intent_id": "<string>",
"event_count": 1
}