# OBT Part 3: Compliance Receipt

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

## Intellectual Property Rights

The text is licensed under CC BY 4.0, the code and schemas under Apache 2.0 (Part 9). The editors' company seeks no
patent on what this document describes (decision of 28 November 2026). Part 9 gives the royalty-free promise of every
contributor (Regulation (EU) No 1025/2012, Annex II).

## Foreword

This document is Part 3 of the Open Business Trust (OBT) family: Part 0 overview, Part 1 Business Key, Part 2 Agent
Mandate, Part 3 Compliance Receipt, Part 4 Present, Part 5 trust registry, Part 6 checking and tests, Part 7 country
annexes, Part 8 privacy and security, Part 9 governance, Part 10 legal references. It follows the skeleton of ETSI technical specifications so
that it can be taken up as it stands.

## Modal verbs terminology

In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can"
and "cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the
expression of provisions). "must" and "must not" are not used except in direct citation.

## Executive summary

- A Compliance Receipt is a signed statement about one invoice, credit note or debit note.
- The issuer of the document signs it with its company seal.
- It says which document it covers, what VAT treatment the issuer decided for its lines and under which law, which
  facts the issuer checked, and what the tax authority answered.
- Anyone can check it for free, without asking the issuer. Only the status list, the revocation list of the
  certification authority and, once, the type metadata need the network.
- The issuer can later say "do not rely on this" through a public status list. The issuer is never asked about the receipt being checked.
- The tax ids of the seller and the buyer are hidden by default. The holder chooses to show them.
- The receipt never replaces the invoice. The invoice stays the legal document.

## Introduction

An AI agent that buys for a business must book the VAT of each invoice: who owes it, at which rate, under which
article, and whether the document still stands. Today it reads a PDF. A Compliance Receipt gives it the same facts as
signed data: the issuer's VAT decision, the checks behind it, and a status the issuer keeps current. The receipt is an
electronic attestation of attributes in the SD-JWT VC format, profiled on ETSI TS 119 472-1 [1].

## 1 Scope

The present document specifies the Compliance Receipt: its data model (clause 5), its encoding (clause 6), its
issuance (clause 7), its presentation and checking (clause 8), its status (clause 9) and its trust anchors (clause 10).

Version 0 covers a document that the issuer itself issued (`document.source` = `issued_by_issuer`), of type 380
(invoice), 381 (credit note), 383 (debit note) or 386 (prepayment invoice). It does not cover a self-billed document
(389), a payment receipt, a document another system issued, or a document issued before the issuer started to make
receipts.

A line that is not a supply has no place of supply to state (clause 5.5, `place_of_supply`), so a document that holds
one gets no version 0 receipt. Examples: an invoice with a multi-purpose voucher sold beside goods (each transfer of
that voucher "shall not be subject to VAT", Directive Art. 30b(2)), and a document for goods or services handed over
for a single-purpose voucher (the handing over "shall not be regarded as an independent transaction", Art. 30b(1)).

