CRP20273
Deben existir al menos uno de los campos TotalTrasladosImpuestoIVA16, TotalTrasladosImpuestoIVA8, TotalTrasladosImpuestoIVA0 cuando existan conceptos con un TipoFactor distinto a Exento.
In English When a payment transfers VAT that is not exempt, the Totales must have at least one of TotalTrasladosImpuestoIVA16, TotalTrasladosImpuestoIVA8 and TotalTrasladosImpuestoIVA0.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
pago20:ImpuestosP/pago20:TrasladosP/pago20:TrasladoP
not($tax = '002' and not($exempt)) or $totals/@TotalTrasladosImpuestoIVA16 or $totals/@TotalTrasladosImpuestoIVA8 or $totals/@TotalTrasladosImpuestoIVA0
Checked with CFDI 4.0