Skip to content
dignum eBillingDesktop

Design system

Precision you can check.

Every token and component of dignum eBilling in every state. This page is the reference for everyone who builds pages: what is not here does not exist.

Internal reference page, hidden from search engines. Switch between the light and the dark theme at the top right.

Colour

Warm paper, deep ink and one signal: verified green. The dark theme follows the “Signal” direction with mint and beam blue. The values below are read live from the current theme.

Grounds

Background, raised surface (cards, inputs), sunken band, pressed.

  • --bg

    …

  • --surface

    …

  • --surface-2

    …

  • --surface-3

    …

Ink

Text in three levels. The third level is the weakest text colour allowed.

  • --ink

    …

  • --ink-2

    …

  • --ink-3

    …

  • --ink-inverse

    …

Lines

Hairlines are decoration. Borders of controls use --control with at least 3:1.

  • --line

    …

  • --line-soft

    …

  • --line-strong

    …

  • --control

    …

Signal

Verified green: primary action, success, active state, focus. Mint in the dark theme, with beam blue for focus.

  • --signal

    …

  • --signal-hover

    …

  • --signal-tint

    …

  • --on-signal

    …

  • --focus

    …

Brand accent

dignum red, only as a tiny dot in the word mark. Never for buttons, links or states.

  • --brand

    …

Status

Success, warning, error, information: each with foreground, fill and line.

  • --success

    …

  • --success-bg

    …

  • --success-line

    …

  • --warning

    …

  • --warning-bg

    …

  • --warning-line

    …

  • --error

    …

  • --error-bg

    …

  • --error-line

    …

  • --info

    …

  • --info-bg

    …

  • --info-line

    …

Data layer

Code, XML and developer surfaces. Dark in both themes.

  • --code-bg

    …

  • --code-bg-2

    …

  • --code-text

    …

  • --code-muted

    …

  • --code-tag

    …

  • --code-attr

    …

  • --code-string

    …

  • --code-number

    …

  • --code-keyword

    …

  • --code-signal

    …

  • --code-comment

    …

Invoice paper and evidence marks

The paper stays light in both themes. Evidence marks: confirmed, check, missing.

  • --paper

    …

  • --paper-ink

    …

  • --paper-ink-2

    …

  • --ev-ok

    …

  • --ev-ok-fill

    …

  • --ev-check

    …

  • --ev-check-fill

    …

  • --ev-missing

    …

  • --ev-missing-fill

    …

Contrast, live

Computed in the browser for the light theme. Text needs at least 4.5:1, control borders and focus at least 3:1. A test checks every pair in both themes.

  • --ink
    on --bg
    …:1
    too weak (4.5:1)
  • --ink-2
    on --bg
    …:1
    too weak (4.5:1)
  • --ink-3
    on --bg
    …:1
    too weak (4.5:1)
  • --signal
    on --bg
    …:1
    too weak (4.5:1)
  • --on-signal
    on --signal
    …:1
    too weak (4.5:1)
  • --success
    on --success-bg
    …:1
    too weak (4.5:1)
  • --warning
    on --warning-bg
    …:1
    too weak (4.5:1)
  • --error
    on --error-bg
    …:1
    too weak (4.5:1)
  • --info
    on --info-bg
    …:1
    too weak (4.5:1)
  • --code-text
    on --code-bg
    …:1
    too weak (4.5:1)
  • --code-comment
    on --code-bg
    …:1
    too weak (4.5:1)
  • --control
    on --surface
    …:1
    too weak (3:1)
  • --focus
    on --bg
    …:1
    too weak (3:1)

Typography

A serif for headlines with an italic accent word, a clear grotesque for the interface, a monospace for data.

t-display · Fraunces 520 · clamp 40–84 px

Turn your PDF invoice into an e-invoice.

t-title-1 · 36–64 px

Check your e-invoice.

t-title-2 · 30–44 px

Mandatory details at a glance

t-title-3 · 24–30 px

Invoice data and seller

t-heading · Hanken Grotesk 600 · 20 px

Check the extracted data

t-subheading · Hanken Grotesk 600 · 17 px

Leitweg-ID missing

t-lede · 20 px / ink-2

We read your invoice in the browser, you confirm the data, and at the end there is a technically valid e-invoice.

text-base · Hanken Grotesk 400 · 17 px / 1.6

An e-invoice is one document with two layers: the sheet people read and the data machines read. For invoices to public authorities, the Leitweg-ID as buyer reference is one of the mandatory details for federal agencies.

text-sm · 15 px

Smaller text size for tables, forms and secondary information.

t-caption / text-xs · 13 px / ink-3

Caption, a note on a field, or a source line.

t-eyebrow · JetBrains Mono caps

01 Free · no sign-up

font-mono · tabular, slashed zero

DE89 3704 0044 0532 0130 00 · 1.234,56 € · 0000 / O0 · BT-10 · BR-DE-15
04011000-1234512345-06

Hanken Grotesk · latin + latin-ext

ÄÖÜ äöü ß · „Anführungszeichen“ · 0123456789 · 12.480,00 EUR · illI1

