How are data scientists & ai engineers taxed across borders?

  • 15+Years of cross-border experience
  • 18,000+Clients served
  • 5.0Google rating
  • 4Global offices — India, USA, Canada & UAE
  • 24-hour helpline: +1 (416) 619-0068
  • 18,000+ clients served
  • 15+ years of cross-border experience
Answer

Equity is usually the largest component of the package, and equity is sourced across the period between grant and vest — so a mid-vesting relocation splits a single gain between two tax systems. A provision that applies to this occupation and not the one beside it is what changes the answer.

The rule for this group

Equity is usually the largest component of the package, and equity is sourced across the period between grant and vest — so a mid-vesting relocation splits a single gain between two tax systems.

Two of the firm’s advisers at the glass desk in the Delhi office

The exception that catches people

I moved countries halfway through my vesting schedule.

How are data scientists & ai engineers taxed across borders?
ItemAmount
Value at vestC$119,000
Vesting period (months)38
Months worked in the first country23
Months worked in the second country15
Apportioned to the first countryC$72,026
Apportioned to the second countryC$46,974

Two countries tax slices of one gain: C$72,026 and C$46,974 on this apportionment. Where their taxing points differ — grant, vest, exercise or sale — the credit can arrive in a year the other country is no longer taxing, which is the mismatch to plan around.

Treat these numbers as a worked example rather than advice — they exist to make the mechanics visible, and the rates and thresholds are assumed for the illustration. For a real filing, we verify each figure with the authority that publishes it, for your year.

Where to go from here

The full treatment — who it binds, the deadline, the penalty and the fixed fee — is on Cross-border tax for data scientists & ai engineers. If you already have an adviser, we will tell you what they should be asking rather than replacing them.

Read and approved for the 2025 and 2026 filing seasons by Udit Gupta, Cross-Border Tax Expert, Legal Quotient Consultants. Written as general guidance, not as a recommendation for your situation. Talk it through with us before acting on it.

Tax data, in practice

People reach this page searching for tax data. It is covered here as it applies to data scientists & AI engineers — who it applies to, what has to be filed, and what it costs, at a fixed fee agreed before the work starts.

People also search for: tax systems.

Cross-border situations we are engaged for

Case study 1

Vesting schedule split across two countries on a working-day record

An award had been granted before a move and vested well after it, with both authorities entitled to part of the same gain and neither given a basis for its share. We took the earning period from the award agreement rather than from assumption, then apportioned by working days using travel records and employment dates. The same schedule went to both countries in identical terms. The engagement produced a return in each reporting its own portion, a relief claim computed on the same allocation, and a working template for the tranches still to vest.

Read how this one runs
Case study 2

Withholding recovered where units vested after the departure

A former employer's payroll had withheld on the full value at vest, months after the employee had left the country, because its records had never been updated. Part of the earning period belonged to the new country and had never been that jurisdiction's to tax. We assembled the grant documentation, the vesting dates and the month-by-month working locations, then filed a claim in the former country for the portion over-withheld. The engagement produced a recovered withholding, a corrected reporting position with the former employer, and a note for the payroll team covering the remaining tranches.

Read how this one runs
Case study 3

Payroll reporting to one country while two had claims

An employer's payroll could only process one jurisdiction and had defaulted to the country of the head office, leaving the employee's country of residence with a claim and no deductions against it. Nothing had been withheld to fund the eventual liability. We quantified what would be due where, and when, so the balance could be provided for rather than discovered. The engagement produced returns in both countries, a reconciliation between the payroll reporting and the correct apportionment, and a funding schedule for the balance the resident country was always going to assess.

Read how this one runs
Case study 4

Equity grant documents rebuilt to establish the sourcing period

An apportionment could not be defended because nobody could say what period the awards had been earned over. Several grants had been made under plan amendments, and the employee held only the summary statements from an equity portal. We went back to the plan documents and award agreements to fix the grant dates, the earning periods and the vesting conditions for each tranche separately. The engagement produced a documented sourcing period per grant, an apportionment resting on the agreements rather than on the portal, and a filing position that survived questions from both authorities.

Read how this one runs
Case study 5

Relocation part-way through a cliff and the first vest after arrival

