Skip to content

DOM-ACC-REC-002Outstanding Settlement Item

Markdown

DOM-ACC-REC-002

Outstanding Settlement Item

Markdown
  • DocumentDraft
  • ImplementationObserved

Planning

Specified by
CON-ACC-REC-002

Design

Owned by
SVC-ACC-REC-reconciliation

KindDomain objectProduct areaAccountingModuleReconciliationRevision3

Read atservices-accounting f47cb263react-console baf6dae3

Relationships

ToCardinalityOwnershipCrosses a serviceOn archive or delete
DOM-ACC-REC-003many-to-one active claim (any number of released claims)The explanation owns its holding references and preserves released history.no
DOM-ACC-REC-001many-to-many through the claiming reconciliationThe association is derived through the explanation or candidate read; neither record owns the other.no
DOM-ACC-REC-004one-to-many (at most one open overdue problem at a time)The concern retains its own references to affected records.no
DOM-ACC-REC-005many-to-one per periodAssessment reads the relationship without owning the underlying record.no

Invariants

InvariantProtectsEnforced atProvenance
INV-DOM-ACC-REC-002-01
A deterministic effect key identifies one item; a matching repeat reuses it and a materially different effect is refused.
service, databaseobserved
INV-DOM-ACC-REC-002-02
Caller-recorded payment, refund and reversal effects share the document’s commit or rollback.
servicedocumented
services-accounting:docs/reconciliation/architecture.md#6. Reconciliation financial invariants (INV-20)
INV-DOM-ACC-REC-002-03
Effect kind constrains the sign, and an adjustment must be nonzero.
service, databaseobserved
INV-DOM-ACC-REC-002-04
Database triggers protect financial identity and supplied processor references; service commands fill eligibility dates once.
service, databaseobserved
INV-DOM-ACC-REC-002-05
An item has one active claim across open and finalized reconciliations.
databasedocumented
services-accounting:docs/milestones/plans/ACCT-M8-plan.md#4. Assumptions (from the design; each becomes a rule in the catalog if not already)
INV-DOM-ACC-REC-002-06
Split commands require same-sign parts; deferred database checks require their total to equal the original.
service, databaseobserved
INV-DOM-ACC-REC-002-07
A manual effect uses a permitted fee, reserve or adjustment kind and retains text or evidence at commit.
databaseobserved
INV-DOM-ACC-REC-002-08
Outstanding standing is derived for the requested day rather than persisted.
servicedocumented
services-accounting:docs/reconciliation/architecture.md#12.1 Decision: hybrid (persisted facts, derived timing)
INV-DOM-ACC-REC-002-09
Changing timing defaults leaves existing expected dates intact.
servicedocumented

The Markdown files under specs/ in rhythmsoftware/rhythm-v2-docs are the canonical source of truth. This reader is a generated, read-only projection of them.