Rules / IBR-SR-07
IBR-SR-07 error
If there is a preceding invoice reference must be present
If there is a preceding invoice reference (ibg-03) , the preceding invoice number (ibt-025) must be present.
Fails
<cac:BillingReference>
<!-- cbc:ID is missing -->
</cac:BillingReference>
Fix
Add cbc:ID.
Schematron
- Context
cac:BillingReference- Test
(cac:InvoiceDocumentReference/cbc:ID)
Official text: If there is a preceding invoice reference (ibg-03) , the preceding invoice number (ibt-025) MUST be present