BR-63

This id stands for 2 different rules, one per rule set below: Factur-X numbers its rules in each profile separately.

error: the document is invalid Peppol documentation ↗

Why it fails

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

How to fix it

Add the EAS code of the buyer's address as schemeID; for a German public buyer's Leitweg-ID it is 0204.

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

Message

The Buyer electronic address (BT-49) shall have a Scheme identifier.

Context
/rsm:CrossIndustryInvoice
Test
normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication[1]/ram:URIID/@schemeID) != '' or not (rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:URIUniversalCommunication)

Checked with EN 16931 Invoice (CII)

Message

The Buyer electronic address (BT-49) shall have a Scheme identifier.   

Context
cac:AccountingCustomerParty/cac:Party/cbc:EndpointID
Test
exists(@schemeID)

Checked with Portugal CIUS-PT Invoice (UBL), Portugal CIUS-PT Credit Note (UBL)