Money, dates and IDs
A few conventions hold across every service.
Money
Amounts are integers in the minor unit of the business's currency, which for Tanzanian businesses is TZS cents. 150000 is TSh 1,500. Never use floating point for money. Amounts are never converted between currencies; a business has one currency, set when it signs up.
| Value | Means |
|---|---|
500000 | TSh 5,000 |
1500000 | TSh 15,000 |
100000000 | TSh 1,000,000 |
Prices usually include VAT (18% in Tanzania), and order totals carry both tax and inclusiveTax so you can show tax either way. Businesses can round cash totals, for example to the nearest TSh 50.
Dates and times
Timestamps are RFC 3339 in UTC, such as 2026-12-05T09:30:00Z. Show them in the location's time zone, usually Africa/Dar_es_Salaam (UTC+3). Calendar dates without a time, like a payslip's period, are {"year": 2026, "month": 12, "day": 5} or 2026-12-05, as each field says.
IDs
IDs are UUIDs, time-ordered (version 7). Records created on a register get their ID on the device, offline, so an ID exists before the server has seen the record. When you create records, generate the ID yourself, so a retried request refers to the same record.
Phone numbers
Store and send phone numbers in international form, such as +255712345678.