X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2FTaxEngine%2Fcompliance_solutions.pm;h=1f0c166057c49c2b235cd84a7976f2bfe6380a69;hp=c21234ee73fbcba9f2dd3347bc6cece0f4eed787;hb=11b4982061aac4c57c1a694cc87f8c1f264ac22a;hpb=5f7c4a6025b9e3a49bee72dbc06cac37a45e6f10;ds=sidebyside diff --git a/FS/FS/TaxEngine/compliance_solutions.pm b/FS/FS/TaxEngine/compliance_solutions.pm index c21234ee7..1f0c16605 100644 --- a/FS/FS/TaxEngine/compliance_solutions.pm +++ b/FS/FS/TaxEngine/compliance_solutions.pm @@ -279,8 +279,10 @@ sub make_taxlines { my $tax_rate_location = FS::tax_rate_location->new({ data_vendor => 'compliance_solutions', geocode => $tax_data->{'geocode'}, - state => $tax_data->{'state'}, - country => $tax_data->{'country'}, + district => $tax_data->{'geo_district'}, + state => $tax_data->{'geo_state'}, + county => $tax_data->{'geo_county'}, + country => 'US', }); $error = $tax_rate_location->find_or_insert; die 'error inserting tax_rate_location record for '. $tax_data->{state}.