VRBL-INV-MX-1p0-19
Basic Info
| Rule | When the Document Currency Code is different from MXN or XXX, the Tax Exchange Rate Calculation Rate must exist and be greater than 0. |
| Context |
/ubl:Invoice/cbc:DocumentCurrencyCode
|
| Pattern | vrbl-invoice-mx-1p0 |
| Severity | fatal |
Implementation
(
. = 'MXN' or . = 'XXX'
)
or
(
number(../cac:TaxExchangeRate/cbc:CalculationRate) > 0
)