Write-off lifecycle
The Lifecycle
A restoration is another financial document linked to its original. Both records remain available to explain the customer’s debt.
Transitions Explained
The transition rows identify the initiating action, eligibility checks, resulting records and responsible caller. They retain the pinned evidence for each path.
What Cannot Happen
The invalid-transition rows describe final-state protection and unsupported paths; command eligibility remains distinct from the declared state vocabulary.
Concurrency and Timing
Ordered invoice-ledger locks serialize competing changes, and the database rejects a write-off that exceeds remaining debt. No asynchronous worker advances this lifecycle.