Accounting

Reverse a posted manual journal entry

Creates a new posted entry with flipped debits/credits; the original stays posted and the pair nets to zero. Bank-feed journals must use a reviewed automation-assurance reversal manifest. Use when a manual entry's original period is closed or the original must remain visible. Use void OR reverse for a manual posting, never both - combining them over-corrects by the full entry amount. The reversal date must fall in an open period.

post/entries/{id}/reverse

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/entries/{id}/reverse
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Path parameters

idstring uuid required

Journal entry id

Request body

reasonstring required

Reason for the reversal

datestring date

Reversal entry date (YYYY-MM-DD). Defaults to today.

Response

Reversal entry created

originalEntryIdstring
reversalEntryobject

Changes

No recorded changes to this operation across all 5 revisions of this API.