ArMetricsPanel
DSO with its method stated.
npx shadcn add @lopifi/ar-metrics-panelHow 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.
DSO (with the method stated, since the two formulas give different answers), best-possible DSO, ADD, CEI, % past due, bad debt rate. Every metric via MetricDefinition.
API change: takes inputs — opening AR, closing AR, closing current AR, credit sales, write-offs and days in period — and computes every value and substituted formula from them. It previously printed fixed figures.
The accounting it encodes
The concepts this component renders, each defined once in the lexicon.
More in Receivables (AR)
See also
Where this component is specified, defined and running.
Elsewhere in the system
The live section ArMetricsPanel 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 Receivables (AR) changes
Your copy doesn’t update itself when we fix something here.
- One email when a Receivables (AR) component needs a migration
- Nothing when nothing changes
Or install it now
npx shadcn add @lopifi/ar-metrics-panel