ApprovalChain
Segregation of duties enforced. Approvals bind to a version.
npx shadcn add @lopifi/approval-chainHow it behaves
What it renders, what it refuses to render, and why. The same paragraphs as the family spec, so the two can’t disagree.
Who approves, in what order, what's done and what's blocking, visible before submission. Threshold escalation shown while the amount is being typed, not after submitting. Segregation of duties is enforced, not advisory: for the preparer, the approve action is absent, not disabled.
Approvals bind to a version. Editing an approved bill voids the approvals and re-requests them, with the change shown to the re-approver. This closes the classic post-approval-edit fraud path.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Payables (AP)
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section ApprovalChain renders in, the calculators behind its figures, and the ledger payloads that feed it.
Components are copied into your repository and meant to be edited. Rounding policy, fiscal calendar and compliance copy differ per company.
Release notes
Get an email when Payables (AP) changes
Your copy doesn’t update itself when we fix something here.
- One email when a Payables (AP) component needs a migration
- Nothing when nothing changes
Or install it now