Which unit of measure to use or convert
A unit of measure (UOM) can be specified in multiple places: in the transaction, on a fee, and at the authority level.
Transaction data
- A transaction can specify 1 or more quantities. Each quantity consists of an amount (such as 1) and an associated UOM (such as LBR).
- 1 of these quantities may be specified as the default and that quantity's amount and unit of measure will be used for the transaction.
- If a quantity does not specify any unit of measure, Determination assigns a unit of measure of "each" to that quantity.
- If a quantity doesn't specify an amount, Determination assigns a value of 1 to that quantity.
- If no quantity (amount and unit of measure) is specified by the transaction as the default, the unit of measure specified by the fee or authority gets used instead.
Fee data
A fee can specify whether or not to use either the default unit of measure defined by the authority or a specific unit of measure indicated by the fee. In either case, the transaction default would override the data specified on the rate.
Authority data
An authority can define a default UOM for use in its transactions.