API documentation

Three endpoints: validate invoices against the official KoSIT rule set, generate valid XRechnung from JSON, and read incoming e-invoices into JSON. Everything described here is the same API the public validator runs on.

Last updated: 21 November 2026 · rule set v2026-08-31

Overview

Base URL: https://api.normapi.de. Requests and responses are UTF-8; errors are RFC 9457 problem JSON. No authentication to validate or read invoices — the fair-use limits apply. You create your own key with its own quota (Authorization: Bearer nk_live_…) yourself: create an account — magic link or GitHub, no credit card. Validating and reading stay free and never count against the allowance.

EndpointPurpose
POST /v1/validateValidate one invoice: XRechnung XML (UBL or CII) or a ZUGFeRD/Factur-X PDF.
POST /v1/parseRead an incoming invoice into JSON — in exactly the shape POST /v1/invoices takes.
POST /v1/invoicesGenerate a validated XRechnung (UBL or CII) or a ZUGFeRD PDF from invoice data as JSON — on our page or inside your own PDF.

The same three as tools for AI agents, in Claude, ChatGPT, Cursor or VS Code: the MCP server.

POST /v1/validate

The document is the raw request body — no multipart, no base64. The file type is detected from content, never from the Content-Type header. For ZUGFeRD/Factur-X PDFs the embedded invoice is extracted and validated.

Request
curl -X POST https://api.normapi.de/v1/validate \
  -H 'Content-Type: application/xml' \
  -H 'Accept-Language: en' \
  -H 'X-Document-Name: invoice.xml' \
  --data-binary @invoice.xml
Response 200 (abridged)
{
  "acceptable": false,
  "wellFormed": true,
  "schemaValid": true,
  "schematronValid": false,
  "businessRulesEvaluated": true,
  "rulesetVersion": "v2026-08-31",
  "scenario": "EN16931 XRechnung (UBL Invoice)",
  "findings": [
    {
      "code": "BR-CO-16",
      "severity": "ERROR",
      "text": "[BR-CO-16]-Amount due for payment (BT-115) = ...",
      "origin": "SCHEMATRON",
      "location": "/Q{urn:oasis:...:Invoice-2}Invoice[1]/Q{...}LegalMonetaryTotal[1]",
      "line": null, "column": null,
      "test": "(exists(cbc:PrepaidAmount) and not(exists(cbc:Payable...",
      "explanation": {
        "meaning": "The amount due for payment (BT-115) must add up: ...",
        "cause": "...",
        "fix": "Use decimal arithmetic throughout rather than float or double, ...",
        "url": "https://normapi.com/en/errors#BR-CO-16"
      }
    }
  ]
}

What the fields mean — three of them are routinely misread:

FieldMeaning
acceptableThe verdict. The one answer an accept/reject decision should rest on.
schematronValidNot a verdict. “The business rules reported nothing at all.” The rule set emits advisories on perfectly valid invoices — any advisory sets this false while acceptable stays true.
businessRulesEvaluatedFalse when a schema failure stopped the run early. An empty findings list then means "not checked", never "nothing wrong".
scenarioWhich rule scenario judged the document — “EN16931 XRechnung (UBL Invoice)”, “EN16931 (CII)” for plain EN 16931 profiles (typical B2B ZUGFeRD), plus “EN16931 Factur-X/ZUGFeRD BASIC (CII)” and “Factur-X/ZUGFeRD EXTENDED (CII)” for the two hybrid profiles. The official KoSIT configuration has no scenario for BASIC or EXTENDED; NormAPI adds them so those documents are checked rather than passing through unevaluated: BASIC against the EN 16931 core, EXTENDED against the official Factur-X 1.09.2 EXTENDED rules (schema and schematron), which rulesetVersion then names. null: no scenario matched, nothing was checked, and acceptable false is a refusal to judge, not a judgement.
findings[]Every message with its rule code, severity (ERROR / WARNING / INFORMATION), rule text, XPath location and the failed test. The location is in Clark notation — each step carries its namespace as a Q{…} prefix rather than a short form like cac:, because a prefix means nothing without the document that declared it. The severity is the one the official XRechnung configuration sets for the scenario: BR-CL-23, for instance, is fatal in the rule itself but only a warning in an XRechnung — so it matches the verdict in acceptable.
findings[].explanationThe rule in plain language: what it requires (meaning), why it usually fires (cause), how to fix it (fix), and a link to its entry in the error code reference (url). Language via Accept-Language: de for German, fr for French, English otherwise; Content-Language names the one chosen. Every business rule is explained; null appears on findings that are not business rules, such as schema findings. The rule text in text stays untranslated.
findings[].advisoryOnly on a finding that does not count towards the verdict. en16931-core: a ZUGFeRD or Factur-X invoice in the EXTENDED profile is judged by the official EXTENDED rules; what the EN 16931 core rules find beyond them is listed beside them at severity INFORMATION, such as a date on an order reference (CII-DT-027), which EXTENDED allows. A note NORMAPI-EXTENDED-CORE names the codes. A recipient who accepts only EN 16931 or XRechnung would still refuse the invoice for them. Absent on every finding that counts.
rulesfrance when the French rules judged the document: asked for with rules=france, or chosen by an EXTENDED-CTC-FR invoice. Absent under the German/EN 16931 rules
suggestedRulesfrance when a document checked without the French rules looks French: a French seller, a SIREN, a French framework code or mandatory note. A hint only; the result is that of the rules used. Absent otherwise
notChecked[]Under the French rules, what no validator can check from the invoice alone: siren-status, ppf-directory, invoice-number-uniqueness, rules-outside-schematron, and chorus-pro for a public buyer. Absent when empty

French rules: rules=france. With ?rules=france the document is checked against FNFE's French rules (France_RFE) instead of the German/EN 16931 ones, and a Factur-X PDF is checked as a file too: PDF/A-3, and the Factur-X level its XMP metadata declares. The French rules are chosen, never guessed. Without the parameter the German rules judge, except for an EXTENDED-CTC-FR invoice, which gets the French rules either way. Any other value is a 400.

POST /v1/parse: reading invoices

The way back from POST /v1/invoices: an incoming e-invoice — an XRechnung or any other EN 16931 invoice as UBL or CII, a ZUGFeRD or Factur-X PDF — comes back as JSON. The endpoint takes exactly what POST /v1/validate takes: the document as the raw body, detected from its content, up to 5 MB. From a PDF, the embedded invoice is what gets read. Reading is free, needs no key and never counts against the allowance.