The rules of a country (its document kinds, its national codes, its keeping period, its tax authority's answer) are in
that country's annex (Part 7). The present document names no country in a normative rule.

The receipt is not a qualified electronic attestation of attributes. Clause 10.4 says what a qualified profile changes.

## 2 References

### 2.1 Normative references

- [1] ETSI TS 119 472-1 V1.2.1 (2026-02): "Electronic Signatures and Trust Infrastructures (ESI); Profiles for
  Electronic Attestation of Attributes; Part 1: General requirements".
- [2] IETF RFC 9901: "Selective Disclosure for JSON Web Tokens" (SD-JWT), and draft-ietf-oauth-selective-disclosure-jwt-22,
  the version [1] cites.
- [3] IETF draft-ietf-oauth-sd-jwt-vc-13 (the version [1] and [5] cite) and draft-ietf-oauth-sd-jwt-vc-27: "SD-JWT-based
  Verifiable Digital Credentials (SD-JWT VC)".
- [4] IETF draft-ietf-oauth-status-list-20 (the version CIR (EU) 2026/1731 sets for attestations issued to
  wallets), and -13 (cited by [1] before that act), -14 (cited by [5]) and -21: "Token Status List".
- [5] OpenID for Verifiable Credentials High Assurance Interoperability Profile 1.0 (HAIP).
- [6] IETF RFC 3161: "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)".
- [7] IETF RFC 5280: "Internet X.509 Public Key Infrastructure Certificate and CRL Profile".
- [8] IETF RFC 7515 (JWS), RFC 7518 (JWA), RFC 8259 (JSON), RFC 3339 (date and time), RFC 4648 (base64url).
- [9] EN 16931-1:2017+A1:2019: "Electronic invoicing - Part 1: Semantic data model of the core elements of an
  electronic invoice", and its code lists: UNTDID 1001, UNCL 5305, the VATEX code list, ISO 4217, ISO 3166-1
  alpha-2, in the edition the receipt names (`code_lists.en16931`).
- [10] Council Directive 2006/112/EC on the common system of value added tax, as in force at the tax point.
- [11] Council Implementing Regulation (EU) No 282/2011, as in force at the tax point.
- [12] Regulation (EU) No 910/2014 as amended by Regulation (EU) 2024/1183 (eIDAS).
- [15] Commission Implementing Regulations (EU) 2024/2977 and 2024/2979 as amended by Implementing Regulation (EU)
  2026/1731 of 15 July 2026 (OJ L, 22.7.2026; in force on the twentieth day after publication): "Electronic attestations
  of attributes issued to wallet units shall comply with at least one of the standards set out in Annex II of
  Implementing Regulation (EU) 2024/2979" (2024/2977 Art. 4(1)); that Annex II: "The technical specifications set out
  in clauses 2 to 6 of ETSI TS 119 472-1 V1.2.1 (2026-02) apply", with adaptations.
- [13] ETSI TS 119 182-1 V1.2.1: "JAdES digital signatures; Part 1: Building blocks and JAdES baseline signatures".
- [14] ETSI EN 319 422 V1.1.1: "Time-stamping protocol and time-stamp token profiles".
- [16] OBT Part 10: "Legal references (LexPin profile)" (`obt-part10-legal-references.md`), for the optional `ref` of a `law` entry (OBT-RCP-5.5-37). The reference itself is LexPin v0 (`https://github.com/lexpin-standard/lexpin/blob/main/lexpin-v0.md`).
- [17] CEN/TS 16931-3-2:2020: "Electronic invoicing - Part 3-2: Syntax binding for ISO/IEC 19845 (UBL 2.1) invoice and
  credit note", and CEN/TS 16931-3-3:2020: "Electronic invoicing - Part 3-3: Syntax binding for UN/CEFACT XML
  Industry Invoice D16B".
- [18] W3C Recommendation, 18 July 2002: "Exclusive XML Canonicalization Version 1.0".

### 2.2 Informative references

- [i.1] Regulation (EU) 2016/679 (GDPR).
- [i.2] OBT Parts 0, 1, 2, 4, 5, 6, 7, 8 and 9; the OBT glossary (A2).
- [i.3] OBT GOBL binding (`spec/gobl-binding.md`).
- [i.4] ETSI TS 119 602 (trusted lists of issuers); ETSI TS 119 412-6; ETSI EN 319 422 (time-stamp profiles).
- [i.5] Peppol BIS Billing 3.0; the EN 16931 validation artefacts (CEN/TC 434).
- [i.6] Council Directive (EU) 2025/516 (VAT in the Digital Age, ViDA).
- [i.7] Regulation (EU) 2024/1624, Art. 22(6)(b) (AML: an attestation is not an identification).
- [i.8] Directive (EU) 2022/2555 (NIS2).


## 3 Definition of terms, symbols and abbreviations

### 3.1 Terms

- **receipt:** an OBT Compliance Receipt; a credential of the type `https://openbusinesstrust.eu/vct/receipt/v0`.
- **document:** the invoice, credit note or debit note a receipt covers.
- **issuer:** the legal person that signs the receipt. In version 0 it also issued the document.
- **holder:** anyone who holds a receipt: the seller, the buyer, their accountants, a financier.
- **checker:** a relying party that checks a receipt (eIDAS Art. 3(6)).
- **decision:** the VAT treatment the issuer decided for a set of the document's lines, or for one document-level
  charge or allowance.
- **governing State:** the Member State whose invoicing rules govern the document (Directive Art. 219a).
- **tax point:** the chargeable event of the supply (Directive Arts. 62 to 67), as the country annex reads it.
- **country annex:** the part of Part 7 that defines one country's codes and rules.
- **country block:** a member of the receipt named by a lower-case ISO 3166-1 alpha-2 code, whose members a country
  annex defines.
- **status list:** a Token Status List [4] published by the issuer.
- **type metadata:** the file the `vct` names, which states the receipt type's members, promise and limits.
- **OBT host:** the neutral server under `https://openbusinesstrust.eu` that stores and serves status lists.
- **standby key:** a key of the OBT host that an issuer authorises in advance to sign fresh copies of its lists if it
  stops (clause 9.6).
- **attested check:** a check whose answer a trusted execution environment signed (clause 5.7.3).

### 3.2 Abbreviations

AT: Autoridade Tributária e Aduaneira · EAA: electronic attestation of attributes · ELI: European Legislation
Identifier · NSM: Nitro Security Module · OSS: One-Stop Shop · PCR: platform configuration register · SD-JWT:
selective disclosure JWT · TEE: trusted execution environment · TSL: Token Status List · VIES: VAT Information
Exchange System.

## 4 General concepts

### 4.1 Actors

| Actor | Does |
| --- | --- |
| Issuer | Issues the document, decides its VAT, makes the checks, makes and signs the receipt, keeps its status |
| Seller | The supplier on the document. In version 0 it is the issuer's client or the issuer itself |
| Buyer | The customer on the document |
| Holder | Keeps the receipt and shows it, with or without the hidden tax ids |
| Checker | Checks the receipt: signature, chain, type, status, time stamp, binding to the document |
| OBT host | Stores and serves the issuers' signed status lists and type metadata |

### 4.2 Flow

```
Issuer                                                     Buyer (or its agent)        Checker
  | 1. decide the VAT per line; run the checks                |                           |
  | 2. mint the receipt's address; print it on the document   |                           |
  | 3. issue the document; report it where the annex says     |                           |
  | 4. on the authority's answer: hash the final document,    |                           |
  |    make and sign the receipt, get its time stamp          |                           |
  | 5. -------------------- document + receipt -------------> |                           |
  |                                                           | 6. -- receipt (chosen ---> |
  |                                                           |       disclosures)        | 7. check offline;
  |                                                           |                           |    fetch the status
  | 8. later: cancel / suspend / withdraw / replace --------> status list (OBT host) <---- |    list only
```

### 4.3 What a receipt states, and what it does not

A receipt states: which document it covers (by its number, dates, amounts and hashes); the issuer's VAT decision for
each set of lines, with the place of supply, the treatment, who owes the VAT, the rate, the EN 16931 category and
reason code, and the articles of law; the facts the issuer checked, with their time and result; the tax authority's
answer; and the issuer's promise (clause 5.9).

A receipt does not state: names, addresses or line descriptions (the document holds them); payment, delivery or sale
of the invoice; a score or rating of any party. It is not an identification of the seller for anti-money-laundering
purposes [i.7].

A movement of goods that is not a supply has no invoice, and so no receipt: the transfer of goods to another Member
State under call-off stock arrangements "shall not be treated as a supply of goods for consideration" (Directive Art.
17a(1)), and the taxable person records it in the register of Art. 243(3). The later supply to the customer is an
intra-Community supply, with its invoice and its receipt (Art. 17a(3); clause 5.5).

| Id | Requirement |
| --- | --- |
| OBT-RCP-4-01 | A receipt is not an invoice and does not amend one (Directive Arts. 203, 219). It shall not be issued, sent or used as an invoice, as a document amending one, or as the "bill or receipt" of Reg. 282/2011 Art. 9a(1)(b). |

### 4.4 The countries of a receipt

One receipt can name several countries: the seller's, the buyer's, the State whose invoicing rules govern the document,
and the place of supply of each decision. Each country has one role. Each role takes its codes from one source. A code
that means the same in every Member State is in the EU layer; a code of one State is in that State's annex.

| Role | Which country | What it decides in the receipt | Where its codes come from |
| --- | --- | --- | --- |
| EU layer | Every Member State | The document type (UNTDID 1001), the VAT category (UNCL 5305), the reason (VATEX), the place-of-supply rule, the scheme, the treatment, who owes the VAT, the EU articles (by ELI) | The present document and Annex A |
| Governing State | One per receipt: the Member State whose invoicing rules govern the document (Directive Art. 219a) | The top-level country block, the keeping period (`exp`), the national currency (`vat_national`), the tax authority (`report.to`), the mention, the withholding, and the national article every decision names (5.5-17) | That State's annex |
| Place-of-supply State | One per decision (`place_of_supply.country`): where the VAT is due | The region, the rate in force there, and, when its VAT is charged, its own article (5.5-18) | That State's annex, when it has one |
| The parties' countries | `seller.country`, `buyer.country`, `buyer.establishment_country` | Who the parties are, and the form of their tax identifiers | ISO 3166-1 and each identifier's own format |

| Id | Requirement |
| --- | --- |
| OBT-RCP-4-02 | In version 0 the governing State is the seller's country: `seller.country` is the State where the seller has established its business, or has the fixed establishment from which the supply is made. Version 0 covers a document only when its invoicing rules are that State's: every decision is placed in that State (Directive Art. 219a(1)); or the buyer owes the VAT of another Member State (Art. 219a(2)(a)(i)); or the supply is placed outside the Union (Art. 219a(2)(a)(ii)); or the seller declares the VAT through a special scheme of Title XII Chapter 6 in the State where it is identified, which is that State (Art. 219a(2)(b)). A document whose invoicing rules are another State's (for example a supply the seller makes in another Member State where it is registered and owes the VAT itself, outside a special scheme) is not covered (clause 1). A checker finds that case from the decisions alone, with no list of Member States: a decision placed in a State other than the governing one, of category S, L or M (a category that carries VAT), whose `liability.who` is `supplier` and whose `scheme` is not `oss_union`, `oss_non_union` or `ioss`; or any decision whose `scheme` is `sme_cross_border`. That exemption (Art. 284(2)) is by its own words for a supply in a Member State other than the one where the seller is established; Art. 219a(2) has no derogation for it (its point (b) names only the special schemes of Title XII Chapter 6, and the exemption for small enterprises is Chapter 1), so the invoicing rules of the State of supply govern the document (Art. 219a(1)). No VAT is charged (category E), so the category cannot find the case: the scheme does. A supply placed outside the Union carries no VAT (category O, or G for an export of goods), and a buyer who owes the VAT is `customer`. |
| OBT-RCP-4-03 | A member shall take its codes from its role's source only. A national code shall never replace an EU code: a national exemption code goes in the country block beside the EU reason (`vatex`) when the annex's code table gives a VATEX code for it, never instead of it (5.5-07; Portugal: Annex B, checked by OBT-PT-3-06). A checker shall read an EU-layer member the same way whatever countries the receipt names. |
| OBT-RCP-4-04 | An annex's rules on the place of supply (for example its regions) and on the written form of its own articles shall apply to every decision placed in that State or citing its law, whatever State governs the receipt. Its other rules apply only when that State governs the receipt. |
| OBT-RCP-4-05 | When the governing State has no annex (version 0: any State but Portugal), the rules that read that annex do not apply: the keeping period that sets `exp` (5.2-05), the national currency of `vat_national` (5.3-09), the national article of each decision (5.5-17), the withholding the annex defines (5.6), whether a receipt waits for a tax authority's answer (5.8); a country block of that State is shown as data and never acted on (5.10-02). Such a receipt rests on EU law alone; a checker checks every other rule of clause 5 and the annexes of the States its decisions are placed in or cite (4-04). |

## 5 Data model

### 5.1 General rules

| Id | Requirement |
| --- | --- |
| OBT-RCP-5.1-01 | The claims shall be a JSON object [8] that validates against the schema of Annex A.1 after disclosure processing (RFC 9901 [2] clause 7.1). |
| OBT-RCP-5.1-02 | A receipt shall contain no member that the present document does not define. A checker shall refuse a receipt with an undefined member. [SEC] |
| OBT-RCP-5.1-03 | Money shall be a JSON string with exactly two decimals, a leading minus for a negative amount, and one spelling of zero (`"0.00"`). It shall carry the sign printed on the document; the positive amounts of a credit note (381) are a credit. |
| OBT-RCP-5.1-04 | A date shall be `YYYY-MM-DD`. A time shall be RFC 3339 in UTC, to the second, with `Z`. `iat`, `nbf` and `exp` shall be JSON integers (seconds since the epoch). A checker shall hold them in 64-bit integers. |
| OBT-RCP-5.1-05 | Every member whose value is a word shall take a value from the closed list the present document or the country annex gives. A rate shall be a string without trailing zeros (`"0"`, `"6"`, `"23"`, `"5.5"`). [SEC] |
| OBT-RCP-5.1-06 | Every VATEX code, currency code and country code shall be a member of the EN 16931 code-list edition named in `code_lists.en16931`. Version 0's editions, as data: `receipt-v0/en16931-code-lists.json` (each edition's VATEX, currency and country codes, taken from the Commission's genericode files). |
| OBT-RCP-5.1-07 | Every date shall be a real calendar date. |
| OBT-RCP-5.1-08 | A string member that is not a code (a document number, an article, a country block value) shall match its pattern in Annex A.1. No member holds free text. [SEC] |

### 5.2 The frame

| Member | Presence | Id | Requirement |
| --- | --- | --- | --- |
| `iss` | C | OBT-RCP-5.2-01 | The issuer's HTTPS origin. Present only when the issuer's seal certificate binds it by a subject alternative name of type URI (SD-JWT VC [3] clause 2.5); absent otherwise. |
| `iss_reg_id` | C | OBT-RCP-5.2-02 | The issuer's identifier in the form of ETSI TS 119 472-1 [1] EAA-5.2.4.1-08: `VAT` + country code + `-` + VAT number. Present unless `x5c` carries a qualified certificate; then absent ([1] EAA-5.2.4.1-11: "shall not incorporate the iss_reg_id claim if it incorporates the qualified certificate"), and the certificate's organizationIdentifier names the issuer. |
| `vct`, `vct#integrity` | M | OBT-RCP-5.2-03 | `vct` shall be `https://openbusinesstrust.eu/vct/receipt/v0`. `vct#integrity` shall be the integrity value of that type metadata file ([1] EAA-5.2.1.2-03). A published type metadata file shall never change. |
| `iat`, `nbf` | M | OBT-RCP-5.2-04 | The time the issuer signed the receipt. `nbf` shall equal `iat`. |
| `exp` | M | OBT-RCP-5.2-05 | 00:00:00 UTC on 1 January of the year after the end of the governing State's general keeping period for the document, as its country annex states (for Portugal: the year of `document.issue_date` + 11). |
| `jti` | M | OBT-RCP-5.2-06 | The receipt's identifier: at least 128 bits from a cryptographically secure random source, written in base64url characters, 22 to 64 long. Crockford base32 uses a subset of those characters, so an identifier written in it needs 26 or more of them for 128 bits. A checker checks the characters and the length; the bits and the alphabet are the issuer's duty. |
| `rev_id` | M | OBT-RCP-5.2-07 | A second revocation identifier: a decimal string of at least 63 random bits. It shall not be derived from the status index. |
| `replaces` | C | OBT-RCP-5.2-08 | On a replacement receipt only: the `jti` of the receipt it replaces (clause 9.7). |
| `status` | M | clause 9.1 | The status reference. |
| `code_lists` | M | OBT-RCP-5.2-09 | `en16931`: the edition of the EN 16931 code lists the receipt's codes come from (for example `v17b`). |
| `_sd_alg` | M | OBT-RCP-5.2-10 | `sha-256`, in the issuer-signed payload. Disclosure processing removes it (RFC 9901 [2] clause 7.1), so it is not in the processed claims Annex A.1 validates. |
| `cnf` | - | OBT-RCP-5.2-11 | A receipt shall not carry a holder key. Whoever holds the document may show its receipt. |

### 5.3 `document`

| Member | Presence | Id | Requirement |
| --- | --- | --- | --- |
| `type` | M | OBT-RCP-5.3-01 | UNTDID 1001 (EN 16931 BT-3): `380`, `381`, `383` or `386`. The country annex maps its document kinds to these codes. |
| `number` | M | OBT-RCP-5.3-02 | The document number exactly as the document states it (BT-1), with no normalisation: ASCII letters, digits and `.`, `_`, `/`, `-`, parts separated by single spaces, at most 64 characters. A document whose number does not fit gets no version 0 receipt. |
| `issue_date` | M | OBT-RCP-5.3-03 | The issue date (BT-2). |
| `supply_date` or `supply_period` | M (one) | OBT-RCP-5.3-04 | The date of the supply (BT-72) or its period (BG-14), always, also when equal to the issue date. Exactly one of the two. |
| `currency`, `net`, `vat`, `gross` | M | OBT-RCP-5.3-05 | The document currency (BT-5) and the totals without VAT (BT-109), of VAT (BT-110) and with VAT (BT-112). Withholding does not change them. |
| `line_count` | M | OBT-RCP-5.3-06 | The number of invoice lines (BG-25). A line number in clause 5.5 is the 1-based position of the line in document order, not its line identifier (BT-126). |
| `supply_period` order | - | OBT-RCP-5.3-07 | `end` shall not be before `start`. |
| totals | - | OBT-RCP-5.3-08 | `gross` shall equal `net` + `vat`. |
| `vat_national` | C | OBT-RCP-5.3-09 | Required when `currency` is not the governing State's national currency and `vat` is not zero: the VAT in the national currency (`currency`, `amount`, `fx_rate`, `fx_rate_date`; Directive Art. 230; EN 16931 BT-6, BT-111). Its currency shall differ from `currency`; its amount shall not have the opposite sign of `vat`. |
| `deliver_to_country` | C | OBT-RCP-5.3-10 | Required when a decision has category K: the country the goods are delivered to (BT-80). |
| `file_sha256`, `gobl`, `einvoices` | at least one | OBT-RCP-5.3-11 | Bindings to the document: the SHA-256 of the file the buyer received (lower-case hex); the GOBL envelope's `uuid` and `dig` [i.3]; each EN 16931 XML instance of the document (5.3-18). A bound file shall be final and shall never be updated after the receipt is made; validation data for its signature travels as a separate file. |
| `source` | M | OBT-RCP-5.3-12 | `issued_by_issuer`. |
| `address` | M | OBT-RCP-5.3-13 | The HTTPS address of the receipt (clause 7.3). Its last path segment shall carry at least 128 random bits, written as `jti` is (5.2-06). It shall not be an address that also opens the document's payment or its other facts. |
| `chargeable_date` | C | OBT-RCP-5.3-15 | When VAT becomes chargeable on another date than the supply date (Directive Title VI, Arts. 62 to 71: a payment on account, continuous supplies, an intra-Community supply), that date; absent otherwise. The issuer leaves it out when it is the supply date; a checker reads an equal date as no change. A buyer's agent books in the period of `chargeable_date` when present, else of the supply date. |
| `cash_accounting` | C | OBT-RCP-5.3-16 | `true` when the document carries the mention "Cash accounting" (Art. 226(7a)): the buyer's deduction may wait for payment (Art. 167a). |
| `simplified` | C | OBT-RCP-5.3-17 | `true` for a simplified invoice (Arts. 220a, 226b). |
| `einvoices` | C | OBT-RCP-5.3-18 | One entry for each EN 16931 XML instance of the document, at most four (a document sent in two forms, such as UBL over Peppol and CII to a public buyer, has two): `sha256` (5.3-19); `syntax`, `ubl-2.1` (CEN/TS 16931-3-2 [17]) or `cii-d16b` (CEN/TS 16931-3-3 [17]); `specification`, the specification identifier (BT-24); and `process`, the business process (BT-23), only when the XML has one. `specification` and `process` are written as the XML states them, without the white space at their ends. No two entries have the same `sha256`. A checker that holds the XML compares all four with it (clause 8.2 step 9). |
| `einvoices[].sha256` | - | OBT-RCP-5.3-19 | The SHA-256 (lower-case hex) of the business document alone: the root element of the XML, or the business document inside an envelope (the Peppol Standard Business Document, then AS4), never the envelope. It is taken over that element written in Exclusive XML Canonicalization [18] without comments and with no InclusiveNamespaces prefix list (the node set: the element, its descendants, their attributes and namespace nodes), in UTF-8. So one invoice has one hash, alone or in its envelope, whatever the encoding of its file (UTF-8, ISO-8859-1 or US-ASCII) or its XML declaration. White space between elements is content and stays. An XML with a DOCTYPE is not bound by this member. |
| a file with an XML inside | - | OBT-RCP-5.3-20 | When the bound file (`file_sha256`) carries an EN 16931 XML attached inside it (a PDF/A-3 as Factur-X and ZUGFeRD make it), the receipt shall bind both: `file_sha256` over the whole file, and an `einvoices` entry for the attached XML. Both shall come from the same issue of the document. |
| a signed file | - | OBT-RCP-5.3-21 | A file that carries its own signature or seal (a PAdES seal on a PDF, an XAdES signature in an XML) is bound as signed: the receipt is made after the file's last signature, and its hash covers that signature. |
| `preceding` | C | OBT-RCP-5.3-14 | Required for 381 and 383; allowed for 380 and 386. Each entry: the preceding document's `number` and `issue_date` (BG-3), and its receipt's `address` when one exists. |

### 5.4 The parties

| Member | Presence | Id | Requirement |
| --- | --- | --- | --- |
| `seller.country`, `buyer.country` | M | OBT-RCP-5.4-01 | ISO 3166-1 alpha-2. |
| `buyer.establishment_country` | C | OBT-RCP-5.4-02 | When the buyer receives the supply at a fixed establishment in another country (Reg. 282/2011 Art. 21, Art. 22). |
| `buyer.is_business`, `buyer.business_proof` | M, C | OBT-RCP-5.4-03 | Whether the issuer treated the buyer as a taxable person, and, when it did, on which proof: `vies_confirmed`, `vies_number_valid`, `other_proof`, `non_eu_tax_certificate`, `non_eu_tax_number`, `customer_word`. They mean: VIES confirmed the number and the name and address (`vies_confirmed`, Reg. 282/2011 Art. 18(1)(a)); VIES found the number valid and gave no name and address (`vies_number_valid`); other proof that the buyer applied for a number (`other_proof`, Art. 18(1)(b)); a certificate of the buyer's tax authority (`non_eu_tax_certificate`, Art. 18(3)(a)); a VAT or similar number of a buyer outside the Union (`non_eu_tax_number`, Art. 18(3)(b)); the buyer's own word alone, for example when VIES could not answer (`customer_word`, 5.7-03 and 5.9-01). A checker does not compare the word with the checks; the issuer states which proof it relied on. `business_proof` shall be absent for a consumer. |
| `seller.vat_id_on_document`, `buyer.vat_id_on_document` | M | OBT-RCP-5.4-04 | Whether the document states that party's VAT identifier (BT-31, BT-48). A document with category G, K or AE shall state the seller's; one with category K or a reverse charge under Directive Art. 196 shall state the buyer's (Art. 226(3) and (4)). AE requires `buyer.is_business` = true. |
| `seller.tax_id`, `buyer.tax_id` | C | OBT-RCP-5.4-05 | The tax identifiers, in canonical form (country prefix, upper case, no spaces or separators). Each shall be selectively disclosable (clause 6.3). `seller.tax_id` shall always be issued; `buyer.tax_id` shall be issued whenever the buyer has one. [PRIV] |
| `made_by` | C | OBT-RCP-5.4-06 | When an application acting for the seller made the document: `kind` = `connected_app`, the issuer's identifier of the application (`app`), and `may_issue` = true, which the issuer checked (`checks[app_may_issue]`). Absent for a document a person made. Replaced by `mandate` once OBT Agent Mandates (Part 2) exist. |

The receipt shall contain no name, address or line description of any party. [PRIV]

For an intra-Community supply of goods (category K) the receipt states the supply only. The buyer's intra-Community
acquisition is its own taxable transaction (Directive Arts. 2(1)(b), 200), which the buyer accounts for.

Not in version 0: new means of transport (Art. 226(12)); a tax representative (Art. 226(15)); and a transfer of own
goods to another Member State (Art. 17), which has one taxable person on both sides, also when Art. 17a(4) or (7)
deems it.

### 5.5 `decisions`

| Id | Requirement |
| --- | --- |
| OBT-RCP-5.5-01 | Each entry covers either line ranges (`lines`: `"all"`, or ascending, non-overlapping `[first, last]` pairs of line numbers), or one document-level charge (`charge`: its 1-based position among the document's charges, BG-21) or allowance (`allowance`: likewise, BG-20). Two lines share an entry exactly when the engine decided them alike: every member of the entry other than `lines`, `net`, `vat` and `engine.decision_id` (minted for each entry when the receipt is made) would be equal for both. This binds the issuer: a checker sees only the entries, and does not refuse two that could have been one. At least one entry shall cover lines. |
| OBT-RCP-5.5-02 | Every line from 1 to `document.line_count` shall be covered by exactly one entry. `"all"` shall be the only line entry when used. |
| OBT-RCP-5.5-03 | The entries' `net`, with allowance entries counted negative, shall sum to `document.net`. A deducted prepayment is a line with a negative net or an allowance entry; the amount already paid (BT-113) never enters this sum. |
| OBT-RCP-5.5-04 | The entries' `vat`, counted the same way, shall sum to `document.vat`. |
| OBT-RCP-5.5-05 | An entry of category Z, E, AE, K, G or O shall have `vat` = `"0.00"`. |
| OBT-RCP-5.5-06 | For each category and rate, the sum of `vat` shall differ by less than 1.00 from the sum of `net` times the rate, rounded half away from zero to two decimals; both sums count allowance entries negative, as 5.5-03 does (EN 16931 BR-CO-17). |
| OBT-RCP-5.5-07 | An entry of category E, AE, K, G or O shall carry its reason: a `vatex` code, or the `mention` member of the governing State's country block (EN 16931 BR-E-10, BR-AE-10, BR-IC-10, BR-G-10, BR-O-10). |
| OBT-RCP-5.5-08 | A charge or allowance entry's `net` shall not be negative. |
| OBT-RCP-5.5-09 | A `VATEX-FR-*` code requires a French seller and a French buyer. |
| OBT-RCP-5.5-10 | When `document.einvoices` is present, the decisions shall also meet the EN 16931 breakdown rules: one reason per zero-VAT category, that is the same `vatex` and the same country-block `mention` on every entry of that category (BR-E-01 and the like), category O alone (BR-O-11 to BR-O-14), and no VAT identifier with O (BR-O-02). |
| OBT-RCP-5.5-11 | `rate` shall be absent for O, `"0"` for Z, E, AE, K and G, and not zero for S (EN 16931 BR-*-05 to -07). |
| OBT-RCP-5.5-12 | `vatex` shall be absent for S, Z, L and M, and so shall a country block `mention`. A `vatex` code shall agree with the category: VATEX-EU-AE with AE, VATEX-EU-IC with K, VATEX-EU-G with G, VATEX-EU-O with O, and the article codes (VATEX-EU-79-C, -132, -135, -143, -144, -146, -148, -151, -153, -159, -309 and their points, -D, -F, -I, -J) with E (PEPPOL-EN16931-P0104 to P0111). L and M only with place of supply ES. |
| OBT-RCP-5.5-13 | `vat_category` shall be AE exactly when `liability.who` = `customer`. |
| OBT-RCP-5.5-14 | `below_union_threshold` shall be used only with the rules `electronic_service` and `goods_distance_sale_intra_eu` (Directive Art. 59c), and never with `scheme` = `oss_union` (from 1 January 2027, a registration for the Union scheme counts as the option of Art. 59c(3)). |
| OBT-RCP-5.5-38 | The rule `facilitation_service` shall be used only for a tax point on or after 1 July 2028, the day from which Directive Art. 46a applies (Directive (EU) 2025/516 Art. 3 point (2) and Art. 6(3)), and its entry's `law` shall cite that article (`46a`). The day is read from the receipt's own dates, never from a clock: `document.chargeable_date`, else `supply_date`, else the end of `supply_period`. For an earlier tax point a facilitation service takes the rule that the law then in force gives: `intermediary` when the platform acts "in the name and on behalf of another person" (Art. 46), else the rule of the taxing State's own reading (`general_service` or `electronic_service`); when the engine cannot tell, it asks for the facts and no receipt is made. |
| OBT-RCP-5.5-15 | A `margin_scheme` entry shall have category E and a `vatex` of VATEX-EU-D, -F, -I or -J, and no VAT shown (Arts. 226(13), (14), 325). |
| OBT-RCP-5.5-16 | An `sme` or `sme_cross_border` entry shall have category E and treatment `exempt_no_credit` (Arts. 284 to 292). A document with an `sme_cross_border` decision is not in version 0 (OBT-RCP-4-02). |
| OBT-RCP-5.5-17 | Each entry's `law` shall name at least one article of the governing State's own law, by a national act code from its country annex, written in the form that annex sets. An entry that cites only EU law states no national basis. |
| OBT-RCP-5.5-18 | An entry that charges the VAT of a State other than the governing State (for example a supply declared through `oss_union`) shall also name that State's own article that sets the rate, by a national act code of that State's annex, when that State has an annex. An entry with no VAT (Z, E, AE, K, G, O) needs none: the seller applies no law of that State. |
| OBT-RCP-5.5-19 | `basis.rate` shall be present exactly when `vat_category` is S, L or M: a rate whose tier was read. A zero category takes its zero from the treatment or the liability, not from a tier. With `national_list_item` or `national_provision`, `law` shall cite that provision of the taxing State, in the form that State's annex sets (Portugal: OBT-PT-3-11). |
| OBT-RCP-5.5-36 | With `national_list_item`, `law` shall also cite the provision of the VAT Directive that lets the taxing State reduce the rate of that supply: the point of Annex III that the list item applies (Art. 98(1) and (2)), written `Annex III(` and the point's own number `)` (`Annex III(3)`, `Annex III(10a)`); or, for a supply outside Annex III, the article that allows the rate: `104(4)`, `105a(1)`, `105a(2)`, `105a(3)` or `105b`. Annex III is read as in force at the tax point (since Directive (EU) 2022/542 its points are 1 to 13 and 15 to 29, with 10a, 10b, 10c, 11a and 12a). A checker in any State can then see that the reduced rate rests on a supply the Directive lets a State reduce. |
| OBT-RCP-5.5-37 | A `law` entry may carry `ref`, a legal reference to the same provision (Part 10, clause 7). When present, it shall name its edition, the entry's act (an EU act: the ELI its key gives; a national act: the act key the country annex gives for the act code, OBT-PT Annex A), the entry's article in the written form this Part or the annex sets, `!a-contrario` exactly when `reading` is `a_contrario`, and, where `consolidation` is given, that CELEX number (Part 10 OBT-REF-7-02 to 7-06). These rules read no legal text, so every checker applies them. The issuer shall have found the place in the edition it names (OBT-REF-7-07); a checker without the texts reports that step as not checked. |
| OBT-RCP-5.5-20 | `basis.facts` shall name each kind of fact that the engine inputs hold (the inputs `inputs_commitment` covers, 7-07) and each kind the engine assumed, each kind once, so that a replay of the decision gives the same list. Inputs the engine did not need still count: the list says what the decision was made from, not which fact changed it. A kind whose facts came from several sources takes the weakest, in this order: `assumed`, `seller_stated`, `buyer_stated`, `evidenced`, `checked`. A fact that a `checks` entry or the decision's `location_evidence` establishes takes that source, and the statement of that same fact does not count (version 0: a valid VIES check of the buyer's VAT number establishes that the buyer is a taxable person with that number). This sentence binds the issuer: a checker sees the kinds, not the facts, so it does not refuse a weaker source beside a check, since another fact of the same kind (that the buyer acts as such, for example) may have been only stated. |
| OBT-RCP-5.5-21 | `checked` shall be used only for a kind that a `checks` entry of the receipt backs with a positive result; in version 0 that is `buyer_taxable_status`, backed by `buyer_vat_number` with `number` = `valid`. `evidenced` shall be used only for `buyer_location`, on a decision whose `place_of_supply` has `location_evidence`. |
| OBT-RCP-5.5-22 | A receipt with a decision whose `basis.facts` has an `assumed` entry, or whose `basis.rate` is `assumed_default`, shall have `assurance.treatment` = `provisional` (clause 5.9). A presumption of the law itself (Reg. 282/2011 Arts. 24a and 24b) is `evidenced`, not `assumed`: the law places the customer, so it does not make the promise provisional. |

The members of an entry:

| Member | Presence | Id | Requirement |
| --- | --- | --- | --- |
| `net`, `vat` | M | OBT-RCP-5.5-23 | The entry's amounts. |
| `place_of_supply` | M | OBT-RCP-5.5-24 | `country`; `rule` from the closed list of Annex A.3 (the rule that placed the supply); `region` where the place-of-supply State's rates differ by region (from that State's annex, OBT-RCP-4-04); `below_union_threshold` = true where Directive Art. 59c kept the supply in the seller's State; `location_evidence` (`presumption`: the article used; `kinds` from Annex A.3; `count`) where the place rests on a presumption of Reg. 282/2011 Arts. 24a to 24f; never the evidence values. [PRIV] |
| `scheme` | C | OBT-RCP-5.5-25 | `oss_union`, `oss_non_union` or `ioss` when the VAT is declared through that scheme; `margin_scheme` (Arts. 306 to 343); `sme` or `sme_cross_border` (Art. 284(1), (2); `sme_cross_border` is not in version 0: OBT-RCP-4-02). |
| `treatment` | M | OBT-RCP-5.5-26 | `taxable`, `exempt_no_credit`, `zero_rated_credit` or `out_of_scope`. The split between the two exempt words is the supplier's right of deduction (Art. 169): `zero_rated_credit` for an exemption with deduction (Arts. 98(2), 105a, 138 to 153, 169(b)), `exempt_no_credit` for one without (Arts. 132, 135, 136, 284). An exemption under Art. 135(1) that the supplier opted to tax (Art. 137) is `taxable`. The reverse charge is not a treatment: it is `liability`. An engine that cannot name the exempting provision shall not have a receipt made (Art. 226(11)). |
| `liability` | M | OBT-RCP-5.5-27 | `who`: `supplier`, `customer` (with `basis`: `art_194`, `art_195`, `art_196`, `art_197`, `art_198`, `art_199`, `art_199a`, `art_199b` or `art_395`) or `none` (an export, Art. 146; the supplier's side of an intra-Community supply, Art. 138). |
| `conditions` | C | OBT-RCP-5.5-28 | `proof_of_exit_pending` or `proof_of_transport_pending`, when the treatment depends on proof that comes after issue. |
| `rate` | C | OBT-RCP-5.5-29 | Clause 5.5-11. The rate in force at the tax point. |
| `vat_category` | M | OBT-RCP-5.5-30 | UNCL 5305 (BT-118): S, Z, E, AE, K, G, O, L or M. |
| `vatex` | C | OBT-RCP-5.5-31 | Clause 5.5-07 and 5.5-12 (BT-121). |
| `law` | M | OBT-RCP-5.5-32 | One to eight entries, each `act` and `article`. An EU act by its ELI naming the act as a whole (`http://data.europa.eu/eli/dir/2006/112/oj`), never an article-level `/oj` address; the article as in force at the tax point. The governing State's own article shall be given too (OBT-RCP-5.5-17), by a national act code from the country annex, with `reading` = `a_contrario` when the article applies by its contrary (for example a rule that taxes a supply at home, read to place it abroad). An Art. 395 measure is cited by its implementing decision's ELI (`dec_impl`). `consolidation` may name the consolidated version the issuer read, by its CELEX number (for example `02006L0112-20250414`), which resolves at `http://publications.europa.eu/resource/celex/<number>`; a consolidated-version ELI (`.../2006/112/<date>`) is not used, because it redirects for any date and so proves nothing. Arts. 110 and 111 no longer exist (Directive 2022/542 Art. 1(16)); a zero rate is cited under Art. 98(2) or 105a. An entry may also carry `ref`, the same provision as a legal reference (Part 10; OBT-RCP-5.5-37), for example `eu:dir.2006.112@2025-04-14/art_44` beside `{ act: <the Directive's ELI>, article: "44" }`. |
| `basis` | M | OBT-RCP-5.5-33 | What the decision was made from (decision F10, 28 November 2026). `rate`: where the rate's tier came from, from the list of Annex A.3 (OBT-RCP-5.5-19). `facts`: one entry for each kind of fact in the engine inputs or assumed by the engine (OBT-RCP-5.5-20), `kind` from the list of Annex A.3, with its `source`: `checked` (a `checks` entry backs it), `evidenced` (the law's own evidence rules establish it, recorded in `location_evidence`), `seller_stated`, `buyer_stated`, or `assumed` (the engine filled it with a default where no source gave it). The kinds follow the categories of the VAT Directive and Regulation (EU) No 282/2011, so that every engine maps its own facts onto the same list. The facts' values never appear: the engine inputs that `inputs_commitment` covers hold them (7-07). [PRIV] |
| `engine` | M | OBT-RCP-5.5-34 | `id` (the engine's identifier), `version`, `data` (the engine's full data version), `decision_id` (at least 128 random bits; never the engine's verdict key), `inputs_commitment` (`hmac-sha256:` + base64url of an HMAC-SHA-256 over the engine's inputs, under a key of at least 128 random bits that the issuer keeps for a replay). A plain hash of the inputs shall not be used. [PRIV] |
| country block | C | OBT-RCP-5.5-35 | The governing State's codes for the entry, as its annex defines. |

