# CRP20264

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

> Debe existir al menos uno de los campos TotalRetencionesIVA, TotalRetencionesISR, TotalRetencionesIEPS.

- 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:ImpuestosP/pago20:RetencionesP/pago20:RetencionP`
- Test: `$totals/@TotalRetencionesIVA or $totals/@TotalRetencionesISR or $totals/@TotalRetencionesIEPS`

In English: When a payment has withholdings, the Totales must have at least one of TotalRetencionesIVA, TotalRetencionesISR and TotalRetencionesIEPS.

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