# F-CRN079

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

> PayableAmount is calculated incorrectly - PayableAmount ('…' ) don't match total calculation ('…' )

- Level: error
- Rule sets: OIOUBL 2.1 Credit Note rules (Denmark) 1.17.2
- Context: `doc:CreditNote/cac:LegalMonetaryTotal`
- Test: `$AlteredPayableSum = $PayableSum`

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