# F-REM076

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

> PrepaidAmount is mandatory when PrepaidPayment/PaidAmount elements are present

- Level: error
- Rule sets: OIOUBL 2.1 Reminder rules (Denmark) 1.17.2
- Context: `doc:Reminder/cac:LegalMonetaryTotal`
- Test: `count(../cac:PrepaidPayment/cbc:PaidAmount) and not(cbc:PrepaidAmount)`

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