VRBL-INV-MX-1p0-21
Basic Info
| Rule | When the Document Currency Code is MXN, the Tax Exchange Rate must not exist or be equal to 1. |
| Context |
/ubl:Invoice/cbc:DocumentCurrencyCode
|
| Pattern | vrbl-invoice-mx-1p0 |
| Severity | fatal |
Implementation
not(
. = 'MXN'
and
boolean(../cac:TaxExchangeRate/cbc:CalculationRate)
)
or
(
number(../cac:TaxExchangeRate/cbc:CalculationRate) = 1
)