# BR-CIUS-PT-62

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

> If Document Level Allowances (BG-20) is used, the Sum of allowances on document level (BT-107) shall be filled.

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

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