Update invoice.rb

Adding support for exemptions. WARNING: This code is specific to the project I am working on and requires the accompanying migrations. Also our customer_usage_type is G so that is hardcoded and we store sensitive details not in the DB in a yml file we access through ENV.