BR-62

The Seller electronic address (BT-34) shall have a Scheme identifier.

error: the document is invalid Peppol documentation ↗

Why it fails

  • The seller's cbc:EndpointID (ram:URIUniversalCommunication/ram:URIID in CII) has no schemeID.

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.

Context
/rsm:CrossIndustryInvoice
Test
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)