Why Sanad stores money as minor units
Integer amounts for DZD, EUR, and other billing currencies so invoice totals stay exact.
By Sanad team
- engineering
- money
Invoices are legal and financial records. Rounding errors compound across taxes, discounts, and line totals, so Sanad never stores money as floats.
Minor units
Amounts are stored as integers in the smallest currency unit (centimes, fils, and so on). Display layers format values for humans; the ledger stays exact.
Algeria and international billing
Sanad supports multi-currency billing for organizations in Algeria and clients abroad. The same integer rules apply everywhere: one amount, one ISO currency code per field.
Reports and exports
When you export or review data, figures match your issued documents without small reconciliation gaps.