Skip to content

Intent: red-storno reversal posting (postings reverses) #6315

Description

@delchev

The postings glue could post a document when a source reaches a status, but not UN-post it - a voided/cancelled source left its journal entry standing, and reversing it required hand-written glue. Add reverses: <sibling posting> + storno: <self relation>: the reversal re-derives the sibling's header and items from the source with every amount expression negated on the SAME debit/credit side (the accounting red-storno convention - never swapped sides), locates the original through the empty storno link (fail-soft skip when the source was never posted), stamps the link on its creation, and both handlers' idempotency guards discriminate by that link.

Retrospective issue for traceability.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions