WE BUILD eInvoice Attestation

JSON Schema for the SD-JWT VC claims set of the eInvoice attestation (vct: eu.we-build:einvoice:1)

eu.we-build:einvoice:1

Display Properties

en-US

Name
WE BUILD eInvoice Attestation
Description
JSON Schema for the SD-JWT VC claims set of the eInvoice attestation (vct: eu.we-build:einvoice:1)

TS11 Schema Metadata

Schema ID
22574e14-1e76-5a09-9c08-e8f260cbeed2
Version
0.1.0
Attestation LoS
iso_18045_high
Binding Type
key
Supported Formats
dc+sd-jwt

Schema URIs

dc+sd-jwt
https://registry.siros.org/webuild-consortium/eInvoice.vctm.json

Source

Repository
webuild-consortium/webuild-attestation-rulebooks-catalog
Last Updated

Claims (25)

Path Display Name
cryptographically_bound_to
attestation_legal_category
invoiceFormat
invoiceNumber
seller.vat
seller.country
seller.name
seller.identifier
seller
taxSubtotal
paymentInstructions
evidenceReferences
invoicePayloadHash
issueDate
buyer.name
buyer.identifier
buyer.vat
buyer.country
buyer
amountDueForPayment
InvoiceCurrencyCode
invoiceLifecycleStatus
BuyerElectronicAddress
invoiceTotalVatAmount
precedingInvoiceReference

SD-JWT VC Type Metadata (IETF draft-ietf-oauth-sd-jwt-vc)

{
  "vct": "eu.we-build:einvoice:1",
  "name": "WE BUILD eInvoice Attestation",
  "description": "JSON Schema for the SD-JWT VC claims set of the eInvoice attestation (vct: eu.we-build:einvoice:1)",
  "display": [
    {
      "locale": "en-US",
      "name": "WE BUILD eInvoice Attestation",
      "description": "JSON Schema for the SD-JWT VC claims set of the eInvoice attestation (vct: eu.we-build:einvoice:1)"
    }
  ],
  "claims": [
    {
      "path": [
        "cryptographically_bound_to"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Cryptographically Bound To"
        }
      ],
      "description": "vct of the Supplier's EBWOID attestation on the same Wallet Unit to which this attestation is bound. RECOMMENDED. Section 2.6 / Chapter 4."
    },
    {
      "path": [
        "attestation_legal_category"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Attestation Legal Category"
        }
      ],
      "description": "Legal category of the attestation. For this rulebook profile the exact value SHALL be `non-qualified-EAA`. Section 2.1.",
      "mandatory": true
    },
    {
      "path": [
        "invoiceFormat"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "InvoiceFormat"
        }
      ],
      "description": "Identifier of the invoice representation/profile used for the payload. Code list, Section 2.8."
    },
    {
      "path": [
        "invoiceNumber"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "InvoiceNumber"
        }
      ],
      "description": "EN 16931 BT-1. Invoice identifier, unique for the Supplier within the duplicate-detection window (IR-EI-04). Section 2.2.",
      "mandatory": true
    },
    {
      "path": [
        "seller",
        "vat"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Vat"
        }
      ],
      "description": "EN 16931 BT-31 (seller)/BT-48 (buyer). VAT/tax registration identifier."
    },
    {
      "path": [
        "seller",
        "country"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Country"
        }
      ],
      "description": "EN 16931 BT-40 (seller)/BT-55 (buyer). ISO 3166-1 alpha-2 country code."
    },
    {
      "path": [
        "seller",
        "name"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Name"
        }
      ],
      "description": "EN 16931 BT-27 (seller)/BT-44 (buyer). Registered legal name."
    },
    {
      "path": [
        "seller",
        "identifier"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Identifier"
        }
      ],
      "description": "Legal-entity identifiers; at least euid SHALL be present."
    },
    {
      "path": [
        "seller"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Seller"
        }
      ],
      "description": "The Supplier (issuer). Mandatory. v0.8: replaces the flat seller* claims.",
      "mandatory": true
    },
    {
      "path": [
        "taxSubtotal"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "TaxSubtotal"
        }
      ],
      "description": "EN 16931 BG-23. VAT breakdown, one entry per tax category/rate. Section 2.3/2.4."
    },
    {
      "path": [
        "paymentInstructions"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "PaymentInstructions"
        }
      ],
      "description": "EN 16931 BG-16. Payment-related information. Contains sensitive payment data; issuer MUST make selectively disclosable. Section 2.3/2.4/3.2.",
      "sd": "always"
    },
    {
      "path": [
        "evidenceReferences"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "EvidenceReferences"
        }
      ],
      "description": "References to supporting evidence items (e.g. purchase order, delivery note). Section 2.3/2.4."
    },
    {
      "path": [
        "invoicePayloadHash"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "InvoicePayloadHash"
        }
      ],
      "description": "Hash of the canonicalized invoice payload; binds the attestation to the external EN 16931 / Peppol BIS invoice (IR-EI-03). Section 2.2. NOTE: canonicalization method and hash algorithm are OPEN pending WP4 confirmation; sha256 assumed here.",
      "mandatory": true
    },
    {
      "path": [
        "issueDate"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "IssueDate"
        }
      ],
      "description": "EN 16931 BT-2. Invoice issue date (RFC 3339 full-date). Section 2.2.",
      "mandatory": true
    },
    {
      "path": [
        "buyer",
        "name"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Name"
        }
      ],
      "description": "EN 16931 BT-27 (seller)/BT-44 (buyer). Registered legal name."
    },
    {
      "path": [
        "buyer",
        "identifier"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Identifier"
        }
      ],
      "description": "Legal-entity identifiers; at least euid SHALL be present."
    },
    {
      "path": [
        "buyer",
        "vat"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Vat"
        }
      ],
      "description": "EN 16931 BT-31 (seller)/BT-48 (buyer). VAT/tax registration identifier."
    },
    {
      "path": [
        "buyer",
        "country"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Country"
        }
      ],
      "description": "EN 16931 BT-40 (seller)/BT-55 (buyer). ISO 3166-1 alpha-2 country code."
    },
    {
      "path": [
        "buyer"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "Buyer"
        }
      ],
      "description": "The Buyer (relying party). Optional as a whole; if present, all members SHALL be present. v0.8: replaces the flat buyer* claims."
    },
    {
      "path": [
        "amountDueForPayment"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "AmountDueForPayment"
        }
      ],
      "description": "EN 16931 BT-115. Total payable amount. Section 2.2.",
      "mandatory": true
    },
    {
      "path": [
        "InvoiceCurrencyCode"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "InvoiceCurrencyCode"
        }
      ],
      "description": "EN 16931 BT-5. ISO 4217 invoice currency code. Section 2.2.",
      "mandatory": true
    },
    {
      "path": [
        "invoiceLifecycleStatus"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "InvoiceLifecycleStatus"
        }
      ],
      "description": "Business lifecycle status for corrections, cancellations and credit notes. If omitted, the lifecycle status SHALL be interpreted as `active`. Distinct from the registered `status` metadata claim used for Token Status List revocation. Sections 2.3, 2.8 and IR-EI-09."
    },
    {
      "path": [
        "BuyerElectronicAddress"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "BuyerElectronicAddress"
        }
      ],
      "description": "EN 16931 BT-49. Address/endpoint identifier for delivery/receipt handling. Section 2.3."
    },
    {
      "path": [
        "invoiceTotalVatAmount"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "InvoiceTotalVatAmount"
        }
      ],
      "description": "EN 16931 BT-110. Total VAT amount for this invoice; SHALL equal the sum of taxSubtotal.taxAmount when taxSubtotal is present (IR-EI-07). Section 2.2.",
      "mandatory": true
    },
    {
      "path": [
        "precedingInvoiceReference"
      ],
      "display": [
        {
          "locale": "en-US",
          "label": "PrecedingInvoiceReference"
        }
      ],
      "description": "EN 16931 BT-25. Identifier of the original or preceding invoice. SHALL be present when invoiceLifecycleStatus is corrected, cancelled or credited; MAY be omitted when the lifecycle status is active or omitted. Section 2.4 and IR-EI-09."
    }
  ]
}