Skip to main content
Skip table of contents

Import Tax Withholding Tables - PYTXWI

The Import Tax Withholding Tables (PYTXWI) function reads a CSV file in a pre-defined format to import tax withholding tables for state, federal or levy tax. 

Tax Year: Enter the tax year.

Two Character State Code (or FE for Federal, LT for IRS Tax Levy): Enter the two-character state code, for example, AZ imports Arizona tax withholding tables. Alternatively, enter FE for federal tax tables or LT for IRS Tax Levy tables. 

Please enter File with the Tax Withholding Tables: Enter the name of the import CSV file. Alternatively, click Location or Other to locate the file. 

Is this a Trial Run [Report Only]?: Select this option to run the utility as a report. When not run in report-only mode, PYTXWI updates the appropriate PYTX common codes. 

Show only entries that have changed?: Select this option to report only entries that have changed.

When not run in trial mode, the utility deletes all common code entries for category PYTX where ledger equals @@ for code values where the first two characters are equal to the entered state code (or FE, LT) and the third and fourth digits are the last two digits of the entered tax year. For example, when importing Arizona tax withholding tables for tax year 2024, the SQL delete statement looks like this:

delete from cd_codes_mstr
where cd_category = 'PYTX' and cd_gr = '@@' and cd_code like 'AZ24%' 

The process then reads through the CSV file and processes entries where:

  • Column one is PYTX

  • Column three is @@

  • The first four characters of column two are equal to ssyy, where ss = entered state code and yy = last two digits of the entered tax year. 

When not in trial mode, the selected entries are used to create the PYTX common codes. 

CSV File Format 

Column Number 

Column Letter (MS Excel) 

cd_codes_mstr Item Name 

Description 

cd_category 

Code Category 

cd_code 

Code Value 

cd_gr 

Ledger 

cd_descs 

Short Description 

cd_descm 

Medium Description 

cd_descl 

Long Description 

cd_assoc_val01 

Associated Numeric Value 1 

cd_assoc_code01 

Associated Code 1 

cd_assoc_desc01 

Associated Description 1 

10 

cd_assoc_val02 

Associated Numeric Value 2 

11 

cd_assoc_code02 

Associated Code 2 

12 

cd_assoc_desc02 

Associated Description 2 

13 

cd_assoc_val03 

Associated Numeric Value 3 

14 

cd_assoc_code03 

Associated Code 3 

15 

cd_assoc_desc03 

Associated Description 3 

16 

cd_assoc_val04 

Associated Numeric Value 4 

17 

cd_assoc_code04 

Associated Code 4 

18 

cd_assoc_desc04 

Associated Description 4 

19 

cd_assoc_val05 

Associated Numeric Value 5 

20 

cd_assoc_code05 

Associated Code 5 

21 

cd_assoc_desc05 

Associated Description 5 


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.