# CRP20246

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

> El nodo hijo ImpuestosDR del nodo DoctoRelacionado debe existir.

- 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 = '02') or $imp`

In English: A related document with ObjetoImpDR 02 must have ImpuestosDR.

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