Entries no statement backs
Some events have no line in any statement: a property sale or purchase settled on a closing statement (only the net proceeds reach the bank), an expense another of your entities paid, an adjustment your preparer asks for. post_entry records one, with its postings, a narration and the documents behind it (paths under statements/, uploaded first, or links).
- The postings balance in each currency, and every amount is written out.
- Every account is open on the date; open new ones with
add_accountfirst. - No posting goes to an account with a statement source: its money comes from its own statement. Post to
Assets:Clearing(or a suspense account) instead, and categorize the bank line's entry to it. - A posting to an inter-entity account needs a reason why no money moved (its no-transfer reason); a transfer comes from the statements and is linked with
link_transfer. - An entry equal to one already in the books is refused, so a retry cannot post twice; allow a duplicate when a second one is meant.
- The entry is flagged
!for review (or*, when you ask for it cleared at once), and gets a uid thatattach_urltakes for further documents. - A document under
statements/must be in the repository already.
Run it as a dry run first: it returns the entry and check's answer and writes nothing. Post it once you have read the entry.
Removing an entry
remove_entry removes one entry: the one that books a statement line (by its line ID), or the one post_entry wrote (by its uid). The lines it booked are pending again, for book. Use it for an entry post_entry wrote by mistake, or one booked under a model that no longer applies, such as a loan payment split from the bank side once the loan has its own statement lines (see "Loan payments").
- A reason is required: one line, at most 300 characters. It goes into the commit message, with the removed entry's text, so the history says what went and why.
- An entry linked to another repository (
xfer:) is refused: its other side would be left without it. - A reviewed (
*) entry paired throughAssets:Clearingwith a reviewed other side is refused: that side would stay reviewed against nothing. - A removal that would make check fail is refused.
- Run it as a dry run first: it returns the entry and check's answer, and writes nothing.