Difference between revisions of "Freeside:4:Documentation:Developer/bin/freeside-tax-district-update"

From Freeside
Jump to: navigation, search
(Edit via perl MediaWiki framework (1.13))
(No difference)

Latest revision as of 08:46, 18 November 2015


freeside-tax-district-update - Update tax district codes from a lookup source.


 freeside-tax-district-update [ -n ] user


Updates the 'district' field for all customers and service locations using an online tax information lookup method. Currently the only one supported is the Washington Department of Revenue sales tax table, and looking up the tax district will create a cust_main_county record with the tax rate for that district.

The -n option tells the script to ignore customers and locations that already have a district code.

The actual lookup operation will run from the job queue.