A supply that the Directive deems, or regards as another supply, keeps the rule and the treatment of the supply it
is. Its `law` cites the provision that makes it so, beside the articles of the supply itself:

| The supply | `law` cites |
| --- | --- |
| The supply to the customer under call-off stock arrangements: an intra-Community supply | `17a(3)`, with `138(1)` |
| A transfer of a single-purpose voucher: the supply of the goods or services the voucher relates to | `30b(1)` |
| The supply that a supplier who did not issue a single-purpose voucher is deemed to make to its issuer | `30b(1)` |
| Goods or services handed over for a multi-purpose voucher | `30b(2)`, and `73a` for the taxable amount |

### 5.6 `withholding`

Conditional: required when the governing State's annex defines a withholding the buyer applies to this kind of document
and seller; otherwise absent, or present with `applies` false (4-05).

| Member | Presence | Id | Requirement |
| --- | --- | --- | --- |
| `applies` | M | OBT-RCP-5.6-01 | Whether the buyer withholds income tax, as known at issue. |
| `known_at` | M | OBT-RCP-5.6-02 | `issue`. The law may decide at payment; a payer re-checks then. |
| `rate`, `base`, `amount`, `by` | C | OBT-RCP-5.6-03 | Required when `applies` is true; `by` = `customer`. Absent otherwise. |
| country block | C | OBT-RCP-5.6-04 | The legal basis, and a waiver's code, as the annex defines. |

