BR-RO-180

[BR-RO-180"-Daca Adresa de livrare (BG-15) exista, trebuie furnizata Adresa de livrare — linia 1 (BT-75).

In English If the Delivery to (BG-15) exists, the Deliver to address line 1 (BT-75) must exists.

error: the document is invalid

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

Context
/ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address | /ubl:CreditNote/cac:Delivery/cac:DeliveryLocation/cac:Address
Test
cbc:StreetName[boolean(normalize-space(.))]

Checked with Romania RO e-Factura Invoice (UBL), Romania RO e-Factura Credit Note (UBL)