# CRP20278

Source: https://xmlvalid.com/rules/CRP20278

> Cuando se registre el valor "06" o "08" en el campo ObjetoImpDR, el valor del campo ImpuestoDR de los nodos hijo RetencionDR y/o TrasladoDR del nodo DoctoRelacionado debe ser distinto de los valores "002" (IVA) y/o "003" (IEPS).

- Level: error
- Rule sets: SAT validations of CFDI 4.0 and Pagos 2.0 Matrices of 25 March 2026 and Pagos 2.0 rev. B
- Context: `pago20:Pago/pago20:DoctoRelacionado`
- Test: `not(@ObjetoImpDR = ('06', '08')) or not($imp/*/*[@ImpuestoDR = ('002', '003')])`

In English: A related document with ObjetoImpDR 06 or 08 (no VAT transferred) must have no VAT (002) or IEPS (003) in its taxes; it may have an ISR withholding (001).

Validate a document against these rules: https://xmlvalid.com/validate
