List employee tax documents
Changed onReturns a list of employee tax documents. Each document includes created_at, an ISO 8601 UTC timestamp of when the document was recorded. When multiple documents share the same filed_on date, compare created_at to tell which was recorded later.
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Return tax documents for this employee ID
Return tax documents for this company ID
List documents for this year (must be greater than or equal to 2019)
Return documents with this document type. Repeat the parameter to match any of multiple values (for example, ?document_type=fed_w4&document_type=fed_w2).
Number of tax documents returned per page. The maximum value is 500.
Filter the list to the specified IDs. For more details, check out the Bulk Get Requests guide.
Response
200
Example response
{
"next": "https://api.checkhq.com/documents/employee_tax_documents?cursor=cD0lNUIlMjIyMDI0LTA1LTA5KzIzJTNBNTIlM0ExOC42NzY3NzUlMkIwMCUzQTAwJTIyJTJDKyUyMjQwMzA5OCUyMiU1RA%3D%3D",
"results": [
{
"id": "doc_hQhfyxTf2aMXDfQ82Dly",
"employee": "emp_blSYc67D0Q4qk6lx15qR",
"category": "employee_tax_document",
"document_type": "ca_de4",
"label": "California DE-4",
"jurisdiction": "CA",
"year": 2024,
"filed_on": "2024-07-18",
"created_at": "2024-07-18T23:52:18.676775Z"
}
]
}Changes
- info
added the new optional
queryrequest parameterdocument_type - info
added the new optional
queryrequest parameterid
- info