Skip to content

UBL 2.1

Fiscal layer

UBL 2.1

Each processed event can emit a UBL 2.1 invoice. The receipt binds SHA-256 of the exact generated UTF-8 bytes.

Document

Processed events emit UBL 2.1 invoice XML (EN 16931 flavour). Invoice currency is EUR. Original USDC amount and the FX quote are recorded in the document notes.

Binding

  1. UBL document as generated
  2. exact UTF-8 bytes
  3. SHA-256
  4. artifacts.ubl_sha256

Algorithm identifier: sha256-utf8-bytes. There is no XML Canonicalization (C14N). Re-serializing equivalent XML with different whitespace is a different artifact and must fail the hash check.

Fetch the bound document with GET /settlements/:id/ubl.