Skip to main content

Module amount

Module amount 

Source
Expand description

InvoiceAmount (≤2 fraction digits, refuse excess) and UnitPriceAmount (uncapped).

Structs§

InvoiceAmount
EN 16931 Amount.Type: at most two fraction digits. Never f64. Never rounds.
UnitPriceAmount
EN 16931 Unit Price Amount.Type — no 2-dp cap (example 10000.1234).

Type Aliases§

Amount
0.1.x alias. Prefer InvoiceAmount.