BR-62
The Seller electronic address (BT-34) shall have a Scheme identifier.
Why it fails
- The seller's
cbc:EndpointID(ram:URIUniversalCommunication/ram:URIIDin CII) has noschemeID.
How to fix it
Add the EAS code of the address as schemeID, such as 0088 for a GLN or EM for an email address.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
cac:AccountingSupplierParty/cac:Party/cbc:EndpointID
exists(@schemeID)
Checked with EN 16931 Invoice (UBL), EN 16931 Credit Note (UBL), Croatia eRačun Invoice (UBL), Croatia eRačun Credit Note (UBL)
/rsm:CrossIndustryInvoice
normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication[1]/ram:URIID/@schemeID) != '' or not (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:URIUniversalCommunication)
Checked with EN 16931 Invoice (CII)