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