Message

An Invoice shall have an Invoice period (ibg-14) or an Invoice line period (ibg-26).

Context
/ubl:Invoice[cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'JP' ]
Test
exists(cac:InvoicePeriod) or exists(cac:InvoiceLine/cac:InvoicePeriod)