some minor adjustments to invoices and payments