reverse_gl_journal_entry
Storno a posted journal entry: post its mirror image (accountant role).
Nothing is deleted; the original stays, linked, and the reversal entry is returned. The only VAT-correct storno door — VAT postings, open items and what the document spawned are all unwound.
body.posting_date dates the reversal and decides its period; omitted, it reuses
the original's. A closed-period entry needs one in an open period and a person:
the reversal is booked there; the entry stays unchanged.
409 when: the entry is a reversal or already corrected; the date falls in a filed VAT period; an open item still carries a live settlement; the target period is closed or sealed; or a closed-period entry cannot be corrected (the reason is named).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| entry_id | Yes | ||
| company_id | Yes |