RequestPdfURLs
This method can be used to retrieve PDFs for single or multiple recipients. The PDF URL will be returned in the response only if it is already generated by us. You can use the SubmissionId or RecordIds to request the pdf URLs.
Note: The PDF URL will be returned in response only after the return is transmitted in the API. This method will not work for Inprogress returns.
POST Form1099OID/RequestPdfURLs
Request Body
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Optional Unique identifier of an API submission. Use this node to request the PDFs under a particular submission. If you are going to request the PDFs using the RecordIds, you can leave the SubmissionId blank or null. |
RecordIds | object[] | Contains the list of RecordIds for which you are requesting the pdf URLs |
RecordId | Guid | Unique identifier of the return. |
Customization | object | Contains PDF customizations |
TINMaskType | string | Optional Mention whether you want the TIN to be masked in the PDF. If masked, only the last digits of the SSN will be visible and the rest of the digits will be crossed (xxx-xx-1234).Allowed values: "MASKED", "UNMASKED", "BOTH" |
Response Body
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission. |
Form1099OIDRecords | object | Contains success and error records of the requested RecordIds. |
SuccessRecords | object[] | Contains the successful records with pdf urls if the forms are generated. |
RecordId | Guid | Unique identifier of the return. |
Status | string | Status of the PDF in TaxBandits. Success - The PDF is generated and you can download it. |
Files | object | Contains multiple copies of a particular return. |
Copy1 | object | Copy 1: For State Tax Department |
Unmasked | string | Link to download the Unmasked copy |
Masked | string | Link to download the Masked copy |
Copy2 | object | Copy 2: To be filed with recipient’s state income tax return, when required. |
Unmasked | string | Link to download the Unmasked copy |
Masked | string | Link to download the Masked copy |
CopyB | object | Copy B: For Recipient |
Unmasked | string | Link to download the Unmasked copy |
Masked | string | Link to download the Masked copy |
CopyC | object | Copy C: For Payer |
Unmasked | string | Link to download the Unmasked copy |
Masked | string | Link to download the Masked copy |
ErrorRecords | object[] | Contains the error records |
RecordId | Guid | Unique identifier of the return. |
Status | string | Status of the error record.
|
Message | string | Description of each statuses |
Errors | object[] | Lists the errors in the API call |
Id | string | Returns the error Id. |
Name | string | Name of the validation error |
Message | string | Description of the validation error |
Request JSON
{
"SubmissionId": "932d2691-5e8f-45db-815a-4a97886773b3",
"RecordId": "14dc0f70-16c7-48b7-88b0-e1a59315061c",
"Customization": {
"TINMaskType": "Masked"
}
}
Response JSON
{
"SubmissionId": "932d2691-5e8f-45db-815a-4a97886773b3",
"Form1099OIDRecords": {
"SuccessRecords": [
{
"RecordId": "14dc0f70-16c7-48b7-88b0-e1a59315061c",
"Status": "Success",
"Files": {
"Copy1": {
"Unmasked": null,
"Masked": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/29d54eb1-322c-4d20-8e5d-eacbef2e8131/001f3e08-390d-4b29-8f52-00519bc6eae4/1099/2719907/m/copy1_1up_2719907.pdf"
},
"Copy2": {
"Unmasked": null,
"Masked": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/29d54eb1-322c-4d20-8e5d-eacbef2e8131/001f3e08-390d-4b29-8f52-00519bc6eae4/1099/2719907/m/copy2_1up_2719907.pdf"
},
"CopyB": {
"Unmasked": null,
"Masked": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/29d54eb1-322c-4d20-8e5d-eacbef2e8131/001f3e08-390d-4b29-8f52-00519bc6eae4/1099/2719907/m/copyb_1up_2719907.pdf"
},
"CopyC": {
"Unmasked": null,
"Masked": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/29d54eb1-322c-4d20-8e5d-eacbef2e8131/001f3e08-390d-4b29-8f52-00519bc6eae4/1099/2719907/m/copyc_1up_2719907.pdf"
}
}
}
],
"ErrorRecords": null
},
"Errors": null
}