Use this skill with your AI agent
Paste this skill into your AI agent's context, or save the file to your project. Works with any AI agent that reads markdown.
| 1 | --- |
| 2 | name: pt-social-contributions |
| 3 | description: Use this skill whenever asked about Portuguese self-employed social contributions (contribuições para a Segurança Social). Trigger on phrases like "Segurança Social trabalhador independente", "Portuguese social contributions", "declaração trimestral SS", "contribuições independente Portugal", or any question about social contribution obligations for a self-employed client in Portugal. Covers the 21.4% rate on 70% of relevant income, quarterly declaration, and first-year exemption. ALWAYS read this skill before touching any Portugal social contributions work. |
| 4 | version: 2.0 |
| 5 | --- |
| 6 | |
| 7 | # Portugal Social Contributions -- Self-Employed Skill v2.0 |
| 8 | |
| 9 | ## Section 1 -- Quick reference |
| 10 | |
| 11 | | Field | Value | |
| 12 | |---|---| |
| 13 | | Country | Portugal (Portuguese Republic) | |
| 14 | | Authority | ISS (Instituto da Segurança Social) for contributions; AT (Autoridade Tributária) for tax | |
| 15 | | Primary legislation | Código Contributivo (Lei n.o 110/2009, art. 139-170) | |
| 16 | | Supporting legislation | Decreto Regulamentar 1-A/2011; annual updates via Portaria | |
| 17 | | Self-employed rate | 21.4% | |
| 18 | | Empresário em nome individual rate | 25.2% | |
| 19 | | Relevant income -- services | 70% of gross | |
| 20 | | Relevant income -- goods | 20% of gross | |
| 21 | | Minimum monthly base (IAS, 2025) | EUR 480.43 | |
| 22 | | Maximum monthly base (12x IAS) | EUR 5,765.16 | |
| 23 | | First 12 months | Exempt from contributions | |
| 24 | | Declaration frequency | Quarterly | |
| 25 | | Payment frequency | Monthly (between 10th and 20th) | |
| 26 | | Currency | EUR only | |
| 27 | | Contributor | Open Accountants | |
| 28 | | Validated by | Pending -- requires validation by Portuguese contabilista certificado | |
| 29 | | Validation date | Pending | |
| 30 | |
| 31 | --- |
| 32 | |
| 33 | ## Section 2 -- Required inputs and refusal catalogue |
| 34 | |
| 35 | ### Required inputs |
| 36 | |
| 37 | Before computing, you MUST obtain: |
| 38 | |
| 39 | 1. **Activity type** -- trabalhador independente, empresário em nome individual, or profissional liberal? |
| 40 | 2. **Gross quarterly income (rendimento relevante)** -- from the quarterly declaration |
| 41 | 3. **Year of activity** -- first 12 months exempt from contributions |
| 42 | 4. **Any concurrent employment?** -- reduced rate may apply |
| 43 | 5. **Category of services** -- services (prestação de serviços) vs sales of goods (venda de bens)? |
| 44 | 6. **Does the client have an accountant (contabilidade organizada)?** -- affects relevant income calculation |
| 45 | |
| 46 | **If income type (services vs goods) is unknown, STOP. The relevant income percentage differs.** |
| 47 | |
| 48 | ### Refusal catalogue |
| 49 | |
| 50 | **R-PT-SOC-1 -- Cross-border EU worker.** Trigger: client is a Portuguese resident providing services in another EU state. Message: "Cross-border social insurance requires A1 certificate analysis under EU Regulation 883/2004. Escalate to qualified adviser." |
| 51 | |
| 52 | **R-PT-SOC-2 -- Pensioner reduced rates.** Trigger: self-employed pensioner asks about reduced contribution rate. Message: "Pensioner contribution rates require confirmation with ISS. Flag for reviewer." |
| 53 | |
| 54 | ### Prohibitions |
| 55 | |
| 56 | - NEVER apply 21.4% to gross income directly -- the relevant income percentage (70% for services, 20% for goods) must be applied first |
| 57 | - NEVER forget the first 12 months exemption for new self-employed |
| 58 | - NEVER ignore the minimum base of EUR 480.43 (IAS) -- even with zero income, this minimum applies after the exemption period |
| 59 | - NEVER confuse the self-employed rate (21.4%) with the empresário rate (25.2%) |
| 60 | - NEVER present quarterly declaration income as the contribution base -- it must be converted to monthly |
| 61 | - NEVER forget to clamp at the maximum of 12 x IAS (EUR 5,765.16) |
| 62 | - NEVER state that contributions are NOT tax-deductible -- they ARE deductible from IRS income |
| 63 | - NEVER advise on concurrent employment exemption without verifying the 4 x IAS threshold |
| 64 | |
| 65 | --- |
| 66 | |
| 67 | ## Section 3 -- Relevant income calculation |
| 68 | |
| 69 | **Legislation:** Código Contributivo, art. 162 |
| 70 | |
| 71 | ### Without organized accounting (sem contabilidade organizada) |
| 72 | |
| 73 | | Income type | Relevant income % | |
| 74 | |---|---| |
| 75 | | Prestação de serviços (services) | 70% of gross | |
| 76 | | Produção e venda de bens (goods) | 20% of gross | |
| 77 | | Mixed (services + goods) | Apply each % to respective category | |
| 78 | |
| 79 | ### With organized accounting (com contabilidade organizada) |
| 80 | |
| 81 | Relevant income = actual net profit from accounting records. |
| 82 | |
| 83 | ### Quarterly to monthly conversion |
| 84 | |
| 85 | ``` |
| 86 | quarterly_relevant_income = sum of relevant_income for the 3 months in the quarter |
| 87 | monthly_relevant_income = quarterly_relevant_income / 3 |
| 88 | ``` |
| 89 | |
| 90 | --- |
| 91 | |
| 92 | ## Section 4 -- Rates, base, and bounds (2025) |
| 93 | |
| 94 | **Legislation:** Código Contributivo, art. 163, 168 |
| 95 | |
| 96 | ### Contribution rates |
| 97 | |
| 98 | | Category | Rate | |
| 99 | |---|---| |
| 100 | | Trabalhador independente | 21.4% | |
| 101 | | Empresário em nome individual (with employees) | 25.2% | |
| 102 | |
| 103 | ### Base bounds |
| 104 | |
| 105 | | Bound | Amount | |
| 106 | |---|---| |
| 107 | | Minimum monthly base (IAS) | EUR 480.43 | |
| 108 | | Maximum monthly base (12x IAS) | EUR 5,765.16 | |
| 109 | |
| 110 | ``` |
| 111 | monthly_base = clamp(480.43, monthly_relevant_income, 5,765.16) |
| 112 | ``` |
| 113 | |
| 114 | --- |
| 115 | |
| 116 | ## Section 5 -- Computation steps |
| 117 | |
| 118 | ### Step 5.1 -- Quarterly declaration |
| 119 | |
| 120 | | Declaration period | Income period covered | Filing deadline | |
| 121 | |---|---|---| |
| 122 | | January | Oct--Dec (prior year) | End of January | |
| 123 | | April | Jan--Mar | End of April | |
| 124 | | July | Apr--Jun | End of July | |
| 125 | | October | Jul--Sep | End of October | |
| 126 | |
| 127 | ### Step 5.2 -- Calculate monthly relevant income |
| 128 | |
| 129 | ``` |
| 130 | IF services_only (sem contabilidade): |
| 131 | relevant_income = quarterly_gross x 70% / 3 |
| 132 | ELIF goods_only: |
| 133 | relevant_income = quarterly_gross x 20% / 3 |
| 134 | ELIF mixed: |
| 135 | relevant_income = (services_gross x 70% + goods_gross x 20%) / 3 |
| 136 | ELIF contabilidade_organizada: |
| 137 | relevant_income = quarterly_net_profit / 3 |
| 138 | ``` |
| 139 | |
| 140 | ### Step 5.3 -- Apply bounds and calculate |
| 141 | |
| 142 | ``` |
| 143 | monthly_base = max(480.43, min(relevant_income, 5,765.16)) |
| 144 | monthly_contribution = monthly_base x 21.4% |
| 145 | ``` |
| 146 | |
| 147 | ### Step 5.4 -- Contributions apply for the next quarter |
| 148 | |
| 149 | The quarterly declaration determines contributions for the following 3 months. |
| 150 | |
| 151 | --- |
| 152 | |
| 153 | ## Section 6 -- Payment schedule, exemptions, and tax deductibility |
| 154 | |
| 155 | ### Payment schedule |
| 156 | |
| 157 | | Obligation | Due date | |
| 158 | |---|---| |
| 159 | | Monthly contribution payment | Between 10th and 20th of each month | |
| 160 | | Payment method | Direct debit, ATM, or Segurança Social Direta portal | |
| 161 | |
| 162 | Late payment: interest at legal rate + potential loss of benefits. |
| 163 | |
| 164 | ### Exemptions |
| 165 | |
| 166 | **First 12 months:** new self-employed workers are exempt from contributions for the first 12 months of activity. |
| 167 | |
| 168 | **Concurrent employment exemption:** if the self-employed person also has employment where the employer pays at least the minimum contribution base: |
| 169 | - If employment income >= IAS: self-employed contributions may be reduced or exempt |
| 170 | - If self-employed income >= 4 x IAS (EUR 1,921.72): exemption does NOT apply |
| 171 | |
| 172 | ### Tax deductibility |
| 173 | |
| 174 | | Question | Answer | |
| 175 | |---|---| |
| 176 | | Are Segurança Social contributions deductible? | YES -- from gross income for IRS purposes | |
| 177 | | Classification | Category B deductions | |
| 178 | | When deductible? | In the year they are paid | |
| 179 | |
| 180 | --- |
| 181 | |
| 182 | ## Section 7 -- Organized accounting and recibos verdes |
| 183 | |
| 184 | ### Self-employed with organized accounting |
| 185 | |
| 186 | Relevant income = actual net profit (not deemed %). If net profit is negative, minimum base still applies. Confirm profit calculation methodology with contabilista. Flag for reviewer. |
| 187 | |
| 188 | ### Recibos verdes (green receipts) income |
| 189 | |
| 190 | This IS self-employed income. Standard 70% relevant income rule applies. All recibos verdes amounts are reported in the quarterly declaration. |
| 191 | |
| 192 | --- |
| 193 | |
| 194 | ## Section 8 -- Edge case registry |
| 195 | |
| 196 | ### EC1 -- First year of activity |
| 197 | **Situation:** Client opened activity in March 2025. |
| 198 | **Resolution:** Exempt from contributions until February 2026 (12 months). First quarterly declaration due in April 2026. Contributions begin from the month following the first declaration. |
| 199 | |
| 200 | ### EC2 -- Services income below minimum |
| 201 | **Situation:** Client provides services with quarterly gross EUR 1,000. |
| 202 | **Resolution:** Relevant income = EUR 1,000 x 70% / 3 = EUR 233.33/month. Below minimum. Monthly contribution = EUR 480.43 x 21.4% = EUR 102.81. |
| 203 | |
| 204 | ### EC3 -- Very high income |
| 205 | **Situation:** Client earns EUR 30,000/quarter from services. |
| 206 | **Resolution:** Relevant income = EUR 7,000/month. Capped at EUR 5,765.16. Monthly contribution = EUR 5,765.16 x 21.4% = EUR 1,233.74. |
| 207 | |
| 208 | ### EC4 -- Mixed services and goods |
| 209 | **Situation:** Client earns EUR 6,000 from services and EUR 15,000 from goods in the quarter. |
| 210 | **Resolution:** Relevant income = (EUR 6,000 x 70% + EUR 15,000 x 20%) / 3 = EUR 2,400/month. Contribution = EUR 2,400 x 21.4% = EUR 513.60. |
| 211 | |
| 212 | ### EC5 -- Concurrent employment, exemption applies |
| 213 | **Situation:** Client employed at EUR 1,200/month, self-employed quarterly services EUR 2,000. |
| 214 | **Resolution:** Self-employed relevant income = EUR 466.67/month (below 4 x IAS). Employment exemption applies. Contributions = EUR 0. |
| 215 | |
| 216 | --- |
| 217 | |
| 218 | ## Section 9 -- Reviewer escalation protocol |
| 219 | |
| 220 | When a situation requires reviewer judgement: |
| 221 | |
| 222 | ``` |
| 223 | REVIEWER FLAG |
| 224 | Tier: T2 |
| 225 | Client: [name] |
| 226 | Situation: [description] |
| 227 | Issue: [what is ambiguous] |
| 228 | Options: [possible treatments] |
| 229 | Recommended: [most likely correct treatment and why] |
| 230 | Action Required: Qualified contabilista certificado must confirm before advising client. |
| 231 | ``` |
| 232 | |
| 233 | When a situation is outside skill scope: |
| 234 | |
| 235 | ``` |
| 236 | ESCALATION REQUIRED |
| 237 | Tier: T3 |
| 238 | Client: [name] |
| 239 | Situation: [description] |
| 240 | Issue: [outside skill scope] |
| 241 | Action Required: Do not advise. Refer to qualified contabilista. Document gap. |
| 242 | ``` |
| 243 | |
| 244 | --- |
| 245 | |
| 246 | ## Section 10 -- Test suite |
| 247 | |
| 248 | ### Test 1 -- Standard services, mid-range |
| 249 | **Input:** Quarterly gross services EUR 9,000, no employment, established. |
| 250 | **Expected output:** Relevant income = EUR 2,100/month. Contribution = EUR 449.40/month. Annual: EUR 5,392.80. |
| 251 | |
| 252 | ### Test 2 -- Minimum base applies |
| 253 | **Input:** Quarterly gross services EUR 1,500. |
| 254 | **Expected output:** Relevant income = EUR 350/month. Below minimum. Base = EUR 480.43. Contribution = EUR 102.81/month. |
| 255 | |
| 256 | ### Test 3 -- Maximum base applies |
| 257 | **Input:** Quarterly gross services EUR 30,000. |
| 258 | **Expected output:** Relevant income = EUR 7,000/month. Capped at EUR 5,765.16. Contribution = EUR 1,233.74/month. |
| 259 | |
| 260 | ### Test 4 -- First year exempt |
| 261 | **Input:** Activity opened 4 months ago, quarterly gross EUR 12,000. |
| 262 | **Expected output:** Exempt (within first 12 months). Contributions = EUR 0. |
| 263 | |
| 264 | ### Test 5 -- Goods-only income |
| 265 | **Input:** Quarterly gross goods sales EUR 20,000, no employment. |
| 266 | **Expected output:** Relevant income = EUR 1,333.33/month. Contribution = EUR 285.33/month. |
| 267 | |
| 268 | ### Test 6 -- Concurrent employment, exemption applies |
| 269 | **Input:** Employment salary EUR 1,500/month, self-employed quarterly services EUR 2,000. |
| 270 | **Expected output:** Self-employed relevant income = EUR 466.67/month (below 4 x IAS). Exemption applies. Contributions = EUR 0. |
| 271 | |
| 272 | ### Test 7 -- Empresário em nome individual |
| 273 | **Input:** Sole proprietor with employees, quarterly services EUR 15,000. |
| 274 | **Expected output:** Rate = 25.2%. Relevant income = EUR 3,500/month. Contribution = EUR 882.00/month. |
| 275 | |
| 276 | --- |
| 277 | |
| 278 | ## Disclaimer |
| 279 | |
| 280 | This skill and its outputs are provided for informational and computational purposes only and do not constitute tax, legal, or financial advice. Open Accountants and its contributors accept no liability for any errors, omissions, or outcomes arising from the use of this skill. All outputs must be reviewed and signed off by a qualified professional (such as a CPA, EA, tax attorney, or equivalent licensed practitioner in your jurisdiction) before filing or acting upon. |
| 281 | |
| 282 | The most up-to-date, verified version of this skill is maintained at [openaccountants.com](https://openaccountants.com). Log in to access the latest version, request a professional review from a licensed accountant, and track updates as tax law changes. |
| 283 |
Run this skill, then get an accountant to check it
After running the full skill pack in your AI agent, 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.
Quality
Q3: AI-drafted
AI-generated with structure and citations. Not independently verified.
Needs deep research against tax authority websites to reach Q2.
Accountant Review
About
Use this skill whenever asked about Portuguese self-employed social contributions (contribuições para a Segurança Social). Trigger on phrases like "Segurança Social trabalhador independente", "Portuguese social contributions", "declaração trimestral SS", "contribuições independente Portugal", or any question about social contribution obligations for a self-employed client in Portugal. Covers the 21.4% rate on 70% of relevant income, quarterly declaration, and first-year exemption. ALWAYS read this skill before touching any Portugal social contributions work.
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.