Data type rounding rules
There are five data types in Zuora that are either currency or UOM values. Each data type has its own rules for when rounding occurs.
Data Type |
Examples |
Rounding Based On |
---|---|---|
Price |
Also known as rate, unit price from product catalog, unit price |
Prices are never rounded, even if precision exceeds currency. For example, a unit price of $3.1235/GB is always stored and calculated as $3.1235. |
Amount |
Extended price (for example, $4.99/user * 4 users), adjustment amount, invoice total, invoice balance, total tax amount. |
Rounding is based on currency’s defined rounding rules. |
Metrics |
MRR, TCV |
Rounding is based on currency’s defined rounding rules. |
Tax |
"Tax line items", individual taxation items |
Tax line items are not rounded. Summed tax line items result in total tax, defined as an amount. |
Quantity |
Default quantity in product catalog, quantity entered on subscription or usage record, quantity displayed on invoices |
Rounding is based on unit of measure’s rounding rule |