CR
Camille Roy · Updated Nov 12 · Usage-based billing
Usage is metered to six decimal places and invoiced to two. This document fixes where the rounding happens, so the ledger and the invoice always agree.
Decisions
- Round once, on the invoice line, never on each event
- Round half up, as the tax authorities in our markets expect
- Show the unrounded quantity in the usage export
If a customer can add up the lines and get a different total, we have a bug.