Skip to main content
Version: 2.0

RequestDraftPdfUrls

RequestDraftPdfUrls

This endpoint retrieves Draft PDF copies of a Form 1099/W-2 for a single recipient or multiple recipients. Request the Draft PDF URLs by providing the RecordId associated with the returns.

GET form1099w2/requestdraftpdfurls 

Request Body

FieldTypeDescription
RecordIdstringA unique identifier generated by TaxBandits when a return is created. Mention the return's RecordId that you want to request draft PDF.

Response Body

FieldTypeDescription
RecordIdGuidUnique identifier of the record
RecipientIdGuidUnique Recipient Identifier generated by TaxBandits
PayeeRefstringAn unique identifier for each recipient set by the client.
DraftPdfUrlstringURL of the Draft PDF
DraftPdfPathstringStorage path of the draft PDF
Errorsobject[]Shows detailed error information
    IdstringReturns the validation error code
    NamestringName of the validation error
    MessagestringDescription of the validation error
Request JSON
SampleDescriptionAction
Sample 1
Request Draft PDF URLs for generated Form 1099/W-2 returns using RecordId.
Sample 1
"v2/form1099w2/requestdraftpdfurl?recordid=9e47bb81-4fe0-4ef9-878a-a136c5cd0033"
Response JSON
SampleDescriptionAction
200
Success Response - This is a sample response for successful API requests.
Response: 200
{
"RecordId": "9e47bb81-4fe0-4ef9-878a-a136c5cd0033",
"RecipientId": "bcf7a877-c6d3-41a4-a67b-65487b1a99c9",
"PayeeRef": "Pe7634",
"DraftPdfUrl": "https://expressirsforms.com.s3.us-east-1.amazonaws.com/pdfs/2f44c904-024f-4f82-80ac-224657826b35/8148f2d3-6cdd-449b-89bb-f357340e2523/1099/12564312/d/Single_Draft.pdf",
"DraftPdfPath": "pdfs/2f44c904-024f-4f82-80ac-224657826b35/8148f2d3-6cdd-449b-89bb-f357340e2523/1099/12564312/d/Single_Draft.pdf",
"Error": null
}