Rules / IBR-007
IBR-007 error
An Invoice must contain the Buyer name
An Invoice must contain the Buyer name (ibt-044).
Fails
<Invoice>
<!-- cbc:RegistrationName is missing -->
</Invoice>
Fix
Add cbc:RegistrationName inside Invoice.
Schematron
- Context
/ubl:Invoice | /cn:CreditNote- Test
normalize-space(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName) !=''
Official text: An Invoice MUST contain the Buyer name (ibt-044).