POST
/
worksites
/
{worksite_id}
/
tax-identifiers
Create Worksite Tax Identifier
curl --request POST \
  --url https://sandbox.intermezzo.ai/worksites/{worksite_id}/tax-identifiers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "taxData": {
    "validFrom": "2023-12-25",
    "validTo": "2023-12-25",
    "country": "<string>",
    "businessType": "Sole Trader",
    "payeReferenceNumber": "<string>",
    "accountsOfficeReference": "<string>"
  }
}'
{
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "id": 123,
  "taxData": {
    "validFrom": "2023-12-25",
    "validTo": "2023-12-25",
    "country": "<string>",
    "businessType": "Sole Trader",
    "payeReferenceNumber": "<string>",
    "accountsOfficeReference": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

worksite_id
string
required

TypeID with prefix 'wst'

Example:

"wst_01h455vb4pex5vsknk084sn02q"

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.