BR-RO-201
Daca Adresa de livrare (BG-15) exista, trebuie furnizata Localitatea de livrare (BT-77). #If the Delivery to (BG-15) exists, the Deliver to city (BT-77) must exists.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
[BR-RO-200] Daca Adresa de livrare (BG-15) exista, trebuie furnizata Localitatea de livrare (BT-77). #If the Delivery to (BG-15) exists, the Deliver to city (BT-77) must exists.
/ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address | /ubl:CreditNote/cac:Delivery/cac:DeliveryLocation/cac:Address
cbc:CityName[boolean(normalize-space(.))]
Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)