diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-07-17 18:45:04 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-07-17 18:45:04 -0700 |
commit | 4fb5738f5391547e6c87c73c4325ea8c2b506d73 (patch) | |
tree | e6760f415b1d77a276676490ee38eea1c44495f5 /FS/FS/TaxEngine | |
parent | 7b45b98a32323af93e24369650fb39f9427e4e7f (diff) |
set suretax DataYear and DataMonth to the invoice year and month, RT#76786
Diffstat (limited to 'FS/FS/TaxEngine')
-rw-r--r-- | FS/FS/TaxEngine/suretax.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/TaxEngine/suretax.pm b/FS/FS/TaxEngine/suretax.pm index 0f6c69d..1a00cda 100644 --- a/FS/FS/TaxEngine/suretax.pm +++ b/FS/FS/TaxEngine/suretax.pm @@ -97,8 +97,8 @@ sub build_request { ClientNumber => $ClientNumber, ValidationKey => $ValidationKey, BusinessUnit => $BusinessUnit, - DataYear => '2015', #$date->year, - DataMonth => '04', #sprintf('%02d', $date->month), + DataYear => $date->year, + DataMonth => sprintf('%02d', $date->month), TotalRevenue => sprintf('%.4f', $cust_bill->charged), ReturnFileCode => ($self->{estimate} ? 'Q' : '0'), ClientTracking => $cust_bill->invnum, |