GetPDF
GetPDF
Request the 1042-T PDF using this endpoint. The request should have the Taxyear and TIN (EIN) of the Payer.
POST Form1042T/GetPDF Request Body
| Field | Type | Description |
|---|---|---|
| TaxYear | String | Tax Year you want to generate the Form 1042-T. Allowed values: "2023","2024","2025" |
| EIN | String | EIN of the Payer you are requesting the Form 1042-S. |
Response Body
| Field | Type | Description |
|---|---|---|
| StatusCode | number | Returns the HTTP status codes like 200,300 etc. |
| StatusName | string | Name of the status code. |
| StatusMessage | string | Detailed status message. |
| PdfAttachmentCount | string | Total number of Form 1042-T pdf generated. |
| Errors | object[] | Shows detailed error information. |
| Code | string | Returns the validation error code. |
| Name | string | Name of the validation error. |
| Message | string | Description of the validation error. |
| Type | string | Type of validation error. |
| Form1042TPdfPath | string | Returns the PDF path of generated Form 1042-T. |
Request JSON
{
"TaxYear": "2023",
"EIN": "56-4408002"
}
Response JSON
Success Response - This is a sample response for successful API requests.
{
"StatusCode": 200,
"StatusName": "Ok",
"StatusMessage": "Successful API call",
"PdfAttachmentCount": "1",
"Errors": null,
"Form1042TPdfPath": "pdfs/c52fdcac-9b72-49b8-8b61-c6b6c1e20e94/9d20af8d-8f25-462b-8c21-f78a2906ff7f/1042T.pdf"
}