Accountant gets 12 years for taking millions