A move happened before any units had vested at all, so the first vest fell entirely in the new country while most of the work behind it had been done in the old one. The instinct was to treat the whole award as belonging to the new country because that is where it became taxable. That is not how the earning period works. We apportioned across the cliff period and reported accordingly in both places. The engagement produced a return in the new country claiming only its share, and a filing in the former country for the balance.

Read how this one runs
Case study 6

Credit claimed in a year the other country had already taxed

Two systems had brought the same award into charge at different events and in different years, so relief in the later year had nothing left to set against. A straightforward credit claim would have failed. We established each country's taxing point from the award terms, mapped the years they fell into, and worked out which relief route remained open in each. The engagement produced amended returns in the matching years, relief obtained where a claim was still available, and a written record of the mismatch so the same problem is anticipated on the next tranche.

Read how this one runs
Case study 7

Paying a Dividend Up to a Foreign Parent

The withholding rate depends on the treaty, on the size of the holding, and on whether the parent is the beneficial owner rather than a conduit. Establishing all three before the payment is what secures the lower rate at source.

Read how this one runs
Case study 8

A Distribution From a Trust Set Up Abroad

A distribution can be capital in the trust's country and income here, and the reporting attaches to the beneficiary rather than the trustee. The work is characterising the payment before it is received where possible.

Read how this one runs

All case studies — every published engagement in one place.

Core International & Cross-Border Tax Services

International Tax Planning & Advisory

Strategy and compliance for income, assets and families spread across borders.

One coordinating team: filings on every side of the border are sequenced so treaty relief and foreign tax credits are claimed once — and in the right country.

U.S. & Cross-Border Tax Returns

Dual filers: U.S. citizens in Canada and Canadians with U.S. income run two parallel systems — we prepare both, in the right order, every year.

Expat & Emigration Tax

The move year is its own project: the elections and valuations filed that year decide the next decade of both countries’ returns.

Non-Resident Canadian Tax

Default withholding is 25% of gross: elective returns routinely turn over-withheld rent and pensions into refunds.

Transfer Pricing & BEPS

Documentation prepared with the return is the cheapest insurance in international tax; reconstructing it during an audit is the most expensive.

Cross-Border Estates & Trusts

Wills drafted for one country routinely misfire in the other — deemed disposition here, estate tax there, credits in between.

Cross-Border Corporate Tax

Expansion raises the same four questions every time — entity, PE, repatriation, payroll. We answer them before the tax authorities do.

India Tax for NRIs & Returning Residents

The deduction is taken on the sale price, not the gain — which is why an NRI property sale strands cash unless the certificate is applied for before closing.

Canadian Tax with a Foreign Element

Residency is decided on facts, not on a form — and the year you arrive or leave is the one where the largest amounts turn on the smallest details.

UAE Tax for Expats & Their Home Country

A zero-tax country is only half the answer — the question that decides the bill is whether the country you came from still treats you as resident.

Industries & Client Types We Serve Worldwide

Global E-commerce & Marketplaces
Technology & SaaS
Professional Services Firms
Cross-Border Real Estate
Importers, Exporters & Manufacturers
Athletes, Artists & Entertainers
Remote Workers & Digital Nomads
Investment Funds & Holding Companies

Global E-commerce & Marketplaces

  • Foreign VAT / GST / sales tax registrations
  • Marketplace withholding reviews
  • Inventory nexus & PE analysis
  • Multi-currency books reconciled
Explore E-commerce & Marketplaces

Technology & SaaS

  • Cross-border revenue sourcing & withholding
  • IP structuring with real substance
  • Equity for cross-border teams
  • U.S. expansion: entity & PE setup
Explore Technology & SaaS

Importers, Exporters & Manufacturers

  • Transfer pricing documentation (s.247)
  • Customs value vs transfer price
  • Foreign affiliate reporting (T1134)
  • Country-by-country reporting
Explore Trade & Manufacturing

Athletes, Artists & Entertainers

  • Reg 105 & U.S. CWA agreements
  • Multi-state & country calendars
  • Touring income allocation
  • Royalty & image-rights withholding
Explore Athletes & Entertainers

Remote Workers & Digital Nomads

  • Residency analysis before moving
  • Employer payroll exposure
  • Totalization & social security
  • Foreign tax credits
Explore Remote Workers

Investment Funds & Holding Companies

Holding structures live or die on treaty access, beneficial ownership and substance — the MLI's principal-purpose test now sits over every arrangement.