### 5.7 `checks`

#### 5.7.1 Members

| Member | Presence | Id | Requirement |
| --- | --- | --- | --- |
| `what` | M | OBT-RCP-5.7-11 | `buyer_vat_number`, `buyer_withholds` or `app_may_issue`. Reserved for later versions: `agent_mandate`, `buyer_acknowledged_correction`. |
| `source` | M | OBT-RCP-5.7-12 | `VIES` or `HMRC` for `buyer_vat_number`; `ISSUER` (the issuer's own records) for the others. |
| `result` | M | OBT-RCP-5.7-13 | For `buyer_vat_number`: `number` (`valid`, `invalid`, `unavailable`) and, unless `unavailable`, `name_address` (`confirmed`, `not_confirmed`, `not_returned`). For `app_may_issue`: `valid` or `invalid`. For `buyer_withholds`: `withholds`, `does_not_withhold` or `unavailable`. |
| `time` | M | OBT-RCP-5.7-14 | When the check was made. |
| `by` | M | OBT-RCP-5.7-15 | The `iss_reg_id` of whoever made the check. In version 0: the issuer (OBT-RCP-5.7-05). |
| `proof_digest` | O | OBT-RCP-5.7-16 | `blinded-sha256:` + base64url(SHA-256(blinding ‖ SHA-256(stored proof))), the blinding at least 128 random bits kept by the issuer. A plain hash of the proof shall not be used. [PRIV] |
| `provenance` | O | OBT-RCP-5.7-17 | Clause 5.7.3. |
| `reference` | O | OBT-RCP-5.7-18 | The register's own consultation number for this check (VIES), when the register returned one. |

#### 5.7.2 Rules

| Id | Requirement |
| --- | --- |
| OBT-RCP-5.7-01 | A receipt shall list every check the decisions rest on. |
| OBT-RCP-5.7-02 | A replacement receipt shall copy every check with its `time` unchanged. |
| OBT-RCP-5.7-03 | When a register did not answer, the check shall say `unavailable`, and `buyer.business_proof` shall say what the decision rested on instead. |
| OBT-RCP-5.7-04 | A checker shall judge a mandate or a permission at its check's `time`, never at `iat`. |
| OBT-RCP-5.7-05 | In version 0, `by` shall name the issuer: its `iss_reg_id`, or, when that is absent, its certificate's organizationIdentifier. |

#### 5.7.3 `provenance`: attested checks

| Id | Requirement |
| --- | --- |
| OBT-RCP-5.7-06 | `provenance.kind` shall be `stated` (the answer is the issuer's word, with its kept evidence) or `tee_attested` (a trusted execution environment signed the register's answer). |
| OBT-RCP-5.7-07 | A `tee_attested` provenance shall give `tee` (`aws-nitro`, `intel-tdx` or `amd-sev-snp`), `measurement` (the code's measurement, lower-case hex), `code` (`repository` and `commit` of public source code that builds reproducibly to that measurement), `measurements_url` (where the issuer publishes every measurement it ran, with dates) and `attestation_url` (where the signed attestation document is fetched). |
| OBT-RCP-5.7-08 | `tee_attested` shall be used only when the environment reached the register over TLS that ends inside it. A call that fell back to a direct call shall be `stated`. |
| OBT-RCP-5.7-09 | When the signed attestation commits to a party's identifier other than through a salted commitment with a per-check salt, `provenance` shall be selectively disclosable and shall be disclosed only with that party's `tax_id`. Otherwise it may be shown. [PRIV] |
| OBT-RCP-5.7-10 | A checker that verifies a `tee_attested` provenance shall check the attestation's signature chain to the TEE vendor's root, the measurement against the published list, and the commitment against the disclosed values. A checker that does not verify it shall treat the check as `stated`. |

### 5.8 `report`

Conditional: present when the document was reported to a tax authority before the receipt was made. It is a list, one
entry for each report: from 1 July 2030 an intra-EU supply is also reported under the EU digital reporting, beside the
national report. The country annex states whether a receipt shall wait for an answer.

| Member | Id | Requirement |
| --- | --- | --- |
| `to` | OBT-RCP-5.8-01 | The authority, by a code from the country annex (for example `PT-AT`). |
| `by` | OBT-RCP-5.8-02 | `issuer`. |
| `result` | OBT-RCP-5.8-03 | `accepted`: the authority received the communication and its checks passed. It does not mean the authority agrees with the VAT. |
| `time` | OBT-RCP-5.8-04 | When it answered. |
| `report` | OBT-RCP-5.8-05 | A list of one to four entries. A version 0 issuer writes one: the governing State's own regime. |
| `regime` | OBT-RCP-5.8-06 | The reporting regime: `EU-DRR`, the EU digital reporting at issue (Directive Arts. 262 and 263 as Directive (EU) 2025/516 Art. 5 sets them), or a regime the governing State's annex lists (Portugal: Part 7, OBT-PT-1-03). |
| `EU-DRR` | OBT-RCP-5.8-07 | Only for a document issued on or after 1 July 2030 (Directive (EU) 2025/516 Art. 6(5): "They shall apply those measures from 1 July 2030."). |
| entries | OBT-RCP-5.8-08 | No two entries have the same `to` and `regime`. |

### 5.9 `assurance`

| Member | Id | Requirement |
| --- | --- | --- |
| `treatment` | OBT-RCP-5.9-04 | `correct`: the issuer states that the treatment of every decision is right under the law in force at the tax point, for the facts the receipt states. `provisional`: at least one decision rests on a rate or a rule its engine marks as provisional, or on a fact or a rate the engine presumed (OBT-RCP-5.5-22); the issuer then states the decision and its basis only. With `conditions`: right if the condition is met. |
| `terms`, `terms#integrity` | OBT-RCP-5.9-05 | The issuer's terms for a receipt that turns out wrong, frozen and pinned by their integrity value. |

| Id | Requirement |
| --- | --- |
| OBT-RCP-5.9-01 | When `buyer.business_proof` is `customer_word`, `assurance.treatment` shall be `provisional`: no point of Reg. 282/2011 Art. 18(1) backs a supplier who holds only the customer's word. |
| OBT-RCP-5.9-03 | A mention in a country block is a copy for comparison, never the mention the law requires: the document carries that. Booking from a receipt is not deducting: a deduction needs the invoice (Directive Art. 178(a)); the type metadata says so. |
| OBT-RCP-5.9-02 | `correct` does not bind a tax authority. A place of supply that rests on a presumption stays open to the authority's rebuttal (Reg. 282/2011 Arts. 24d(2), 45a(2)); the type metadata says so. |

The type metadata file shall state the promise and its limits in words a third party can read (eIDAS Art. 13(2)).

### 5.10 Country blocks

| Id | Requirement |
| --- | --- |
| OBT-RCP-5.10-01 | A country block shall appear only at the top level, in a decision or in `withholding`, and only for a country with an annex. This binds the issuer: a checker that meets a block of a country whose annex it does not hold follows 5.10-02. |
| OBT-RCP-5.10-02 | Its members shall follow that annex's block rules (the members the annex lists and their values). A checker that does not know the annex shall show the block's values as data, shall never act on them, and shall not refuse the receipt for them. [SEC] |
| OBT-RCP-5.10-03 | A country's code lists that change (for example a tax authority's exemption codes) shall be versioned lists named by address and integrity value in the annex, never copied into the type metadata. |

## 6 Encoding

### 6.1 Format

| Id | Requirement |
| --- | --- |
| OBT-RCP-6.1-01 | A receipt shall be an SD-JWT VC [3] in the compact form of RFC 9901 [2]: the issuer-signed JWT, then each disclosure, each followed by `~`. It carries no key binding JWT. |
| OBT-RCP-6.1-02 | The JWT header shall have `typ` = `dc+sd-jwt`, `alg` = `ES256`, and `x5c` with the seal certificate first, then each intermediate certificate, never the root ([5] clause 6.1.1). |
| OBT-RCP-6.1-03 | Served by itself, a receipt's media type is `application/dc+sd-jwt`. |
| OBT-RCP-6.1-04 | The JWT header shall carry `iat`, equal to the claims' `iat`, so the signature is a JAdES baseline B-B signature ([13]; [1] EAA-4.6.1-02, "where the syntax makes it possible"). |
| OBT-RCP-6.1-05 | `alg` is fixed for a receipt type (`vct`): only a new type changes it, for example to a post-quantum algorithm. A receipt already issued stays checkable through its time-stamp chain (7-10). |

### 6.2 Deltas against the drafts ETSI TS 119 472-1 cites

TS 119 472-1 V1.2.1 cites SD-JWT draft 22, SD-JWT VC draft 13 and Token Status List draft 13, and says only the cited
version applies. For an attestation issued to a wallet, CIR (EU) 2026/1731 [15] makes those clauses law with
adaptations: Token Status List draft 20 replaces draft 13, and ETSI's own status members (EAA-5.2.10.1-04, -05, -07 to
-12) are void, leaving "The status member may contain the status_list member as specified in clause 6.2 of IETF
draft-ietf-oauth-status-list-20" (EAA-5.2.10.1-06). SD-JWT VC stays at draft 13. HAIP 1.0 pins SD-JWT VC draft 13 and
Token Status List draft 14.

