PATCH
/
organizations
/
{organization_id}
/
tax-identifiers
/
{tax_identifier_id}
Update Organization Tax Identifier
curl --request PATCH \
  --url https://sandbox.intermezzo.ai/organizations/{organization_id}/tax-identifiers/{tax_identifier_id} \
  --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

organization_id
string
required

TypeID with prefix 'org'

Example:

"org_01h455vb4pex5vsknk084sn02q"

tax_identifier_id
integer
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.