Wójcik · Dvořák · Łukasiewicz · Erdős · Şahin · Żółć · Ąę

Spacing, radii, shadows, motion

A 4-pixel grid, square-cut radii, shadows like paper on a desk, and motion that explains structure.

Spacing

Multiples of 4 pixels (Tailwind: p-1 to p-24).

  • 1 · 4 px
  • 2 · 8 px
  • 3 · 12 px
  • 4 · 16 px
  • 6 · 24 px
  • 8 · 32 px
  • 12 · 48 px
  • 16 · 64 px
  • 24 · 96 px

Radii

Square-cut and technical: controls 4 pixels, cards 6, dialogs 10. Only marks and switches are round.

  • rounded-xs
    2 px
  • rounded-sm
    4 px
  • rounded-md
    6 px
  • rounded-lg
    10 px
  • rounded-xl
    16 px
  • rounded-full
    9999 px

Shadows

Hairline, lift, popup, invoice sheet, data layer and the glow of the primary action.

  • shadow-hair
  • shadow-sm
  • shadow-pop
  • shadow-sheet
  • shadow-layer
  • shadow-primary

Motion

Four durations. Motion explains, it does not decorate. Under reduced motion all durations are practically zero.

  • --dur-1 · 120 mshover, focus

  • --dur-2 · 220 mssmall states

  • --dur-3 · 420 mspanels, reveals

  • --dur-4 · 720 mslayers, the stamp

Hover or focus a card to see its duration.

Layers (z-index)

A fixed order for the header, popups, dialogs and notifications.

--z-base
0
--z-raised
10
--z-sticky
50
--z-dropdown
60
--z-overlay
100
--z-modal
110
--z-toast
120
--z-skip
200

Page widths

Container classes for pages, forms and articles.

  • container-page
    1400 px
  • container-wide
    1200 px
  • container-narrow
    896 px
  • container-form
    640 px
  • container-prose
    64 ch

Buttons

Exactly one primary button per view. All variants in three sizes, with icons, disabled and loading.

size="lg"

size="md"

size="sm"

iconStart / iconEnd

disabled · loading

IconButton

block

Forms

Every field has a label, hint, error text and business term. The field does the ARIA wiring.

Invoice data

6 fields · 1 missing · 2 to check

A group of related fields with a heading. Screen readers announce the group name.

BT-1

As on the invoice, without trailing spaces.

BT-2
BT-9

Calculated from “14 days net”.

BT-3
BT-10

Error: Not found in the PDF. XRechnung requires a buyer reference: enter your customer's Leitweg-ID.

BT-112

With a point as the decimal mark: 1,234.56

EUR

Value read: 1234.5 (language en)

Required field

Error: The IBAN is too short. German IBANs have 22 characters.

Set by the chosen format.

%

Type to filter, arrow keys to choose.

Payment method

With IBAN and payment reference

Replaces the value read with the sum of the line items.

Takes effect immediately, no saving needed.

View
Filter fields

Feedback

Callouts, badges, progress and notifications. Meaning always lives in an icon and a word, never in colour alone.

Callout

How it works

Your file is read in the browser and never leaves it.

Technically valid

0 errors, 2 notes. Technically valid does not automatically mean correct for tax purposes.

Service period derived

The PDF says “October 2026”. We turned that into 1 to 31 October 2026.

Leitweg-ID missing

XRechnung requires a buyer reference. Enter it under “Buyer”.

Badge

DraftValidPassedPlease checkErrorNewOptionalBetaBT-10BR-DE-15Technically valid

EvidenceBadge

ConfidentPlease checkMissingErrorVerified by you

ConfidenceMeter

StandardChip · Chip

  • XRechnung 3.0.2
  • ZUGFeRD / Factur-X
  • EN 16931
  • PDF/A-3

Progress

23 of 26 fields read with confidence, 2 to check, 1 missing

Spinner · Skeleton

Loading
CtrlK

Overlays

Dialog, side sheet, popover, tooltip and menu. Focus is trapped and restored, Escape closes.

Navigation and structure

Breadcrumbs, steps, details, timeline, tabs and accordion.

Breadcrumbs

Stepper

  1. Upload, completed
  2. Review, current step
  3. Download, upcoming

Disclosure

Technical detailsBR-DE-15

Element BT-10 (BuyerReference) is missing. Rule BR-DE-15 requires it for XRechnung.

/ubl:Invoice/cbc:BuyerReference

Show rule and location

Element BT-10 (BuyerReference) is missing. Rule BR-DE-15 requires it for XRechnung.

Timeline

  1. 01.01.2025 (past)

    Receiving becomes mandatory

    All businesses must be able to receive e-invoices.

  2. 01.01.2027 (current)

    Issuing for large businesses

    From EUR 800,000 prior-year turnover, e-invoices only; a PDF no longer suffices.

  3. 01.01.2028 (upcoming)

    Issuing for everyone

    Small businesses issue e-invoices too.

The sheet people read, with marked source regions.

No. Reading and creating run locally. Only the official validation runs on the server, with your explicit consent.

Upload

A drop zone with keyboard, drag, paste and precise error messages; file cards in every state.

