Mark an invoice as resolved or refunded