Request
curl -X POST https://api.normapi.de/v1/parse \
  -H 'Content-Type: application/pdf' \
  --data-binary @incoming.pdf
Response 200 (abridged)
{
  "syntax": "cii",
  "documentKind": "invoice",
  "source": { "kind": "pdf", "attachment": "xrechnung.xml" },
  "specificationId": "urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0",
  "businessProcess": "urn:fdc:peppol.eu:2017:poacc:billing:01:1.0",
  "profile": "xrechnung",
  "invoice": {
    "invoiceNumber": "RE-2026-1001",
    "issueDate": "2026-10-01",
    "typeCode": "380",
    "dueDate": "2026-10-31",
    "currency": "EUR",
    "buyerReference": "4500012345",
    "seller": { "name": "Muster Software GmbH", "vatId": "DE123456789", ... },
    "buyer": { "name": "Beispiel Handel AG", ... },
    "payment": { "meansCode": "58", "iban": "DE17100500000123456789", ... },
    "lines": [
      { "id": "1", "name": "Softwareentwicklung ERP-Schnittstelle",
        "quantity": 24, "unit": "HUR", "unitPrice": 95.00,
        "vatCategory": "S", "vatRate": 19, ... },
      ...
    ],
    ...
  },
  "stated": {
    "lineTotal": "2940.00",
    "netTotal": "2940.00",
    "vatTotal": "558.60",
    "grossTotal": "3498.60",
    "amountDue": "3498.60",
    "vatBreakdown": [
      { "category": "S", "rate": "19.00",
        "taxableAmount": "2940.00", "vatAmount": "558.60", ... }
    ],
    "lines": [{ "netAmount": "2280.00", ... }, { "netAmount": "660.00", ... }],
    ...
  },
  "notMapped": [],
  "validation": null
}
FieldMeaning
invoiceThe invoice in exactly the shape POST /v1/invoices takes: read it, change it, generate it again — with no mapping in between. Every field is present; what the document does not hold is null. Generation's defaults apply, such as typeCode 380 and empty lists. Where the norm states a value once per VAT group, it stands here on every member: the exemption reason (BT-120) on each line, allowance and charge of that group. An allowance given as a percentage has percent and baseAmount, and amount is null — stated has the amount.
statedWhat NormAPI computes itself when it generates, and so does not take from the request: the totals (BT-106 to BT-115), the VAT breakdown (BG-23), each line's net (BT-131) and the amounts of allowances and charges. As strings, exactly as the document writes them — 336.9 stays 336.9, never passing through a float. Whether they add up is the rule set's question: ?validate=true.
notMapped[]Every value of the document the response does not carry, as a path without positions and with a count: /Invoice/cac:InvoiceLine/cac:Item/cac:CommodityClassification/cbc:ItemClassificationCode. That is data the invoice shape has no place for (an item classification, a separate payee), values that cannot be read as what they should be (a date that is no date), and repetitions: where the document has several values and the shape holds one, the first is read and the rest are listed here. For any invoice NormAPI generated, the list is empty. Nothing is lost without you seeing it.
profileThe profile value of POST /v1/invoices that declares exactly this specification identifier (BT-24) — pass it to generate the invoice again under the same rules. Null for any other identifier, such as XRechnung 2.x or ZUGFeRD BASIC.
syntax, source, documentKindubl or cii; xml or pdf, for a PDF with the name of the embedded file; invoice or creditNote — in CII the type code (BT-3) decides, since both share one root element.
validationWith ?validate=true, the verdict exactly as POST /v1/validate returns it, explanations in the language Accept-Language picks. Without the parameter null: no rule set runs.
TypeScript (@normapi/client 0.7.0 or later)
import { generateInvoice, parse } from '@normapi/client'
import { readFile } from 'node:fs/promises'

const { invoice, stated, notMapped, profile } = await parse(await readFile('incoming.pdf'))

console.log(invoice.invoiceNumber, invoice.seller?.name, stated.amountDue)
for (const entry of notMapped) {
  console.log(`not carried: ${entry.path} (${entry.count}×)`)
}

// Correct an invoice of your own: read it, change it, generate it again —
// under the same rules the original declares.
const { xml } = await generateInvoice(
  {
    ...invoice,
    invoiceNumber: 'RE-2026-1001-K',
    typeCode: '384',
    precedingInvoices: [{ number: invoice.invoiceNumber, issueDate: invoice.issueDate }],
  },
  { apiKey: process.env.NORMAPI_KEY, ...(profile === null ? {} : { profile }) },
)

POST /v1/invoices

Invoice data as JSON in, a validated XRechnung 3.0.2 back — UBL by default, UN/CEFACT CII with ?syntax=cii, or a complete ZUGFeRD hybrid PDF (PDF/A-3 with the invoice embedded and a human-readable page) with ?syntax=zugferd. The server computes every total — line nets, the VAT breakdown, document totals — in decimal arithmetic, so the BR-CO sum rules hold by construction. The classic e-invoicing failure is caller-side float arithmetic; an API that accepted precomputed totals would reproduce exactly that bug.

No invoice leaves unvalidated: every generated document runs through the official rule set before the response. A 200 therefore carries a document that passed — if your JSON describes an invoice the rules do not permit, you get a 422 with the findings. Each names, beside the rule, the fields of your JSON it concerns in fields, such as buyer.vatId or lines[1].unit — a missing field like buyerReference too.

For businesses: profile=en16931. Without it you get an XRechnung, as public authorities require. It adds three things to EN 16931: the buyer reference (the Leitweg-ID for authorities, BR-DE-15), a seller contact (BR-DE-2) and both sides' electronic addresses. Between businesses § 14 UStG accepts the norm itself: with ?profile=en16931 those may be left out, the document is checked against the EN 16931 rules (scenario “EN16931 (UBL Invoice)” or “EN16931 (CII)”), and a ZUGFeRD PDF carries the EN 16931 profile.

From France: profile=france. For a seller established in France (country FR or an overseas department, BR-FR-MAP-14), ?profile=france writes the EN 16931 invoice with what French law adds to it: the cadre de facturation in BT-23, the notes PMT, PMD, AAB and BAR or ADN, and the French legal mentions. It checks the invoice against FNFE's French rules (BR-FR) before it is returned, and it requires the france object. The request is checked before anything is written: a mistake those rules would refuse is a 400 naming the field, and the rule or article where one applies. What only the written document shows is a 422 as always. The invoice declares the same specification as profile=en16931, and a ZUGFeRD PDF carries the EN 16931 profile.

