fix: consider TYPE_INVOICE_CANCEL when setting invoice type in constructor