Almost finished adjustments, just need to integrate with invoices_total, balance, etc.