Open Business Trust

OBT Part 7, Annex PT: Portugal (for the Compliance Receipt)

Version: v0 working draft, 28 November 2026 · Status: public working draft, open for comment · Editor: LJ (Tytle)

Executive summary #

1 Scope #

This annex applies when the governing State (Part 3 clause 3.1, Directive Art. 219a) is Portugal: in version 0, a seller established in Portugal that issues through certified invoicing software. In version 0 seller.country = PT selects it.

IdRequirement
OBT-PT-1-01The national currency is the euro: vat_national, when Part 3 clause 5.3-09 requires it, is in EUR (CIVA Art. 16.º n.º 8 and 9 fix the rate).
OBT-PT-1-02The keeping period is the 10 calendar years after the year of the document (CIVA Art. 52.º n.º 1: "durante os 10 anos civis subsequentes"). So exp = 1 January of the year of document.issue_date + 11, 00:00:00 UTC. A longer period of Art. 52.º n.º 2 (capital goods) is not covered; the type metadata says that after exp the invoice alone counts.
OBT-PT-1-03Portugal's report is the entry with to = PT-AT and regime = PT-EFATURA: the communication of the elements of the document to AT (DL 198/2012 Art. 3.º n.º 1: in real time, by a SAF-T (PT) file or by entry on the Portal das Finanças; the system AT calls e-Fatura). accepted means AT received that communication from the certified software and its checks passed. A receipt is made only after that answer (Part 3 clause 7-01).
OBT-PT-1-04The receipt's Portuguese name is "Comprovativo OBT" (decision D10), never "recibo" (a payment receipt).

2 The top-level pt block #

MemberPresenceIdRequirement
(any other)-OBT-PT-2-01The block holds only the four members below.
kindMOBT-PT-2-02AT's document kind, and it fits document.type: FT → 380 or 386 (a prepayment invoice, CIVA Art. 36.º n.º 1 c)); FR → 380; FS → 380; NC → 381; ND → 383. RG (recibo) and the self-billed documents get no receipt in version 0.
kind = FS-OBT-PT-2-03document.simplified = true exactly for an FS (CIVA Art. 40.º; Directive Arts. 220a, 226b).
atcudMOBT-PT-2-04The document's unique code: the series' validation code (8 or more upper-case letters and digits), -, the sequence number (Portaria 195/2020). A stamp outside the GOBL digest: a checker compares it with the document.
hash_charsMOBT-PT-2-04The four characters of the document's signature printed on it (Portaria 363/2010): base64 characters.
certified_programMOBT-PT-2-04AT's number of the certified program that signed the document ("Processado por programa certificado n.º …/AT"): 1 to 6 digits.
--OBT-PT-2-05Each report entry's to is PT-AT.

3 The pt block of a decision #

IdRequirement
OBT-PT-3-01The block holds only saft_exemption_code and mention.
OBT-PT-3-02A decision whose place_of_supply.country is PT names its region: mainland, azores or madeira. Each region has its own rates (CIVA Art. 18.º n.º 3), and the place-of-supply rules apply between the regions (Art. 6.º n.º 16). This rule, OBT-PT-3-03, OBT-PT-3-10 and OBT-PT-3-11 hold on every receipt, whatever State governs it (OBT-RCP-4-04): a German seller's OSS sale into the Azores names its region and cites Portuguese law in this form. In version 0 a decision placed in the Azores or in Madeira cites CIVA Art. 18.º n.º 3 for its regional rate. It does not cite the act that fixes that rate: Annex A has no code for those acts yet.
OBT-PT-3-03A Portuguese act in law is cited by a code from Annex A of this annex.
OBT-PT-3-04A decision with no VAT (category Z, E, AE, K, G or O) carries saft_exemption_code; a decision with VAT carries none. AT: the code is mandatory whenever the line is exempt or VAT is not charged, and excludes a tax percentage.
OBT-PT-3-05saft_exemption_code is one of the 33 codes of AT's table (Códigos de Motivo de Isenção, V4.0 of 18 June 2026).
OBT-PT-3-06The code goes with the decision's vat_category and, when both give one, its vatex (Annex B).
OBT-PT-3-07A code with a start date is used only on a document issued from that date (M35: from 1 July 2026).
OBT-PT-3-08mention is the words AT's table gives for the code, compared after replacing long dashes by - and runs of spaces by one. For M19, also the reason AT asks for Lei n.º 10-A/2022 (Ofício-Circulado 30246/2022, point 9). A mention on the receipt is a copy for comparison; the document carries the mention the law requires. For M21, AT's words include «(ou expressão similar)»: the receipt copies the table's words and never judges a similar expression.
OBT-PT-3-09When the bound document is a CIUS-PT e-invoice (an entry of document.einvoices), a checker compares its BT-118 with vat_category through Annex C, and its BT-121 with pt.saft_exemption_code (CIUS-PT puts AT's code there: "o valor é um alfanumérico (5)"; a VATEX code does not fit). The receipt itself always uses the EN 16931 code.
OBT-PT-3-10A Portuguese article in law is written in one form only: the article number with .º (and its inserted-article letter, 36.º-A), then optionally n.º and the paragraph, then optionally the alínea with ) (one letter, or the doubled letter that follows z): aa)), then optionally the subalínea in roman numerals with ): 18.º n.º 1 c), 6.º n.º 6 a) ii). An item of CIVA's rate lists is Lista I verba 2.32 or Lista II verba 1.4.1, with its lettered point when the item has them: Lista I verba 2.5 a). Never a word (Artigo, alínea), a comma, or a sign that looks like º (°, o). Pattern: national_article_pattern in receipt-v0/pt-annex-v0.json.
OBT-PT-3-11A decision placed in Portugal whose basis.rate is national_list_item (OBT-RCP-5.5-19) cites the item in law: a PT-CIVA entry in the list-item form of OBT-PT-3-10, Lista I verba 2.27 (building work on a dwelling, materials at most 20 % of the contract), Lista II verba 1.4.1, or the lettered point that set the rate (Lista I verba 2.5 a), medicines). Beside it, law cites the Directive point the item applies (OBT-RCP-5.5-36): Annex III(10) for verba 2.27, Annex III(3) for verba 2.5 a), and Art. 105a(3) for an item of Lista II that Annex III does not hold (the rate Portugal applied on 1 January 2021, not lower than 12 %). The item is the receipt's link from the rate to the line of the law that sets it. Pattern: list_item_pattern in receipt-v0/pt-annex-v0.json.

Call-off stock and vouchers in Portuguese law. Part 3 says what law cites in the Directive for a supply that the Directive deems, or regards as another supply (clause 5.5, the table after the member table). The table below is its Portuguese half. It describes; it is no rule of its own, because a check cannot see from a receipt that a supply is a call-off or that a voucher paid for it.

The supplylaw cites, beside the Directive article
The supply to the customer under call-off stock arrangements («regime de vendas à consignação em transferências intracomunitárias de bens»)PT-RITI 7.º-A n.º 4 a), with 14.º n.º 1 a)
A transfer of a single-purpose voucher («vale de finalidade única»)PT-CIVA 7.º n.º 13
The supply that a supplier who did not issue a single-purpose voucher is deemed to make to its issuerThe article of the supply itself. The CIVA has no words of its own for this supply: AT reads it so (Ofício-Circulado n.º 30208/2019, point III), which is doctrine
Goods or services handed over for a multi-purpose voucher («vale de finalidade múltipla»)PT-CIVA 7.º n.º 14, and 16.º n.º 13 for the taxable amount (16.º n.º 14 or 16.º n.º 15 where one of them sets it)

Two more things of Portuguese law:

4 The pt block of withholding #

The buyer withholds IRS on many services of an individual seller (CIRS Art. 101.º n.º 1); the law decides at payment ("no momento do respetivo pagamento ou colocação à disposição", n.º 8), so the receipt states what was known at issue.

IdRequirement
OBT-PT-4-01The block holds no member but basis and waiver.
OBT-PT-4-02When applies is true, basis names the head of CIRS Art. 101.º n.º 1 and rate equals its rate: cirs_101_1_a 16.5 % (Category B income of Art. 3.º n.º 1 c), and the gains of Art. 9.º n.º 1 b) and c)); cirs_101_1_b 23 % (the professional activities of the Art. 151.º table); cirs_101_1_c 11.5 % (other Category B income of Art. 3.º n.º 1 b) and n.º 2 g) and i)); cirs_101_1_d 20 % (Category B income of a taxpayer under EBF Art. 58.º-A). When applies is false, no basis.
OBT-PT-4-03When no withholding applies because of a waiver, waiver names the point of CIRS Art. 101.º-B n.º 1: cirs_101b_1_a (annual Category B income below the CIVA Art. 53.º limit), cirs_101b_1_b (reimbursed expenses), cirs_101b_1_c (the Category B income of Art. 3.º n.º 2 c), d), e), f) and h)), cirs_101b_1_d (a withholding below €25). The waivers of points a) and b) are used by a mention on the receipt of payment (n.º 2: «Sem retenção, nos termos do n.º 1 do artigo 101.º-B do Código do IRS.»), and the point a) waiver ends the month after the limit is reached (n.º 3 b)); so a payer re-checks at payment.
OBT-PT-4-04Version 0 sets withholding for an individual seller only. A company seller's IRC withholding (CIRC Art. 94.º) is not covered yet.

