Updated InvoiceSyncBeahvior with minor fixes