The Buyer electronic address (BT-49) shall have a Scheme identifier.
If ram:URIUniversalCommunication is present for the buyer, the first ram:URIID has no non-empty schemeID identifier.
The scheme identifier specifies the identification scheme used for the buyer’s electronic address.
The buyer’s electronic address is provided, but its scheme identifier is missing or empty. Add the identifier so the address is associated with a scheme.
- Review the call to
SetBuyerElectronicAddress(...). - Make sure a scheme identifier is provided for the buyer’s electronic address.
- Generate the invoice again and validate it once more.
<ram:BuyerTradeParty> <ram:URIUniversalCommunication> <ram:URIID>buyer@example.com</ram:URIID> </ram:URIUniversalCommunication> </ram:BuyerTradeParty>
<ram:BuyerTradeParty> <ram:URIUniversalCommunication> <ram:URIID schemeID="EM">buyer@example.com</ram:URIID> </ram:URIUniversalCommunication> </ram:BuyerTradeParty>
FacturXInvoice.SetBuyerElectronicAddress(address, electronicAddressSchemeID)(BT-49)Party.ElectronicAddress(BuyerTradeParty: BT-49)
Technical details
The test accepts either a non-empty schemeID on the first ram:URIID or the absence of the buyer’s ram:URIUniversalCommunication.
The rule applies to the buyer’s electronic address in ram:BuyerTradeParty/ram:URIUniversalCommunication.
rule/@context)assert/@test)