Usage and pricing plans rated into charges, aggregated, invoiced, and posted to the ledger
Guided views
Explore this system
Step through curated paths without changing the source diagram.
Beat
Next
ReadyChapter 01 / 01
Guided chapter
Diagram guideExplore this system
Inspecting compiled semantics
E ExportT ThemeS Style0 Reset+ Zoom in- Zoom outEsc Close
Find a node
⌕/
No matching nodes
Semantic passport
Verified source
Authored reach
Route probeChoose a start node
Pick two semantic nodes on the diagram
Choose the source, then the destination. Direction matters.
Semantic lensCompare system roles
Choose up to two semantic kinds. One reveals its real traffic; two compare only direct authored relationships.
Choose a kind to inspect its nodes and touching relationships.
Semantic radar
Building overview
Click nodeDrag to pan
Deterministic Rating
• Usage and versioned rate cards are the only rating inputs
• The engine is a pure function: same inputs replay to the same charges
• Rate events are append-only so a billing run can be recomputed
Config vs Runtime
• Pricing plans are declarative data, not code in the engine
• New plans and promos ship without redeploying the rater
• Aggregation groups priced lines per account and period
Posting and Adjustments
• Invoice assembly is idempotent per account and billing period
• Discounts and disputes enter as explicit adjustments
• Fees post to the double-entry ledger, never mutated in place
Data-flow diagram • Built with Archify • Create yours ↗ • Hover to trace • R route • Click to focus • +/− zoom • M radar • [/] views • P play story • T theme • E export