'if found Returns the Invoice Transaction object for the given invoice_id
else returns None'

@classmethod
def get_invoice_transaction(cls, invoice_id):

    try:
        return cls.objects.get(Q(invoice_id=invoice_id), (Q(status='completed') | Q(status='refunded')))
    except InvoiceTransaction.DoesNotExist:
        return None