A holding structure is only as good as its reporting. Foreign affiliates, accrued passive income and distributions each carry their own return, and the penalties on those attach to the form rather than to any tax being owed — so a structure that saves tax can still cost money if the information returns are late.

  • Treaty access & PPT reviews
  • FAPI & surplus computations
  • Withholding-efficient routing
  • Governance & substance
Explore Funds & Holdcos

The follow-up questions on Data scientists & AI engineers

I moved countries halfway through vesting, which country taxes my shares?

Both, as a rule, and in proportion. Equity granted for work to be performed over a period is generally treated as earned across that period, so a relocation part-way through the schedule splits a single gain by reference to where you were working while it was being earned. Neither country taxes it all, and neither is content with nothing. The split is computed from the dates of grant and vest and from where you worked in between, which means it is only as good as your record of those months. The harder half is not the arithmetic but the timing, because the two countries rarely tax at the same moment.

My old country withheld on units that vested after I left, can I recover that?

Sometimes in full, more often in part, and the route is a claim in that country rather than a credit in your new one. What usually happens is that the former employer's payroll withholds on the whole amount at vest because its records still show you as a local employee, with no adjustment for the part of the earning period spent elsewhere. That portion was never that country's to tax. The claim is evidenced with the grant documents, the vesting dates and where you were working month by month. Make it in the correct year there, because a credit at home cannot fix an over-withholding abroad and may not be available at all.

How is equity split between two countries when I relocate mid-vest?

By apportioning the award across the period it was earned, normally between grant and vest, using where the work was performed in each part of that period. The usual measure is time: months or working days in one country against the other, applied to the value brought into charge. Two things decide whether the result holds up. The first is the earning period itself, which comes from the award agreement rather than from assumption. The second is a consistent working-location record, because the same apportionment has to be presented to both authorities and a figure that changes between two returns invites both of them to reject it.

My employer's payroll only reports to one country, what do I file?

Everything that country's payroll does not cover, which is usually the larger part of the problem. Payroll systems commonly default to a single jurisdiction because that is what they can process, and that default is not a statement of where the tax belongs. The second country's claim does not disappear because no deduction was taken for it, so the liability arrives as a balance due on a return rather than as small amounts withheld through the year. Expect to file in both, to fund one of them yourself, and to reconcile the payroll reporting against your own apportionment before you do, because the two will differ.

Are restricted units taxed at grant or at vest after a move?

The two countries may not answer that the same way, and the mismatch is the real difficulty rather than either answer on its own. Systems fix their taxing point at different events in the life of an award, so the same units can be brought into charge in one country in one year and in the other in a later one. Where that happens, relief for the first country's tax can fall due in a year the second is no longer taxing anything, and a credit with nothing to set against is worthless. This is why the sequence of the two filings, and the years chosen, matter as much as the apportionment itself.

Do I have to report unvested foreign share awards where I now live?

Possibly, and the obligation is separate from any tax on them. A number of systems require residents to disclose foreign assets and interests once they pass a reporting level, and the penalties there attach to the failure to report rather than to tax being owed, so they catch people who have paid everything correctly. Whether an unvested award is reportable depends on what you actually hold and on the rules of the country you now live in, which is a question to settle in the first year of residence rather than after a later vest draws attention to it. Keep the award agreements; they are the evidence for both questions.

Can an accountant in one country file my return in another?

Yes, where they are authorised to represent you with that tax authority and the filing is done electronically. What matters is not where the adviser sits but whether they can lawfully act for you and are competent in both systems — a return prepared with no knowledge of the other country is where the relief gets missed. We file on both sides, from offices in India, the USA, Canada and the UAE. See how we work.

Do NRIs pay tax on money sent to India?

Sending your own funds to India is a transfer of capital, not income, so the remittance itself is not taxed. What is taxable is income the money then earns in India — interest, rent, capital gains — under the rules for the account type it sits in. Sending money out of India is the direction that needs certification before the bank will act. See NRE, NRO and FCNR accounts.

Our practitioners are alumni of leading accounting and tax institutions

Where our partners studied — CPA Canada (In-Depth Tax Program), AICPA, the Institute of Chartered Accountants of India and the Malaysian Institute of Accountants.

Request a Quote +1 (416) 619-0068