The element "Deliver to city" (BT-77) shall be transmitted if the group "DELIVER TO ADDRESS" (BG-15) is transmitted.
The delivery address (BG-15) does not contain a populated ram:CityName. The delivery city BT-77 is therefore missing.
The delivery city is part of the delivery address. When group BG-15 is provided, the city of the delivery address must also be supplied.
No city is entered in the delivery address. Add the missing city so the address is complete.
- Add the city in the delivery address element
ram:CityName. - Check the value set through
Party.City. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress/>
<ram:PostalTradeAddress> <ram:CityName>Berlin</ram:CityName> </ram:PostalTradeAddress>
Party.City(ShipToTradeParty: BT-77)
Technical details
The test requires a ram:CityName within the rule context whose normalized content is not empty.
The rule applies to ram:PostalTradeAddress of the delivery party ram:ShipToTradeParty.
rule/@context)assert/@test)