Skip to main content
Version: 2.0.0

GetPDF

GetPDF

This endpoint retrieves the generated Form W-3 PDF for a specified business and tax year.

Form W-3, Transmittal of Wage and Tax Statements, is used to summarize the wage and tax information reported on the associated Forms W-2. It includes aggregate totals for wages, tips, other compensation, federal income tax withheld, Social Security and Medicare wages and taxes, and other applicable amounts.

This endpoint can be used to generate and retrieve a PDF copy of Form W-3 for the specified business and tax year. The response includes the generated Form W-3 PDF in byte array format, along with the total number of attachments associated with the request.

POST FormW3/GetPDF 

Request Body

FieldTypeDescription
TaxYearstringTax Year you want to generate the Form W3.
Allowed values

"2025", "2026"

BusinessIdGUIDOptional Use the unique Business ID (Generated by TaxBandits) that you received in the response of the Business CREATE Endpoint. If you do not have a Business ID, ignore the field. By giving the Business ID, you do not have to provide all the business information again.
TINDetailsobjectTIN information for the business.
    FormatstringSpecifies how the TIN is passed.
Allowed values

"PLAIN_TIN" - Pass TIN directly.
"TOKENIZED_TIN" - Pass tokenized TIN.

    TINTypestringSpecify the TIN type of the business.
Allowed values

"EIN"

    TINstringThe TIN value according to the Format selected.

Response Body

FieldTypeDescription
TaxYearstringTax year of Form W-3 generated.
BusinessIdGUIDUnique identifier of the business.
AttachmentCountstringTotal number of Form W-3 PDFs generated.
AttachmentW3byte[]Byte array of Form W-3 PDF.
Errorsobject[]Shows detailed error information.
    CodestringReturns the validation error code.
    NamestringName of the validation error.
    MessagestringDescription of the validation error.
    TypestringType of validation error.

Request JSON​

{
"TaxYear": "2026",
"BusinessId": "334a57d5-efc5-409a-9bbf-28f3abda0c7f",
"TINDetails": {
"Format": "PLAIN_TIN",
"TINType": "EIN",
"TIN": "72-5564875"
}
}

Response JSON​

Success Response - This is a sample response for successful API requests.

{
"TaxYear": "2026",
"BusinessId": "334a57d5-efc5-409a-9bbf-28f3abda0c7f",
"AttachmentCount": "1",
"AttachmentW3": "JVBERi0xLjMKJcOHw6zCj8KiCjEgMCBvYmoKPDwvVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKL0Fjcm9Gb3JtIDQgMCBSCi9NZXRhZGF0YSA3IDAgUgo+PgplbmRvYmoKCjIgMCBvYmoKPDwvVHlwZSAvUGFnZXMKL0tpZHM",
"Errors": null
}