[IBR-058-OM] - Prepayment invoice number (BTOM-027) and Prepayment invoice UUID (BTOM-014) must be provided if Paid amount (IBT-180) is present.
IBR-058-OMubl:Invoice | cn:CreditNotenot($isPrepayment) or ( exists(cac:LegalMonetaryTotal/cbc:PrepaidAmount) and exists(cac:OriginatorDocumentReference/cbc:ID) and exists(cac:OriginatorDocumentReference/cbc:UUID) )