VRBL-INV-MX-1p0-26
Basic Info
| Rule | When the Invoice Period is Bimonthly, the Seller Tax Scheme ID must be 'VRBL:MX:621'. |
| Context |
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:ID
|
| Pattern | vrbl-invoice-mx-1p0 |
| Severity | fatal |
Implementation
not(
number(substring(../../../../../cac:InvoicePeriod/cbc:EndDate, 6, 2))
-
number(substring(../../../../../cac:InvoicePeriod/cbc:StartDate, 6, 2))
=
1
)
or
. = concat($VRBL-MX-Prefix, '621')