The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
The seller’s ram:PostalTradeAddress is missing ram:CountryID, or the element has no value. The seller country code (BT-40) is therefore not provided.
BT-40 identifies the country of the seller’s postal address and is part of that address.
The seller’s postal address is missing a country code. Enter a value in ram:CountryID to complete the information.
- Add a non-empty
ram:CountryIDinside the seller’sram:PostalTradeAddress. - Check the value in
Party.Country. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress>
Party.Country(SellerTradeParty: BT-40)
Technical details
The XPath test requires a non-empty value in ram:CountryID inside ram:PostalTradeAddress under ram:SellerTradeParty.
The rule applies to the seller’s ram:PostalTradeAddress and checks ram:CountryID there.
rule/@context)assert/@test)