Buyer electronic address MUST be provided
The electronic address is missing from ram:BuyerTradeParty. The rule checks whether ram:URIUniversalCommunication/ram:URIID is present.
The electronic address identifies the buyer for electronic invoice exchange.
The buyer details are missing an electronic address. You can resolve this by adding the address to the invoice.
- Add
ram:URIUniversalCommunicationwith aram:URIIDto the buyer details. - Check that
ram:URIIDcontains a value. - Generate the invoice again and validate it.
<ram:BuyerTradeParty/>
<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.
The rule applies to the buyer details in ram:BuyerTradeParty.
rule/@context)assert/@test)