# BR-CIUS-PT-63

Source: https://xmlvalid.com/rules/BR-CIUS-PT-63

> If Document Level Charges (BG-21) is used, the Sum of charges on document level (BT-108) shall be filled.

- Level: error
- Rule sets: CIUS-PT rules (Portugal, UBL) 2.1.1
- Context: `cac:LegalMonetaryTotal`
- Test: `exists(/*/cac:AllowanceCharge[cbc:ChargeIndicator='true']) and not(cbc:ChargeTotalAmount)`

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