Fixed InvoiceSync error. Updated style throughout