Rules / IBR-180-AE
IBR-180-AE error
When scheme identifier is '0235' and Buyer legal registration identifier must be present
When scheme identifier (IBT-049-1) is '0235' and Buyer legal registration identifier (ibt-047) is provided, then Buyer legal registration identifier type (BTAE-16) must be present.
Fails when this is false
not(cbc:EndpointID[@schemeID = "0235"] and cac:PartyLegalEntity/cbc:CompanyID) or cac:PartyLegalEntity/cbc:CompanyID/@schemeAgencyIDThe schematron test, verbatim. Context: cac:AccountingCustomerParty/cac:Party
Fix
Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.