# UBL-SR-31

Source: https://xmlvalid.com/rules/UBL-SR-31

> Document level charge reason shall occur maximum once

- Level: error
- Rule sets: EN 16931 rules (UBL) 1.3.17, EN 16931 rules 1.3.16 (UBL), EXTENDED-CTC-FR rules (UBL) 1.4.0.04, Romanian RO e-Factura rules (UBL) 1.0.9
- Context: `cac:AllowanceCharge[cbc:ChargeIndicator = true()]`
- Test: `(count(cbc:AllowanceChargeReason) <= 1)`

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