| Id | Requirement |
| --- | --- |
| OBT-RCP-6.2-01 | A receipt shall meet clauses 2 to 6 of ETSI TS 119 472-1 V1.2.1 as CIR (EU) 2026/1731 adapts them, and shall be valid under SD-JWT VC drafts 13 and 27, Token Status List drafts 14, 20 and 21, and SD-JWT draft 22 and RFC 9901. |
| OBT-RCP-6.2-02 | To that end: `status` carries `status_list` only (clause 9.1); `iss` is present only when the certificate binds it (clause 5.2-01), because under draft 13 an HTTPS `iss` can send a checker to `/.well-known/jwt-vc-issuer`; no member that only draft 27 defines (such as `aka_vcts`) is used; status value 0x0B is never used (application-specific in draft 13, reserved from draft 14). `typ` = `dc+sd-jwt` is the same in both SD-JWT VC drafts. |

### 6.3 Selective disclosure

| Id | Requirement |
| --- | --- |
| OBT-RCP-6.3-01 | `seller.tax_id` and `buyer.tax_id` shall always be selectively disclosable. `checks[].provenance` shall be when clause 5.7-09 says so. No other member shall be. |
| OBT-RCP-6.3-02 | Each disclosure's salt shall carry at least 128 bits from a cryptographically secure random source. |
| OBT-RCP-6.3-03 | Each object holding a disclosable member shall carry at least two decoy digests, so a reader cannot count the hidden members. |
| OBT-RCP-6.3-04 | The issuer shall give the seller and the buyer the receipt with every disclosure. |

### 6.4 Type metadata

The type metadata file has the members SD-JWT VC draft 27 clause 5 defines: `vct`, `name`, `description`, `extends`
with `extends#integrity`, `display` and `claims` (each with `path`, `display`, `mandatory`, `sd`, `svg_id`). Other
members are allowed and ignored by a checker that does not understand them. Draft 27 has no JSON Schema in type
metadata (removed in draft 12), so the OBT file names its schema by an extension member, `obt_schema` with
`obt_schema#integrity`. Its `claims` shall say `sd` = `always` for `seller.tax_id` and `buyer.tax_id`, `allowed` for
`checks[].provenance`, and `never` for every other member, matching what the issuer does. Only an OBT checker enforces
the patterns and lengths of Annex A.1. The file shall state at least: the members and which are disclosable; the promise
of clause 5.9 and its limits; that the invoice stays the legal document; that after `exp` the receipt cannot be checked;
that a status value a checker does not know means "do not rely"; the meaning of status values 0x03 and 0x0C; the
end-of-life rule of clause 9.6; that keys are found through `x5c` only. Each `display` entry and each claim's `display`
carries `locale`, which drafts 13 and 27 both require. A claim whose every ancestor is required is `mandatory`.

## 7 Issuance

| Id | Requirement |
| --- | --- |
| OBT-RCP-7-01 | The issuer shall make the receipt only after the document is final: numbered, signed where the governing State requires, and, where the country annex says so, accepted by the tax authority. |
| OBT-RCP-7-02 | The issuer shall mint the receipt's address before the document is final, print it on the document, and hash the document only after that (no circle). |
| OBT-RCP-7-03 | The issuer shall make no receipt for a document issued before it started to make receipts, and no receipt from stored data with today's check times. |
| OBT-RCP-7-04 | The issuer shall obtain, for each receipt, an RFC 3161 [6] time stamp over the SHA-256 of the ASCII of the issuer-signed JWT, from a qualified trust service provider (eIDAS Art. 42), and serve it at `<address>/timestamp` as `application/timestamp-reply`: the standing receipt's, or with `?for=<the lowercase hex of that SHA-256>` the stamp of that receipt of the address (a replaced one too), and 404 when no receipt of the address has it. A checker that fetches the stamp shall ask with `for`, so a replacement issued between its two reads is never paired with the receipt it holds. |
| OBT-RCP-7-05 | At `address`, the issuer shall serve the receipt to a request that accepts `application/dc+sd-jwt`, and otherwise a page that shows the receipt only: no payment, delivery or other document fact. The receipt it serves carries no disclosure (the issuer-signed JWT followed by `~`), so the tax ids stay hidden, and the page says so. The seller and the buyer get the receipt with every disclosure from the issuer (6.3-04). The issuer shall rate-limit requests. |
| OBT-RCP-7-06 | Each receipt shall get a fresh status index (clause 9.4). |
| OBT-RCP-7-07 | The issuer shall keep, for as long as it keeps the receipt's status, what a replay needs: the engine inputs, the HMAC key of `inputs_commitment`, the blindings of `proof_digest`. Erasure of these ends the replay, not the receipt. [PRIV] |
| OBT-RCP-7-08 | An issuer shall let a holder who uses a European Digital Identity Wallet request and obtain its receipt in that wallet (eIDAS Art. 45g(1): "Providers of electronic attestations of attributes shall provide European Digital Identity Wallet users with the possibility to request, obtain, store and manage the electronic attestation of attributes"), through OpenID4VCI as ETSI TS 119 472-3 profiles it. The receipt's own format serves: since CIR (EU) 2026/1731 [15], wallets support SD-JWT VC (TS 119 472-1 clause 5) and ISO/IEC mdoc (clause 6), and an attestation issued to a wallet shall meet one of them. |
| OBT-RCP-7-09 | The issuer shall keep the personal data of its receipt service logically separate from its other data, and shall not combine it with personal data from its other services or its partners' (eIDAS Art. 45h(1), (2)). [PRIV] |
| OBT-RCP-7-10 | A receipt lives until `exp`, and the time-stamping unit's certificate or its algorithm can end sooner. Before the certificate of the unit that signed a receipt's latest time stamp expires, and before its algorithm stops being fit for use, the issuer shall obtain an archive time stamp (as the JAdES B-LTA level does [13]): an RFC 3161 [6] time stamp from a qualified trust service provider over the SHA-256 of the ASCII of the issuer-signed JWT followed by the DER bytes of each earlier time stamp of that receipt, in order. It serves the n-th one at `<address>/timestamp?for=<hex>&renewal=<n>` (n from 1; 404 after the last). A checker validates each time stamp's chain at the time of the next one, and the last one's chain at the current time. |

## 8 Presentation and checking

