# F-REM084

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

> The sum of TaxTotal/RoundingAmount elements must equal PayableRoundingAmount

- Level: error
- Rule sets: OIOUBL 2.1 Reminder rules (Denmark) 1.17.2
- Context: `doc:Reminder/cac:LegalMonetaryTotal`
- Test: `cbc:PayableRoundingAmount and not(format-number(cbc:PayableRoundingAmount,'##.00') = format-number(sum(../cac:TaxTotal/cbc:RoundingAmount),'##.00'))`

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