# ibr-087

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

> Base quantity (ibt-149) MUST be a positive number above zero.

- Level: error
- Rule sets: PINT Billing rules 1.1.3, PINT Billing rules (as shipped with PINT AE) 1.0.4
- Context: `cac:InvoiceLine | cac:CreditNoteLine`
- Test: `not(cac:Price/cbc:BaseQuantity) or xs:decimal(cac:Price/cbc:BaseQuantity) > 0`

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