5 Events the status follows in Portugal #

EventStatus (Part 3 clause 9.7)
The document is cancelled (anulado)invalid
A credit note (NC) or debit note (ND) corrects it; a correction of the taxable value or the VAT needs a note, not a new invoice (CIVA Art. 29.º n.º 7; OC 25094/2025)stays valid; the note gets its own receipt with preceding
A cancellation for a formal error, then a new document (OC 25120/2026, point 6)invalid; the new receipt names the old document in preceding
The stored PDF copy is made again after a change of AT's QR code (allowed once)replaced
A credit note in the seller's favour: the buyer's knowledge of the correction is needed first (CIVA Art. 78.º n.º 5)the check buyer_acknowledged_correction is reserved for a later version

Annex A (normative): Portuguese act codes #

CodeActAct key (LexPin)
PT-CIVACódigo do IVApt:civa
PT-RITIRegime do IVA nas Transações Intracomunitáriaspt:riti
PT-CIRSCódigo do IRSpt:cirs
PT-EBFEstatuto dos Benefícios Fiscaispt:ebf
PT-DL-198-1990Decreto-Lei n.º 198/90pt:dl.1990.198
PT-DL-346-1985Decreto-Lei n.º 346/85 (tobacco)pt:dl.1985.346
PT-DL-221-1985Decreto-Lei n.º 221/85 (travel agents)pt:dl.1985.221
PT-DL-199-1996Decreto-Lei n.º 199/96 (second-hand goods, art, antiques)pt:dl.1996.199
PT-DL-21-2007Decreto-Lei n.º 21/2007 (immovable property)pt:dl.2007.21
PT-RENUNCIARegime da renúncia à isenção do IVA nas operações relativas a bens imóveis (the annex of Decreto-Lei n.º 21/2007)pt:renuncia
PT-DL-362-1999Decreto-Lei n.º 362/99 (gold)pt:dl.1999.362
PT-DL-19-2017Decreto-Lei n.º 19/2017 (e-TaxFree)pt:dl.2017.19
PT-DL-97-2026Decreto-Lei n.º 97/2026 (housing construction)pt:dl.2026.97
PT-LEI-17-2023Lei n.º 17/2023 (food basket)pt:lei.2023.17
PT-LEI-10-A-2022Lei n.º 10-A/2022pt:lei.2022.10-a

The act key is the act part of a legal reference (LexPin LEXPIN-5-05): a law entry's optional ref names it.

Decreto-Lei n.º 21/2007 and the regime that it approves and prints in its annex are two acts: the regime's articles are numbered on their own. PT-DL-21-2007 is the decree-law, with its own articles. PT-RENUNCIA is the regime: its artigo 6.º n.º 2 makes the buyer of a property account for the VAT when the seller opted to tax the sale (AT's code M42). LexPin cites such a text by a name of its own, apart from the act that approves it (LEXPIN-5-07).

Annex B (normative): AT's exemption codes and the EU VAT categories #

The words of each code are AT's (pt-annex-v0.json, exemption_codes.*.mentions), with AT's own dash (–); a checker compares them after it replaces that dash by -. In the data file, categories maps each allowed category to its VATEX code (null: the category alone). "Engine" = the category the first issuer's VAT engine renders for that code (its EN 16931 category and its SAF-T (PT) exemption code, checked 28 November 2026; M12 to M15 on 30 November 2026: a margin-scheme line renders as both since that engine's version 0.31.0, under its own test). "AT text" = read from AT's table alone. CIUS-PT 2.1.1 (read 28 November 2026) has no table that maps a code to a category, and it predates M19 to M46, so it confirms none of these rows. Its examples file M99 under E ("Isento ou não sujeito"); this annex keeps O, because M99 is "Não sujeito ou não tributado" and EN 16931 category O is "not subject to VAT". [open] the "AT text" rows, until AT or eSPap publishes a mapping, or the engine renders the code.

CodeLegal basis (AT)CategoryVATEXSource
M01Artigo 16.º n.º 6 alíneas a) a d) do CIVAEVATEX-EU-79-CAT text
M02Artigo 6.º do Decreto-Lei n.º 198/90E-AT text
M04Artigo 13.º do CIVAE-AT text
M05Artigo 14.º do CIVAGVATEX-EU-GEngine
M06Artigo 15.º do CIVAE-AT text
M07Artigo 9.º do CIVAE-Engine
M09Artigo 62.º alínea b) do CIVAE-AT text
M10Artigo 53.º n.º 1 do CIVAE-Engine
M11Decreto-Lei n.º 346/85E-AT text
M12Decreto-Lei n.º 221/85EVATEX-EU-DEngine
M13Decreto-Lei n.º 199/96EVATEX-EU-FEngine
M14Decreto-Lei n.º 199/96EVATEX-EU-IEngine
M15Decreto-Lei n.º 199/96EVATEX-EU-JEngine
M16Artigo 14.º do RITIKVATEX-EU-ICEngine
M19Isenções temporárias determinadas em diploma próprioE-Engine
M20Artigo 59.º-D n.º 2 do CIVAE-AT text
M21Artigo 72.º n.º 4 do CIVAE-AT text
M25Artigo 38.º n.º 1 alínea a) do CIVAO-AT text
M26Lei n.º 17/2023E-AT text
M30 to M35Artigo 2.º n.º 1 alíneas i), j), l), m), n) do CIVA (M35: j), verba 2.42, from 1 July 2026)AEVATEX-EU-AEEngine
M40Artigo 6.º n.º 6 alínea a) do CIVA, a contrárioAE (a business in another Member State, which owes the VAT) or O (a business outside the EU: no Member State taxes the supply)VATEX-EU-AE with AE, VATEX-EU-O with OEngine (both)
M41Artigo 8.º n.º 3 do RITIAEVATEX-EU-AEAT text
M42Decreto-Lei n.º 21/2007AEVATEX-EU-AEEngine
M43Decreto-Lei n.º 362/99AEVATEX-EU-AEAT text
M44Artigo 6.º do CIVA, regras específicasOVATEX-EU-OEngine
M45Artigo 58.º-A do CIVAE-Engine; outside version 0
M46Decreto-Lei n.º 19/2017GVATEX-EU-GAT text
M99Outras situações de não liquidação do impostoOVATEX-EU-OEngine

A margin-scheme decision (M12 to M15) also has scheme = margin_scheme (Part 3 clause 5.5-15); M10 has sme and M45 sme_cross_border (clause 5.5-16). A document with an M45 line is outside version 0: the supply is in another Member State, and that State's invoicing rules govern the document (Part 3 OBT-RCP-4-02). The row stays, because the code is in AT's table.

Annex C (normative): CIUS-PT category words #

CIUS-PT lets BT-118 hold Portuguese words beside UNTDID 5305: "valores admitidos: AA, S, E, RED, INT, NOR, ISE, OUT, NA, Z, AE, IC, G e O".

CIUS-PT BT-118Its meaning in CIUS-PTThe receipt's vat_category
S, NORTaxa normalS
AA, REDTaxa reduzidaS (EN 16931 and Peppol BIS 3.0 have no reduced-rate code: the rate tells)
INTTaxa intermédiaS
ZIVA taxa zeroZ
E, ISEIsentaE
AEIVA autoliquidadoAE
ICIVA intracomunitárioK
GIVA exportaçõesG
ONão sujeito ou não tributadoO
NANão sujeição a IVA ou IS; also a receipt of payment with no tax shownO
OUTOutros, regimes especiais de IVAE with the scheme's AT code (M11 to M15, M20). [open] a special scheme that charges VAT

Annex D (normative): the register for Portugal (LexPin) #

The register of Portugal's acts for a legal reference is LexPin's: https://github.com/lexpin-standard/lexpin/blob/main/registers/lexpin-register-pt.md. It was this annex until 30 November 2026. It holds the kinds of act, the rule that makes a key from an act's official number, the codes cited by a name, and the worked examples. Annex A of this part gives the act key of each act code.

History #

VersionDateChange
v0 working draft30 November 2026Annex B: M12 to M15 (the margin schemes) are rendered by the engine, as E with VATEX-EU-D, F, I and J, since engine 0.31.0; their rows say "Engine", and pt-annex-v0.json says engine for them. Thirteen rows stay "AT text".
v0 working draft30 November 2026With Part 3's report list and einvoices: Portugal's report has the regime PT-EFATURA (1-03, the three ways of DL 198/2012 Art. 3.º n.º 1); 2-05 holds for each entry; 3-09 names an einvoices entry. pt-annex-v0.json lists the regime (report_regimes).
v0 working draft30 November 2026Annex D, the register for Portugal of a legal reference, is LexPin's: https://github.com/lexpin-standard/lexpin/blob/main/registers/lexpin-register-pt.md (LexPin is a standard of its own). This part keeps one sentence that points to it. Annex A names LexPin for its act keys (LEXPIN-5-05, until now LEXPIN-5-05). No rule of this part changed.
v0 working draft29 November 2026OBT-PT-3-10 and 3-11: a rate-list item's lettered point (Lista I verba 2.5 a)): CIVA's verbas 2.5, 2.38 and 4.2 have them, and the engine names the point that set the rate (open issue 7, VAT engine 0.127.0). OBT-PT-3-11 also names the Directive point beside the item (OBT-RCP-5.5-36) Annex A gives each act code its act key, the act part of a legal reference (Part 10 LEXPIN-5-05; Part 10 is its own part). Annex D: the register for Portugal (Part 10 LEXPIN-5-07): the kinds with the rule that makes a key from the official number, the four codes cited by name, worked examples.
v0 working draft29 November 2026From a second checker written from the text alone: OBT-PT-4-01 says the block holds no other member (both may be absent); OBT-PT-3-08 says how M21's «(ou expressão similar)» is read
v0 working draft28 November 2026OBT-PT-3-11: a rate read from one of CIVA's lists cites its item (decision F10, refined: "don't lose quality"); it holds on every receipt, with 3-02, 3-03 and 3-10
v0 working draft28 November 2026OBT-PT-3-10: the one written form of a Portuguese article (with Part 3's new OBT-RCP-5.5-17), checked against every article heading of CIVA, CIRS, EBF and RITI on disk; the OBT-PT-3-09 row rejoined to its table (a blank line had cut it off). Strict rules for the national reference (decided 28 November 2026).
v0 working draft28 November 2026CIUS-PT 2.1.1 read (its published pack): it holds AT's code in BT-121 (5 characters), lets BT-118 hold Portuguese words (Annex C, OBT-PT-3-09), and maps no code to a category, so the "AT text" rows of Annex B stay open; M99 stays O
v0 working draft28 November 2026M40 takes AE or O, as the engine renders it (an EU business owes the VAT; outside the EU no State taxes it); the receipt's text pattern accepts AT's dash (–), found by a valid M13 case
v0 working draft28 November 2026First text: scope, the pt blocks, the 33 codes with their categories (engine-checked where the engine renders them), the withholding heads and waivers of CIRS Arts. 101.º and 101.º-B (2025 consolidation), the status events
v0 working draft2 December 2026Published as a public working draft, open for comment (the status line; it said "not published").
v0 working draft2 December 2026Annex A: the act code PT-RENUNCIA (pt:renuncia), the regime of the option to tax a property that Decreto-Lei n.º 21/2007 approves in its annex. The decree-law and the regime are two acts (LexPin LEXPIN-5-07), and PT-DL-21-2007 stays the decree-law. A receipt can now cite the regime's artigo 6.º n.º 2 (AT's code M42) with no doubt about which artigo 6.º it names. pt-annex-v0.json lists the code (national_acts).
v0 working draft2 December 2026Clause 3: the Portuguese half of Part 3's table for call-off stock and vouchers (RITI Art. 7.º-A n.º 4 a) with Art. 14.º n.º 1 a); CIVA Art. 7.º n.º 13 and n.º 14, Art. 16.º n.º 13 to n.º 15), as a description with no rule id; the expired multi-purpose voucher, a supply of services of Portuguese law alone (CIVA Art. 7.º n.º 15 b); the rate is AT's reading, Ofício-Circulado n.º 30208/2019); the end of the call-off stock regime (RITI Art. 7.º n.º 4), not in version 0. OBT-PT-3-02: a regional rate cites CIVA Art. 18.º n.º 3 and not the act that fixes it. Annex B: an M45 document is outside version 0 (Part 3 OBT-RCP-4-02). No rule, list or member changes.

For agents and programs: this page in Markdown · llms.txt · the whole spec in one file

Text CC BY 4.0. Code, schemas and test vectors Apache 2.0. Editor: LJ, Tytle. Source on GitHub.