Message

The element "Buyer city" (BT-52) shall be provided.

Context
(/ubl-invoice:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress | /ubl-creditnote:CreditNote/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress)[$supplierCountryIsDE and $customerCountryIsDE]
Test
cbc:CityName[boolean(normalize-space(.))]