Added markInvoiceAsUnpaid