VRBL-INV-SG-1p4-4
Basic Info
|
Rule
|
The Legal Monetary Total in Tax Currency Tax Exclusive Amount must have no more than 2 decimals. |
|
Context
|
/ubl:Invoice/cac:LegalMonetaryTotal/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:LegalMonetaryTotalExtension/vrbl:LegalMonetaryTotalInTaxCurrency
|
|
Pattern
|
vrbl-invoice-sg-1p4 |
|
Severity
|
fatal |
Used Template: Decimals
| Parameter |
|
Value |
| probe |
= |
cbc:TaxExclusiveAmount
|
| decimals |
= |
2
|
Implementation
string-length(substring-after(cbc:TaxExclusiveAmount, '.')) <= 2