RequestDraftPdfUrl
POST Form3922/RequestDraftPdfUrl
Request Body
Field | Type | Description |
---|---|---|
TaxYear | string | Optional Tax Year of the return. Specify only if you do not have the RecordId. Allowed values"2024" |
RecordId | Guid | Optional Specify the RecordId of the return. |
TINMaskType | string | Optional TIN Mask type on the TIN printed on the PDF.Allowed values"MASKED", "UNMASKED" |
Business | object | Optional Collects the Business identifier TIN or TBS Business Id or PayerRef. This object information is required only if you do not have the RecordId |
BusinessId | Guid | Optional TaxBandits Unique Business Identifier. This ID is generated by TaxBandits after you create a business in your account using the Business endpoint. |
PayerRef | string | Optional Unique payer identifier assigned by the client. Size Range: 1 to 50 |
TINType | string | Optional TIN type of the Business TIN. Use this as an alternative for BusinessId or PayerRef.Allowed values"SSN", "EIN" |
TIN | string | Optional Taxpayer Identification Number. Use this as an alternative for BusinessId or PayerRef. Size Range: 9-11 |
Recipient | object | Optional Collects the recipient's unique identifier. This object information is required only if you do not have the RecordId. |
PayeeRef | string | Optional An unique identifier for each recipient set by the client. Size Range: 1 to 50 |
RecipientId | Guid | Optional Unique Recipient Identifier generated by TaxBandits |
TINType | string | Optional TIN type of the Recipient’s TIN. Use this as an alternative for RecipientId or PayeeRef.Allowed values"SSN" |
TIN | string | Optional Taxpayer Identification Number. Use this as an alternative for RecipientId or PayeeRef. Size Range: 9-11 |
Request JSON
{
"TaxYear": "2024",
"RecordId": "4a88894e-c1b6-4df0-8c94-8358d5d958f4",
"TINMaskType": "masked",
"Business": {
"BusinessId": "7addfd62-5c41-4a3f-bcf3-438b47ee6604",
"PayerRef": null,
"TINType": null,
"TIN": null
},
"Recipient": {
"RecipientId": "c2733b4c-3fa1-4765-9ee0-66aa88c6314f",
"PayeeRef": null,
"TINType": null,
"TIN": null
}
}
Response Body
Field | Type | Description |
---|---|---|
RecordId | Guid | Unique identifier of the record |
RecipientId | Guid | Unique Recipient Identifier generated by TaxBandits |
PayeeRef | string | An unique identifier for each recipient set by the client. |
DraftPdfUrl | string | URL of the Draft PDF |
DraftPdfPath | string | Storage path of the draft PDF |
Errors | object[] | Shows detailed error information |
Id | string | Returns the validation error code |
Name | string | Name of the validation error |
Message | string | Description of the validation error |
Response JSON
Success Response - This is a sample response for successful API requests.
{
"RecordId": "3c4aae73-e65f-44b3-b20a-3b50b64cbed7",
"RecipientId": "7a429d4a-f22d-4c96-a776-76faac7348e0",
"PayeeRef": null,
"DraftPdfUrl": "https://expressirsforms.s3.us-east-1.amazonaws.com/pdfs/2544fa37-e2b7-4bd5-8db5-20f49b130422/b594606b-c9fd-49ff-8d15-46d0ae3a76fb/1099/6209309/d/single_draft_1247752339.pdf",
"DraftPdfPath": "pdfs/2544fa37-e2b7-4bd5-8db5-20f49b130422/b594606b-c9fd-49ff-8d15-46d0ae3a76fb/1099/6209309/d/single_draft_1247752339.pdf",
"Error": null
}