# ibr-sr-07

Source: https://xmlvalid.com/rules/ibr-sr-07

> If there is a preceding invoice reference (ibg-03) , the preceding invoice number (ibt-025) MUST be present

- Level: error
- Rule sets: PINT Billing rules 1.1.3, PINT Billing rules (as shipped with PINT AE) 1.0.4
- Context: `cac:BillingReference`
- Test: `(cac:InvoiceDocumentReference/cbc:ID)`

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