### 8.1 Presentation

A holder shows a receipt in any channel (an e-mail attachment, an API answer, an MCP tool result, an A2A artifact, by
its address in an e-invoice). A holder may drop disclosures before it shows the receipt. Inside an EN 16931 e-invoice
the receipt travels only by reference: an additional supporting document (BG-24) with BT-122 = the last path segment of
`document.address` and BT-124 = `document.address`. It shall never be embedded: `application/dc+sd-jwt` is not one of
the MIME types BT-125 allows (EN 16931 BR-CL-24; PEPPOL-EN16931-CL001).

### 8.2 The check

A checker shall take these steps, and shall rely on the receipt only when all pass:

1. Parse the compact form. Refuse a key binding JWT.
2. Check the header: `typ`, `alg`, `x5c` (clause 6.1). Build the chain from `x5c` to a trust anchor on the OBT issuer
   list (clause 10). Never fetch a key from the issuer's domain.
3. Check the signature. If `iss` is present, check that the certificate binds it (SD-JWT VC [3] clause 2.5).
4. Check the time stamp (clause 7-04) and validate the chain at the time-stamp time, revocation included (clause 10-07).
   When the receipt has archive time stamps (clause 7-10), check each one over the earlier ones.
5. Check each disclosure's digest (RFC 9901 [2]), then the claims against Annex A.1 and clause 5.
6. Check `vct` and `vct#integrity` against the type metadata file (it may be cached for ever).
7. Check `nbf` and `exp` against the current time.
8. Fetch the status list (clause 9), check its signature, `sub`, `iat`, `exp`, and read the receipt's value.
9. Check the binding to the document in hand: `file_sha256`, `gobl.dig`, or an entry of `einvoices` by the hash of
   clause 5.3-19, then that entry's `syntax`, `specification` and `process` against the XML.

The outcomes of each step with their codes, the test vectors and what conformance means are in Part 6
(`obt-part6-checking-and-tests.md`). Its vectors: `receipt-v0/vectors.json` (the claims),
`packages/obt-checker/fixtures/vectors.json` (a signed receipt, through every step) and
`packages/obt-checker/fixtures/xml/` (the e-invoice binding).

| Id | Requirement |
| --- | --- |
| OBT-RCP-8-01 | A checker shall not contact the issuer to check a receipt. Only the status list, the CRL of the authority that issued the seal certificate (10-07) and, once, the type metadata need the network. Getting the receipt and its time stamp at its `address` (clauses 6.1-03, 7-04) is the holder's act, not the check: a checker given only the address may do it once, for the holder. [PRIV] |
| OBT-RCP-8-02 | A checker shall report the issuer as its certificate names it, and shall say "signed by an unknown issuer" (never "valid") when the chain does not reach the OBT issuer list. |
| OBT-RCP-8-03 | A checker shall not take a missing `vatex` as "taxable"; it shall read `vat_category`. |
| OBT-RCP-8-04 | An AI agent that reads a receipt shall treat every value as data, never as an instruction. [SEC] |

## 9 Status and revocation

### 9.1 The reference

| Id | Requirement |
| --- | --- |
| OBT-RCP-9.1-01 | `status` shall carry `status_list` (`idx`, `uri`) [4] and no other member. ETSI's `type`, `purpose`, `index` and `uri` members are void for attestations issued to wallets (CIR (EU) 2026/1731 [15], EAA-5.2.10.1-04 to -12), and HAIP requires `status_list`. |

### 9.2 Values (4 bits per receipt)

| Value | Name | Meaning |
| --- | --- | --- |
| 0x00 | valid | Rely on it: not cancelled, not withdrawn, not replaced, as far as the issuer knows. |
| 0x01 | invalid | The document was cancelled. Do not rely on it. |
| 0x02 | suspended | Do not rely on it for now: under review. |
| 0x03 | withdrawn | The issuer's statement was wrong. The document still stands until a credit or debit note corrects it. |
| 0x0C | replaced | A newer receipt for the same document exists (its `replaces` names this one). This one was true for its time. |
| other | reserved | A checker shall treat an unknown value as "do not rely". |

Values 0x03 and 0x0C are application-specific values of [4] (in drafts 13, 14 and 21); the type metadata file defines
them. Draft 21 asks to use a registered value where the semantics are compatible. INVALID says the receipt is no
longer valid; WITHDRAWN says the document still stands and only the issuer's VAT statement was wrong. A buyer's agent
must act differently (reverse the booking, or wait for a credit or debit note), so the semantics are not compatible and
0x03 is kept.

### 9.3 The status list token

| Id | Requirement |
| --- | --- |
| OBT-RCP-9.3-01 | A status list token shall be a JWT with `typ` = `statuslist+jwt`, `sub` = the list's URI, `iat`, `exp`, `ttl` and `status_list` (`bits` = 4, `lst`) [4]. |
| OBT-RCP-9.3-02 | `exp` shall be at most two hours after `iat`; `ttl` should be one hour. A checker shall refuse an expired list. [SEC] |
| OBT-RCP-9.3-03 | It shall be signed by the issuer's seal key, with `x5c` in its header as a receipt has (clause 6.1), or by the OBT standby key under clause 9.6. |

### 9.4 Indexes

| Id | Requirement |
| --- | --- |
| OBT-RCP-9.4-01 | An index shall be chosen uniformly at random among the unused indexes of a list, never in sequence ([5] clause 6.1). |
| OBT-RCP-9.4-02 | A list shall be sized and padded with decoy entries so that its size and its set entries reveal the issuer's volume only roughly. [PRIV] |

### 9.5 Hosting

| Id | Requirement |
| --- | --- |
| OBT-RCP-9.5-01 | An issuer's lists should live at `https://openbusinesstrust.eu/status/<issuer>/...`. An issuer may host them on its own domain. |
| OBT-RCP-9.5-02 | The OBT host shall accept an upload to an issuer's folder, with no password, when the token is signed by a key registered for that folder, its `sub` equals the URI it is uploaded to, its `iat` is newer than the copy it replaces, and its `exp` is in the future. It shall never change a token. |

### 9.6 When an issuer stops

| Id | Requirement |
| --- | --- |
| OBT-RCP-9.6-01 | An issuer shall authorise the OBT standby key in advance, by a certificate it signs. The OBT host shall use it only when the issuer has stopped, and then only to sign fresh copies of the issuer's lists with their last values. |
| OBT-RCP-9.6-02 | After the last list, a checker shall treat a receipt as "valid as of the last list", and say so. |
| OBT-RCP-9.6-03 | Token Status List clause 10 lets the certification authority, not an issuer's end-entity certificate, delegate status signing. So a generic checker may refuse a list the standby key signed; it then fails closed (it cannot read the status, so it does not rely). An OBT checker accepts it by the issuer's delegation certificate. |

### 9.7 Events

| Event | Status | Also |
| --- | --- | --- |
| The document is cancelled | invalid | - |
| A credit or debit note corrects it | stays valid | The note gets its own receipt, with `preceding` |
| The document is cancelled for a formal error and issued again | invalid | The new document's receipt names the old one in `preceding` |
| The bound file is stored again (allowed by the country annex) | replaced | A new receipt with the new hash, `replaces`, a fresh index, the checks copied |
| The issuer finds its decision wrong | suspended, then withdrawn | The seller corrects the document by a credit or debit note |
| The invoice is paid, sold or financed | no change | These are not on the list |
| The seller leaves the issuer | no change | The status meaning freezes at that day; the type metadata says so |
| The seal key leaks | no change on the list | The certificate is revoked; live receipts are made again with a new key (`replaces`) |

## 10 Trust anchors

| Id | Requirement |
| --- | --- |
| OBT-RCP-10-01 | A checker shall find the issuer's key only in `x5c`. OBT does not use `/.well-known/jwt-vc-issuer` for receipts. [SEC] |
| OBT-RCP-10-02 | A checker shall accept a chain only to a certification authority the OBT issuer list names for receipts, and only for an issuer the entry names (10-06). In version 0 the list is `issuers.json` on the OBT host: for each entry its name, its certification authority's certificate (DER, in base64), the credentials it is listed for, and the `organizationIdentifier` of each issuer it vouches for. Part 5 gives the list the form of ETSI TS 119 602 [i.4]. |
| OBT-RCP-10-03 | The seal certificate should bind the issuer's HTTPS origin by a subject alternative name of type URI. If it does not, the receipt shall omit `iss` (clause 5.2-01). |
| OBT-RCP-10-04 | A checker shall validate the chain at the time-stamp time (clause 7-04), and, when the receipt has archive time stamps, each time stamp's chain at the time of the next (clause 7-10). A generic checker that validates it at the current time will refuse a receipt once its certificate has expired; the type metadata says so. |
| OBT-RCP-10-05 | A test receipt, signed under a test certification authority, is not a receipt: HAIP forbids self-signed certificates and a checker shall refuse it. |
| OBT-RCP-10-06 | An entry of the OBT issuer list shall name, with its certification authority, the `organizationIdentifier` of each issuer it lists. A checker shall report a chain to a listed authority whose seal certificate names another identifier, or none, as "signed by an unknown issuer" (8-02). A qualified seal often comes from a public certification authority that seals for many companies: the authority alone vouches for no one. [SEC] |
| OBT-RCP-10-07 | A checker shall check that no certificate of the chain below the trust anchor was revoked at the time the chain is validated (10-04): by a CRL (RFC 5280 [7] clause 5) of the authority that issued it, signed by that authority with a key allowed to sign CRLs, with no critical extension the checker does not apply, issued by the current time, and issued at or after the time checked, or current at it. A holder may pass such CRLs along; otherwise the checker reads the certificate's CRL distribution point. Of the CRLs that count, the newest decides. A certificate the CRL lists from a time at or before the time checked is revoked, the invalidity date of a key compromise counting when it is earlier (RFC 5280 clause 5.3.2): the receipt is not valid. A seal revoked after a valid time stamp leaves the receipt valid. When no CRL counts, the checker shall report the check as not made, never as passed. [SEC] |

### 10.4 The qualified profile (not version 0)

A qualified receipt is a new profile and a new `vct`: the header carries `x5u` and `x5t#S256` (QEAA-5.6.2-02/-03), the
claims add `category` = `urn:etsi:esi:eaa:eu:qualified` (QEAA-5.2.2.2), and the signature is a qualified seal from a
qualified seal creation device (QEAA-5.6.2-01), and its status shall say only revoked or not revoked, a revocation being permanent (EAA-4.2.11.1-06 and -06.1
as CIR (EU) 2026/1731 adapts them): the 4-bit values of clause 9.2 are for the non-qualified receipt.

## 11 Security considerations [SEC]

| Threat | Counter |
| --- | --- |
| A fake issuer signs a receipt | Clause 10-02 and 8-02 |
| Another customer of a listed certification authority signs a receipt | Clause 10-06 |
| A lapsed issuer domain publishes keys | Clause 10-01 |
| A real receipt shown with another document | Clause 8.2 step 9 |
| A receipt of a cancelled document | Clause 9 |
| A forged or replayed status list | Signed by the issuer (9.3-03), the host cannot change it (9.5-02), short `exp` (9.3-02) |
| A forged receipt after a key leak | Revocation and the time stamp (10-07), never the status list: an unused index reads "valid" ([4] clause 13.3) |
| Guessed receipt addresses | 128 random bits, a rate limit (5.3-13, 7-05) |
| Words in a receipt that instruct an AI agent | No free text; closed lists; patterns; undefined members refused; country block values shown as data (5.1-02, 5.1-05, 5.1-08, 5.10-02, 8-04) |
| Look-alike characters in a document number | ASCII only (5.3-02) |
| A wrong decision spreads to many buyers | `suspended` reaches every checker at its next status fetch (9.3-02) |
| A second issuer makes a receipt for the same document | Both stand, each for its own statement; the type metadata says so |

## 12 Privacy considerations [PRIV]

- Tax ids are hidden by default (6.3-01), with decoys (6.3-03). A sole trader is a natural person.
- No names, addresses or line descriptions (5.4).
- Inputs and proofs appear only as salted commitments (5.5 `engine`, 5.7.1 `proof_digest`): a plain hash of a
  predictable value would let a reader confirm a guessed buyer.
- An attestation that commits to an identifier in a guessable way stays hidden with that identifier (5.7-09).
- The issuer is never asked about one receipt (8-01): a checker downloads a whole status list. An issuer that hosts its
  own list (9.5-01) sees that the list was fetched, and from where, but not which receipt was checked; a list on the
  OBT host hides even that.
- A receipt is linkable to its seller: the series in `number`, `made_by` and the country block codes are stable per
  seller. It claims no more privacy than that.
- Erasure ends the replay (7-07); a receipt and its status stay until `exp`, on the issuer's own basis for keeping what
  it signed.

## Annex A (normative): schema, type metadata and code lists

**A.1** The JSON Schema (draft 2020-12): `receipt-v0/receipt-v0.schema.json`. Its patterns are ECMA-262 regular
expressions (JSON Schema draft 2020-12 clause 6.4). Rules a schema cannot state are in clause 5 and the country
annexes; `receipt-v0/check.mjs` is one implementation of them, not their statement.

**A.2** The type metadata file: clause 6.4. `receipt-v0/type-metadata.json`, written by `receipt-v0/type-metadata.mjs`
from the schema (every member, its path and whether every receipt has it), the country annexes (the country block
members) and clause 6.3-01 (`sd`); its statements are in `obt_statements`. Never edited by hand: a change runs the script,
and the example's `vct#integrity` follows.

**A.3** The closed code lists (also in the schema):

