VRBL-INV-SG-1p4-26
Basic Info
| Rule | The Charge Amount must have no more than 2 decimals. |
| Context |
/ubl:Invoice/cac:AllowanceCharge[string(cbc:ChargeIndicator) = 'true']/cbc:Amount
|
| Pattern | vrbl-invoice-sg-1p4 |
| Severity | fatal |
Used Template: Decimals
| Parameter | Value | |
|---|---|---|
| probe | = |
.
|
| decimals | = |
2
|
Implementation
string-length(substring-after(., '.')) <= 2