# Attestation Rulebook for attestations of type `https://openbusinesstrust.eu/vct/receipt/v0`

* Author(s):
    * LJ, Tytle (editor of Open Business Trust)
* Previous Authors
    * None

| Version | Date | Description |
|---------|------------|------------|
| 0.1 | 30-11-2026 | First draft, for OBT Part 3 v0 |
| 0.1 | 02-12-2026 | The check is said to need no call to the issuer, with the lists it reads (was "offline") |

**Feedback:**

* <https://github.com/openbusinesstrust/obt/issues>

## 1 Introduction

### 1.1 Document scope and purpose

An OBT Compliance Receipt states how the VAT of one invoice, credit note or debit note was decided: for each set of
lines, the VAT treatment, the rate, the EU VAT category and VATEX code, the law it rests on (as ELI links), the facts
it rests on and where each came from, the checks the issuer made (for example the buyer's VAT number in VIES), and the
report of the document to the tax authority. The issuer seals it when the document is issued.

It exists because the EU invoice model (EN 16931) carries the result of the VAT decision, not its reason. A buyer,
its accountant, an auditor, a financier or a software agent that relies on the invoice can check the receipt against
the invoice it holds, without asking the issuer, and learn why the VAT is what it is.

The subject of a receipt is a document, not a person. Its rules are OBT Part 3 [OBT-3]; this rulebook gives them in
the form of the EU attestation catalogue and points to the clause of each.

### 1.2 Document structure

* Chapter 2 describes the attestation attributes and metadata in an encoding-independent manner.
* Chapter 3 specifies how the attributes and metadata are encoded: SD-JWT VC only.
* Chapter 4 specifies attestation usage.
* Chapter 5 defines how trust anchors for attestation verification can be obtained.
* Chapter 6 defines the revocation mechanism.
* Chapter 7 provides compliance information.

### 1.3 Key words

This document uses the capitalised key words 'SHALL', 'SHOULD' and 'MAY' as
specified in [RFC 2119], i.e., to indicate requirements, recommendations and
options specified in this document.

In addition, 'must' (non-capitalised) is used to indicate an external
constraint, i.e., a requirement that is not mandated by this document, but, for
instance, by an external document. The word 'can' indicates a capability,
whereas other words, such as 'will', and 'is' or 'are' are intended as
statements of fact.

### 1.4 Terminology

This document uses the terminology specified in Annex 1 of the ARF, and the OBT glossary [OBT-G] for the terms of the
receipt (document, decision, governing State, country block).

## 2 Attestation attributes and metadata

### 2.1 Introduction

A receipt is a non-qualified EAA. Issued within a paid service, it is a trust service (eIDAS Art. 3(16)(g)), and its
issuer a non-qualified trust service provider [OBT-3, Annex E].

**The `category` attribute.** [ETSI TS 119 472-1] EAA-5.2.2.1-01: "SD-JWT VC EAAs issued by EAAs issuers registered
in the European Union, which are neither SD-JWT VC QEAAs nor SD-JWT VC PuB-EAAs, shall not include the category
claim." A receipt therefore carries no `category`. A Relying Party knows that a receipt is a non-qualified EAA because
`category` is absent and the signing certificate in `x5c` is not a qualified certificate. The template's value
"eaa:eu:non-qualified" (template, section 2.1) and the attribute `attestation_legal_category` that [Topic 12] ARB_25
names are not used, because the ETSI profile that [HAIP] and the ARF apply forbids the claim. **[open]**: this
conflict between ARB_12, ARB_25, the template and EAA-5.2.2.1-01 is raised with the catalogue when this rulebook is
filed. If the catalogue settles on an attribute, a new type version carries it [OBT-0, principle C2].

**Design.** Every value is from a closed list or a pattern: a receipt holds no free text. The tax numbers of the
seller and the buyer are selectively disclosable and hidden by default; all other claims are not disclosable
selectively. A receipt names no person, address or line description [OBT-3, clause 5.4].

The presence of each attribute is mandatory (M) or conditional (C) below. The full rules, and the members inside
each attribute, are in [OBT-3, clause 5].

### 2.2 Mandatory attributes

| **Data Identifier** | **Definition** |**Data type** |**Example value** |
|------------------------|--------------|--------------|--------------|
| `document` | The document: its type (UNTDID 1001), number, issue date, currency, net, VAT and gross totals, line count, the hash of its file, its source, the address of the receipt, and further conditional members [OBT-3, 5.3] | object | `{"type": "380", "number": "FT 2027/118", "issue_date": "2027-01-14", ...}` |
| `seller` | The seller's country, whether its VAT id is on the document, and its tax id (selectively disclosable) [OBT-3, 5.4] | object | `{"country": "PT", "vat_id_on_document": true}` |
| `buyer` | The buyer's country, whether the issuer treated the buyer as a taxable person and on which proof, and its tax id (selectively disclosable) [OBT-3, 5.4] | object | `{"country": "DE", "is_business": true, "business_proof": "vies_number_valid", ...}` |
| `decisions` | One entry per set of lines with one VAT treatment: lines, net, VAT, place of supply, treatment, liability, rate, EN 16931 category, VATEX code, the law, the basis (facts and their sources), and the engine that decided (name, version, data versions, a salted commitment to its inputs) [OBT-3, 5.5] | array of objects | `[{"vat_category": "AE", "vatex": "VATEX-EU-AE", "law": [...], ...}]` |
| `assurance` | What the issuer states about the treatment, and the address and integrity of its terms [OBT-3, 5.9] | object | `{"treatment": "correct", "terms": "https://issuer.example/...", ...}` |

### 2.3 Optional attributes

None. Every attribute is mandatory or conditional.

### 2.4 Conditional attributes

| **Data Identifier** | **Definition** |**Data type** |**Example value** |
|------------------------|--------------|--------------|--------------|
| `made_by` | When an application acting for the seller made the document: the application, and that the issuer checked it may issue [OBT-3, 5.4-06] | object | `{"kind": "connected_app", "app": "app_3k9q", "may_issue": true}` |
| `withholding` | When the governing State's annex defines a withholding the buyer applies to this kind of document and seller [OBT-3, 5.6] | object | `{"applies": false, "known_at": "issue"}` |
| `checks` | When a decision rests on a checked fact, or the issuer checked that an application may issue: each check, its source, result, time and maker, and a blinded digest of its proof [OBT-3, 5.5-21, 5.7] | array of objects | `[{"what": "buyer_vat_number", "source": "VIES", "result": {"number": "valid", ...}, ...}]` |
| `report` | When the document was reported to a tax authority before the receipt was made: to whom, under which regime, by whom, the result and the time; at most four [OBT-3, 5.8] | array of objects | `[{"to": "PT-AT", "regime": "PT-EFATURA", "by": "issuer", "result": "accepted", ...}]` |
| a country block (`pt`, ...) | The governing State's own codes, named by its lower-case ISO 3166-1 alpha-2 code, as its country annex defines them [OBT-3, 5.10; OBT-7] | object | `{"atcud": "ABCD1234-118", "kind": "FT", ...}` |

### 2.5 Mandatory metadata

| **Data Identifier** | **Definition** |**Data type** |**Example value** |
|------------------------|--------------|--------------|--------------|
| `vct`, `vct#integrity` | The attestation type, and the integrity value of its type metadata [OBT-3, 5.2-03] | string | `https://openbusinesstrust.eu/vct/receipt/v0` |
| `iat`, `nbf` | When the issuer signed the receipt; `nbf` equals `iat` [OBT-3, 5.2-04] | number (NumericDate) | `1799920920` |
| `exp` | The end of the governing State's keeping period for the document [OBT-3, 5.2-05] | number (NumericDate) | `2145916800` |
| `jti` | The receipt's identifier, at least 128 random bits [OBT-3, 5.2-06] | string | `5QK2V8M3XJ7TFA9W4N6PB1HDQ7` |
| `rev_id` | A second revocation identifier, at least 63 random bits [OBT-3, 5.2-07] | string | `15993721004415` |
| `status` | The status list reference [OBT-3, 9.1] | object | `{"status_list": {"idx": 731044, "uri": "https://openbusinesstrust.eu/status/..."}}` |
| `code_lists` | The edition of the EN 16931 code lists the codes come from [OBT-3, 5.2-09] | object | `{"en16931": "v17b"}` |

### 2.6 Optional metadata

None.

### 2.7 Conditional metadata

| **Data Identifier** | **Definition** |**Data type** |**Example value** |
|------------------------|--------------|--------------|--------------|
| `iss` | The issuer's HTTPS origin, when its signing certificate binds it [OBT-3, 5.2-01] | string | `https://issuer.example` |
| `iss_reg_id` | The issuer's identifier as ETSI TS 119 472-1 EAA-5.2.4.1-08 writes it, unless `x5c` carries a qualified certificate [OBT-3, 5.2-02] | string | `VATPT-000000000` |
| `replaces` | On a replacement receipt: the `jti` of the receipt it replaces [OBT-3, 5.2-08] | string | `5QK2V8M3XJ7TFA9W4N6PB1HDQ7` |

## 3 Attestation encoding

### 3.1 ISO/IEC 18013-5-compliant encoding

Not supported in this version. A receipt is not presented in proximity: a Relying Party checks it against the
document it holds, from the receipt itself (ARB_02, chapter 4).

### 3.2 SD-JWT VC-based encoding

A receipt is an SD-JWT VC [SD-JWT VC] in the compact form of [RFC 9901], with no key binding JWT [OBT-3, 6.1-01]. It
complies with the 'IETF SD-JWT VC Profile' of [HAIP] section 6.1 and with [ETSI TS 119 472-1]. The JWT header has
`typ` = `dc+sd-jwt`, `alg` = `ES256` and `x5c` with the signing certificate first [OBT-3, 6.1-02].

The attestation type (`vct`) is `https://openbusinesstrust.eu/vct/receipt/v0`. It is unique: the domain is the OBT
domain, and a new version of the type gets a new `vct` [OBT-0, principle C2].

Claim names: `iss`, `iat`, `nbf`, `exp`, `jti`, `vct`, `vct#integrity` and `status` are registered JWT or SD-JWT VC
claims. All other claim names are Private Names specific to this attestation type (ARB_06b).

**Selective disclosure (ARB_30).** The type metadata [OBT-3, Annex A.2] states it for each of its 148 claims (ARB_31).
In short:

| **Data Identifier** | **Attribute identifier** | **Encoding format** | **Notes** |**Disclosable**|
|---------------------|--------------------------|---------------------|-----------|---------------|
| seller tax id | `seller.tax_id` | string | With decoy digests [OBT-3, 6.3] | MUST |
| buyer tax id | `buyer.tax_id` | string | With decoy digests [OBT-3, 6.3] | MUST |
| provenance of a check | `checks[].provenance` | object | The signed answer of an attested check [OBT-3, 5.7.3] | MAY |
| every other claim, top level and nested | as chapter 2 | as [OBT-3] | | MUST NOT |

The `category` attribute is not used (section 2.1).

**Examples.**

* The JWT claim set: `spec/receipt-v0/example-claims.json` in the OBT repository.
* The issued SD-JWT: `packages/obt-checker/fixtures/receipt-valid.sd-jwt` (5 736 characters, signed by an example
  issuer under an example root). **[open]**: inline both here when the rulebook is filed.
* Human-readable: the header is `{"typ": "dc+sd-jwt", "alg": "ES256", "x5c": [<example seal certificate>]}`. The
  payload is the claim set above with the two tax ids replaced by digests. The SD-JWT carries two disclosures:
  `["<salt>", "tax_id", "PT123456789"]` for the seller and `["<salt>", "tax_id", "DE123456788"]` for the buyer. The
  receipt says that invoice FT 2027/118 of 14 January 2027, €1,000.00 to a German business, is reverse charged
  (category AE, VATEX-EU-AE, Directive 2006/112/EC Arts. 44 and 196), that the buyer's VAT number was valid in VIES,
  and that the Portuguese Tax Authority accepted its report.

### 3.3 W3C Verifiable Credentials Data Model-based encoding

Not supported in this version.

## 4 Attestation usage

**Use cases.** The buyer, or the buyer's software agent, checks the VAT treatment of an invoice before it books or
pays it. An accountant or an auditor checks the VAT of the documents of a period. A financier checks the documents it
finances. The seller shows how it treated a sale. Each checks the receipt against the document file it holds.

**PID.** A Relying Party need not request or verify a PID: the receipt is about a document, not about the person who
presents it.

**Relying Party obligations.** A Relying Party checks a receipt by the nine steps of [OBT-3, clause 8.2]: parse it and
refuse a key binding JWT; check the header and build the chain of `x5c` to a trust anchor of chapter 5; check the
signature; check the time stamp and validate the chain at its time, revocation included; check each disclosure and the
claims against the type's rules; check `vct` and `vct#integrity` against the type metadata; check `nbf` and `exp`;
read the status (chapter 6); and check that the receipt names the document the Relying Party holds (by the hash of
its file, or of its e-invoice). A receipt that
fails a step is not relied on. It reports an issuer its trust anchors do not list as "signed by an unknown issuer"
[OBT-3, 8-02]. It does not contact the issuer [OBT-3, 8-01]. The reference checker is open source [OBT-6].

**Presentation.** The holder hands over the receipt as a file, or its address, which the document prints [OBT-3,
5.3-13, 7-05]. A holder who uses a European Digital Identity Wallet can request and obtain its receipt in that wallet
[OBT-3, 7-08]. The check needs no call to the issuer: once the Relying Party holds the trust anchors, a fresh status list and a fresh
revocation list of the certification authority, it runs offline.

**Device binding (ARB_34).** A receipt is not device-bound and carries no holder key (`cnf`) [OBT-3, 5.2-11]: whoever
holds the document may show its receipt. `cryptographically_bound_to` is not used.

**Transactional data.** None.

## 5 Trust anchors

A Relying Party takes the issuer's signing certificate only from `x5c` [OBT-3, 10-01] and accepts a chain only to a
certification authority that the OBT issuer list names for receipts, and only for an issuer that the list's entry names
by its `organizationIdentifier` [OBT-3, 10-02, 10-06]. The OBT issuer list is a list of trusted entities in the format
of [ETSI TS 119 602], as [TS11] section 4.3.1 recommends, published by the OBT host. Its entry for an issuer is how a
Relying Party verifies that the provider is authorised to issue this type of attestation (ARB_26). **[open]**: the
list's address and its signing, with OBT Part 5.

## 6 Revocation

A receipt is revocable. It carries a status in a Token Status List [Token Status List], in the version
[CIR 2026/1731] sets for attestations issued to wallets [OBT-3, 9.1]. Its values take 4 bits: `valid`, `invalid` (the
document was cancelled), `suspended` (under review), `withdrawn` (the issuer's statement was wrong) and `replaced` (a
newer receipt exists); a Relying Party treats any other value as "do not rely" [OBT-3, 9.2].

The lists are retrieved at `https://openbusinesstrust.eu/status/` (each issuer's own folder) [OBT-3, 9.5-01]. An
issuer may host them on its own domain; the receipt's `status.status_list.uri` gives the full address.

## 7 Compliance

| Requirement | How this rulebook meets it |
|-------------|----------------------------|
| ARB_01a | SD-JWT VC (chapter 3.2) |
| ARB_01b | The 'IETF SD-JWT VC Profile' of [HAIP] section 6.1 (chapter 3.2) |
| ARB_02 | No presentation in proximity is needed, so no mdoc (chapter 3.1) |
| ARB_04 | Not applicable: no W3C VCDM encoding |
| ARB_05 | `https://openbusinesstrust.eu/vct/receipt/v0`, unique by its domain (chapter 3.2) |
| ARB_06, ARB_09 | Chapter 2 defines each attribute without encoding, as mandatory or conditional; chapter 3 encodes them |
| ARB_06b | Registered claims and Private Names (chapter 3.2) |
| ARB_07, ARB_08 | The catalogue has no attribute for a VAT decision or a document. Codes are the EU's own: EN 16931 categories, VATEX, UNTDID 1001, ISO 3166-1, ISO 4217, ELI |
| ARB_12, ARB_25 | Not met by an attribute: ETSI TS 119 472-1 EAA-5.2.2.1-01 forbids the `category` claim in a non-qualified SD-JWT VC EAA (section 2.1) |
| ARB_15 (Annex V b) | The issuer: `iss_reg_id` (its VAT identifier, with its country) and the signing certificate in `x5c` (organizationName, organizationIdentifier, countryName) |
| ARB_17 (Annex V c) | The entity the attributes refer to: the document (`document.number`, its file hash) and its seller (`seller.country`, `seller.tax_id`) |
| ARB_19 (Annex V e) | The validity period: `nbf` and `exp` |
| ARB_21 | The trust anchor: the chain in `x5c` and the OBT issuer list (chapter 5) |
| ARB_22 | [OBT-3] in full, with its test vectors and its open checker [OBT-6] |
| ARB_24, ARB_24a | Revocable; Token Status List; the address in chapter 6 |
| ARB_26 | Chapter 5 |
| ARB_28 | Not used |
| ARB_29 | This rulebook follows the template chapter by chapter |
| ARB_30, ARB_31 | Chapter 3.2 and the type metadata |
| ARB_33 | When the receipt's scheme is registered under [CIR 2025/1569] Art. 8, the registration references this rulebook |
| ARB_34 | Not device-bound (chapter 4) |
| ARB_01, 03, 06a, 10, 11, 13, 14, 16, 18, 20, 23 | Not applicable: no mdoc, and not a QEAA or a PuB-EAA |

eIDAS: the issuer keeps the personal data of its receipt service logically separate (Art. 45h(1), (2)) [OBT-3, 7-09]
and lets an EU wallet user request and obtain a receipt (Art. 45g(1)) [OBT-3, 7-08].

## 8 References

| **Item Reference** | **Standard name/details**|
|--------------------|---------------------------|
| [European Digital Identity Regulation] | Regulation (EU) No 910/2014 as amended by Regulation (EU) 2024/1183 |
| [CIR 2025/1569] | Commission Implementing Regulation (EU) 2025/1569 |
| [CIR 2026/1731] | Commission Implementing Regulation (EU) 2026/1731 |
| [ETSI TS 119 472-1] | ETSI TS 119 472-1 V1.2.1 (2026-02): Profiles for Electronic Attestations of Attributes; Part 1: General requirements |
| [ETSI TS 119 602] | ETSI TS 119 602: Lists of trusted entities; Data model |
| [HAIP] | OpenID4VC High Assurance Interoperability Profile 1.0 |
| [RFC 2119] | RFC 2119: Key words for use in RFCs to Indicate Requirement Levels |
| [RFC 9901] | RFC 9901: Selective Disclosure for JSON Web Tokens (SD-JWT) |
| [SD-JWT VC] | SD-JWT-based Verifiable Credentials, draft-ietf-oauth-sd-jwt-vc-13 (the version ETSI TS 119 472-1 and HAIP cite) |
| [Token Status List] | draft-ietf-oauth-status-list-20 (the version CIR 2026/1731 sets) |
| [Topic 12] | ARF Annex 2, Topic 12: Attestation Rulebooks |
| [TS11] | EU Technical Specification 11: Catalogue of attributes and catalogue of schemes |
| [EN 16931-1] | EN 16931-1:2017+A1:2019: Electronic invoicing, semantic data model |
| [VAT Directive] | Council Directive 2006/112/EC |
| [OBT-0] | OBT Part 0: Overview and principles |
| [OBT-3] | OBT Part 3: Compliance Receipt (v0) |
| [OBT-6] | OBT Part 6: Checking and tests |
| [OBT-7] | OBT Part 7: Country annexes (Portugal) |
| [OBT-G] | OBT Glossary |
