Tax Return Import/Export file types and file name requirements
Tax Return Import/Export supports comma-delimited text (CSV) and JSON import and export files, each with specific file name length, character, and extension requirements.
To import data into a
locator
, use either a CSV text file or a JSON file. The easiest way to obtain a correctly formatted file of either type is to export a locator
. To export a locator, , then select either Tax Return Export
to export a CSV text file or Tax Return Transfer – JSON
to export a JSON file.Tax Return Import/Export import and export files are structurally identical — both file types contain the same record types in the same position. For that reason, you can use a Tax Return Import/Export export file as an import file without modification.
important
When creating an import file from Excel, save the file as a CSV file (comma-separated values), then rename the file with the correct extension from the file name and extensions table.
File name requirements
The following requirements apply to Tax Return Import/Export import and export file names:
- The file name for an import file is limited to 30 characters, including the 4-character file name extension. The file name can include spaces but can't include special characters prohibited by the Microsoft DOS 8.3 file naming conventions. If the file name exceeds 30 characters, the application won’t upload the file to the batch servers and can't import it into a tax return.
- The Tax Return Import/Export export program generates the file name for an export file. The file name root is identical to the 8-character file name root of the tax return locator being exported.
- The file name extension is determined by the tax application and tax year of the source or target tax return locator. Use the required file name extensions listed in the following table.
File name extensions for Tax Return Import/Export
The file name extension for a CSV import or export file uses the format
.?X#
, where ?
is the tax application code and #
is the last digit of the tax year. For JSON files, the same convention applies except the 2nd character X is replaced with J — for example, the JSON file extension for a 1065 import file is .PJ#
.Tax application | Code | Tax year file name extension |
|---|---|---|
990 | E | .EXY, where Y is the last digit of the tax year (for example, .EX3 for tax year 2023) |
1040 | A | .AXY |
1041 | F | .FXY |
1065 | P | .PXY |
1120 | C | .CXY |
5500 | Y | .YXY |
706 | R | .RXY |
709 | S | .SXY |
When you create an import file from a Microsoft Excel workbook, save the worksheet as a CSV (comma-separated values) file, then manually rename the file using the correct extension from the previous table. Do not choose the
CSV UTF-8
option when saving; choose the regular CSV option.note
The MM-DD-YYYY designation in a file set file name represents the release date of the tax application MAP files documented by the corresponding file set workbook, not the tax year file name extension.
Import file validation
The first step for all imports through the Tax Return Import/Export process is import file validation. The application checks the header and all data records in the import file to determine if any errors are present. If an import file fails validation, the application won’t import the file. The Import Status column on the Batch Status screen will indicate Validation Error on Import File. Select
Download All
to download a compressed file containing both the invalid import file (.?X#) and the validation report (.TXT).All error messages include the form name, field name, and row number so you can quickly find and correct the data record in the import file. The following table lists common import errors:
Error text | Error explanation |
|---|---|
Invalid Data: 'XYZ' is not a valid value | You are importing into a check box, radio button, or dropdown and 'XYZ' is not one of the storage values for that field. For example, on many check boxes the checked/unchecked values are X/NULL. |
Invalid Data: 'XYZ' is not a valid date or in the expected format of MM/DD/YYYY or MMDDYYYY | You are importing into a date field and 'XYZ' is not formatted as either MM/DD/YYYY or MMDDYYYY. |
Invalid Data: Does not agree with defined data type | You are importing letters into a dollar field or numbers into an Alpha field. |
Invalid form name | The form and field combination of the data record doesn’t exist. |
There should be 9 columns in the row for TRT | The data record doesn’t have exactly 9 columns. |
There is no blank line at the end of the file and thus the last line of the import file will fail to import | The last line of an import file must be an empty (blank) line to indicate that the previous line s the last line of the import file. |
Form and Field combination require Copy / Group / SubGroup / Grouping4 / Grouping5 | You are importing into a field that is part of at least 1 group and haven’t specified a group number in the proper column. |
The validation report can also include warnings. A warning doesn’t prevent import, so if your validation report contains only warnings, the application will import the file normally. The following table lists common import warnings:
Warning text | Warning explanation |
|---|---|
Invalid Data: 'XYZ' is longer than the allowable length of # - Data will be truncated | The data value 'XYZ' is longer than the maximum length of the field. The application will truncate 'XYZ' to the maximum length and then import it. |
Copy / Group / SubGroup / Grouping4 / Grouping5 value set to # but not needed for Form and Field combination so will be ignored | You are importing into a field that is not part of at least 1 group but have included at least 1 number in a group column that doesn’t need to exist. |
note
If an import file doesn’t contain errors or warnings, the application won’t create a validation report.