# BR-GA-3

Source: https://xmlvalid.com/rules/BR-GA-3

> Sum of Amount due for payment (BT-115) = ∑ Payment Amount (NL-GA-03)

- Level: error
- Rule sets: SI-UBL 2.0 G-account rules (NLCIUS, UBL) 1.0.2.13
- Context: `/ubl:Invoice`
- Test: `cac:LegalMonetaryTotal/xs:decimal(cbc:PayableAmount) = sum(cac:PaymentTerms/xs:decimal(cbc:Amount))`

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