% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
wa_tax_rate_update
Tool to update city/district sales tax rates in cust_main_county from the Washington State Department of Revenue website.
This does not handle address standardization or geocoding addresses to Washington tax district codes. That logic is still in FS::Misc::Geo, and relies on a heinous screen-scraping of the interactive search tool. This script just updates the cust_main_county records that already exist with the latest quarterly tax rates.
Options:
-c <taxclass>: operate only on records with the named tax class. If not specified, this operates on records with null tax class.
-t <taxname>: operate only on records with that tax name. If not specified, it operates on records where the tax name is either null or 'Tax'.