The counter never stops
Billing runs on a local database first. During a power cut or an internet outage, invoices still print, stock still moves and the ledger still posts — then everything syncs in order when the connection returns.
Offline-first by architecture