Finalize invoice.