gl

Reverse Gl Journal Entry

Storno a posted journal entry: post its mirror image (accountant role).

Nothing is deleted; the original stays, linked both ways, 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 date and period.

Refusals, in evaluation order — 409 when: the entry is itself a reversal (post a new correcting entry instead); the reversal date falls in a filed/paid VAT period (date it into an open one); an open item still carries a live settlement (unlink or reverse the payment first); or — only with posting_date — its period is closed, its fiscal year sealed, or no fiscal year covers it.

post/companies/{company_id}/gl/journal-entries/{entry_id}/reverse

Request

  • Base URL: https://app.zeno-works.ch (the document declares no server; this is the origin it was published from)
  • URL: https://app.zeno-works.ch/companies/{company_id}/gl/journal-entries/{entry_id}/reverse
  • Auth: none declared

Path parameters

company_idstring required
entry_idstring required

Headers

authorizationstring nullable

Cookies

access_tokenstring nullable

Request body

posting_datestring date nullable

Response

Successful Response

idstring required
company_idstring required
entry_nointeger nullable
period_idstring required
posting_datestring date required
statusstring required
entry_typestring required
originstring required
descriptionstring nullable
debit_total_basestring required
credit_total_basestring required
line_countinteger required
version_nointeger required
reversal_of_entry_idstring nullable
reversed_by_entry_idstring nullable
auto_reverse_datestring date nullable
coding_guessedboolean
untagged_subledger_controlboolean
source_ref_typestring nullable
source_ref_idstring nullable
source_actionstring nullable
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.