X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FTaxEngine%2Finternal.pm;h=a9b32d13332042098fff89ff52791690fba2fcc1;hb=c5dd9bdf09dff2b5cc6d9a9681894664fe5147ef;hp=91b547ce0875f4c87ce63453ed81b7754cf0b786;hpb=194c16bf0af62048d118ad28e55f5e1eb5d92ffa;p=freeside.git diff --git a/FS/FS/TaxEngine/internal.pm b/FS/FS/TaxEngine/internal.pm index 91b547ce0..a9b32d133 100644 --- a/FS/FS/TaxEngine/internal.pm +++ b/FS/FS/TaxEngine/internal.pm @@ -243,7 +243,6 @@ sub taxline { exempt_monthly => 'Y', year => $year, month => $mon, - taxnum => $tax_object->taxnum, }); $taxable_charged -= $addl; @@ -262,6 +261,8 @@ sub taxline { # attach them to the line item foreach my $ex (@new_exemptions) { + $ex->set('taxnum', $taxnum); + if ( $cust_bill_pkg->billpkgnum ) { # the exempted item is already inserted (it should be, these days) so # insert the exemption record now: