About the Taxport REST API
Learn how to authenticate, access available endpoints, and implement typical integration patterns for searching forms, retrieving recipient data, and generating PDF eStatements in Taxport.
The Taxport eStatements REST API provides programmatic access to tax form and recipient data within the Taxport system. You can search, retrieve, and generate tax documents directly from your backend systems, streamlining your tax reporting workflows.
Available endpoints
- Authentication
- Authenticate requests to the Taxport REST API endpoints.
- Recipient search
- Search for recipients in the Taxport system using TIN, account number, recipient ID, or other identifiers. Access comprehensive recipient information including custom fields and indicators.
- Form search
- Search for resident and non-resident tax forms using various criteria including TIN, account number, and form ID. Retrieve detailed form information and summary payer and recipient information with pagination support.
Tax forms: Download OpenAPI specification
Non-resident tax forms: Download OpenAPI specification
- eStatements
- Generate PDF eStatements for specific tax forms. This API produces official tax documents that can be distributed electronically to recipients or integrated into your document management systems.
- Combined eStatements
- Generates a combined PDF e-statement document that aggregates multiple tax forms for a single recipient into one consolidated statement.
Enabling the Taxport REST API
You need an active subscription for eStatements to use the eStatements endpoint and generate a PDF. Contact your Sovos representative or support team to get your API credentials and complete the activation process.
You will also need to configure at least one print resource in Taxport to use when an eStatement is generated.
Accessing the Taxport REST API
An active Taxport subscription
API client credentials (client ID and client secret)
A print resource configured for the eStatement endpoint
An alias configuration to define which tax years and forms are available for eStatements
Authenticating API requests
Get access token: Send your client credentials to the authentication endpoint to receive a bearer token.
Include bearer token: Pass the access token in the Authorization header of all API requests.
Access tokens have a limited lifespan. Your application should handle token refresh as needed.
API workflow
- Typical integration pattern
Authenticate: Get an access token using your client credentials.
Search: Use the form search or recipient search APIs to locate records.
Retrieve details: Access detailed information about forms or recipients.
Generate documents: Use the eStatement endpoint to create PDF documents or the Combined eStatements endpoint to get a combined PDF document that aggregates multiple tax forms for a single recipient.
- Search requirements
- Both search APIs require
An
Aliasfield (Unique databases for each environment and tax year)At least one identifier: TIN, account number, record ID, or externally provided unique ID
Response formats
200: Successful operation with data
400: Bad request
401: Unauthorized
403: Forbidden
404: Not found
500: Internal server error
Getting started
Contact your Sovos representative to get API credentials.
Review the OpenAPI specifications for detailed endpoint documentation.
Work with professional services if applicable to configure resources in Taxport.
Implement proper error handling and token management in your application.
Testing the REST API
We recommend using tools like Postman or similar API testing platforms to familiarize yourself with the endpoints before implementing your integration.
For additional support or questions about the Taxport REST API, contact support.
