Each Deliver to address (BG-15) shall contain a Deliver to country code (BT-80).
A ram:PostalTradeAddress for ram:ShipToTradeParty is present, but ram:CountryID is missing or empty.
BT-80 specifies the country of the delivery address. The country code is required for the delivery address to be complete.
The delivery address does not contain a country code. Add this information to complete the address.
- Check the delivery address under
ShipToTradeParty. - Set the value for
ram:CountryIDusingParty.Country. - Generate the invoice again and validate it.
<ram:ShipToTradeParty> <ram:PostalTradeAddress/> </ram:ShipToTradeParty>
<ram:ShipToTradeParty> <ram:PostalTradeAddress> <ram:CountryID>DE</ram:CountryID> </ram:PostalTradeAddress> </ram:ShipToTradeParty>
Party.Country(ShipToTradeParty: BT-80)
Technical details
The test passes if there is no ram:PostalTradeAddress for ram:ShipToTradeParty, or if its ram:CountryID is not empty.
Applies to the delivery address ram:PostalTradeAddress of ram:ShipToTradeParty.
rule/@context)assert/@test)