Create a tax form for a contractor

Submit a new US tax form on behalf of a contractor against a specific client legal entity, typically during onboarding or when a fresh form must be recorded for a contractor/legal-entity pair. Select the form type based on the contractor's US tax status: W-9 for US individuals or entities, W-8BEN for non-US individuals, W-8BEN-E for non-US entities. The contractor must have an active (non-terminated) contract with the legal entity, and only one tax form may exist per contractor/legal-entity pair. **Token scopes**: `worker:write`

Authentication

AuthorizationBearer
## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.deel.training/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
OR
AuthorizationBearer
Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Path parameters

contractor_idstringRequiredformat: "uuid"

The public ID (UUID) of the contractor’s HRIS profile — not the contract ID or the IC profile ID.

Request

This endpoint expects an object.
dataobjectRequired

Response

Tax form created successfully.
dataobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error