Deel: Create equity or token tax event
Deel equityTokens.createEquityOrTokenTaxEvent: arguments, response, policy and SDK examples.
← Equity tokens operations · Get started
Operation deel.equitytokens_createequityortokentaxevent_v2026_01_01
Provider route: POST /equities-tokens/tax-events. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/deel with npm, or alter-sdk-deel with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { DeelIntegration } from "@alter-ai/deel";
async function execute(input: Parameters<DeelIntegration["equityTokens"]["createEquityOrTokenTaxEvent"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new DeelIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.equityTokens.createEquityOrTokenTaxEvent(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_deel import DeelIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = DeelIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.equity_tokens.create_equity_or_token_tax_event(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
body | object | Optional | |
body.data | Model | Optional | Expand Create equity or token tax event — request body — body data |
Referenced models: Create equity or token tax event — request body — body data
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Create equity or token tax event — 201 response body |
Referenced models: Create equity or token tax event — 201 response body
Schemas
Section titled “Schemas”Create equity or token tax event — request body — body data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
benefit_in_kind_local_currency | string | Required within parent | The benefit-in-kind (BIK) value reported to payroll, expressed in the worker's local payroll currency |
contract_id | string | Required within parent | The Deel contract ID of the EOR worker the tax event applies to |
equity_grant_id | string | Optional | The unique identifier of the equity/token grant. Omit this property if the grant ID is not known. |
event_date | string | Optional | The date the equity or token event occurred (e.g. vest date, exercise date) Format: date |
exercise_price | string | Optional | The price at which the equity/token was exercised |
fx_rate | string | Required within parent | The exchange rate used to convert the local currency to the payroll currency. Must be greater than 0. |
gross_value | string | Optional | The gross value of the equity event, calculated as unit FMV multiplied by quantity exercised or released |
method_of_tax_coverage | Model | Required within parent | Expand Create equity or token tax event — request body — body data method of tax coverage How the benefit-in-kind (BIK) tax on this equity event is collected. BIK_WITHHOLDING_* values indicate the employer withholds tax from payroll; the suffix identifies the mechanism (e.g. at-source deduction, salary deduction, net settlement, grossed-up bonus). BIK_REPORTING_ONLY reports the BIK without withholding. NO_BIK_NO_WITHHOLDING applies when no taxable benefit arises. AD_HOC covers special cases outside the standard methods. Note: cashout methods (CASHOUT_WITH_TAXES_WITHHELD_AT_SOURCE, CASHOUT_THROUGH_PAYROLL) are handled via internal processes and are not accepted through this endpoint. |
payroll_currency | string | Required within parent | The ISO 4217 currency code in which the payroll is processed. Case-insensitive; stored in upper case. |
plan_currency | string | Required within parent | The ISO 4217 currency code in which the equity/token grant was issued. Case-insensitive; stored in upper case. |
quantity_exercised_or_released | string | Optional | The number of shares or units exercised or released in this event |
quantity_remaining | string | Optional | The number of shares or units remaining after the event |
quantity_withheld_or_sold | string | Optional | The number of shares or units withheld (for cashless exercise) or sold to cover taxes |
sale_price | string | Optional | The price at which the equity/token was sold |
settlement_date | string | Required within parent | The date the equity event was settled (i.e. when shares were transferred or cash was received) Format: date |
tax_jurisdiction | string | Required within parent | The ISO 3166-1 alpha-2 country code of the worker's contract jurisdiction, used to determine applicable tax rules. Case-insensitive; stored in upper case. |
tax_rate | string | Optional | The tax rate applied to the benefit in kind |
taxable_gain_or_loss | string | Required within parent | The taxable gain or loss on the event, typically gross value minus the total exercise price |
total_exercise_price | string | Optional | The total exercise price paid for the equity, calculated as exercise price per unit multiplied by quantity exercised |
total_taxes_withheld | string | Required within parent | The total amount of income tax and social contributions withheld on behalf of the worker. Must be 0 when method_of_tax_coverage is BIK_WITHHOLDING_SALARY_DEDUCTION or NO_BIK_NO_WITHHOLDING. |
transaction_fees | string | Optional | Brokerage or transaction fees associated with the equity event, in plan currency |
unit_fmv | string | Optional | The fair market value of the equity/token grant at the time of the event |
withheld_tax_local_currency | string | Required within parent | The income tax and social contributions withheld, expressed in the worker's local payroll currency. Must be 0 when method_of_tax_coverage is BIK_WITHHOLDING_SALARY_DEDUCTION or NO_BIK_NO_WITHHOLDING. |
Referenced models: Create equity or token tax event — request body — body data method of tax coverage
Create equity or token tax event — 201 response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
data | Model | Optional | Expand Create equity or token tax event — 201 response body — data |
Referenced models: Create equity or token tax event — 201 response body — data
Create equity or token tax event — request body — body data method of tax coverage
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | string | Root | How the benefit-in-kind (BIK) tax on this equity event is collected. BIK_WITHHOLDING_* values indicate the employer withholds tax from payroll; the suffix identifies the mechanism (e.g. at-source deduction, salary deduction, net settlement, grossed-up bonus). BIK_REPORTING_ONLY reports the BIK without withholding. NO_BIK_NO_WITHHOLDING applies when no taxable benefit arises. AD_HOC covers special cases outside the standard methods. Note: cashout methods (CASHOUT_WITH_TAXES_WITHHELD_AT_SOURCE, CASHOUT_THROUGH_PAYROLL) are handled via internal processes and are not accepted through this endpoint. One of: AD_HOC, BIK_REPORTING_ONLY, BIK_WITHHOLDING_AT_SOURCE_CLIENT, BIK_WITHHOLDING_AT_SOURCE_CLIENT_REVERSE, BIK_WITHHOLDING_GROSSED_UP_BONUS, BIK_WITHHOLDING_NET_SETTLEMENT, BIK_WITHHOLDING_SALARY_DEDUCTION, BIK_WITHHOLDING_WORKER, NO_BIK_NO_WITHHOLDING |
Create equity or token tax event — 201 response body — data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
created_at | string | Optional | The date and time the equity/token tax event was created Format: date-time |
id | string | Optional | The unique identifier of the equity/token tax event created Format: uuid |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: deel.equitytokens_createequityortokentaxevent_v2026_01_01. Catalog operation: equitytokens_createequityortokentaxevent_v2026_01_01. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.
Required provider scopes: ["equities:write"]
Pinned headers: {"X-Version": "2026-01-01"}