CRP20248
En caso de utilizar el nodo Impuestos en un documento relacionado, se deben incluir impuestos de traslados y/o retenciones.
In English A related document's ImpuestosDR must have a transferred tax or a withholding.
error: the document is invalid
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.
Context
pago20:DoctoRelacionado/pago20:ImpuestosDR
Test
pago20:RetencionesDR/pago20:RetencionDR or pago20:TrasladosDR/pago20:TrasladoDR
Checked with CFDI 4.0