Your file does not leave your browser. Free, no sign-up.

Rechnung_1042_Muster.pdf

1 page · 84 KB

Text read · 24 fields found

Stays in your browser

scan_0815.pdf

2.4 MB

Finding fields …

rechnung.docx

41 KB

Not a PDF: please upload a PDF invoice.

Data and cards

Cards, figures, tables and empty states.

Card

Muster Software GmbH

Seller
Musterstraße 12, 80331 Munich. VAT ID DE123456788.

Flat card

Without a border, for groups inside a card.

Interactive card

The whole surface is one link, the focus is visible.

Muster Software GmbH

Invoice sheet: stays light in both themes

2.427,24 €

Stat

stored on servers
0 Byte
Your file stays in the browser
output formats
2
mandatory details checked
26
standard used for validation
EN 16931

Table

Line items of the sample invoice RE-2026-1042 (synthetic data)
No.DescriptionQtyUnit priceTotal
1IT security consulting12120,00 €1.440,00 €
2Software licence, annual subscription3199,90 €599,70 €
3Travel costs (flat rate)10,00 €0,00 €

Table stack (< 640 px)

No.DescriptionTotal
1IT security consulting1.440,00 €
2Software licence, annual subscription599,70 €

EmptyState

No invoice loaded yet

Drop a PDF file or start with the sample invoice.

Code and XML

The dark data layer: line numbers, own syntax colouring, copy.

RE-2026-1042.xmlXML
<?xml version="1.0" encoding="UTF-8"?><ubl:Invoice xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"             xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">  <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID>  <cbc:ID>RE-2026-1042</cbc:ID>  <cbc:IssueDate>2026-11-02</cbc:IssueDate>  <cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>  <cbc:BuyerReference>04011000-1234512345-06</cbc:BuyerReference>  <!-- Muster Software GmbH an Beispiel AG -->  <cbc:TaxAmount currencyID="EUR">387.54</cbc:TaxAmount></ubl:Invoice>
validate.jsonJSON
{  "valid": false,  "profile": "xrechnung-ubl-3.0",  "findings": [    { "id": "BR-DE-15", "severity": "error", "term": "BT-10", "message": "Buyer reference missing" }  ],  "checked": { "tool": "KoSIT", "version": "1.6.3" }}
Validate an invoiceShell
# Validate an invoice through the REST APIcurl -sS -X POST "$BASE/api/v1/validate" \  -H "Content-Type: application/xml" \  --data-binary @RE-2026-1042.xml | jq '.valid'

Highlighted: line 9. Line numbers are not copied. The colouring comes from our own small tokenizer, no library.

Long-form text

Article typography for the knowledge section: 64-character measure, tables, callouts, footnotes.

Knowledge · basics

What an e-invoice really is

An e-invoice is a structured data set according to the EN 16931 standard. A PDF is not enough, even if it looks like an invoice. More on the standard If a mandatory detail is missing, the validator reports the rule BR-DE-15.

Three things you should know

  • XRechnung is pure XML with no visual part.
  • ZUGFeRD combines a PDF with embedded data.
  • Both formats meet EN 16931.
Technically valid does not automatically mean correct for tax purposes.
FormatFileSize
XRechnungXML (UBL / CII)4 KB
ZUGFeRDPDF/A-3 + XML96 KB

The sizes are typical values for an invoice with two line items1

Footnotes

  1. Synthetic sample data, not measurements. ↩

Workspace

The three-column pattern of the tools: document, extracted data, validation and output format.

Document

Page 1 / 1

Muster Software GmbH

Invoice RE-2026-1042

02.11.2026

Due: 02/12/2026 (derived)

Buyer reference: not found

Extracted data

24

Findings are grouped by action: first what must be fixed.

Error: Your customer's Leitweg-ID is missing

BR-DE-15BT-10Buyer reference

XRechnung requires a buyer reference. For public authorities this is the Leitweg-ID.

How to fix this

Enter your client's Leitweg-ID, for example 04011000-1234512345-06. Not a public-sector client? Choose ZUGFeRD EN 16931, where the rule does not apply.

Technical details

/ubl:Invoice/cbc:BuyerReference

Warning: Service period was derived

EBL-EXTRACTBT-73

The PDF says “October 2026”. Please check the period.

Output format

Only after fixing 1 error

Light and dark side by side

The same components in both themes, independent of the theme chosen for the page.

Light

Verified green

Two layers, one document.

BT-10

From the order or the contract.

Technically valid

0 errors, 2 notes.

Please check

Service period was derived.

Standards

XRechnung 3.0.2EN 16931
XML
<cbc:ID>RE-2026-1042</cbc:ID><cbc:BuyerReference>04011000-35</cbc:BuyerReference>

Dark

Verified green

Two layers, one document.

BT-10

Error: Not found in the PDF.

Technically valid

0 errors, 2 notes.

Please check

Service period was derived.

Standards

XRechnung 3.0.2EN 16931
XML
<cbc:ID>RE-2026-1042</cbc:ID><cbc:BuyerReference>04011000-35</cbc:BuyerReference>