Message

A UBL invoice should not include the AccountingCustomerParty Party PartyLegalEntity RegistrationExpirationDate

Context
/ubl:Invoice | /cn:CreditNote
Test
not(cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationExpirationDate)