| 1 | --- |
| 2 | name: portugal-vat-return |
| 3 | description: Use this skill whenever asked to prepare, review, or classify transactions for a Portuguese VAT return (Declaração Periódica de IVA) for a self-employed individual or small business in Portugal. Trigger on phrases like "prepare Declaração Periódica", "Portuguese VAT return", "IVA Portugal", "classify transactions for Portuguese VAT", or any request involving Portugal VAT filing. This skill covers Continental Portugal only (standard regime). Madeira/Azores reduced rates, regime de isenção, partial exemption, margin scheme (regime da margem), and VAT groups are in the refusal catalogue. MUST be loaded alongside BOTH vat-workflow-base v0.1 or later AND eu-vat-directive v0.1 or later. ALWAYS read this skill before touching any Portuguese VAT work. |
| 4 | version: 2.0 |
| 5 | --- |
| 6 | |
| 7 | # Portugal VAT Return Skill (Declaração Periódica de IVA) v2.0 |
| 8 | |
| 9 | ## Section 1 — Quick reference |
| 10 | |
| 11 | **Read this whole section before classifying anything. The workflow runbook is in `vat-workflow-base` Section 1 — follow that runbook with this skill providing the country-specific content and `eu-vat-directive` providing the EU directive content.** |
| 12 | |
| 13 | | Field | Value | |
| 14 | |---|---| |
| 15 | | Country | Portugal (República Portuguesa) | |
| 16 | | Standard rate | 23% (Continental); 22% (Madeira); 16% (Azores) | |
| 17 | | Reduced rates | 13% Continental / 12% Madeira / 9% Azores (intermediate: restaurants, food products, diesel, some agricultural inputs); 6% Continental / 5% Madeira / 4% Azores (reduced: basic foodstuffs, water, books, medicines, passenger transport, hotels) | |
| 18 | | Zero rate | 0% (exports, intra-EU B2B supplies of goods) | |
| 19 | | Return form | Declaração Periódica de IVA (campos/fields 1–41+) | |
| 20 | | Filing portal | https://www.portaldasfinancas.gov.pt (Portal das Finanças) | |
| 21 | | Authority | Autoridade Tributária e Aduaneira (AT) | |
| 22 | | Currency | EUR only | |
| 23 | | Filing frequencies | Monthly (turnover > €650,000 or Vol. B); Quarterly (turnover ≤ €650,000, Vol. A) | |
| 24 | | Deadline | Monthly: 10th of 2nd month after period end; Quarterly: 15th of 2nd month after quarter end | |
| 25 | | Companion skill (Tier 1, workflow) | **vat-workflow-base v0.1 or later — MUST be loaded** | |
| 26 | | Companion skill (Tier 2, EU directive) | **eu-vat-directive v0.1 or later — MUST be loaded** | |
| 27 | | Contributor | Open Accountants contributors | |
| 28 | | Validation date | April 2026 | |
| 29 | |
| 30 | **Key Declaração Periódica campos (the fields you will use most):** |
| 31 | |
| 32 | | Campo | Meaning | |
| 33 | |---|---| |
| 34 | | 1 | Sales at standard rate — base (23%) | |
| 35 | | 2 | Sales at standard rate — IVA | |
| 36 | | 3 | Sales at intermediate rate — base (13%) | |
| 37 | | 4 | Sales at intermediate rate — IVA | |
| 38 | | 5 | Sales at reduced rate — base (6%) | |
| 39 | | 6 | Sales at reduced rate — IVA | |
| 40 | | 7 | Exempt sales with deduction right (exports, intra-EU) | |
| 41 | | 8 | Exempt sales without deduction right | |
| 42 | | 9 | Intra-EU acquisitions — base | |
| 43 | | 10 | Intra-EU acquisitions — IVA (output, self-assessed) | |
| 44 | | 16 | Other operations with IVA due by purchaser (reverse charge received) | |
| 45 | | 17 | IVA due on campo 16 | |
| 46 | | 20 | Total IVA due (sum of output fields) | |
| 47 | | 21 | Deductible IVA — immobilizado (capital goods) | |
| 48 | | 22 | Deductible IVA — existências (stock for resale) | |
| 49 | | 23 | Deductible IVA — other goods and services | |
| 50 | | 24 | Total deductible IVA | |
| 51 | | 40 | IVA to pay (if 20 > 24) | |
| 52 | | 41 | IVA credit (if 24 > 20) | |
| 53 | |
| 54 | **Conservative defaults — Portugal-specific:** |
| 55 | |
| 56 | | Ambiguity | Default | |
| 57 | |---|---| |
| 58 | | Unknown rate on a sale | 23% | |
| 59 | | Unknown VAT status of a purchase | Not deductible | |
| 60 | | Unknown counterparty country | Domestic Portugal (Continental) | |
| 61 | | Unknown B2B vs B2C for EU customer | B2C, charge 23% | |
| 62 | | Unknown business-use proportion | 0% recovery | |
| 63 | | Unknown SaaS billing entity | Reverse charge from non-EU | |
| 64 | | Unknown blocked-input status | Blocked | |
| 65 | | Unknown whether transaction is in scope | In scope | |
| 66 | |
| 67 | **Red flag thresholds:** |
| 68 | |
| 69 | | Threshold | Value | |
| 70 | |---|---| |
| 71 | | HIGH single-transaction | €5,000 | |
| 72 | | HIGH tax-delta conservative default | €400 | |
| 73 | | MEDIUM counterparty concentration | >40% | |
| 74 | | MEDIUM conservative-default count | >4 | |
| 75 | | LOW absolute net VAT position | €10,000 | |
| 76 | |
| 77 | --- |
| 78 | |
| 79 | ## Section 2 — Required inputs and refusal catalogue |
| 80 | |
| 81 | ### Required inputs |
| 82 | |
| 83 | **Minimum viable** — bank statement for the period. Acceptable from: CGD (Caixa Geral de Depósitos), Millennium BCP, Santander Portugal, Novo Banco, BPI, ActivoBank, Banco CTT, Revolut Business, Wise Business, or any other. |
| 84 | |
| 85 | **Recommended** — sales invoices (especially intra-EU and reverse charge), purchase invoices above €400, the client's NIF (9 digits, PT prefix for EU context). |
| 86 | |
| 87 | **Ideal** — SAF-T (PT) extract from billing software, prior period Declaração Periódica, reconciliation of campo 41 credit. |
| 88 | |
| 89 | **Refusal policy if minimum is missing — SOFT WARN.** Same pattern as Malta v2.0. |
| 90 | |
| 91 | ### Portugal-specific refusal catalogue |
| 92 | |
| 93 | **R-PT-1 — Regime de isenção (Art. 53 CIVA).** *Trigger:* client under the small business exemption (turnover ≤ €14,500 or ≤ €15,000 depending on current threshold). *Message:* "Regime de isenção clients do not charge IVA and cannot recover input IVA. They do not file the Declaração Periódica. This skill covers the normal regime only." |
| 94 | |
| 95 | **R-PT-2 — Partial exemption (pro rata / Art. 23 CIVA).** *Trigger:* both taxable and exempt supplies, non-de-minimis. *Message:* "Mixed taxable and exempt supplies require pro rata under Art. 23 CIVA. Please use a contabilista certificado." |
| 96 | |
| 97 | **R-PT-3 — Margin scheme (regime da margem / Art. 50-A to 50-D).** *Trigger:* second-hand goods, art, antiques. *Message:* "Regime da margem requires per-item computation. Out of scope." |
| 98 | |
| 99 | **R-PT-4 — VAT group (grupo de IVA).** *Trigger:* VAT group. *Message:* "Grupo de IVA requires consolidation. Out of scope." |
| 100 | |
| 101 | **R-PT-5 — Fiscal representative.** *Trigger:* non-resident with fiscal representative. *Message:* "Non-resident with representante fiscal — out of scope." |
| 102 | |
| 103 | **R-PT-6 — Madeira / Azores rates.** *Trigger:* client operates in Madeira or Azores. *Message:* "Madeira (22%/12%/5%) and Azores (16%/9%/4%) have different rate tables. This skill covers Continental Portugal rates only. Please use a contabilista certificado familiar with regional rates." |
| 104 | |
| 105 | **R-PT-7 — Real estate (IVA imobiliário).** *Trigger:* property transactions. *Message:* "IVA on real estate is complex. Please use a contabilista certificado." |
| 106 | |
| 107 | **R-PT-8 — Income tax instead of IVA.** *Trigger:* user asks about IRS/IRC instead of IVA. *Message:* "This skill handles Portuguese IVA only." |
| 108 | |
| 109 | --- |
| 110 | |
| 111 | ## Section 3 — Supplier pattern library (the lookup table) |
| 112 | |
| 113 | Match by case-insensitive substring. If none match, fall through to Section 5. |
| 114 | |
| 115 | ### 3.1 Portuguese banks (fees exempt — exclude) |
| 116 | |
| 117 | | Pattern | Treatment | Notes | |
| 118 | |---|---|---| |
| 119 | | CGD, CAIXA GERAL, CAIXA GERAL DE DEPOSITOS | EXCLUDE for bank charges | Financial service, exempt | |
| 120 | | MILLENNIUM BCP, BCP | EXCLUDE for bank charges | Same | |
| 121 | | SANTANDER PORTUGAL, SANTANDER PT | EXCLUDE for bank charges | Same | |
| 122 | | NOVO BANCO | EXCLUDE for bank charges | Same | |
| 123 | | BPI, BANCO BPI | EXCLUDE for bank charges | Same | |
| 124 | | ACTIVOBANK | EXCLUDE for bank charges | Same | |
| 125 | | BANCO CTT | EXCLUDE for bank charges | Same | |
| 126 | | REVOLUT, WISE, N26 (fee lines) | EXCLUDE | Check for taxable subscriptions | |
| 127 | | JUROS, JURO | EXCLUDE | Interest, out of scope | |
| 128 | | EMPRESTIMO, CREDITO HABITACAO | EXCLUDE | Loan principal | |
| 129 | |
| 130 | ### 3.2 Portuguese government and statutory bodies (exclude entirely) |
| 131 | |
| 132 | | Pattern | Treatment | Notes | |
| 133 | |---|---|---| |
| 134 | | PORTAL DAS FINANCAS, AT, AUTORIDADE TRIBUTARIA | EXCLUDE | Tax payment (IVA, IRS, IRC) | |
| 135 | | SEGURANCA SOCIAL | EXCLUDE | Social security contributions | |
| 136 | | FINANÇAS, DIRECAO GERAL | EXCLUDE | Tax authority | |
| 137 | | CONSERVATORIA, REGISTO COMERCIAL | EXCLUDE | Commercial registry | |
| 138 | | CAMARA MUNICIPAL | EXCLUDE | Municipal fees | |
| 139 | | IRN, INSTITUTO REGISTOS E NOTARIADO | EXCLUDE | Government registry | |
| 140 | | IAPMEI | EXCLUDE | Government agency | |
| 141 | | ALFANDEGA, DIREÇÃO-GERAL DAS ALFÂNDEGAS | EXCLUDE | Customs (check for import IVA) | |
| 142 | |
| 143 | ### 3.3 Portuguese utilities |
| 144 | |
| 145 | | Pattern | Treatment | Campo | Notes | |
| 146 | |---|---|---|---| |
| 147 | | EDP, EDP ENERGIA, EDP COMERCIAL | Domestic 23% | 23 (input) | Electricity — standard rate | |
| 148 | | GALP, GALP ENERGIA | Domestic 23% | 23 | Energy/fuel | |
| 149 | | ENDESA PORTUGAL, IBERDROLA | Domestic 23% | 23 | Energy | |
| 150 | | EPAL, AGUAS DE PORTUGAL | Domestic 6% | 23 | Water at reduced rate | |
| 151 | | NOS, NOS COMUNICACOES | Domestic 23% | 23 | Telecoms — overhead | |
| 152 | | MEO, ALTICE PORTUGAL | Domestic 23% | 23 | Telecoms/broadband | |
| 153 | | VODAFONE PT, VODAFONE PORTUGAL | Domestic 23% | 23 | Telecoms | |
| 154 | | NOWO | Domestic 23% | 23 | Telecoms | |
| 155 | |
| 156 | ### 3.4 Insurance (exempt — exclude) |
| 157 | |
| 158 | | Pattern | Treatment | Notes | |
| 159 | |---|---|---| |
| 160 | | FIDELIDADE | EXCLUDE | Insurance, exempt | |
| 161 | | AGEAS PORTUGAL, ALLIANZ PORTUGAL | EXCLUDE | Same | |
| 162 | | TRANQUILIDADE, GENERALI PT | EXCLUDE | Same | |
| 163 | | SEGURO, APOLICE | EXCLUDE | All insurance exempt | |
| 164 | |
| 165 | ### 3.5 Post and logistics |
| 166 | |
| 167 | | Pattern | Treatment | Campo | Notes | |
| 168 | |---|---|---|---| |
| 169 | | CTT (standard mail) | EXCLUDE for standard postage | | Universal service exempt | |
| 170 | | CTT (parcels, CTT Expresso) | Domestic 23% | 23 | Non-universal taxable | |
| 171 | | DHL EXPRESS PORTUGAL | Domestic 23% | 23 | Express courier | |
| 172 | | CHRONOPOST PORTUGAL | Domestic 23% | 23 | Express | |
| 173 | | FEDEX, UPS PORTUGAL | Domestic 23% | 23 | Courier | |
| 174 | |
| 175 | ### 3.6 Transport (Portugal domestic) |
| 176 | |
| 177 | | Pattern | Treatment | Campo | Notes | |
| 178 | |---|---|---|---| |
| 179 | | CP, COMBOIOS DE PORTUGAL | Domestic 6% | 23 (input) | Rail at reduced rate | |
| 180 | | METRO LISBOA, METRO PORTO | Domestic 6% | 23 | Urban rail | |
| 181 | | CARRIS, CARRIS METROPOLITANA | Domestic 6% | 23 | Lisbon bus | |
| 182 | | STCP | Domestic 6% | 23 | Porto bus | |
| 183 | | UBER PT, UBER PORTUGAL | Domestic 6% (transport) | 23 | Ride-hailing | |
| 184 | | BOLT PT | Domestic 6% | 23 | Ride-hailing | |
| 185 | | TAXI | Domestic 6% | 23 | Local taxi | |
| 186 | | TAP AIR PORTUGAL (domestic) | Domestic 6% | 23 | Domestic flights reduced | |
| 187 | | TAP, RYANAIR, EASYJET (international) | EXCLUDE / 0% | | International flights exempt | |
| 188 | | BRISA, VIA VERDE | Domestic 23% | 23 | Motorway tolls | |
| 189 | |
| 190 | ### 3.7 Food retail (blocked unless hospitality business) |
| 191 | |
| 192 | | Pattern | Treatment | Notes | |
| 193 | |---|---|---| |
| 194 | | CONTINENTE, MODELO | Default BLOCK input VAT | Personal provisioning | |
| 195 | | PINGO DOCE, JERÓNIMO MARTINS | Default BLOCK | Same | |
| 196 | | LIDL, ALDI, INTERMARCHE | Default BLOCK | Same | |
| 197 | | MINIPREÇO, MERCADONA | Default BLOCK | Same | |
| 198 | | RESTAURANTE, PASTELARIA, CAFÉ | Default BLOCK | Entertainment — see 5.12 | |
| 199 | |
| 200 | ### 3.8 SaaS — EU suppliers (reverse charge / autoliquidação) |
| 201 | |
| 202 | | Pattern | Billing entity | Campo | Notes | |
| 203 | |---|---|---|---| |
| 204 | | GOOGLE (Ads, Workspace, Cloud) | Google Ireland Ltd (IE) | 16/17 + 23 | Autoliquidação: output on 17, input on 23 | |
| 205 | | MICROSOFT (365, Azure) | Microsoft Ireland Operations Ltd (IE) | 16/17 + 23 | Autoliquidação | |
| 206 | | ADOBE | Adobe Systems Software Ireland Ltd (IE) | 16/17 + 23 | Autoliquidação | |
| 207 | | META, FACEBOOK ADS | Meta Platforms Ireland Ltd (IE) | 16/17 + 23 | Autoliquidação | |
| 208 | | LINKEDIN (paid) | LinkedIn Ireland Unlimited (IE) | 16/17 + 23 | Autoliquidação | |
| 209 | | SPOTIFY TECHNOLOGY | Spotify AB (SE) | 16/17 + 23 | EU, autoliquidação | |
| 210 | | DROPBOX | Dropbox International Unlimited (IE) | 16/17 + 23 | Autoliquidação | |
| 211 | | SLACK | Slack Technologies Ireland Ltd (IE) | 16/17 + 23 | Autoliquidação | |
| 212 | | ATLASSIAN (Jira, Confluence) | Atlassian Network Services BV (NL) | 16/17 + 23 | EU, autoliquidação | |
| 213 | | ZOOM | Zoom Video Communications Ireland Ltd (IE) | 16/17 + 23 | Autoliquidação | |
| 214 | | STRIPE (subscription) | Stripe Technology Europe Ltd (IE) | 16/17 + 23 | Transaction fees exempt — see 3.11 | |
| 215 | |
| 216 | ### 3.9 SaaS — non-EU suppliers (reverse charge / autoliquidação) |
| 217 | |
| 218 | | Pattern | Billing entity | Campo | Notes | |
| 219 | |---|---|---|---| |
| 220 | | AWS (standard) | AWS EMEA SARL (LU) — check | 16/17 + 23 | LU → EU autoliquidação | |
| 221 | | NOTION | Notion Labs Inc (US) | 16/17 + 23 | Non-EU autoliquidação | |
| 222 | | ANTHROPIC, CLAUDE | Anthropic PBC (US) | 16/17 + 23 | Non-EU autoliquidação | |
| 223 | | OPENAI, CHATGPT | OpenAI Inc (US) | 16/17 + 23 | Non-EU autoliquidação | |
| 224 | | GITHUB | GitHub Inc (US) | 16/17 + 23 | Check IE entity | |
| 225 | | FIGMA | Figma Inc (US) | 16/17 + 23 | Non-EU | |
| 226 | | CANVA | Canva Pty Ltd (AU) | 16/17 + 23 | Non-EU | |
| 227 | | HUBSPOT | HubSpot Inc (US) or IE — check | 16/17 + 23 | Depends on billing entity | |
| 228 | | TWILIO | Twilio Inc (US) | 16/17 + 23 | Non-EU | |
| 229 | |
| 230 | ### 3.10 SaaS — the exception |
| 231 | |
| 232 | | Pattern | Treatment | Why | |
| 233 | |---|---|---| |
| 234 | | AWS EMEA SARL | EU autoliquidação campo 16/17 + 23 (LU entity) | Standard EU treatment. If invoice shows Portuguese IVA, treat as domestic 23%. | |
| 235 | |
| 236 | ### 3.11 Payment processors |
| 237 | |
| 238 | | Pattern | Treatment | Notes | |
| 239 | |---|---|---| |
| 240 | | STRIPE (transaction fees) | EXCLUDE (exempt) | Financial services | |
| 241 | | PAYPAL (transaction fees) | EXCLUDE (exempt) | Same | |
| 242 | | STRIPE (subscription) | EU autoliquidação 16/17 + 23 | IE entity | |
| 243 | | SUMUP, SQUARE, ZETTLE | Check invoice | If Portuguese: domestic 23%; if EU: autoliquidação | |
| 244 | | IFTHENPAY, EUPAGO | Check invoice | Portuguese payment processors — fees may be exempt | |
| 245 | |
| 246 | ### 3.12 Professional services (Portugal) |
| 247 | |
| 248 | | Pattern | Treatment | Campo | Notes | |
| 249 | |---|---|---|---| |
| 250 | | CONTABILISTA, GABINETE CONTABILIDADE | Domestic 23% | 23 | Always deductible | |
| 251 | | ADVOGADO, ESCRITORIO ADVOCACIA | Domestic 23% | 23 | Business legal matters | |
| 252 | | NOTARIO, CARTORIO | Domestic 23% | 23 | Business notarial fees | |
| 253 | | SOLICITADOR | Domestic 23% | 23 | Legal practitioner | |
| 254 | | REVISOR OFICIAL DE CONTAS, ROC | Domestic 23% | 23 | Auditor | |
| 255 | |
| 256 | ### 3.13 Payroll and social security (exclude entirely) |
| 257 | |
| 258 | | Pattern | Treatment | Notes | |
| 259 | |---|---|---| |
| 260 | | SEGURANCA SOCIAL | EXCLUDE | Social security contributions | |
| 261 | | SALARIO, VENCIMENTO, REMUNERACAO | EXCLUDE | Wages | |
| 262 | | SUBSIDIO, SUBSIDIO FERIAS | EXCLUDE | Holiday/vacation pay | |
| 263 | | FUNDO COMPENSACAO, FCT | EXCLUDE | Compensation fund | |
| 264 | |
| 265 | ### 3.14 Property and rent |
| 266 | |
| 267 | | Pattern | Treatment | Notes | |
| 268 | |---|---|---| |
| 269 | | RENDA COMERCIAL, ARRENDAMENTO COMERCIAL | Domestic 23% | Commercial lease with IVA option (Art. 12 n.1 al. e CIVA) | |
| 270 | | RENDA, ARRENDAMENTO (residential) | EXCLUDE | Residential lease exempt | |
| 271 | | IMI, IMPOSTO MUNICIPAL | EXCLUDE | Property tax | |
| 272 | | AIMI | EXCLUDE | Additional property tax | |
| 273 | |
| 274 | ### 3.15 Internal transfers and exclusions |
| 275 | |
| 276 | | Pattern | Treatment | Notes | |
| 277 | |---|---|---| |
| 278 | | TRANSFERENCIA INTERNA, MOVIMENTO INTERNO | EXCLUDE | Internal movement | |
| 279 | | DIVIDENDO | EXCLUDE | Out of scope | |
| 280 | | AMORTIZACAO EMPRESTIMO | EXCLUDE | Loan repayment | |
| 281 | | LEVANTAMENTO, LEVANTAMENTO ATM | TIER 2 — ask | Default exclude | |
| 282 | | REFORÇO DE CAPITAL, SUPRIMENTO | EXCLUDE | Owner injection / shareholder loan | |
| 283 | |
| 284 | --- |
| 285 | |
| 286 | ## Section 4 — Worked examples |
| 287 | |
| 288 | Six fully worked classifications from a hypothetical Portugal-based self-employed IT consultant (trabalhador independente, normal IVA regime). |
| 289 | |
| 290 | ### Example 1 — Non-EU SaaS reverse charge (Notion) |
| 291 | |
| 292 | **Input line:** |
| 293 | `03.04.2026 ; NOTION LABS INC ; DEBIT ; Monthly subscription ; USD 16.00 ; EUR 14.68` |
| 294 | |
| 295 | **Reasoning:** |
| 296 | US entity. Non-EU autoliquidação under Art. 6 n.6 CIVA. Client self-assesses: output IVA on campo 17, input IVA deductible on campo 23. Net zero. |
| 297 | |
| 298 | **Output:** |
| 299 | |
| 300 | | Date | Counterparty | Gross | Net | VAT | Rate | Campo (input) | Campo (output) | Default? | Question? | Excluded? | |
| 301 | |---|---|---|---|---|---|---|---|---|---|---| |
| 302 | | 03.04.2026 | NOTION LABS INC | -14.68 | -14.68 | 3.38 | 23% | 23 | 16/17 | N | — | — | |
| 303 | |
| 304 | ### Example 2 — EU service, autoliquidação (Google Ads) |
| 305 | |
| 306 | **Input line:** |
| 307 | `10.04.2026 ; GOOGLE IRELAND LIMITED ; DEBIT ; Google Ads April 2026 ; -850.00 ; EUR` |
| 308 | |
| 309 | **Reasoning:** |
| 310 | IE entity — EU autoliquidação. Output IVA on campo 17, input IVA on campo 23. Net zero. |
| 311 | |
| 312 | **Output:** |
| 313 | |
| 314 | | Date | Counterparty | Gross | Net | VAT | Rate | Campo (input) | Campo (output) | Default? | Question? | Excluded? | |
| 315 | |---|---|---|---|---|---|---|---|---|---|---| |
| 316 | | 10.04.2026 | GOOGLE IRELAND LIMITED | -850.00 | -850.00 | 195.50 | 23% | 23 | 16/17 | N | — | — | |
| 317 | |
| 318 | ### Example 3 — Entertainment, treatment in Portugal |
| 319 | |
| 320 | **Input line:** |
| 321 | `15.04.2026 ; RESTAURANTE BELCANTO LISBOA ; DEBIT ; Business dinner ; -220.00 ; EUR` |
| 322 | |
| 323 | **Reasoning:** |
| 324 | Restaurant. In Portugal, IVA on business meals (refeições de negócios) is generally deductible under Art. 21 n.1 al. d) CIVA, but only 50% deductible if they are considered despesas de representação (entertainment/representation expenses). The 50% limit applies to the IVA deduction (not just the income tax base). Default: block, flag for reviewer. If confirmed business with documentation → 50% IVA deductible. |
| 325 | |
| 326 | **Output:** |
| 327 | |
| 328 | | Date | Counterparty | Gross | Net | VAT | Rate | Campo | Default? | Question? | Excluded? | |
| 329 | |---|---|---|---|---|---|---|---|---|---| |
| 330 | | 15.04.2026 | RESTAURANTE BELCANTO LISBOA | -220.00 | -220.00 | 0 | — | — | Y | Q1 | "Restaurant: IVA 50% deductible if despesas de representação. Confirm business purpose." | |
| 331 | |
| 332 | ### Example 4 — Capital goods (imobilizado) |
| 333 | |
| 334 | **Input line:** |
| 335 | `18.04.2026 ; WORTEN (SONAE) ; DEBIT ; Laptop HP ; -1,595.00 ; EUR` |
| 336 | |
| 337 | **Reasoning:** |
| 338 | €1,595 gross. In Portugal, assets used for >1 year and above a de minimis threshold are imobilizado (bens de investimento). Input IVA goes to campo 21 (IVA dedutível — imobilizado) rather than campo 23. Subject to regularisation over 5 years movable / 20 years immovable (Art. 24–26 CIVA). |
| 339 | |
| 340 | **Output:** |
| 341 | |
| 342 | | Date | Counterparty | Gross | Net | VAT | Rate | Campo | Default? | Question? | Excluded? | |
| 343 | |---|---|---|---|---|---|---|---|---|---| |
| 344 | | 18.04.2026 | WORTEN | -1,595.00 | -1,296.75 | -298.25 | 23% | 21 | N | — | — | |
| 345 | |
| 346 | ### Example 5 — EU B2B service sale |
| 347 | |
| 348 | **Input line:** |
| 349 | `22.04.2026 ; STUDIO KREBS GMBH ; CREDIT ; Invoice PT-2026-018 IT consultancy ; +3,500.00 ; EUR` |
| 350 | |
| 351 | **Reasoning:** |
| 352 | B2B services to Germany — place of supply is customer's country (Art. 6 n.6 al. a) CIVA / Art. 44 Directive). Report on campo 7 (operações isentas com direito a dedução). No output IVA. Verify German USt-IdNr on VIES. |
| 353 | |
| 354 | **Output:** |
| 355 | |
| 356 | | Date | Counterparty | Gross | Net | VAT | Rate | Campo | Default? | Question? | Excluded? | |
| 357 | |---|---|---|---|---|---|---|---|---|---| |
| 358 | | 22.04.2026 | STUDIO KREBS GMBH | +3,500.00 | +3,500.00 | 0 | 0% | 7 | Y | Q2 (HIGH) | "Verify German USt-IdNr on VIES" | |
| 359 | |
| 360 | ### Example 6 — Motor vehicle, deduction rules |
| 361 | |
| 362 | **Input line:** |
| 363 | `28.04.2026 ; ALD AUTOMOTIVE PORTUGAL ; DEBIT ; Lease payment VW Golf ; -450.00 ; EUR` |
| 364 | |
| 365 | **Reasoning:** |
| 366 | Car lease. In Portugal, IVA on light passenger vehicles (viaturas ligeiras de passageiros) is generally NOT deductible (Art. 21 n.1 al. a) CIVA). Exceptions: taxis, driving schools, rental vehicles used in rental business, electric vehicles (50% deductible since 2020), hybrid plug-in vehicles (50% deductible). A VW Golf (non-electric) → blocked. If electric/hybrid → 50% deductible. |
| 367 | |
| 368 | **Output:** |
| 369 | |
| 370 | | Date | Counterparty | Gross | Net | VAT | Rate | Campo | Default? | Question? | Excluded? | |
| 371 | |---|---|---|---|---|---|---|---|---|---| |
| 372 | | 28.04.2026 | ALD AUTOMOTIVE PORTUGAL | -450.00 | -450.00 | 0 | — | — | Y | Q3 | "Viatura ligeira de passageiros: IVA blocked. Electric/hybrid (50% deductible)?" | |
| 373 | |
| 374 | --- |
| 375 | |
| 376 | ## Section 5 — Tier 1 classification rules (compressed) |
| 377 | |
| 378 | ### 5.1 Standard rate 23% (Art. 18 n.1 al. c) CIVA) |
| 379 | |
| 380 | Default rate for Continental Portugal. Sales → campo 1/2. Purchases → campo 23 (or 21/22). |
| 381 | |
| 382 | ### 5.2 Intermediate rate 13% (Art. 18 n.1 al. b), Lista II) |
| 383 | |
| 384 | Restaurants (food + non-alcoholic drinks), diesel, certain food products (conserves, oils), wine, agricultural inputs. Sales → campo 3/4. |
| 385 | |
| 386 | ### 5.3 Reduced rate 6% (Art. 18 n.1 al. a), Lista I) |
| 387 | |
| 388 | Basic foodstuffs (bread, milk, fruit, vegetables, fish, meat), water, books, medicines, passenger transport, hotels, cultural events. Sales → campo 5/6. |
| 389 | |
| 390 | ### 5.4 Zero rate and exempt with credit |
| 391 | |
| 392 | Exports → campo 7. Intra-EU goods → campo 7. Intra-EU B2B services → campo 7. |
| 393 | |
| 394 | ### 5.5 Exempt without credit (Art. 9 CIVA) |
| 395 | |
| 396 | Medical, education, insurance, financial services, residential rent, postal universal service. If significant → **R-PT-2 refuses**. |
| 397 | |
| 398 | ### 5.6 Local purchases |
| 399 | |
| 400 | Input IVA on compliant fatura. Capital goods → campo 21. Stock → campo 22. Other → campo 23. |
| 401 | |
| 402 | ### 5.7 Autoliquidação — EU services (Art. 6 n.6) |
| 403 | |
| 404 | EU service: base → campo 16, output IVA → campo 17, input → campo 23. Net zero. |
| 405 | |
| 406 | ### 5.8 Autoliquidação — EU goods (aquisições intracomunitárias) |
| 407 | |
| 408 | EU goods: base → campo 9, output IVA → campo 10, input → campo 23/21. |
| 409 | |
| 410 | ### 5.9 Autoliquidação — non-EU |
| 411 | |
| 412 | Non-EU: base → campo 16, output IVA → campo 17, input → campo 23. |
| 413 | |
| 414 | ### 5.10 Domestic reverse charge (Art. 2 n.1 al. i-j CIVA) |
| 415 | |
| 416 | Portugal has domestic reverse charge for construction services (empreitadas de obras), scrap metal, and CO2 emission allowances. The acquirer self-assesses IVA. |
| 417 | |
| 418 | ### 5.11 Capital goods (bens de investimento) |
| 419 | |
| 420 | Assets used >1 year → campo 21 for input IVA. Subject to regularização over 5 years (movable) or 20 years (immovable), Art. 24–26 CIVA. |
| 421 | |
| 422 | ### 5.12 Blocked/restricted input IVA (Art. 21 CIVA) |
| 423 | |
| 424 | - Light passenger vehicles (viaturas ligeiras de passageiros): IVA blocked (Art. 21 n.1 al. a)). Exceptions: taxi, driving school, rental. Electric vehicles: 50% deductible. Hybrid plug-in: 50% deductible. |
| 425 | - Fuel: diesel for VP 50% deductible; GPL/electric 100% deductible. Petrol: NOT deductible for VP. |
| 426 | - Entertainment (despesas de representação): IVA 50% deductible (Art. 21 n.1 al. d)). This includes business meals — 50% of IVA, not full deduction. |
| 427 | - Travel and accommodation: IVA deductible if business-related and documented. |
| 428 | - Tobacco: not deductible. |
| 429 | - Personal use: not deductible. |
| 430 | - Gifts: IVA deductible only if ≤ 5 per mille of turnover and unit cost ≤ €50. |
| 431 | |
| 432 | ### 5.13 SAF-T (PT) |
| 433 | |
| 434 | Portugal requires SAF-T (Standard Audit File for Tax) from all businesses using billing software. The SAF-T file must be submitted monthly to AT. It provides the most reliable data source for IVA classification. If available, prefer SAF-T data over bank statement. |
| 435 | |
| 436 | ### 5.14 Sales — local domestic |
| 437 | |
| 438 | Charge 23%, 13%, or 6%. Map to campo 1/3/5 as appropriate. |
| 439 | |
| 440 | ### 5.15 Sales — cross-border B2C |
| 441 | |
| 442 | Above €10,000 → **R-EU-5 OSS refusal fires**. |
| 443 | |
| 444 | --- |
| 445 | |
| 446 | ## Section 6 — Tier 2 catalogue (compressed) |
| 447 | |
| 448 | ### 6.1 Fuel and vehicle costs |
| 449 | |
| 450 | *Pattern:* GALP, REPSOL, BP, CEPSA. *Default:* blocked (VP default). *Question:* "Viatura ligeira or comercial? Electric/hybrid (50% IVA deductible)? Diesel for VP is 50% IVA deductible." |
| 451 | |
| 452 | ### 6.2 Restaurants and entertainment |
| 453 | |
| 454 | *Pattern:* restaurante, pastelaria, café. *Default:* block. *Question:* "Business meal (despesas de representação)? IVA 50% deductible with documentation." |
| 455 | |
| 456 | ### 6.3 Ambiguous SaaS |
| 457 | |
| 458 | *Default:* non-EU autoliquidação campo 16/17 + 23. *Question:* "Check invoice for legal entity." |
| 459 | |
| 460 | ### 6.4 Owner transfers |
| 461 | |
| 462 | *Default:* exclude as suprimento/reforço. *Question:* "Customer payment, own money, or loan?" |
| 463 | |
| 464 | ### 6.5 Incoming from individuals |
| 465 | |
| 466 | *Default:* domestic B2C 23%. *Question:* "Sale? Business or consumer?" |
| 467 | |
| 468 | ### 6.6 Foreign incoming |
| 469 | |
| 470 | *Default:* domestic 23%. *Question:* "B2B with NIF, B2C, goods/services, country?" |
| 471 | |
| 472 | ### 6.7 Large purchases |
| 473 | |
| 474 | *Default:* campo 21 if capital good. *Question:* "Confirm invoice total." |
| 475 | |
| 476 | ### 6.8 Mixed-use phone, internet |
| 477 | |
| 478 | *Default:* 0%. *Question:* "Dedicated business or mixed?" |
| 479 | |
| 480 | ### 6.9 Outgoing to individuals |
| 481 | |
| 482 | *Default:* exclude. *Question:* "Contractor, wages, refund, personal?" |
| 483 | |
| 484 | ### 6.10 Cash withdrawals |
| 485 | |
| 486 | *Default:* exclude. *Question:* "What for?" |
| 487 | |
| 488 | ### 6.11 Rent |
| 489 | |
| 490 | *Default:* no IVA (residential). *Question:* "Commercial with IVA option (Art. 12 n.1 al. e)?" |
| 491 | |
| 492 | ### 6.12 Foreign hotel |
| 493 | |
| 494 | *Default:* exclude from input IVA. *Question:* "Business trip?" |
| 495 | |
| 496 | ### 6.13 Airbnb income |
| 497 | |
| 498 | *Default:* [T2] flag. *Question:* "Alojamento Local registration? Duration? 6% reduced rate for accommodation?" |
| 499 | |
| 500 | ### 6.14 Construction reverse charge |
| 501 | |
| 502 | *Pattern:* empreiteiro, construção civil. *Default:* [T2] flag. *Question:* "Construction subcontractor subject to domestic reverse charge?" |
| 503 | |
| 504 | ### 6.15 Platform sales |
| 505 | |
| 506 | *Default:* if EU cross-border above €10,000 → R-EU-5. Otherwise domestic 23%. *Question:* "Sell outside Portugal?" |
| 507 | |
| 508 | --- |
| 509 | |
| 510 | ## Section 7 — Excel working paper template (Portugal-specific) |
| 511 | |
| 512 | ### Sheet "Transactions" |
| 513 | |
| 514 | Column H accepts campo codes from Section 1. |
| 515 | |
| 516 | ### Sheet "Campo Summary" |
| 517 | |
| 518 | ``` |
| 519 | | 1 | Sales 23% base | =SUMIFS(...) | |
| 520 | | 2 | IVA on sales 23% | =1*0.23 | |
| 521 | | 3 | Sales 13% base | =SUMIFS(...) | |
| 522 | | 4 | IVA on sales 13% | =3*0.13 | |
| 523 | | 5 | Sales 6% base | =SUMIFS(...) | |
| 524 | | 6 | IVA on sales 6% | =5*0.06 | |
| 525 | | 7 | Exempt with deduction right | =SUMIFS(...) | |
| 526 | | 9 | Intra-EU acquisitions base | =SUMIFS(...) | |
| 527 | | 10 | IVA on intra-EU | =9*0.23 | |
| 528 | | 16 | Other reverse charge base | =SUMIFS(...) | |
| 529 | | 17 | IVA on reverse charge | =16*0.23 | |
| 530 | | 20 | Total IVA due | =2+4+6+10+17 | |
| 531 | | 21 | Deductible IVA — imobilizado | =SUMIFS(input VAT, ..., "21") | |
| 532 | | 22 | Deductible IVA — existências | =SUMIFS(..., "22") | |
| 533 | | 23 | Deductible IVA — other | =SUMIFS(..., "23") | |
| 534 | | 24 | Total deductible IVA | =21+22+23 | |
| 535 | | 40 | IVA to pay | =MAX(0, 20-24) | |
| 536 | | 41 | IVA credit | =MAX(0, 24-20) | |
| 537 | ``` |
| 538 | |
| 539 | ### Mandatory recalc step |
| 540 | |
| 541 | ```bash |
| 542 | python /mnt/skills/public/xlsx/scripts/recalc.py /mnt/user-data/outputs/portugal-vat-<period>-working-paper.xlsx |
| 543 | ``` |
| 544 | |
| 545 | --- |
| 546 | |
| 547 | ## Section 8 — Portuguese bank statement reading guide |
| 548 | |
| 549 | **CSV format conventions.** Portuguese banks export CSV with semicolons and DD-MM-YYYY or DD/MM/YYYY dates. Common columns: Data, Descrição/Movimento, Débito, Crédito, Saldo. CGD and Millennium BCP use their own export formats. |
| 550 | |
| 551 | **Portuguese language variants.** Renda (rent), salário/vencimento (salary), juros (interest), transferência (transfer), contribuições (contributions), fatura (invoice), reembolso (refund), depósito (deposit), levantamento (withdrawal). |
| 552 | |
| 553 | **Internal transfers.** "Transferência interna", "movimento entre contas". Exclude. |
| 554 | |
| 555 | **Portal das Finanças payments.** Tax payments appear as "AT", "FINANÇAS", "PAGAMENTO ESTADO". Always exclude. |
| 556 | |
| 557 | **Segurança Social.** Social security contributions appear as monthly direct debits. Always exclude. |
| 558 | |
| 559 | **SAF-T integration.** If SAF-T file is available, it provides structured invoice data including NIF of counterparties, IVA rates, and amounts. Prefer SAF-T data. |
| 560 | |
| 561 | **Foreign currency.** Convert to EUR at ECB rate. |
| 562 | |
| 563 | **IBAN prefix.** PT = Portugal. ES, IE, FR, DE = EU. US, GB, BR = non-EU. |
| 564 | |
| 565 | --- |
| 566 | |
| 567 | ## Section 9 — Onboarding fallback |
| 568 | |
| 569 | ### 9.1 Entity type |
| 570 | *Inference:* LDA = company; Unipessoal/Sociedade = company; trabalhador independente = freelancer/sole trader. *Fallback:* "Trabalhador independente, LDA, or SA?" |
| 571 | |
| 572 | ### 9.2 IVA regime |
| 573 | *Fallback:* "Normal regime or regime de isenção (Art. 53)?" |
| 574 | |
| 575 | ### 9.3 NIF |
| 576 | *Fallback:* "Your NIF? (9 digits, PT prefix for EU)" |
| 577 | |
| 578 | ### 9.4 Filing period and frequency |
| 579 | *Fallback:* "Monthly (Vol. B) or quarterly (Vol. A)?" |
| 580 | |
| 581 | ### 9.5 Industry |
| 582 | *Fallback:* "What does the business do?" |
| 583 | |
| 584 | ### 9.6 Employees |
| 585 | *Inference:* Segurança Social outgoing. *Fallback:* "Employees?" |
| 586 | |
| 587 | ### 9.7 Exempt supplies |
| 588 | *Fallback:* "Any exempt sales?" *If yes → R-PT-2.* |
| 589 | |
| 590 | ### 9.8 Credit carried forward |
| 591 | *Always ask.* "IVA credit from prior period? (Campo 41)" |
| 592 | |
| 593 | ### 9.9 Cross-border customers |
| 594 | *Fallback:* "Customers outside Portugal? EU/non-EU? B2B/B2C?" |
| 595 | |
| 596 | ### 9.10 Madeira/Azores operations |
| 597 | *Conditional:* "Do you have operations in Madeira or Azores?" *If yes → R-PT-6 refuses.* |
| 598 | |
| 599 | --- |
| 600 | |
| 601 | ## Section 10 — Reference material |
| 602 | |
| 603 | ### Sources |
| 604 | |
| 605 | 1. Código do IVA (CIVA) — https://info.portaldasfinancas.gov.pt |
| 606 | 2. RITI (Regime do IVA nas Transações Intracomunitárias) — D.L. 290/92 |
| 607 | 3. Declaração Periódica form and instructions — Portal das Finanças |
| 608 | 4. SAF-T (PT) technical specifications — Portaria 302/2016 |
| 609 | 5. Council Directive 2006/112/EC — via eu-vat-directive companion |
| 610 | 6. VIES — https://ec.europa.eu/taxation_customs/vies/ |
| 611 | |
| 612 | ### Known gaps |
| 613 | |
| 614 | 1. Madeira/Azores rate tables not included (R-PT-6 refuses). |
| 615 | 2. Construction domestic reverse charge flagged T2 only. |
| 616 | 3. Electric/hybrid vehicle 50% IVA rule requires current vehicle classification. |
| 617 | 4. Regime de isenção threshold (€14,500/€15,000) — verify current. |
| 618 | 5. SAF-T integration is flagged but not automated. |
| 619 | 6. Restaurant 50% IVA deduction for despesas de representação requires documentation. |
| 620 | 7. Diesel 50% IVA deduction for VP is current — verify annually. |
| 621 | |
| 622 | ### Change log |
| 623 | |
| 624 | - **v2.0 (April 2026):** Full rewrite to Malta v2.0 structure. |
| 625 | - **v1.0/1.1:** Initial skill. |
| 626 | |
| 627 | ### Self-check (v2.0) |
| 628 | |
| 629 | 1. Quick reference: yes. 2. Supplier library (15): yes. 3. Worked examples (6): yes. 4. Tier 1 (15): yes. 5. Tier 2 (15): yes. 6. Excel template: yes. 7. Onboarding (10): yes. 8. 8 refusals: yes. 9. Reference: yes. 10. Vehicle block with EV/hybrid 50% exception: yes. 11. Restaurant 50% IVA deduction: yes. 12. SAF-T requirement mentioned: yes. 13. Continental vs Madeira/Azores rates: yes. 14. Three-rate structure (23/13/6): yes. 15. Non-EU autoliquidação campo 16/17: yes. |
| 630 | |
| 631 | ## End of Portugal VAT Return Skill v2.0 |
| 632 | |
| 633 | This skill is incomplete without BOTH companion files: `vat-workflow-base` v0.1+ AND `eu-vat-directive` v0.1+. |
| 634 | |
| 635 | |
| 636 | --- |
| 637 | |
| 638 | ## Disclaimer |
| 639 | |
| 640 | 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 contabilista certificado, revisor oficial de contas, or equivalent licensed practitioner) before filing or acting upon. |
| 641 | |
| 642 | 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. |
| 643 |
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.
Depends on
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
About
Use this skill whenever asked to prepare, review, or classify transactions for a Portuguese VAT return (Declaração Periódica de IVA) for a self-employed individual or small business in Portugal. Trigger on phrases like "prepare Declaração Periódica", "Portuguese VAT return", "IVA Portugal", "classify transactions for Portuguese VAT", or any request involving Portugal VAT filing. This skill covers Continental Portugal only (standard regime). Madeira/Azores reduced rates, regime de isenção, partial exemption, margin scheme (regime da margem), and VAT groups are in the refusal catalogue. MUST be loaded alongside BOTH vat-workflow-base v0.1 or later AND eu-vat-directive v0.1 or later. ALWAYS read this skill before touching any Portuguese VAT work.