The Seller postal address (BG-5) shall contain a Seller country code (BT-40).
The seller’s postal address contains no ram:CountryID with a non-empty value. The seller country code (BT-40) is therefore missing.
The country code indicates which country the seller’s postal address belongs to.
The country code is missing from the seller’s postal address. Add it to the seller address.
- Add a non-empty
ram:CountryIDinside theram:PostalTradeAddressofram:SellerTradeParty. - Check that
Party.Countrysets the country code for the seller. - Generate the invoice again and validate it once more.
<ram:SellerTradeParty> <ram:PostalTradeAddress> <ram:CountryID/> </ram:PostalTradeAddress> </ram:SellerTradeParty>
<ram:SellerTradeParty> <ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress> </ram:SellerTradeParty>
Party.Country(SellerTradeParty: BT-40)
Technical details
The test requires ram:CountryID under the seller postal address to contain a value other than the empty string.
The rule applies to ram:CountryID inside the ram:PostalTradeAddress of ram:SellerTradeParty.
rule/@context)assert/@test)