Freeside:4:Documentation:Developer/bin/freeside-tax-district-update

From Freeside
Jump to: navigation, search

NAME

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

SYNOPSIS

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

DESCRIPTION

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.