# ibr-012

Source: https://xmlvalid.com/rules/ibr-012

> An Invoice MUST have the Sum of Invoice line net amount (ibt-106).

- Level: error
- Rule sets: PINT Billing rules 1.1.3, PINT Billing rules (as shipped with PINT AE) 1.0.4
- Context: `cac:LegalMonetaryTotal`
- Test: `exists(cbc:LineExtensionAmount)`

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