The page's language: pdfLanguage. The page of a ZUGFeRD PDF is French with profile=france (pdfLanguage=fr) and German under every other profile (pdfLanguage=de), profile=xrechnung and profile=en16931 alike: the seller's country does not decide. pdfLanguage=de or pdfLanguage=fr sets it; the French legal mentions stay French on a German page. Where no page is printed (syntax=ubl, syntax=cii, your own PDF) the parameter is ignored and named in X-Normapi-Ignored-Fields; any other value is a 400.

profile=extended-ctc-fr is a 400: NormAPI does not write EXTENDED-CTC-FR, the profile of marketplace invoicing. If you need it, write to kontakt@normapi.de: we count these requests to decide whether to build it. Everything French, in French: the API documentation (in French).

Request
curl -X POST https://api.normapi.de/v1/invoices \
  -H 'Content-Type: application/json' \
  --data-binary @invoice.json -o invoice.xml

# UN/CEFACT CII instead of UBL:
curl -X POST 'https://api.normapi.de/v1/invoices?syntax=cii' ...

# ZUGFeRD hybrid PDF (application/pdf):
curl -X POST 'https://api.normapi.de/v1/invoices?syntax=zugferd' \
  -H 'Content-Type: application/json' \
  --data-binary @invoice.json -o invoice.pdf

# For a business: EN 16931, Leitweg-ID, contact and email addresses optional
curl -X POST 'https://api.normapi.de/v1/invoices?syntax=zugferd&profile=en16931' ...
invoice.json
{
  "invoiceNumber": "RE-2026-0815",
  "issueDate": "2026-08-13",
  "dueDate": "2026-09-12",
  "deliveryDate": "2026-08-10",
  "currency": "EUR",
  "buyerReference": "04011000-12345-03",
  "seller": {
    "name": "Muster Software GmbH",
    "vatId": "DE123456789",
    "electronicAddress": "rechnung@muster-software.de",
    "address": { "street": "Beispielstraße 12", "city": "Berlin",
                 "postcode": "10115", "country": "DE" },
    "contact": { "name": "Maria Muster", "phone": "+49 30 1234567",
                 "email": "maria@muster-software.de" }
  },
  "buyer": {
    "name": "Beispiel Handel AG",
    "electronicAddress": "einkauf@beispiel-handel.de",
    "address": { "street": "Handelsweg 3", "city": "Hamburg",
                 "postcode": "20095", "country": "DE" }
  },
  "payment": { "meansCode": "58", "iban": "DE02120300000000202051",
               "reference": "RE-2026-0815" },
  "paymentTerms": "Payable within 30 days net.",
  "lines": [
    { "name": "Software licence, annual", "quantity": 3, "unit": "C62",
      "unitPrice": 199.00, "vatCategory": "S", "vatRate": 19 }
  ]
}

The response body is the XML itself (Content-Type application/xml) — redirect it to a file and you are done. Two headers carry provenance:

HeaderContent
X-Normapi-RulesetThe rule set that judged the document, e.g. v2026-08-31
X-Normapi-Scenario"EN16931 XRechnung (UBL Invoice)" — the rules the document passed
X-Normapi-Quota-UsedInvoices generated this month — only on keys that carry an allowance
X-Normapi-Quota-LimitThe plan's allowance. Once it is reached, /v1/invoices answers 402
X-Normapi-Daily-RemainingWithout a key: how many invoices are left today, this one already taken off. With X-Normapi-Daily-Limit, the daily limit
X-Request-IdThis call's id, on every response — quote it when you contact us
Idempotent-Replayedtrue on the repeat of a call that already succeeded under the same Idempotency-Key — the same invoice again, not counted again (Retries)
X-Normapi-Ignored-FieldsFields of your data that no part of an invoice knows, so they are in no document, e.g. “lines[0].articleNumber” — only when there are some, on 400 and 422 too. A misspelt field often explains a missing one
X-Normapi-CustomerThe customer the call was counted for — only when you named one (Customers). With X-Normapi-Customer-Used and -Limit when it has a ceiling
X-Normapi-LetterheadOn a ZUGFeRD PDF on our page, when your account has a letterhead: its id when the PDF is printed on it, none when it is not. With X-Normapi-Letterhead-Skipped and the reason (Letterhead)

Credit notes, corrections, partial and final invoices are chosen with typeCode (BT-3); the reference to the earlier invoice goes in precedingInvoices (BG-3). A 381 is written as a UBL CreditNote document, as the rule set requires. Amounts stay positive — the document type says which way the money flows.

A credit note for an invoice
"typeCode": "381",
"precedingInvoices": [
  { "number": "RE-2026-0815", "issueDate": "2026-08-13" }
]

Allowances and charges exist at document level (allowances, charges, each with its own VAT category) and per line (without a VAT category — the line's applies). Give an amount or a percentage; the server computes the amount from the percentage, rounded half-up to the cent, and every total and the VAT breakdown with it.

Loyalty discount, shipping, a volume discount on one line
"allowances": [
  { "amount": 9.80, "reason": "Treuerabatt", "reasonCode": "95",
    "vatCategory": "S", "vatRate": 7 }
],
"charges": [
  { "amount": 12.50, "reason": "Versandkosten", "reasonCode": "FC",
    "vatCategory": "S", "vatRate": 19 }
],
"lines": [
  { "name": "Softwarelizenz Jahresabo", "quantity": 3, "unit": "C62",
    "unitPrice": 199.00, "vatCategory": "S", "vatRate": 19,
    "allowances": [
      { "percent": 10, "reason": "Mengenrabatt", "reasonCode": "95" }
    ] }
]

Payment means: credit transfer (58, 30) with an account, SEPA direct debit (59) with a mandate, card payment (48, 54, 55) with a card — and any other UNTDID 4461 code with nothing further. Each route carries only its own group: collecting by direct debit means leaving your own IBAN out (BR-DE-25-b).

SEPA direct debit
"payment": {
  "meansCode": "59",
  "reference": "RE-2026-0815",
  "directDebit": {
    "mandateReference": "MANDAT-2026-001",
    "creditorId": "DE98ZZZ09999999999",
    "debitedAccount": "DE02120300000000202051"
  }
}

Your own PDF

If your software already lays out its invoices, keep the layout: send your PDF along, and NormAPI embeds the validated XML in it. The request is multipart, with the invoice data as part invoice (the same JSON as above) and your PDF as part pdf, up to 5 MB. The syntax is zugferd, the only one a PDF can carry, so it can be left out. It needs an API key and counts as one generated invoice, like any other.

Request
curl -X POST https://api.normapi.de/v1/invoices \
  -H 'Authorization: Bearer nk_live_…' \
  -F 'invoice=@invoice.json;type=application/json' \
  -F 'pdf=@your-invoice.pdf;type=application/pdf' \
  -o invoice.pdf

Checked twice before it is returned: the XML against the rule set, like every generated invoice, and the finished file against PDF/A-3 with veraPDF. Two common causes NormAPI puts right itself first, without changing the page: Helvetica and Arial that are not embedded get the metric-compatible Liberation Sans embedded, and images lose the keys PDF/A forbids (Interpolate, Alternates, OPI). A file that still cannot become a PDF/A-3 comes back as a 422 whose violations name the clauses of ISO 19005-3 it breaks. Most often another font is not embedded: export the PDF as PDF/A (1b, 2b or 3b) from the software that renders it, and send it again. A PDF that already carries an e-invoice is refused rather than overwritten. Every refusal of your PDF carries, beside the prose, a reason your program can match on: not-pdfa, uncheckable, unreadable, already-invoice, not-rewritable, too-large or not-pdf.

Example 422 (your PDF)
{
  "type": "https://normapi.de/problems/pdf-not-pdfa",
  "title": "PDF cannot become a PDF/A-3",
  "status": 422,
  "reason": "not-pdfa",
  "violations": [
    { "clause": "6.2.11.4.1", "test": 1, "occurrences": 1,
      "description": "The font programs for all fonts used for rendering within a conforming file shall be embedded ..." }
  ]
}

Your letterhead

A ZUGFeRD PDF on our page (?syntax=zugferd, without your own PDF) is printed by NormAPI on your account's letterhead when it has one, with the recipient's address in the window of the envelope. You upload the letterhead once as a PDF, in the account under Letterhead. Uploading, replacing and deleting exist only there; the API has no endpoint for them. The letterhead is included in every plan, the free one too, and the invoices printed on it count like any other generated invoice. XRechnung (UBL or CII) has no page and stays as it is.

You upload a PDF file of up to 5 MiB with one or two A4 pages in portrait orientation, with images of up to 10 megapixels in colour (30 in greyscale) and drawings of up to 512 KiB per page. The first page is the letterhead of an invoice's first page, the second the letterhead of the follow pages; a file with one page uses it for every page. In the account you also choose whether the letterhead applies to every invoice of the account or to one seller only (VAT ID, tax number or name; it is enough if one of them matches the invoice).

Request
# On the account's letterhead, if it has one (the default):
curl -X POST 'https://api.normapi.de/v1/invoices?syntax=zugferd' \
  -H 'Authorization: Bearer nk_live_…' \
  -H 'Content-Type: application/json' \
  --data-binary @invoice.json -o invoice.pdf -D -

# In NormAPI's standard layout:
curl -X POST 'https://api.normapi.de/v1/invoices?syntax=zugferd&letterhead=none' ...

The query parameter letterhead decides per call:

ValueMeaning
autoThe default: your account's letterhead, unless one of the reasons below speaks against it
noneNormAPI's standard layout

The parameter applies to calls with an API key; without a key there is no account and no letterhead. Any other value is a 400 that names letterhead, for UBL and CII too, where the value otherwise has no effect. A call with your own PDF does not read it: then your PDF is the layout.

Two response headers say what happened. Both come only with ZUGFeRD on our page, and only when your account has a letterhead; without a letterhead, and with XML, they are absent.

Response headers
# The PDF is printed on the letterhead:
X-Normapi-Letterhead: lh_9f2c4e1a7b3d45f6a8c0e2b4d6f81357

# Standard layout, with the reason:
X-Normapi-Letterhead: none
X-Normapi-Letterhead-Skipped: requested
X-Normapi-Letterhead-SkippedReason
requestedThe call sent letterhead=none
customer-callThe call is for one of your customers (the X-Normapi-Customer header, or a key bound to a customer, Customers): your letterhead is never printed on your customers' invoices
seller-mismatchThe letterhead is for one seller, and the invoice's seller is another
needs-confirmationThe check of the letterhead raised notes that still have to be confirmed in the account (“Use it anyway”)
recheck-failedThe check that follows an update of NormAPI failed; the account shows the reason
render-failedThe letterhead could not be used for this invoice because of an error on our side; the invoice was created in the standard layout

If more than one reason applies, the header names the first in this order. With an Idempotency-Key, a repeat names the letterhead the first call was printed on; if the letterhead has changed since, the repeat is a different request (422 idempotency-key-reused).

Placeholders. If one of these placeholders is text in the letterhead, NormAPI puts its value in on every page, in Liberation Sans, at the placeholder's font size and position. Upper and lower case do not matter.

PlaceholderReplaced with
[RECHNUNGSNUMMER]The invoice number (BT-1). Also [INVOICE NUMBER]
[SEITE]The page number. Also [PAGE] and [X]
[SEITEN]The number of pages. Also [PAGES] and [Y]

Without placeholders, follow pages start with “Rechnung 2026-0042 · Seite 2 von 3” (“Gutschrift …” for a credit note). If NormAPI does not recognise the letterhead's placeholders, for example because the font has no Unicode mapping, the preview in the account says so.

The address field under DIN 5008. NormAPI prints the recipient in the address field and the invoice details in the information block, at the positions of DIN 5008:2020, in millimetres from the top edge of the page. The body of the invoice runs from 25 to 190 mm from the left edge.

AreaForm BForm A
Address field, 85 × 45 mm, 20 mm from the left edge45 to 90 mm27 to 72 mm
Zusatz- und Vermerkzone (additional and remarks zone): the top of the address field, where your letterhead’s return line sits45 to 62.7 mm27 to 44.7 mm
Anschriftzone (address zone), 25 mm from the left edge: where NormAPI prints the recipient’s address62.7 to 90 mm44.7 to 72 mm
Information block, 125 to 190 mm from the left edge: the invoice detailsfrom 50 mmfrom 32 mm
Title: the printed heading, “RECHNUNG” on an invoice (its baseline)98.46 mm80.46 mm
Fold marks105 and 210 mm87 and 192 mm

NormAPI recognises the form by the letterhead's fold marks or, without marks, by the return line in the Zusatz- und Vermerkzone. If it finds neither, the letterhead counts as having no window: the address and the invoice details then sit directly under the letterhead. In the account you can change the envelope form and the margins, and the preview shows a sample invoice on your letterhead with the address field as a dashed box.

Retries: Idempotency-Key

After a timeout you cannot tell “never arrived” from “generated, and the answer got lost”. Send an Idempotency-Key header — 1 to 255 printable ASCII characters, a UUID or your invoice number — and retry with the same key. If the first call succeeded, you get the invoice again, marked Idempotent-Replayed: true, and it is not counted a second time. A key holds for 24 hours, and only as a SHA-256 digest: neither it nor the invoice is stored. It applies to calls with an API key, the ones that are counted.

Request
curl -X POST https://api.normapi.de/v1/invoices \
  -H 'Authorization: Bearer nk_live_…' \
  -H 'Idempotency-Key: RE-2026-0815' \
  -H 'Content-Type: application/json' \
  --data-binary @invoice.json -o invoice.xml
SituationAnswer
First call with the keyRuns as usual
Same key, same request, and the first call succeeded200 with the same invoice, Idempotent-Replayed: true, not counted — even when the allowance is used up by now
The first call failed (400, 422, 503 …)The key is free again: fix the data and retry with the same key
Same key while the first call is still running409 with Retry-After: 1
Same key for a different request: other data, another syntax or another PDF422 idempotency-key-reused — a new invoice needs a new key

A repeat is generated again rather than read from storage, since invoices are not stored. The invoice is the same; a PDF's internal timestamps can differ.

Your software’s customers

When your software generates invoices for its own customers — accounting, a shop system, a portal — name the customer each call is for, in the X-Normapi-Customer header, with your own reference for it. It stays one account with one allowance, but NormAPI counts each customer on its own. Under Customers in the account you see what each one generated in a month, and can set a ceiling for any of them.

Request
curl -X POST https://api.normapi.de/v1/invoices \
  -H 'Authorization: Bearer nk_live_…' \
  -H 'X-Normapi-Customer: tenant-42' \
  -H 'Content-Type: application/json' \
  --data-binary @invoice.json -o invoice.xml
QuestionAnswer
What may it hold?1 to 64 characters: letters, digits and . _ : -, starting with a letter or a digit; case counts. Anything else is 400 invalid-request, with the header in rejectedFields
What does it apply to?Every call under /v1 made with an API key, validation, parsing and generation alike. The response sends it back. Without a key it is ignored, since nothing is counted then
And the allowance?Stays one for the account: all customers together count against the plan
With an Idempotency-Key?The customer is part of the request. The same Idempotency-Key for another customer is another request: 422 idempotency-key-reused

One key per customer. A key can be bound to a customer when it is created. Every call made with it counts for that customer, header or not; a header naming another customer gets 400 customer-mismatch. A customer holding its own key therefore cannot book onto another. A bound key reads only its own customer under /v1/customers and changes no ceiling (403 customer-bound-key).

A ceiling per customer. For any customer you can set the most invoices it generates in a calendar month (UTC). What counts is what was generated; refusals do not, and the repeat of a successful call under the same Idempotency-Key is delivered even at the ceiling. Once the ceiling is reached, /v1/invoices answers 429 customer-quota-exceeded for that customer, with a Retry-After to the start of the next month. Validation and parsing stay free and your other customers carry on. Below it, successful responses carry X-Normapi-Customer-Used (generated so far this month) and X-Normapi-Customer-Limit.

Response 429
{
  "type": "https://normapi.de/problems/customer-quota-exceeded",
  "title": "Monthly ceiling for this customer reached",
  "status": 429,
  "customer": "tenant-42",
  "used": 500,
  "limit": 500,
  "resetsAt": "2026-11-01T00:00:00Z"
}

The numbers for your billing are in the API too, with the same key and not counted:

CallEffect
GET /v1/customers?month=2026-10Every customer of the month, most invoices generated first: invoices generated (generated), generations refused with 4xx (refused), calls per endpoint (calls) and the ceiling (monthlyInvoices). Without month, the current month; limit (1–1000, default 100) and cursor page on
GET /v1/customers/{customer}One customer in the month (month as above) — zeros for one that has not called yet
PUT /v1/customers/{customer}/allowanceBody {"monthlyInvoices": 500}: sets or replaces the ceiling (1 to 10,000,000), at once and for the whole month
DELETE /v1/customers/{customer}/allowanceRemoves the ceiling; 204 whether there was one or not
Response GET /v1/customers
{
  "month": "2026-10",
  "customers": [
    { "customer": "tenant-42", "generated": 418, "refused": 3,
      "calls": { "generate": 421, "validate": 96 }, "monthlyInvoices": 500 },
    { "customer": "tenant-7", "generated": 97, "refused": 0,
      "calls": { "generate": 97 }, "monthlyInvoices": null }
  ],
  "withoutCustomer": { "generated": 12, "refused": 1,
    "calls": { "generate": 13, "validate": 40 } },
  "nextCursor": null
}

A key without an account gets 403 account-required here, a call without a key 401. When nextCursor is not null, the same call with cursor= that value fetches the next page.

What is checked

What an acceptable: true means depends on the document. Everything below runs on every call unless it says otherwise, against the official KoSIT configuration v2026-08-31 (XRechnung 3.0.2); “not checked” means exactly that.

Document (validation)XML schemaEN 16931 rulesXRechnung rules
XRechnung UBL, invoice or credit note, including the Extension and CVD variantsUBL 2.1checkedchecked
XRechnung CII, and ZUGFeRD/Factur-X in the XRECHNUNG profileCII D16Bcheckedchecked
EN 16931 without a national CIUS: UBL, CII, and ZUGFeRD/Factur-X EN 16931 (formerly COMFORT)UBL 2.1 / CII D16Bcheckednot applicable
ZUGFeRD/Factur-X BASIC — a scenario NormAPI adds, with the official EN 16931 rulesCII D16Bcheckednot applicable
ZUGFeRD/Factur-X EXTENDED — a scenario NormAPI adds, with the official Factur-X 1.09.2 EXTENDED rulesFactur-X EXTENDEDchecked as EXTENDED words them; what the core rules find beyond that is listed as information with advisory “en16931-core”not applicable
ZUGFeRD/Factur-X MINIMUM and BASIC WL, Peppol BIS Billing, anything else (scenario null)not checkednot checkednot checked
The PDF of a hybrid (validation)Checked?
The embedded XML (factur-x.xml, xrechnung.xml or zugferd-invoice.xml)checked, as in the table above
PDF/A-3 conformance of the filechecked with ?pdf=check (veraPDF), violations as warnings; the validator on this site always asks; always checked with ?rules=france, as errors
Profile declared in the XMP metadata (ConformanceLevel) matching the XMLchecked with ?pdf=check, a mismatch as a warning; always checked with ?rules=france, as an error
Whether the page shows what the XML saysnot checked
GenerationXMLPDF
syntax=ubl, syntax=ciiXRechnung 3.0.2 with all three rule layers, with profile=en16931 the schema and the EN 16931 rules; every callnone
syntax=zugferd on our pageXRECHNUNG profile with all three rule layers, with profile=en16931 the EN 16931 profile with the schema and the EN 16931 rules; every callPDF/A-3: our page is proven with veraPDF by the test suite on every release, not per call
syntax=zugferd on your PDFXRECHNUNG or EN 16931 profile, as above; every callPDF/A-3B with veraPDF, every call; whether your page shows the same amounts is not compared

Field reference: generating

Required fields are marked. Everything else is decided by the rule set itself — a seller with neither VAT id nor tax number gets a 422 naming BR-DE-16, not a made-up error code of ours.

FieldTypeMeaning
invoiceNumber *stringInvoice number (BT-1)
issueDate *YYYY-MM-DDIssue date (BT-2)
typeCodeUNTDID 1001Document type (BT-3), default 380 invoice · 326 partial invoice · 381 credit note · 384 corrected invoice · 389 self-billed invoice · 875/876/877 partial, partial final, final construction invoice. Other codes draw the BR-DE-17 warning
dueDateYYYY-MM-DDDue date (BT-9). Without dueDate or paymentTerms the recipient has no payment deadline
deliveryDateYYYY-MM-DDDelivery date (BT-72); omitting it and invoicePeriod draws an advisory from the rule set
deliverToDeliverToWhere the supply went (BG-13), when not simply to the buyer: name (BT-70), locationId (BT-71, e.g. the GLN) with locationIdScheme (BT-71-1, 0088 for a GLN), address (BG-15, built like the address below). Needed for an intra-community supply (category K): without the delivery country the rule set refuses it (BR-IC-12)
invoicePeriodPeriodInvoicing period (BG-14): startDate (BT-73) and endDate (BT-74), each YYYY-MM-DD; one end is enough. Instead of deliveryDate or beside it, e.g. on a monthly invoice
currency *ISO 4217Currency (BT-5), e.g. EUR
buyerReferencestringBuyer reference (BT-10) — the Leitweg-ID for public-sector buyers. Mandatory in XRechnung (BR-DE-15), optional with profile=en16931
orderReferencestringThe buyer’s purchase order number (BT-13)
contractReferencestringContract number (BT-12)
projectReferencestringProject number (BT-11)
despatchAdviceReferencestringDelivery note number (BT-16)
attachmentsAttachment[]Supporting documents (BG-24), at most 20: id (BT-122, else the filename), description (BT-123), the file as content (base64, BT-125) with filename and mimeCode, or url (BT-124). PDF, PNG, JPEG, CSV, XLSX and ODS are permitted (BR-CL-24), each filename once (BR-DE-22), up to 3 MB together. In CII, two or more files or descriptions draw the CII-SR-475/476 warnings, a known defect of those CEN rules
precedingInvoicesReference[]Earlier invoices referred to (BG-3): number (BT-25, required), issueDate (BT-26). Expected for 384 (BR-DE-26). At most one in CII and ZUGFeRD — the schema has room for one
notestringFree-text note (BT-22)
seller *PartySeller (BG-4), see below
buyer *PartyBuyer (BG-7), see below
payment *PaymentPayment instructions (BG-16)
paymentTermsstringPayment terms (BT-20). A cash discount machine-readably as a line #SKONTO#TAGE=14#PROZENT=2.00# (BR-DE-18)
allowancesAllowanceCharge[]Document-level allowances (BG-20), see below
chargesAllowanceCharge[]Document-level charges (BG-21), see below
prepaidAmountnumberAlready paid (BT-113), such as partial payments before a final invoice; the amount due (BT-115) drops accordingly
lines *Line[]At least one line (BG-25)

Party — the same shape for seller and buyer; which side needs what is the rule set's call (the seller needs a tax identity, and in XRechnung a contact; the buyer does not):

FieldTypeMeaning
name *stringLegal name (BT-27 / BT-44)
identifierstringAny party identifier (BT-29). Matters for sellers without a VAT id: the tax number satisfies BR-DE-16 but only an identifier satisfies BR-CO-26 — repeating the tax number here is fine
vatIdstringVAT id (BT-31), e.g. DE123456789
taxNumberstringGerman tax number (BT-32)
electronicAddressstringElectronic address (BT-34 / BT-49), usually an email address. XRechnung requires it on both sides (PEPPOL-EN16931-R020 and -R010), EN 16931 does not
electronicAddressSchemeEAS codeScheme of the address; default EM (email)
address *Addressstreet (optional), city, postcode, country (ISO 3166-1 alpha-2) — city and postcode are mandatory
contactContactname, phone, email — mandatory on the seller in XRechnung (BR-DE-2 through 7), with plausibility checks (BR-DE-27/28); optional with profile=en16931, also one by one
tradingNamestringTrading name beside the legal name (BT-28 / BT-45)
registrationIdstringRegister entry, e.g. HRB 123456 (BT-30 / BT-47); identifies the seller like a VAT ID does (BR-CO-26). registrationIdScheme (BT-30-1): ISO 6523 code, none for German registers, 0002 for a French SIREN
legalInformationstringSeller only (BT-33): what company law wants on business letters — seat, register court, managing directors (§ 35a GmbHG, § 80 AktG, § 37a HGB). The ZUGFeRD PDF prints it with the register number

Payment and Line:

FieldTypeMeaning
payment.meansCode *UNTDID 446158 SEPA credit transfer, 30 credit transfer, 59 SEPA direct debit, 48/54/55 card; other codes (10, 20, ZZZ …) without a further group
payment.meansTextstringPayment means in plain text (BT-82), e.g. "SEPA credit transfer"
payment.ibanstringPayee account (BT-84); required by BR-DE-23-a for codes 58/30. On a credit note, the account the amount is paid out to
payment.accountNamestringAccount holder (BT-85)
payment.bicBICBIC of the payee's bank (BT-86), 8 or 11 characters
payment.referencestringRemittance information (BT-83)
payment.cardCardFor 48/54/55 (BG-18): number (BT-87) — only the last 4 to 6 digits, no asterisks or spaces; more than 10 digits is refused with 400 — holder (BT-88), network (e.g. VISA, UBL only)
payment.directDebitDirectDebitFor 59 (BG-19) all three: mandateReference (BT-89), creditorId (BT-90, your creditor identifier), debitedAccount (BT-91, the customer's IBAN). Leave your own IBAN out then
line.name *stringItem name (BT-153)
line.descriptionstringItem description (BT-154)
line.quantity *numberQuantity (BT-129), up to 6 decimals
line.unit *UN/ECE Rec 20Unit (BT-130): C62 piece, HUR hour, DAY day …
line.unitPrice *numberNet unit price (BT-146), up to 4 decimals — with baseQuantity, the price of that many units
line.vatCategory *UNTDID 5305S standard · Z zero-rated · E exempt · AE reverse charge · K intra-community · G export · O not subject to VAT · L/M. O stands alone: no other category beside it, no VAT id on seller or buyer (the seller then goes by taxNumber and identifier), and an exemption reason
line.vatRatepercentVAT rate (BT-152); required for S
line.vatExemptionReasonstringExemption reason (BT-120) — demanded by the rule set for E/AE/K/G, e.g. "Kleinunternehmer gemäß § 19 UStG"
line.allowancesAdjustment[]Allowances on the line (BG-27): amount or percent, baseAmount, reason, reasonCode — no VAT category. The line net (BT-131) is quantity × price ÷ baseQuantity less allowances plus charges
line.chargesAdjustment[]Charges on the line (BG-28), the same shape
line.periodPeriodThe period the line covers (BG-26), built like invoicePeriod
line.orderLineReferencestringThe line of the purchase order this line bills (BT-132)
line.notestringA note on this line (BT-127)
line.sellerItemIdstringThe seller's article number (BT-155)
line.buyerItemIdstringThe buyer's own number for the same article (BT-156)
line.standardItemIdstringAn identifier under a registered scheme (BT-157), usually the GTIN (EAN) on the packaging
line.standardItemIdSchemeISO 6523 ICDScheme of that identifier (BT-157-1); 0160, the GTIN, when absent
line.listPricenumberList price before the discount (BT-148), at least unitPrice. We compute the discount (BT-147): listPrice − unitPrice
line.baseQuantitynumberPrice base quantity (BT-149): how many units unitPrice and listPrice are for, e.g. 100 for screws priced per hundred; 1 when absent

AllowanceCharge — one document-level allowance or charge; at line level the same fields without the three VAT ones:

FieldTypeMeaning
amountnumberAmount (BT-92 / BT-99), two decimals. Exactly one of amount and percent
percentpercentPercentage (BT-94 / BT-101); the server computes the amount, rounded half-up to the cent
baseAmountnumberBase amount (BT-93 / BT-100), only together with percent — a base without a percentage is an error (PEPPOL-EN16931-R042). If omitted: the line nets of the same VAT category and rate, at line level quantity × price
reasonstringReason in plain text (BT-97 / BT-104). reason or reasonCode must be present
reasonCodecodeAllowance: UNTDID 5189, e.g. 95 discount · charge: UNTDID 7161, e.g. FC freight
vatCategory *UNTDID 5305VAT category (BT-95 / BT-102) — decides which VAT group the amount lowers or raises
vatRatepercentVAT rate (BT-96 / BT-103)
vatExemptionReasonstringExemption reason for the VAT group (BT-120) when this amount alone creates it

france — required with profile=france: what only France asks of an invoice. What France shares with EN 16931 has its own field above: the SIREN is registrationId with scheme 0002, BT-13 is orderReference, BG-15 is deliverTo.

FieldTypeMeaning
france.recipient *stringWho the invoice is for. business: a business in France, note BAR B2B, its SIREN required (BR-FR-11). abroad: a business outside France, BAR B2BINT, the only recipient for the categories K and G. consumer: a private person, BAR B2C. public: a French public buyer through Chorus Pro, note ADN B2G, its SIREN and SIRET required (BR-FR-CPRO-10, BR-FR-09). The buyer's country follows from it (BR-FR-MAP-14)
france.operation *stringWhat is invoiced, the first letter of BT-23, the cadre de facturation (BR-FR-08): goods B, services S, mixed M for goods and services not incidental to one another
france.stagestringThe digit of BT-23: standard (the default) 1; paid 2, an invoice already paid, whose dueDate is the payment date and BT-113 the whole total (BR-FR-CO-09); final 4, the invoice after a prepayment, not itself 386, 500 or 503 (BR-FR-CO-08)
france.vatOnDebitsbooleanThe option to pay VAT on debits (BT-8), printed in the prescribed words. Services only: with operation goods it is a 400 (BR-FR-MAP-03, CGI 269-2-c)
france.vatFranchisebooleanThe seller charges no VAT (franchise en base, CGI 293 B): every line, allowance and charge is category E, BT-121 is VATEX-FR-FRANCHISE, and BT-120 the prescribed words unless you give a vatExemptionReason
france.discountTermsstringThe early-payment discount, or its absence, in words: the note AAB (BR-FR-05, BR-FR-06; L441-9). Left out, the note says there is none. Up to 500 characters
france.latePenaltystringThe late-payment penalty rate in words: the note PMD (L441-10). Left out, the legal rate, the ECB's refinancing rate plus 10 points. Up to 500 characters
france.recoveryFeestringThe fixed fee for recovering a late payment, in words: the note PMT. Left out, EUR 40, as D441-5 sets it. Up to 500 characters
france.serviceCodestringA public buyer's code service, BT-46 under scheme 0224 (BR-FR-CPRO-11). CII only: with syntax=ubl or syntax=zugferd it is a 400, so give the engagement number in orderReference instead
france.singleTaxablePersonSingleTaxablePersonThe single taxable person (assujetti unique) the seller is a member of, CGI 242 nonies A 5° bis: memberId (9 digits), name, vatId and address. NormAPI writes BG-11, the member identifier under scheme 0231 and the note TXD (BR-FR-CO-14, BR-FR-CO-15)
france.billingAddressAddressThe address the buyer is billed at, when not its own (L441-9). Printed on the page only: EN 16931 has no term for it

Error responses

Errors are RFC 9457 problem JSON with type, title, detail and status. The status codes carry meaning:

StatusMeaningReaction
400Request structurally unusable — detail names every field concerned: missing, malformed (a BIC, say, or an X-Normapi-Customer with a space) or impossible to turn into a document (amount and percent together, a percentage with no base, a card number with more than 10 digits). Also: a key bound to a customer, with a header naming another (customer-mismatch)Fix the request
401The key sent is unknown or revoked. Without a key the anonymous limits apply — a wrong key is worse than none. Also: your own PDF sent without a key (api-key-required)Check the key
402The month’s allowance of generated invoices is spent. Deliberately not 429: this does not mean "slow down" but "the plan is full" — validation and parsing stay freeNext plan, or wait for the month to turn
403Under /v1/customers: a key without an account (account-required), or a customer’s key reading other customers or changing a ceiling (customer-bound-key)Use the account’s key
409A call with the same Idempotency-Key is still running. Under /v1/customers: the account already holds 100,000 ceilings (too-many-customer-allowances)Retry with the same key after Retry-After — or remove ceilings no longer needed
413Document over 5 MB — your own PDF too — or invoice data over 6 MBDo not retry
415Body is neither XML nor PDF, or part pdf is not a PDFDo not retry
422Readable but not permitted: a PDF without an embedded invoice, and when reading also XML that is no invoice (not well-formed, with a DOCTYPE, the wrong root element) — or, when generating, data the rule set rejects (findings[] names each rule, and in fields the fields of your JSON it concerns), your own PDF that cannot become a PDF/A-3 (violations[]), or an Idempotency-Key reused for a different requestFix the data, the PDF or the key
429Your request budget is exhausted; Retry-After says how many seconds to wait. Without a key also: the day’s invoices are generated (daily-limit-reached), Retry-After runs to midnight. With a customer also: it reached its monthly ceiling (customer-quota-exceeded), Retry-After runs to the start of the monthWait, then retry — or use a key, or raise the ceiling
503All validation slots busy, or for ZUGFeRD all PDF rendering slots — load on our side, not your faultRetry after Retry-After
Example 422 (generating)
{
  "type": "https://normapi.de/problems/invoice-not-permitted",
  "title": "Invoice not permitted by the rule set",
  "status": 422,
  "detail": "... Fields to correct: seller.vatId (BR-DE-16), seller.taxNumber (BR-DE-16).",
  "rulesetVersion": "v2026-08-31",
  "findings": [
    { "code": "BR-DE-16", "severity": "ERROR",
      "text": "[BR-DE-16] ... Umsatzsteueridentifikationsnummer ...",
      "fields": ["seller.vatId", "seller.taxNumber"],
      "explanation": { "meaning": "...", "cause": "...",
        "fix": "Supply at least one of the three. ...",
        "url": "https://normapi.com/en/errors#BR-DE-16" } }
  ]
}

Limits

  • 30 requests per minute per client, doubling as the burst budget. Beyond it: 429 with Retry-After.
  • Without a key, 10 generated invoices a day per client (per IPv6 /64), until midnight German time. Beyond it: 429 of type daily-limit-reached with Retry-After until midnight. Refused data (400, 422) does not count, validating and reading have no daily limit, and a key carries its plan's allowance instead.
  • 5 MB per document — real e-invoices are kilobytes.
  • Bounded concurrent validations, readings and PDF renderings: under load the API answers fast with 503 instead of slowly with timeouts. Wait briefly and retry.
  • Higher quotas for integrations: kontakt@normapi.de.

Client libraries

@normapi/client — TypeScript, zero dependencies, runs in Node 18+, browsers, Deno and Bun. Covers every endpoint: validate(), parse() (from 0.7.0) and generateInvoice(). For the letterhead, generateInvoicePdf() takes the option letterhead (auto or none) from 0.9.0 and returns letterhead and letterheadSkipped.

Install
npm install @normapi/client

For AI agents, the same API is an MCP server — at https://normapi.com/mcp and as npx @normapi/mcp: set up the MCP server.

TypeScript
import { validate, RateLimitError } from '@normapi/client'
import { readFile } from 'node:fs/promises'

const result = await validate(await readFile('invoice.xml'))

if (result.acceptable) {
  console.log(`valid — checked as ${result.scenario}`)
} else {
  for (const f of result.findings) {
    console.log(`${f.severity} ${f.code}: ${f.text}`)
  }
}

For every other language the API is deliberately small: one POST with a raw body. The curl examples above translate into any HTTP library in a few lines — here in PHP, because this market runs a lot of WooCommerce and JTL.

PHP
<?php
$xml = file_get_contents('invoice.xml');

$ch = curl_init('https://api.normapi.de/v1/validate');
curl_setopt_array($ch, [
    CURLOPT_POST           => true,
    CURLOPT_POSTFIELDS     => $xml,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER     => [
        'Content-Type: application/xml',
        'Accept-Language: en',
        'Authorization: Bearer ' . getenv('NORMAPI_KEY'),
    ],
]);

$result = json_decode(curl_exec($ch), true);
curl_close($ch);

if ($result['acceptable']) {
    echo "valid — checked as {$result['scenario']}\n";
} else {
    foreach ($result['findings'] as $f) {
        echo "{$f['severity']} {$f['code']}: {$f['text']}\n";
        if ($f['explanation'] !== null) {
            echo "  Fix: {$f['explanation']['fix']}\n";
        }
    }
}

Generating with horstoeko, Mustang or another free library, and running the KoSIT validator yourself? The KoSIT validator as an API shows the same check in PHP, Java and CI — no Java installation, no Docker.

Specification & Postman

The full OpenAPI 3.1 specification describes every endpoint, every status code and the field structure — ready for code generators, mock servers and import into any API tool.

openapi.yamlPostman collection

Rule set & versioning

Every response names the rule set that produced its verdict in rulesetVersion — currently v2026-08-31. The XRechnung rule set updates roughly twice a year; an invoice that is valid today can draw advisories or errors from a newer release.

We email when the rule set changes: subscribe to notifications. What individual rules mean and how to fix them: the error-code reference. To try it without writing code: the validator, and with an account the playground: real calls to create, check and read, without a key, with the call as curl, TypeScript or Python beside them.