The Seller electronic address (BT-34) shall have a Scheme identifier.
If ram:URIUniversalCommunication is present for the seller, the first ram:URIID has no non-empty schemeID identifier.
The scheme identifier specifies the identification scheme used for the seller’s electronic address.
The seller’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
ElectronicAddress.ElectronicAddressSchemeIDforSellerTradeParty. - Alternatively, review the arguments of
SetSellerElectronicAddress(...)and provide the scheme identifier. - Generate the invoice again and validate it once more.
<ram:SellerTradeParty> <ram:URIUniversalCommunication> <ram:URIID>seller@example.com</ram:URIID> </ram:URIUniversalCommunication> </ram:SellerTradeParty>
<ram:SellerTradeParty> <ram:URIUniversalCommunication> <ram:URIID schemeID="EM">seller@example.com</ram:URIID> </ram:URIUniversalCommunication> </ram:SellerTradeParty>
ElectronicAddress.ElectronicAddressSchemeID(SellerTradeParty: BT-34)FacturXInvoice.SetSellerElectronicAddress(address, electronicAddressSchemeID)(BT-34)Party.ElectronicAddress(SellerTradeParty: BT-34)
Technical details
The test accepts either a non-empty schemeID on the first ram:URIID or the absence of the seller’s ram:URIUniversalCommunication.
The rule applies to the seller’s electronic address in ram:SellerTradeParty/ram:URIUniversalCommunication.
rule/@context)assert/@test)