A ledger in reais, a screen in litres
A build note from GasPay on keeping the unit of account boring, even when the product talks about fuel.

GasPay sells prepaid fuel. The obvious design is to store litres. We did not, and it is the decision that shapes the rest of the product.
Fuel prices change from station to station and from day to day. A balance in litres would force the ledger to reprice every account whenever a price moves.
Integer cents, always
The balance is stored as integer cents in reais. Litres are only an estimate on screen, calculated with the day's reference price. At the pump, the debit uses the price that station actually charges.
Fuel type belongs to the vehicle, not to the wallet. One account can fund a car and a truck without two balances.
