# F-REM075

Source: https://xmlvalid.com/rules/F-REM075

> ChargeTotalAmount is mandatory when AllowanceCharge classes (with ChargeIndicator='true') are present

- Level: error
- Rule sets: OIOUBL 2.1 Reminder rules (Denmark) 1.17.2
- Context: `doc:Reminder/cac:LegalMonetaryTotal`
- Test: `count(../cac:AllowanceCharge[cbc:ChargeIndicator='true']) and not(cbc:ChargeTotalAmount)`

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