Added ledgers and minor fixes to invoices