docs: sent tracking in the rules, parity and test records (P4b S5)

rules.md B-27 lists `documents_v2`, the one feature S4 to S7 share
(D-52), including `invoice.sent`; receipt-store.md lists the event;
parity.md gains the sent-tracking row (done: implemented, tested, and
golden-covered by the trial balance of the fixture book around a send);
testing.md records the tests and what P12 must mutate, and names the
two attention predicates as deferred with step 4 until U0b lands.
This commit is contained in:
swaits committed 2026-10-27 13:24:10 -06:00
1 parent 47c0e4396e
commit 7c5a2fe3ce
4 files changed
+72 -4

No files matched your search

+5 -2
View File
@@ -1744,8 +1744,11 @@ which an earlier version refuses (S4.2); a `party.updated` with an email
or a default terms fact (S4.2); an `invoice.created` or `bill.created`
carrying a number, terms, a bill-to or seller snapshot, a customer
reference or memo, a vendor reference, a receipt date or a duplicate's
reason, or a line naming its account, quantity or unit price (S4.3); and
S5 to S7's sends, settlements and write-offs. An older version would
reason, or a line naming its account, quantity or unit price (S4.3);
S5's `invoice.sent` (who sent an invoice, how, to whom and when: a record
that moves no figure); S6's payments with `line`, `discount`,
`discount_line`, `discount_reason`, `fee` or `fee_line`; and S7's
`invoice.written_off`. An older version would
restore the document without them silently: every invoice line would post
to the revenue role and every bill line to general expenses, and every new
event type would be refused. A command asks for