The Buyer postal address shall contain a Buyer country code (BT-55).
The ram:CountryID element in the buyer’s postal address is missing or has no value.
The country code identifies the country in which the buyer’s postal address is located.
The buyer’s postal address does not contain a country code with a value. Add the value in ram:CountryID.
- Review the value of
Party.CountryforBuyerTradeParty. - Make sure
ram:CountryIDinram:PostalTradeAddresshas a non-empty value. - 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>DE</ram:CountryID> </ram:PostalTradeAddress> </ram:BuyerTradeParty>
Party.Country(BuyerTradeParty: BT-55)
Technical details
The test requires a ram:CountryID inside ram:BuyerTradeParty/ram:PostalTradeAddress whose string value is not empty.
The rule applies to ram:PostalTradeAddress inside the ram:BuyerTradeParty party.
rule/@context)assert/@test)