Skip to main content
Version: 1.7.3

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 Form1099S/RequestPdfURLs 
Run in Postman

Request Body

FieldTypeDescription
SubmissionIdGuidOptional 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.
RecordIdsobject[]Contains the list of RecordIds for which you are requesting the pdf URLs
    RecordIdGuidUnique identifier of the return.
CustomizationobjectContains PDF customizations
    TINMaskTypestringOptional 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"

Request JSON

{
"SubmissionId": "81b77217-fb5a-4315-b76e-bbb805676a38",
"RecordIds": [
{
"RecordId": "ea13cc94-d25f-4c2f-aef2-a97b3eb59cf1"
}
],
"Customization": {
"TINMaskType": "Both"
}
}

Response Body

FieldTypeDescription
SubmissionIdGuidUnique identifier of a submission.
Form1099SRecordsobjectContains success and error records of the requested RecordIds.
    SuccessRecordsobject[]Contains the successful records with pdf urls if the forms are generated.
        RecordIdGuidUnique identifier of the return.
        StatusstringStatus of the PDF in TaxBandits.
Success - The PDF is generated and you can download it.
        FilesobjectContains multiple copies of a particular return.
            CopyBobjectCopy B: For Transferor
                UnmaskedstringLink to download the Unmasked copy
                UnmaskedPathstringThe storage path of the unmasked TIN
                MaskedstringLink to download the Masked copy
                MaskedPathstringThe storage path of the masked TIN
            CopyCobjectCopy C: For Filer
                UnmaskedstringLink to download the Unmasked copy
                UnmaskedPathstringThe storage path of the unmasked TIN
                MaskedstringLink to download the Masked copy
                MaskedPathstringThe storage path of the masked TIN
    ErrorRecordsobject[]Contains the error records
        RecordIdGuidUnique identifier of the return.
        StatusstringStatus of the error record.
  • PDF_Not_Generated - PDF is yet to be generated. You will have to wait and send a new API request to get the PDF.
  • Not Transmitted - The return is not transmitted yet.
  • Invalid RecordId - Given record id is invalid
        MessagestringDescription of each statuses
Errorsobject[]Lists the errors in the API call
    IdstringReturns the error Id.
    NamestringName of the validation error
    MessagestringDescription of the validation error

Response JSON

{
"SubmissionId": "096475ba-2b3f-4fec-85c2-886e643b4806",
"Form1099SRecords": {
"SuccessRecords": [
{
"RecordId": "32e2793e-814c-4487-a612-4292b317e686",
"Status": "Success",
"Files": {
"CopyB": {
"Unmasked": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/aec81bcc-e098-4104-932c-d3241a2fd031/e32f0fff-666b-4b98-a72d-e9ba161961bc/1099/19562776/u/copyb_1up_19562776.pdf",
"UnmaskedPath": "pdfs/aec81bcc-e098-4104-932c-d3241a2fd031/e32f0fff-666b-4b98-a72d-e9ba161961bc/1099/19562776/u/copyb_1up_19562776.pdf",
"Masked": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/aec81bcc-e098-4104-932c-d3241a2fd031/e32f0fff-666b-4b98-a72d-e9ba161961bc/1099/19562776/m/copyb_1up_19562776.pdf",
"MaskedPath": "pdfs/aec81bcc-e098-4104-932c-d3241a2fd031/e32f0fff-666b-4b98-a72d-e9ba161961bc/1099/19562776/m/copyb_1up_19562776.pdf"
},
"CopyC": {
"Unmasked": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/aec81bcc-e098-4104-932c-d3241a2fd031/e32f0fff-666b-4b98-a72d-e9ba161961bc/1099/19562776/u/copyc_1up_19562776.pdf",
"UnmaskedPath": "pdfs/aec81bcc-e098-4104-932c-d3241a2fd031/e32f0fff-666b-4b98-a72d-e9ba161961bc/1099/19562776/u/copyc_1up_19562776.pdf",
"Masked": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/aec81bcc-e098-4104-932c-d3241a2fd031/e32f0fff-666b-4b98-a72d-e9ba161961bc/1099/19562776/m/copyc_1up_19562776.pdf",
"MaskedPath": "pdfs/aec81bcc-e098-4104-932c-d3241a2fd031/e32f0fff-666b-4b98-a72d-e9ba161961bc/1099/19562776/m/copyc_1up_19562776.pdf"
}
}
}
],
"ErrorRecords": null
},
"Errors": null
}

PDF Security

The PDFs contain PII (Personally Identifiable Information) data of the recipients. To make sure that the PII data involved is completely secured, TaxBandits has added additional security to the form PDFs.

The PDF links you get in the Response are encrypted, and you will have to decrypt them before downloading.

Refer to this link for the steps to decrypt PDF with Sample codes.