UBL-DT-01
[UBL-DT-01]-Amounts shall be decimal up to two fraction digits
Targeted Semantic Element
- BT-142-Line level charge base amount
:
The base amount that may be used, in conjunction with the line level charge percentage, to calculate the line level charge amount. Must be rounded to maximum 2 decimals.
Schematron Rules
-
- UBL-DT-01
- Flag
- fatal
- Context
//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]
- Message
- [UBL-DT-01]-Amounts shall be decimal up to two fraction digits