| List | Values |
| --- | --- |
| `document.type` | 380, 381, 383, 386 |
| `place_of_supply.rule` | ancillary_transport, cultural_activity, deemed_supplier, electronic_service, energy_via_network, event_admission_physical, event_virtual, facilitation_service, general_service, goods, goods_chain_transport, goods_distance_sale_imported, goods_distance_sale_intra_eu, goods_installed, goods_on_board, goods_transport, goods_transport_intra_eu, immovable_property, immovable_property_transfer, intermediary, listed_service_non_eu_consumer, passenger_transport, restaurant_catering, restaurant_catering_on_board, transport_hire, travel_agent_margin, use_and_enjoyment, work_on_movable_property. Each name pairs with the Directive articles its decision's `law` cites; a name such as `goods` (Art. 31 or 32), `energy_via_network` (Art. 38 or 39), `transport_hire` (Art. 56(1) or (2)) or `event_virtual` (Art. 44 or 54(1)) is made exact by that citation. `electronic_service` covers telecommunications, broadcasting and electronically supplied services (Art. 58). `facilitation_service` (Art. 46a) is for a tax point from 1 July 2028 (OBT-RCP-5.5-38) |
| `location_evidence.presumption` | art_24a, art_24b_a, art_24b_b, art_24b_c, art_24b_d (Reg. 282/2011) |
| `location_evidence.kinds` | billing_address, ip_geolocation, bank_location, mobile_country_code, fixed_line_location, other_commercial (Reg. 282/2011 Art. 24f points (a) to (f)), decoder_or_viewing_card (Art. 24b(c)) |
| `buyer.business_proof` | vies_confirmed, vies_number_valid, other_proof, non_eu_tax_certificate, non_eu_tax_number, customer_word |
| `treatment` | taxable, exempt_no_credit, zero_rated_credit, out_of_scope |
| `liability.who` / `basis` | supplier, customer, none / art_194, art_195, art_196, art_197, art_198, art_199, art_199a, art_199b, art_395. Arts. 199a and 199b apply "Until 31 December 2026" (as amended by Directive 2022/890); a later tax point needs an extension in force |
| `scheme` | oss_union, oss_non_union, ioss, margin_scheme, sme, sme_cross_border |
| `basis.rate` | national_list_item (an item of the taxing State's list of reduced rates, Directive Art. 98 and Annex III as that State transposed them, cited in `law` with the Directive point it applies, OBT-RCP-5.5-36), national_provision (another provision of the taxing State's law that sets the rate, cited in `law`), official_product_code (the rate the taxing State publishes for the product's code in an official nomenclature: CN, CPA), engine_product_code (the engine's own product classification, which its maintainer maps to the State's rates), standard_default (the standard rate: no other rate was claimed), seller_stated_tier (a tier other than the standard one that the seller chose, and that nothing the engine holds places the supply in), standard_residual (the standard rate, because a reduced treatment was claimed and not established), assumed_default (a stand-in where no source gave a rate) |
| `basis.facts[].kind` | seller_establishment (where the seller is established, or has the fixed establishment that supplies: Directive Arts. 44, 45, 192a; Reg. 282/2011 Arts. 10, 11, 53), seller_registration (what the seller holds or filed with a tax authority: its VAT registration, a special scheme (OSS, IOSS), the small-enterprise scheme, a threshold it passed, an option to tax or a waiver of an exemption: Directive Arts. 137, 214, 281 to 294 and Title XII Chapter 6; Reg. 282/2011 Art. 24b), seller_qualification (the kind of supplier the law ties a treatment to: a licence, a recognition, a profession, its registered activity (NACE or its national version), its legal form: Directive Arts. 132 and 199), buyer_taxable_status (whether the buyer is a taxable person acting as such, and its VAT identification: Directive Arts. 44 and 196; Reg. 282/2011 Arts. 17 to 19), buyer_qualification (any other fact about the buyer the law ties a treatment to: its legal form, its right to deduct, that it resells, a public body, a class of beneficiary), buyer_location (where the buyer is established, has its permanent address or usually resides, or uses the supply: Reg. 282/2011 Arts. 12, 13 and 20 to 24f; Directive Art. 59a), supply_location (where the goods are, go or are installed; where the property lies; where the service, the event or the journey takes place: Directive Arts. 31 to 36 and 47 to 57; Reg. 282/2011 Arts. 13b and 31a), supply_nature (what the supply is: goods or a service, its category under the place-of-supply rules, its item of a national list, its product code, an exemption or a domestic reverse charge it falls under: Directive Arts. 14 to 30, 44 to 59a, 98, 132 to 136 and 199; Reg. 282/2011 Arts. 6a to 9a), supply_condition (a condition the law sets on that treatment, true of this sale: a share of materials, a length of hire, a role in a works contract, the use of the property, an export of the goods, the mode of attendance, a deemed supply, how a dealer acquired the goods) |
| `basis.facts[].source` | checked, evidenced, seller_stated, buyer_stated, assumed |
| `law[].reading` | a_contrario |
| `conditions` | proof_of_exit_pending, proof_of_transport_pending |
| `vat_category` | S, Z, E, AE, K, G, O, L, M |
| `checks[].what` / `source` | buyer_vat_number, buyer_withholds, app_may_issue / VIES, HMRC, ISSUER |
| `provenance.kind` / `tee` | stated, tee_attested / aws-nitro, intel-tdx, amd-sev-snp |
| `assurance.treatment` | correct, provisional |

## Annex B (informative): example

`receipt-v0/example-claims.json`: a Portuguese seller, a German business buyer, a service reverse-charged under
Directive Art. 196, made by a connected application, the buyer's VAT number checked in VIES, the document accepted by
the Portuguese tax authority. It shows the claims after disclosure processing, with both tax ids disclosed.

## Annex C (normative): conformance statement

An implementation states, for each requirement id of clauses 5 to 10, one of: met, not met, not applicable, with a
note. An issuer states it for the receipts it makes; a checker for the checks it makes. Part 6 holds the test that
proves each row.

## Annex D (informative): mapping to EN 16931 and EU law

| Receipt | EN 16931 | EU law |
| --- | --- | --- |
| `document.type` | BT-3 (UNTDID 1001) | - |
| `document.number`, `issue_date` | BT-1, BT-2 | Directive Art. 226(1), (2) |
| `supply_date` / `supply_period` | BT-72 / BG-14 | Art. 226(7) |
| `currency`, `vat_national` | BT-5, BT-6, BT-111 | Art. 230 |
| `net`, `vat`, `gross` | BT-109, BT-110, BT-112 | Art. 226(8), (10) |
| `deliver_to_country` | BT-80 | Art. 138 |
| `einvoices` | the XML instance (CEN/TS 16931-3-2, -3-3); `specification` BT-24, `process` BT-23 | Arts. 217, 218 |
| `preceding` | BG-3 | Art. 219 |
| a decision | one VAT breakdown (BG-23) restricted to some lines | Art. 226(8), (9), (10), (11), (11a) |
| `vat_category`, `vatex`, `rate` | BT-118, BT-121, BT-119 | Art. 226(9), (11) |
| `seller/buyer.vat_id_on_document` | BT-31, BT-48 | Art. 226(3), (4) |
| `place_of_supply` | - | Arts. 31 to 59c; Reg. 282/2011 |
| `buyer.business_proof` | - | Reg. 282/2011 Art. 18 |
| the receipt inside an e-invoice | BG-24 (BT-122, BT-124) | - |
| `report[].regime` = `EU-DRR` | - | Arts. 262, 263 (from 1 July 2030) |

A document whose decisions carry two different reasons in one zero-VAT category, or category O beside another, can be
a valid national invoice but cannot be an EN 16931 invoice (clause 5.5-10).

**ViDA (Directive (EU) 2025/516): what changes the receipt, and from when** (dates from its Art. 6):

| From | Change in the law | What the receipt does |
| --- | --- | --- |
| 1 January 2027 | The deemed supplier widens (Art. 14a(2)); a Union-scheme registration counts as the Art. 59c option; the cash-accounting mention cites Art. 66(1)(b) | `deemed_supplier` rule; clause 5.5-14; `cash_accounting` (already in v0) |
| 31 December 2026 (Directive 2022/890, not ViDA) | Arts. 199a and 199b end | Annex A.3 note |
| 1 July 2028 | Reverse charge mandatory under Art. 194 for a non-established supplier and an identified customer; platform facilitation services placed under Art. 46a; the single VAT registration widens the OSS; platforms deemed suppliers of short-term accommodation and road passenger transport (Art. 28a, between 1 July 2028 and 1 January 2030 per State) | `art_194`, `facilitation_service` (already in v0; the rule word only from that day, OBT-RCP-5.5-38); a deemed-supplier code for Art. 28a: **v1** |
| 1 July 2030 | E-invoicing in EN 16931 the default (Arts. 217, 218); invoices within 10 days of the chargeable event (Art. 222); new Art. 226 content: "triangular transaction" (11a), the corrected invoice's number (16), the bank account; intra-EU digital reporting at issue, the buyer's within 5 days (Arts. 262 to 264); the Art. 138 exemption depends on that reporting (Art. 138(1a)); deduction may need the e-invoice (Art. 168) | `einvoices` becomes the main binding; `art_197` (already in v0); `preceding` on every correcting invoice; a second `report` entry, `regime` `EU-DRR` (5.8-07, already in v0); a `conditions` code for Art. 138(1a): **v1** |
| 1 January 2035 (latest) | Domestic reporting derogations end | **v1** |

## Annex E (informative): what issuing receipts means for the issuer under EU law

- **A trust service.** "the issuance of electronic attestations of attributes" is a trust service when it is
  "normally provided for remuneration" (eIDAS Art. 3(16)(g)). An issuer that makes receipts within a paid service is a
  non-qualified trust service provider.
- **Its duties** (eIDAS Art. 19a(1)): policies and measures to manage the risks of the service (registration and
  onboarding, checks, management and implementation); and notifying the supervisory body, the affected persons and,
  where of public interest, the public, of a breach or disruption with a significant impact, "without undue delay and
  in any case no later than 24 hours of having become aware".
- **Its data** (Art. 45h(1), (2)): the service's personal data kept logically separate, never combined with the
  issuer's other services' (clause 7-09).
- **Wallets** (Art. 45g(1)): EUDI Wallet users can request and obtain their receipt (clause 7-08).
- **NIS2.** The Directive applies to trust service providers "Regardless of their size" (Directive (EU) 2022/2555
  Art. 2(2)(a)(ii)); in Portugal through DL 125/2025. An issuer that was out of NIS2 scope because of its size comes
  into scope when it starts to issue receipts.

## History

| Version | Date | Change |
| --- | --- | --- |
| v0 working draft | 30 November 2026 | Clause 8.2 points to Part 6 (checking and tests), now written: the outcomes and codes of each step, the vectors, conformance. |
| v0 working draft | 30 November 2026 | The review choices F1 to F8, as decided: `report` is a list, and each entry names its `regime` (5.8-05 to 5.8-08; `EU-DRR` only for a document issued from 1 July 2030); `einvoice_sha256` is replaced by `einvoices`, each with its `syntax`, `specification` (BT-24) and `process` (BT-23) (5.3-18); its hash is over the business document alone in Exclusive XML Canonicalization (5.3-19, [17], [18]); a file with an XML inside binds both (5.3-20); a signed file is bound as signed (5.3-21); `alg` is fixed per type (6.1-05); the address serves the receipt without disclosures (7-05); archive time stamps (7-10, 10-04); clause 8.2 steps 4 and 9 follow. |
| v0 working draft | 29 November 2026 | From a second checker written from this text alone (an in-house test of the text; it read no code): OBT-RCP-4-05, the rules that do not apply when the governing State has no annex; 5.6 says when `withholding` may be present; 5.5-20's "checked" sentence binds the issuer; 5.5-12 lists VATEX-EU-144, -153 and -159, which the code list and the schema hold; 5.1-06 names the code lists as data; 5.2-06 the length per alphabet; 4-03 agrees with 5.5-07 (a mention alone where the EU list has no code); 5.10-02 names the annex's block rules; Annex A.1 names the regular-expression dialect and no longer points to code for the rules; 4-02 says how a checker finds the case it does not cover without a list of Member States; on the helper's second reading, 5.2-06 says a checker cannot tell the two alphabets apart, 4-05 and 5.10-01 agree on a block of a State with no annex, and 4-03 names the code table it reads. The schema: `withholding` with `applies` false holds no `base` or `by` either (5.6 "Absent otherwise"), an EU act is cited by its `/oj` ELI only (5.5), and its description no longer names a rule clause 5 does not hold. Later: OBT-RCP-5.5-37, a `law` entry may carry `ref`, a legal reference from Part 10, checked by Part 10's clause 7 (decided 30 November 2026: Part 10 is its own part, optional at first); the schema's `law` entry takes it; receipt version 0 stays version 0. |
| v0 working draft | 29 November 2026 | Every requirement of the member tables of clauses 5.5, 5.6, 5.7.1, 5.8 and 5.9 gets its own id (OBT-RCP-5.5-23 to -35, 5.6-01 to -04, 5.7-11 to -18, 5.8-01 to -04, 5.9-04 and -05), after the ids those clauses had, so a checker can name the rule behind every refusal; no requirement's words changed. Then the helper's small points, each worded as the reference check and the issuer do it: 5.5-01 (lines share an entry when the engine decided them alike, `decision_id` aside; it binds the issuer), 5.5-06 (less than 1.00, rounded half away from zero, allowances negative), 5.5-10 (one reason: the same `vatex` and `mention`), 5.3-15 (`chargeable_date` absent when it is the supply date), 5.4-03 (what each `business_proof` word means). Then OBT-RCP-5.5-36: a rate from a national list also cites the Directive point that lets the State reduce it, `Annex III(n)` or Art. 104(4), 105a or 105b (decided 29 November 2026: the national reduced-rate lists matter at EU scale). |
| v0 working draft | 29 November 2026 | The test vectors as data: the claim vectors (`receipt-v0/vectors.json`, each broken copy with the rule that refuses it) and the signed-receipt vectors (`packages/obt-checker/fixtures/vectors.json`, each with the inputs of clause 8.2 and its verdict). A guard checks that every rule the receipt code names is a rule of this text (an independent review found the rules lived in one company's code). |
| v0 working draft | 29 November 2026 | Clause 10-07: a checker checks the chain's revocation at the time it validates the chain, by the issuing authority's CRL (given or read at the certificate's distribution point); a seal revoked at or before that time, or with a key compromise known from before it, is not valid; no CRL that counts is "not checked". 8-01 lets the checker read that CRL; step 4 of clause 8.2 names it (an independent review found that clauses 9.7 and 11 relied on revocation while no checker read it). |
| v0 working draft | 29 November 2026 | Clause 10-06: an issuer-list entry names the `organizationIdentifier` of each issuer it vouches for, and a seal under a listed authority with another identifier reads as an unknown issuer (an independent review found that a public certification authority on the list would trust all its customers). 10-02 refers to it; clause 11 gains the threat. |
| v0 working draft | 28 November 2026 | F10 refined, with no loss of precision: the kinds follow the Directive's and Reg. 282/2011's own categories (nine: the seller's establishment, registration and qualification; the buyer's taxable status, qualification and location; the supply's location, nature and condition), each as fine as before or finer, so a VIES check is no longer hidden by a minor stated fact; `evidenced` for the law's own evidence and presumptions (Reg. 282/2011 Arts. 24a to 24f), which never make a receipt provisional; `presumed` became `assumed` (an engine's default); the rate words split an official product code from an engine's own, and the standard rate with no other claimed (`standard_default`) from a tier the seller chose; a list item or a national provision is cited in `law` (5.5-19, OBT-PT-3-11). No receipt was signed before this change. From the first signed receipt these words are frozen: a later change only adds a value, and checkers keep reading the old one |
| v0 working draft | 28 November 2026 | Decision F10: each decision carries `basis`, what it rested on: `rate`, where the rate's tier came from (6 words), and `facts`, each kind of fact with its source (8 kinds; checked, seller_stated, buyer_stated, presumed), values never shown. OBT-RCP-5.5-19 to -22: a rate basis exactly for S, L and M; each kind of the engine inputs once, the weakest source; `checked` only with a backing check (v0: the buyer's VIES check); a presumed fact or a stand-in rate makes the promise provisional (5.9 says so too). Annex A.3 lists the words and what each kind covers |
| v0 working draft | 28 November 2026 | Clause 4.4, the countries of a receipt: the EU layer, the governing State, the place-of-supply State and the parties' countries, each with its source (4-02 to 4-04); in version 0 the governing State is the seller's, and the Art. 219a cases v0 covers are named. `place_of_supply.region` comes from the place-of-supply State's annex, not the governing State's (a wording error: the Portuguese annex and the check already keyed it on the place). OBT-RCP-5.5-18: an entry that charges another State's VAT (OSS) names that State's rate article too, when it has an annex. The check applies an annex's place and article-form rules whatever State governs (three new cases: a German-governed receipt placed in the Azores with no region, an OSS sale into Portugal with no Portuguese article, and one with the article in the wrong form) |
| v0 working draft | 28 November 2026 | Annex A.2 written: `receipt-v0/type-metadata.json` (137 claims, the statements of 6.4 and 5.9), generated by `type-metadata.mjs`; the example's `vct#integrity` is now that file's (it was a stand-in). The Portugal block members moved into the annex data (`block_members`), read by the check and the type metadata alike |
| v0 working draft | 28 November 2026 | OBT-RCP-5.5-17: the governing State's own article, required in the `law` member's text since the first draft, gets its own id and the check enforces it (a decision with only EU articles is refused); its written form is the annex's (Portugal: OBT-PT-3-10). The national reference follows strict rules (decided 28 November 2026). |
| v0 working draft | 28 November 2026 | CIR (EU) 2026/1731 read: SD-JWT VC is a wallet format (7-08 closed, no second form), `status` carries `status_list` only (9.1), Token Status List draft 20 is the cited version; `law[].consolidation` by CELEX number (a dated ELI redirects for any date) |
| v0 working draft | 28 November 2026 | After the EU VAT law, ViDA, eIDAS, ETSI and IETF checks: `_sd_alg` out of the processed claims; `iss_reg_id` conditional (EAA-5.2.4.1-11); header `iat` (JAdES-B-B); both draft generations (6.2); type metadata members and `obt_schema`; wallet path and data separation (7-08, 7-09); `zero_unclassified` dropped; liability bases 195, 197, 198, 199b; six place rules and `facilitation_service`; `ioss`, `margin_scheme`, `sme`, `sme_cross_border`; `chargeable_date`, `cash_accounting`, `simplified`; `reading` = `a_contrario`; `presumption`; the promise's limits (5.9-01 to -03); not an invoice (4-01); Annex D ViDA timeline; Annex E |
| v0 working draft | 28 November 2026 | First normative text, from `receipt-v0-explained.md` (decisions D1 to D17) and the EN 16931 and Peppol BIS 3.0 check of 28 November 2026. Changes against the explained draft: `vat_eur` → `vat_national`; `checks[].source` `TYTLE` → `ISSUER`; 384 dropped from v0; per-decision `vat`; `document.line_count`, `deliver_to_country`, `einvoice_sha256`; `code_lists`; `seller/buyer.vat_id_on_document`; canonical rates and zero; the category rules of 5.5-05 to 5.5-13 |
| v0 working draft | 2 December 2026 | The executive summary and clause 12 say what a status list fetch shows: the issuer is never asked about the receipt being checked, and an issuer that hosts its own list (9.5-01) sees the fetch but not the receipt (was "the issuer never learns who checks"). The executive summary names every list a check reads over the network (the status list, the authority's revocation list, the type metadata once; was "offline. Only the status list needs the network"). OBT-RCP-10-02 says what the issuer list is in version 0 (`issuers.json` on the OBT host, its members), and that Part 5 gives it the form of ETSI TS 119 602. |
| v0 working draft | 2 December 2026 | Three things of the VAT Directive that had no word here, each closed with no new list value and no new member. OBT-RCP-5.5-38: `facilitation_service` only for a tax point from 1 July 2028, the day Art. 46a applies (Directive (EU) 2025/516 Art. 3 point (2), Art. 6(3)), read from the receipt's own dates, with `46a` in `law`; before that day the rule of the law then in force. Clause 1: a document with a line that is not a supply (a multi-purpose voucher sold beside goods, Art. 30b(2); a single-purpose voucher's redemption, Art. 30b(1)) gets no version 0 receipt. Clause 4.3: a movement that is not a supply (call-off stock, Art. 17a(1)) has no invoice and no receipt. Clause 5.4: a transfer of own goods (Art. 17) is not in version 0. Clause 5.5: what `law` cites for a call-off supply (`17a(3)`), a single-purpose voucher (`30b(1)`) and a multi-purpose voucher (`30b(2)`, `73a`). The check now holds `document.chargeable_date` to OBT-RCP-5.1-07 too (a real calendar date), as the rule's words always said: 5.5-38 reads that date. |
| v0 working draft | 2 December 2026 | Published as a public working draft, open for comment (the status line; it said "not published"). |
| v0 working draft | 2 December 2026 | OBT-RCP-4-02 also refuses every decision whose `scheme` is `sme_cross_border`. The cross-border exemption for small enterprises (Art. 284(2)) is for a supply in a Member State other than the seller's, and Art. 219a(2) has no derogation for it, so the State of supply's invoicing rules govern the document (Art. 219a(1)). The test of 4-02 read the category (S, L or M), and this decision is category E, so the check let it pass. 5.5-16 and 5.5-25 keep the value and say that it is not in version 0. Two broken copies, one per direction (a Portuguese seller in Spain, a German seller in Portugal). A tighter check, no change to a member or a list. |
