Buyer electronic address

Error PEPPOL-EN16931-R010 Peppol

Buyer electronic address MUST be provided

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The electronic address is missing from ram:BuyerTradeParty. The rule checks whether ram:URIUniversalCommunication/ram:URIID is present.

What the rule means

The electronic address identifies the buyer for electronic invoice exchange.

Please provide the buyer’s electronic address

The buyer details are missing an electronic address. You can resolve this by adding the address to the invoice.

What to do
  1. Add ram:URIUniversalCommunication with a ram:URIID to the buyer details.
  2. Check that ram:URIID contains a value.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:BuyerTradeParty/>
✓ Correct
<ram:BuyerTradeParty>
  <ram:URIUniversalCommunication>
    <ram:URIID>buyer@example.com</ram:URIID>
  </ram:URIUniversalCommunication>
</ram:BuyerTradeParty>
Technical details

In the context of ram:BuyerTradeParty, the test checks whether the path ram:URIUniversalCommunication/ram:URIID is present.

Where the rule applies

The rule applies to the buyer details in ram:BuyerTradeParty.

Context (rule/@context)
ram:BuyerTradeParty
Test expression (assert/@test)
ram:URIUniversalCommunication/ram:URIID