Tax1042S

As a tax document issuer you collect the data elements shown below into either a flat or tree structure.

 

You then populate the applicable FDX object, serialize it to JSON, and
distribute the JSON in up to 4 ways.

(1) File download or (2) API

(3) Printed document with QR code

(4) PDF file with embedded JSON


FDX / Data Structures / Tax1042S
Form 1042-S, Foreign Person's U.S. Source Income Subject to Withholding, from WithholdingAgent (boxes 12a-e, 12g-m) to Recipient (boxes 13a, 13c-n, 13p as form1042Recipient)
Extends and inherits all fields from Tax  
Tax1042S Properties
#IdTypeDescription
1formIdstringUnique form identifier
2amendedbooleanAmended
3amendmentNumberintegerAmendment number
4incomeTypeCodestringBox 1, Income code
5grossIncomenumberBox 2, Gross income
6chapterIndicatorstringBox 3, Chapter indicator, either '3' or '4'
7ch3ExemptionCodestringBox 3a, Exemption code
8ch3TaxRatenumber (double)Box 3b, Tax rate
9ch4ExemptionCodestringBox 4a, Exemption code
10ch4TaxRatenumber (double)Box 4b, Tax rate
11withholdingAllowancenumberBox 5, Withholding allowance
12netIncomenumberBox 6, Net income
13federalTaxWithheldnumberBox 7a, Federal tax withheld
14escrowProceduresAppliedbooleanBox 7b, Check if federal tax withheld was not deposited with the IRS because escrow procedures were applied
15subsequentYearbooleanBox 7c, Check if withholding occurred in subsequent year with respect to a partnership interest
16revisedReportingbooleanBox 7d, Check if you are a qualified intermediary, withholding foreign partnership, or withholding foreign trust revising its reporting on Form 1042-S to report to a specific recipient. Added for tax year 2025
17otherAgentsTaxWithheldnumberBox 8, Tax withheld by other agents
18recipientRepaidAmountnumberBox 9, Overwithheld tax repaid to recipient pursuant to adjustment procedures
19totalTaxWithholdingCreditnumberBox 10, Total withholding credit (combine boxes 7a, 8, and 9)
20withholdingAgentTaxPaidnumberBox 11, Tax paid by withholding agent (amounts not withheld)
21withholdingAgentForm1042Agent
22withholdingAgentCountrystringBox 12f, IRS country code for Withholding Agent. See [IRS Country Codes](https://www.irs.gov/e-file-providers/country-codes)
23form1042RecipientForm1042Recipient
24recipientCountrystringBox 13b, IRS country code for Recipient. See [IRS Country Codes](https://www.irs.gov/e-file-providers/country-codes)
25accountNumberstringBox 13o, Recipient account number
26primaryForm1042Agent
27prorataBasisReportingbooleanBox 15, Check if pro-rata basis reporting
28intermediaryForm1042Agent
29intermediaryCountrystringBox 15f, IRS country code for Intermediary. See [IRS Country Codes](https://www.irs.gov/e-file-providers/country-codes)
30payerForm1042Agent
31stateAndLocalStateAndLocalTaxWithholding
Tax1042S Usage:

FDX Tax Schema and Model Files

A copy of the FDX tax schema files (yaml) and related model files in csharp, java, python, ruby, and typescript languages are available at this private GitHub repository:

https://github.com/iTipsDev/fdx-tax-schema-v6.6.0

We will make this repository available to developers implementing Financial Data Exchange (FDX) JSON in their applications. Just send your GitHub user email and company name to info@taxdataexchange.org to be granted access.

SDK (Java Software Development Kit)

A java SDK is available to generate Tax1042S documents as:

See this GitHub page and contact us at info@taxdataexchange.org to license the SDK.

SDK

Docker Image

A Docker image is available to generate Tax1042S documents as:

See this page and contact us at info@taxdataexchange.org to license the Docker image.

Docker

© Copyright 2026. All Rights Reserved. (www)