# CFDI40208

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

> Debe haber sólo un registro por cada tipo de impuesto retenido (…).

- 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: `/cfdi:Comprobante/cfdi:Impuestos/cfdi:Retenciones/cfdi:Retencion`
- Test: `count(../cfdi:Retencion[@Impuesto = $tax]) = 1`

In English: The summary has one Retencion per tax: two withholdings of the same tax must be added together.

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