Home
/
Versions
2017
Rules
UBL-DT-01
Validation message
[UBL-DT-01]-Amounts shall be decimal up to two fraction digits
Context
//*[ends-with(name(), 'Amount') and not(ends-with(name(),'PriceAmount')) and not(ancestor::cac:Price/cac:AllowanceCharge)]
XPath
Copied
1
string-length(substring-after(.,'.'))<=2
Used in business terms
BT-92
BT-93
BT-99
BT-100
BT-106
BT-107
BT-108
BT-109
BT-110
BT-111
BT-112
BT-113
BT-114
BT-115
BT-116
BT-117
BT-131
BT-136
BT-137
BT-141
BT-142