Not tax advice. Computation tools only. Have a professional check your work before filing.
openaccountants/skills/tax-residency-planning.md

Use this skill with your AI agent

View on GitHub

Paste this skill into your AI agent's context, or save the file to your project. Works with any AI agent that reads markdown.

tax-residency-planning.md291 lines15.4 KB
v10International / Other
Not yet verified by an accountantContact accountant
1---
2name: tax-residency-planning
3description: >
4 Personal tax residency rules, the 183-day rule, digital nomad visas, exit taxes, and
5 tax residency planning for international founders and freelancers. Use when the user asks
6 about: tax residency, 183-day rule, where am I taxed, digital nomad visa, tax residency
7 change, exit tax, departure tax, territorial tax countries, zero tax countries, tax nowhere,
8 permanent establishment risk, center of vital interests, tax treaty tie-breaker, DTA tie-breaker,
9 OECD Article 4, split tax year, mid-year relocation, FEIE, Foreign Earned Income Exclusion,
10 bona fide residence test, tax residency certificate, 税务居民, 居住者, 非居住者,
11 residencia fiscal, digital nomad tax, Beckham Law Spain, NHR Portugal, Thailand LTR visa,
12 Panama territorial tax, Georgia micro business, Dubai 0% tax, flag theory, or any question
13 about personal tax residency and where to pay personal income tax as an international founder.
14version: 1.0
15jurisdiction: INTL
16tax_year: 2025-2026
17category: international
18---
19 
20# Tax Residency Planning — Personal Tax Rules for International Founders
21 
22> **Based on work by [Artin (@ar-gen-tin)](https://github.com/ar-gen-tin/panrise)**, licensed under MIT. Adapted for the OpenAccountants format.
23 
24> **Disclaimer:** This skill provides general guidance on personal tax residency. It does not constitute tax or legal advice. Tax residency determinations are fact-specific and can have severe financial consequences if handled incorrectly. Consult a qualified cross-border tax advisor before changing your tax residency or structuring around residency rules.
25 
26---
27 
28## Core Concepts
29 
30Three separate concepts determine how an international founder is taxed:
31 
32| Concept | Definition | Can You Change It? |
33|---------|------------|--------------------|
34| Company incorporation | Where the business is registered | Yes — choose jurisdiction |
35| Company tax residency | Where the business pays corporate tax (usually where it's managed) | Partially — depends on substance |
36| Personal tax residency | Where YOU pay personal income tax | Yes — but requires genuine relocation |
37 
38For solo founders using pass-through entities (e.g., US LLC), personal tax residency is the primary tax determinant.
39 
40---
41 
42## The 183-Day Rule
43 
44Most countries use 183 days of physical presence as a threshold for tax residency. However, the rule is more complex than it appears.
45 
46### Variations by Country
47 
48| Variation | Countries | Detail |
49|-----------|-----------|--------|
50| Any partial day = 1 day | Most countries | Arriving at 11pm counts as a full day |
51| Calendar year basis | US (substantial presence), most EU | January 1 – December 31 |
52| Fiscal year basis | UK (April 6), Australia (July 1) | Offset calendar |
53| Additional tests beyond days | Germany, Netherlands, Japan | Family, property, "center of vital interests" |
54| Permanent home test | Most OECD countries | Having a home available can trigger residency even with <183 days |
55| Citizenship-based | United States | US citizens are ALWAYS US tax residents regardless of location |
56 
57### What 183 Days Does NOT Capture
58 
59- A country may claim residency with <183 days if you maintain a "permanent home" there
60- Some countries use a lookback period (US substantial presence test: weighted 3-year count)
61- "Center of vital interests" (family, property, social ties) can override day counts
62- Leaving a country does not automatically end tax residency — formal deregistration is often required
63 
64---
65 
66## Country-by-Country Tax Residency Rules
67 
68### Zero / Very Low Personal Income Tax Countries
69 
70| Country | Tax on Foreign Income | Residency Visa | Annual Cost | Notes |
71|---------|----------------------|----------------|-------------|-------|
72| UAE/Dubai | 5% (effective January 2026; was 0% until December 2025) | Via freezone visa | $3,000–10,000 | Must establish genuine residency |
73| Cayman Islands | 0% | Investment-based | $18,000–24,000 | Expensive but total tax freedom |
74| Bahamas | 0% | Permanent Residency available | ~$1,000 | Caribbean lifestyle |
75| Monaco | 0% | Deposit required | €500,000+ deposit | Ultra-high-net-worth only |
76 
77### Territorial Tax Countries (0% on Foreign Income)
78 
79| Country | Local Tax Rate | Foreign Income Tax | Digital Nomad Visa | Notes |
80|---------|---------------|--------------------|--------------------|-------|
81| Panama | 15–25% | 0% (territorial) | Friendly Nations Visa | Easy residency |
82| Costa Rica | 10–25% | 0% (territorial) | Rentista visa | Growing tech scene |
83| Georgia | 1% (micro business) | 0% (territorial) | Easy residency | Ultra-low tax for <GEL 500,000 revenue |
84| Paraguay | 10% | 0% (territorial) | Easy residency | Cheapest South American option |
85| Malaysia | 0–30% | 0% (pre-2024, changing) | MM2H visa | Rules tightening — verify current status |
86| Thailand | 0–35% | Changing (2024+ remittance rule) | LTR visa | LTR visa holders: flat 17% |
87 
88### Popular Digital Nomad Visas
89 
90| Country | Visa Name | Duration | Minimum Income | Tax Implication |
91|---------|-----------|----------|----------------|-----------------|
92| Portugal | D8 (Digital Nomad) | 1 year + renew | €3,500/month | NHR abolished 2024; now taxed at standard rates |
93| Spain | Digital Nomad Visa | 1 year + renew | €2,520/month | Beckham Law: 24% flat rate (limited applicability) |
94| Croatia | Digital Nomad | 1 year | €2,540/month | 0% local tax in first year |
95| Estonia | Digital Nomad | 1 year | €4,500/month | Not tax resident if <183 days |
96| Greece | Digital Nomad | 2 years | €3,500/month | 50% income tax reduction for 7 years |
97| Dubai | Virtual Working Program | 1 year | $5,000/month | 5% PIT (effective January 2026) |
98| Thailand | LTR Visa | 5–10 years | Varies | Flat 17% (vs normal up to 35%) |
99 
100---
101 
102## Effective Tax Rate Comparison by Residency
103 
104On $100,000 and $200,000 annual profit from a pass-through entity:
105 
106| Residency | On $100K Profit | On $200K Profit | Effort to Establish |
107|-----------|-----------------|-----------------|---------------------|
108| UAE/Dubai | ~$5,000 (5% PIT) | ~$10,000 | High (must live there) |
109| Panama | $0 (foreign income) | $0 | Medium |
110| Georgia | ~$1,000 (1% micro) | ~$2,000 | Low |
111| Paraguay | $0 (foreign income) | $0 | Low |
112| Germany | ~$35,000 | ~$80,000 | Already there |
113| US citizen (abroad) | ~$0–15,000 (after FEIE) | ~$20,000–35,000 | Complex |
114 
115---
116 
117## Tax Traps for International Founders
118 
119### Trap 1: US Citizens Cannot Escape US Tax
120 
121- US taxes worldwide income regardless of where the citizen lives
122- Must file US return even if living abroad permanently
123- **FEIE (Foreign Earned Income Exclusion):** Excludes up to ~$130,000 (2025) / $132,900 (2026) of earned income if bona fide foreign residence established
124- **FTC (Foreign Tax Credit):** Credits foreign taxes paid against US liability
125- **CFC rules:** Owning >50% of a foreign corporation triggers Subpart F / GILTI — Form 5471 mandatory ($10,000+ penalty per year if missed)
126- **Solution for US citizens:** US LLC (pass-through) avoids CFC complexity
127 
128### Trap 2: Permanent Establishment (PE) Risk
129 
130- Working from a co-working space in Country X for >90–183 days may create a PE for your company there
131- PE = your company owes corporate tax in that country on attributable profits
132- "Service PE" triggered by extended project work in a country
133- **Mitigation:** Track days carefully, don't sign contracts locally, hold board meetings in the incorporation country
134 
135### Trap 3: Company Tax Residency ≠ Incorporation
136 
137- A company incorporated in Singapore but managed from a laptop in Portugal may be tax resident in Portugal
138- Tax authorities examine where "central management and control" happens
139- **Mitigation:** Hold board meetings (even virtual) in the incorporation country, keep documented minutes
140 
141### Trap 4: "Nowhere" Tax Residency Does Not Work
142 
143- Traveling constantly and claiming no tax residency invites problems
144- Tax authorities examine: passport, bank accounts, property, family, center of vital interests
145- **Mitigation:** Deliberately establish tax residency in ONE favorable country
146 
147### Trap 5: Social Security Double Contribution
148 
149- Many countries require social security contributions from residents
150- Without totalization agreements, the founder may pay into two systems
151- EU countries have coordination rules; US has agreements with ~30 countries
152 
153---
154 
155## Exit Tax (Departure Tax)
156 
157When leaving a high-tax country, departure can trigger a large one-time tax bill. This is often the single largest tax event in a founder's life.
158 
159| Country | Rule | Trigger | Deferral? |
160|---------|------|---------|-----------|
161| Germany | § 6 AStG | Deemed disposal of shares in foreign companies on departure (>1% shareholding held 5+ years) | 5-year deferral within EU/EEA; installments for non-EU moves |
162| United States | HEART Act (2008) | Mark-to-market on all worldwide assets for covered expatriates renouncing citizenship | No deferral; net worth >$2M OR avg annual net income tax >$190K (2024, indexed) |
163| Australia | CGT Event I1 | Deemed disposal of all taxable Australian property on becoming non-resident | Main residence exemption may apply |
164| Canada | Departure Tax | Deemed disposition of all property at FMV on ceasing to be resident | Deferral available if security posted with CRA |
165| France | Exit Tax (Art. 167 bis CGI) | Shareholdings worth >€800K or >50% of company profits | 5-year deferral (EU/EEA); 2-year deferral (other) |
166| Netherlands | Conservatory Assessment | 10-year lookback on substantial interest holdings (>5% shareholding) | Tax assessed at departure; collected on actual disposal within 10 years |
167 
168**Planning guidance:**
169- Plan departure 12–24 months in advance — most mitigation strategies require lead time
170- Get a written tax opinion BEFORE moving, not after
171- Germany § 6 deferral only works for EU/EEA moves; moving to Dubai triggers installment payments
172- US covered expatriates: $800K per-person lifetime exclusion on mark-to-market gain
173 
174---
175 
176## Split Tax Year (Mid-Year Relocation)
177 
178### Countries WITH Formal Split-Year Treatment
179 
180| Country | Rule | Detail |
181|---------|------|--------|
182| UK | Statutory Residence Test (SRT) | 8 defined "cases" for split-year treatment; each half taxed separately |
183| Germany | Prorated income | Unlimited liability ends on Abmeldung date; limited liability continues for German-source income |
184| Australia | Partial-year resident | ATO determines residency date based on facts; foreign income not taxed in non-resident portion |
185 
186### Countries WITHOUT Split-Year Treatment
187 
188- **USA:** No split year for citizens (always filing). Dual-status return applies for green card holders.
189- **Singapore:** No formal split; authorities consider tax residency for the full year.
190- **UAE:** No income tax, so split year is irrelevant.
191- **Panama / Georgia / Paraguay:** Territorial systems; foreign income not taxed regardless.
192 
193### Practical Steps for Transition Year
194 
1951. **Formal deregistration** — Get paper proof (Abmeldung in Germany, P85 form in UK, departure notification in Australia)
1962. **Establish new residency immediately** — Signed lease, local bank account, utility bill, all dated early
1973. **Get a Tax Residency Certificate (TRC)** from the new country as soon as you qualify
1984. **File returns in BOTH countries** for the transition year — even if nothing is owed in one
1995. **Claim DTA tie-breaker** if both countries assert full-year residency
200 
201---
202 
203## Tax Treaty Tie-Breaker Rules (OECD Article 4)
204 
205When two countries both claim a person as their tax resident, the DTA tie-breaker is applied sequentially:
206 
207| Step | Test | Key Details |
208|------|------|-------------|
209| 1 | Permanent home availability | Where do you have a home available for continuous use? Rented accommodation counts. A home rented OUT to tenants is NOT available. |
210| 2 | Center of vital interests | Where are your closest personal and economic ties? Family, employment, bank accounts, property. Holistic assessment. |
211| 3 | Habitual abode | Where do you spend time habitually? Assessed over an extended period, not just the current year. |
212| 4 | Nationality | Citizenship as final tie-breaker. Dual nationals may fall through to mutual agreement (MAP, 24–36 months). |
213 
214### Documentation Required for Tie-Breaker Claims
215 
216| Document | Purpose |
217|----------|---------|
218| Lease agreements / property ownership | Proves permanent home availability |
219| Utility bills in your name | Evidence of actual use of accommodation |
220| Passport stamps / border crossing records | Day-count evidence for habitual abode |
221| Bank statements | Shows where economic life is centered |
222| Business records (contracts, invoices) | Shows where economic activity is located |
223| School enrollment records (children) | Strong personal ties evidence |
224| Tax Residency Certificate (TRC) | Primary official evidence — single most important document |
225 
226---
227 
228## Recommended Strategies by Profile
229 
230### Profile A: US Citizen, Digital Nomad
231 
232- **Structure:** Wyoming/Delaware LLC (pass-through)
233- **Tax strategy:** FEIE (~$130K exclusion) + FTC for amounts above
234- **Residency:** Establish bona fide residence in a foreign country (need 330+ days abroad)
235- **Banking:** Mercury + Wise
236- **Avoid:** Foreign corporations (triggers CFC/GILTI complexity)
237 
238### Profile B: Non-US, Digital Nomad, Revenue <$100K
239 
240- **Structure:** Wyoming LLC (0% US tax for non-residents)
241- **Tax residency:** Establish in territorial tax country (Panama, Georgia, Paraguay)
242- **Banking:** Mercury + Wise
243- **Total tax:** Near 0% legally
244- **Annual cost:** ~$1,500 all-in
245 
246### Profile C: Non-US, Living in One Country, Revenue >$100K
247 
248- **Structure:** Depends on customer location (US customers → Wyoming LLC; EU → Estonia OÜ; Asia → Singapore)
249- **Tax residency:** Country of residence (file there)
250- **Optimization:** Use DTA between personal country and company country
251 
252### Profile D: Founder Seeking Lowest Legal Tax
253 
254- **Structure:** Dubai Freezone (or Wyoming LLC)
255- **Tax residency:** UAE (5% PIT effective January 2026)
256- **Requirement:** Actually live in UAE (get Emirates ID, establish life there)
257- **Total tax:** 9% corporate on >AED 375K + 5% personal = effective ~12–15%
258- **NOT for US citizens** (still owe US tax)
259 
260---
261 
262## Flag Theory for Solo Founders
263 
264Five "flags" that do NOT need to be in the same country:
265 
266| Flag | What It Is | Can You Change It? |
267|------|------------|--------------------|
268| Passport | Citizenship | Difficult |
269| Tax residency | Where you pay personal tax | Yes — requires genuine relocation |
270| Company | Where your business is registered | Yes — choose based on customers/tax |
271| Banking | Where your money is held | Yes — choose based on features/access |
272| Living | Where you actually spend time | Yes — but must align with tax residency claim |
273 
274**Example (legal):** Chinese citizen → Dubai tax residency (5% PIT) → Wyoming LLC (0% US tax) → Mercury (US) + Wise (multi-currency) → Living in Dubai + travel.
275 
276---
277 
278## Official Sources & Further Reading
279 
280- **OECD Model Tax Convention** — Article 4 (Residence): https://www.oecd.org/tax/treaties/
281- **IRS — FEIE**: https://www.irs.gov/individuals/international-taxpayers/foreign-earned-income-exclusion
282- **IRS — FBAR**: https://www.fincen.gov/report-foreign-bank-and-financial-accounts
283- **UK Statutory Residence Test**: https://www.gov.uk/government/publications/rdr3-statutory-residence-test-srt
284- **Dubai Virtual Working Program**: https://www.visitdubai.com/en/sc7/one-year-virtual-working-programme
285 
286---
287 
288*Data reflects 2024–2026 rules. Tax residency changes are high-stakes decisions — verify all rules with a qualified cross-border tax advisor before acting.*
289*Original content: [Artin (@ar-gen-tin)](https://github.com/ar-gen-tin/panrise) — MIT License.*
290*OpenAccountants — open-source tax computation skills — info@openaccountants.com*
291 

Run this skill, then get an accountant to check it

After running the full skill pack in Claude, sign up and upload your worksheet. We'll connect you with a trusted accountant in our network who can review your numbers before you file.

Discussions(0)

No discussions yet. Verified accountants can post questions about this skill.

Quality

Q2: Research-verified

Deep research against tax authority sources. Not yet tested on real data.

Needs real client data + practitioner sign-off to reach Q1.

Accountant Review

Unverified
0/31

About

Personal tax residency rules, the 183-day rule, digital nomad visas, exit taxes, and tax residency planning for international founders and freelancers. Use when the user asks about: tax residency, 183-day rule, where am I taxed, digital nomad visa, tax residency change, exit tax, departure tax, territorial tax countries, zero tax countries, tax nowhere, permanent establishment risk, center of vital interests, tax treaty tie-breaker, DTA tie-breaker, OECD Article 4, split tax year, mid-year relocation, FEIE, Foreign Earned Income Exclusion, bona fide residence test, tax residency certificate, 税务居民, 居住者, 非居住者, residencia fiscal, digital nomad tax, Beckham Law Spain, NHR Portugal, Thailand LTR visa, Panama territorial tax, Georgia micro business, Dubai 0% tax, flag theory, or any question about personal tax residency and where to pay personal income tax as an international founder.

INTLty-2025

Use this skill

This skill is open source and free to use in any AI agent. Copy it, download it, or clone the repo. If you find an error, flag it — a licensed accountant will review.

3 of 4 in the INTL workflow: