If both supplier and customer are located in Germany, the group "SELLER CONTACT" (BG-6) shall be provided.
(/ubl-invoice:Invoice/cac:AccountingSupplierParty | /ubl-creditnote:CreditNote/cac:AccountingSupplierParty)[$supplierCountryIsDE and $customerCountryIsDE]cac:Party/cac:Contact