File size: 52,295 Bytes
f97871d d305765 422ae17 d305765 422ae17 d305765 422ae17 d305765 422ae17 d305765 422ae17 d305765 f97871d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 | <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>EN 16931 Invoice requirements — check your invoice data free</title>
<meta name="description" content="This free browser tool checks invoice data and field mappings against EN 16931 and national CIUS rules for missing business terms, stale specification IDs, and incorrect mandate dates.">
<style>
:root{color-scheme:light}body{margin:0;font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;background:#faf9f5;color:#1a1512}
.wrap{max-width:960px;margin:0 auto;padding:28px 18px 60px}h1{font-size:26px;margin:0 0 6px}.lede{color:#4a403a;margin:0 0 16px}
textarea{width:100%;min-height:260px;font:13px/1.45 ui-monospace,Menlo,Consolas,monospace;padding:12px;border:1px solid #d9d0c4;border-radius:8px;box-sizing:border-box}
.bar{display:flex;gap:10px;align-items:center;margin:12px 0}button{font:600 15px system-ui;padding:10px 18px;border:0;border-radius:8px;background:#1a1512;color:#fff;cursor:pointer}
input[type=date]{font:14px system-ui;padding:8px;border:1px solid #d9d0c4;border-radius:6px}
table{border-collapse:collapse;width:100%;font-size:14px;margin-top:10px}th,td{text-align:left;padding:8px 10px;border-bottom:1px solid #eee;vertical-align:top}th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#7a6e65}
.sev.error{color:#a8551f;font-weight:700}.sev.warn,.sev.warning{color:#96691f}.ok{color:#2a6446;font-weight:600}.sum{font-weight:600}
.note{font-size:13px;color:#7a6e65;margin-top:18px}a.buy{display:inline-block;margin:12px 0 6px;padding:10px 18px;border-radius:8px;background:#1a1512;color:#fff;font-weight:600;text-decoration:none}
.terms{display:block;font-size:12px;color:#7a6e65}
#paid{margin-top:22px;padding:14px 16px;border:1px solid #e2d8cb;border-radius:10px;background:#fffdfa}
</style>
<script data-grow-initializer="">!(function(){window.growMe||((window.growMe=function(e){window.growMe._.push(e);}),(window.growMe._=[]));var e=document.createElement("script");(e.type="text/javascript"),(e.src="https://faves.grow.me/main.js"),(e.defer=!0),e.setAttribute("data-grow-faves-site-id","U2l0ZTphZjljMzgyMC0yMmU5LTRhYjgtYTIxNS03OTRhMGY1N2ExYzM=");var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t);})();</script>
<!--yj-canon-s101--><link rel="canonical" href="https://getreadystack.com/tools/en16931-einvoice-lint"></head>
<body>
<div class="wrap">
<h1>EN 16931 Invoice requirements — check your invoice data free</h1>
<p class="lede">Lints invoice payloads and field mappings against EN 16931 and national CIUS rules (XRechnung, Factur-X, FatturaPA, Peppol BIS, KSeF): missing business terms, stale spec IDs, wrong mandate dates. Runs entirely in your browser — nothing is uploaded.</p>
<textarea id="src" spellcheck="false">{
"country": "FR",
"profile": "urn:factur-x.eu:1p0:minimum",
"invoice_number": "F-2026-0917",
"issue_date": "2026-09-09",
"currency": "EUR",
"e_invoicing_mandate_start": "2026-01-01",
"allow_pdf_fallback": true,
"seller": {
"name": "Atelier Vermeil SAS",
"vat_identifier": "FR40303265045"
},
"buyer": {
"name": "Groupe Lantier SA",
"electronic_address": "0002:73282932000074"
},
"vat": [
{ "vat_rate": 0, "taxable_amount": 1527.22 }
],
"totals": {
"payable_amount": 1832.6667
}
}</textarea>
<div class="bar"><button id="go">Check</button><label>as of <input type="date" id="today"></label></div>
<div id="out" aria-live="polite"></div>
<div id="paid"><strong>Free here and in VS Code:</strong> Check the invoice payload or field mapping open in your editor against every rule — every rule, no key, no watermark.<br><strong>The next job:</strong> Sweep every invoice mapping in the workspace and write a dated report file you keep, commit and hand to an auditor.<br><a href="https://getreadystack.com/api/buy/cl/polar_cl_KQWFnU1FA20UW0fJUPyv4JcDLH8BLJkK3rf722j26cC" class="buy">Get the full version — $29</a><span class="terms">$29 once · one licence key per person or team seat · A German tax adviser’s time fee is fixed by StBVV 13 at EUR 30–70 per half hour.</span></div>
<p class="note">Same engine as the VS Code extension, byte for byte.</p>
</div>
<script>var EINV_RULES = {
"meta": {
"name": "EN 16931 e-Invoice Lint",
"version": "1.0.0",
"basis": "EN 16931-1:2017+A1:2019 core invoice model and national CIUS",
"groups": [
"core_terms",
"country_terms",
"invoice_defects",
"date_rules"
]
},
"countries": {
"DE": {
"name": "Germany",
"cius": "XRechnung 3.0 / ZUGFeRD 2.x (Factur-X)",
"statute": "§ 14 UStG (Wachstumschancengesetz, 2024)",
"receive_from": "2025-01-01",
"issue_from": "2027-01-01",
"issue_all_from": "2028-01-01",
"detect": [
"\"country\"\\s*:\\s*\"DE\"",
"\\bDE\\d{9}\\b",
"xrechnung",
"leitweg",
"zugferd"
]
},
"FR": {
"name": "France",
"cius": "Factur-X / Chorus Pro (PPF)",
"statute": "art. 289 bis CGI",
"receive_from": "2026-09-01",
"issue_from": "2026-09-01",
"issue_all_from": "2027-09-01",
"detect": [
"\"country\"\\s*:\\s*\"FR\"",
"\\bFR[0-9A-Z]{2}\\d{9}\\b",
"factur-?x",
"chorus",
"\\bsiren\\b",
"\\bsiret\\b"
]
},
"IT": {
"name": "Italy",
"cius": "FatturaPA via SdI",
"statute": "D.Lgs. 127/2015",
"receive_from": "2019-01-01",
"issue_from": "2019-01-01",
"issue_all_from": "2024-01-01",
"detect": [
"\"country\"\\s*:\\s*\"IT\"",
"\\bIT\\d{11}\\b",
"fatturapa",
"codice[_ ]?destinatario",
"\\bsdi\\b"
]
},
"BE": {
"name": "Belgium",
"cius": "Peppol BIS Billing 3.0",
"statute": "Belgian B2B e-invoicing Act (2024)",
"receive_from": "2026-01-01",
"issue_from": "2026-01-01",
"issue_all_from": "2026-01-01",
"detect": [
"\"country\"\\s*:\\s*\"BE\"",
"\\bBE0\\d{9}\\b",
"kbo[_ ]?bce",
"\"0208\""
]
},
"PL": {
"name": "Poland",
"cius": "KSeF FA(2)/FA(3)",
"statute": "ustawa o VAT — KSeF",
"receive_from": "2026-02-01",
"issue_from": "2026-02-01",
"issue_all_from": "2026-04-01",
"detect": [
"\"country\"\\s*:\\s*\"PL\"",
"\\bPL\\d{10}\\b",
"\\bksef\\b",
"\\bnip\\b",
"\\bFA\\(?[23]\\)?\\b"
]
},
"ES": {
"name": "Spain",
"cius": "Verifactu / Facturae 3.2.2",
"statute": "RD 1007/2023 (Verifactu)",
"receive_from": "2026-01-01",
"issue_from": "2026-01-01",
"issue_all_from": "2026-07-01",
"detect": [
"\"country\"\\s*:\\s*\"ES\"",
"\\bES[0-9A-Z]\\d{7}[0-9A-Z]\\b",
"verifactu",
"facturae"
]
}
},
"core_terms": [
{
"kind": "term",
"check": "BT-1 invoice number",
"sev": "error",
"any": [
"invoice_?number",
"\"invoiceid\"",
"cbc:ID",
"\"number\"\\s*:"
],
"msg": "BT-1 invoice number is not mapped. EN 16931 makes it mandatory; a receiver's ERP rejects the document before a human ever sees it."
},
{
"kind": "term",
"check": "BT-2 issue date",
"sev": "error",
"any": [
"issue_?date",
"issuedatetime",
"\"date\"\\s*:"
],
"msg": "BT-2 issue date is not mapped. It is the date the VAT liability is pinned to, so no tax engine can post the document without it."
},
{
"kind": "term",
"check": "BT-5 invoice currency",
"sev": "error",
"any": [
"currenc",
"\"cur\"\\s*:"
],
"msg": "BT-5 invoice currency code is not mapped. EN 16931 has no default currency; the amounts below are meaningless without it."
},
{
"kind": "term",
"check": "BT-24 specification identifier",
"sev": "error",
"any": [
"customization_?id",
"specification_?identifier",
"\"profile\"",
"guideline"
],
"msg": "BT-24 specification identifier (CustomizationID) is missing. Without it the receiver cannot tell which CIUS to validate against — here that would be {cius}."
},
{
"kind": "term",
"check": "BT-23 business process type",
"sev": "warn",
"any": [
"profile_?id",
"business_?process",
"\"process\""
],
"msg": "BT-23 business process type (ProfileID) is missing. Peppol access points route on this field; most will still accept the invoice, some will not."
},
{
"kind": "term",
"check": "BT-31 seller VAT identifier",
"sev": "error",
"any": [
"seller[^\\n]{0,40}(vat|tax_?id|company_?id)",
"\"vat_?(id|identifier|number)?\"\\s*:\\s*\"(?!\\s*\")",
"vatidentifier"
],
"msg": "BT-31 seller VAT identifier is not mapped. For a domestic B2B invoice in {country} this is mandatory and is the key the tax authority matches on."
},
{
"kind": "term",
"check": "BT-48 buyer VAT identifier",
"sev": "warn",
"any": [
"buyer[^\\n]{0,60}(vat|tax_?id)",
"customer[^\\n]{0,60}vat"
],
"msg": "BT-48 buyer VAT identifier is not mapped. It is conditional in EN 16931 but required for reverse charge and for intra-Community supplies."
},
{
"kind": "term",
"check": "BT-49 buyer electronic address",
"sev": "error",
"any": [
"electronic_?address",
"endpoint_?id",
"\"peppol_?id\""
],
"msg": "BT-49 buyer electronic address is not mapped. This is the routing address of the invoice; without it there is nowhere to deliver the document in {cius}."
},
{
"kind": "term",
"check": "BG-23 VAT breakdown",
"sev": "error",
"any": [
"vat_?breakdown",
"tax_?subtotal",
"taxsubtotal",
"applicabletradetax",
"tax_?breakdown"
],
"msg": "BG-23 VAT breakdown group is missing. EN 16931 requires one subtotal per VAT category and rate, not a single tax figure."
},
{
"kind": "term",
"check": "BT-112 total incl. VAT",
"sev": "error",
"any": [
"tax_?inclusive",
"grand_?total",
"total_?incl",
"total_?gross"
],
"msg": "BT-112 invoice total with VAT is not mapped. BR-CO-15 checks it against the sum of BT-109 and BT-110, so the document fails schematron validation."
},
{
"kind": "term",
"check": "BT-115 amount due",
"sev": "error",
"any": [
"payable_?amount",
"amount_?due",
"due_?payable"
],
"msg": "BT-115 amount due for payment is not mapped. It is what the buyer actually pays after prepaid amounts and rounding."
},
{
"kind": "term",
"check": "BT-9 due date or BT-20 terms",
"sev": "warn",
"any": [
"due_?date",
"payment_?terms",
"paymentmeans[^\\n]{0,40}due"
],
"msg": "Neither BT-9 payment due date nor BT-20 payment terms is mapped. BR-CO-25 requires one of the two, so this is a validation error at the receiver."
},
{
"kind": "term",
"check": "BT-30 seller registration id",
"sev": "warn",
"any": [
"legal_?registration",
"company_?legal",
"registration_?identifier",
"\\bhrb\\b"
],
"msg": "BT-30 seller legal registration identifier is missing. Public buyers in {country} routinely reject invoices that carry no commercial-register or equivalent id."
},
{
"kind": "term",
"check": "BG-25 invoice lines",
"sev": "error",
"any": [
"invoice_?lines?",
"line_?items?",
"\"lines\"\\s*:",
"includedsupplychaintradelineitem"
],
"msg": "BG-25 invoice lines are not mapped. A document with totals but no lines is invoice data, not an invoice, under EN 16931."
}
],
"country_terms": [
{
"kind": "term",
"check": "DE Leitweg-ID (BT-10)",
"sev": "error",
"any": [
"buyer_?reference",
"leitweg"
],
"msg": "BT-10 buyer reference is missing. In {cius} the Leitweg-ID is mandatory and the receiving platform rejects the invoice outright.",
"country": "DE"
},
{
"kind": "term",
"check": "FR SIREN/SIRET",
"sev": "error",
"any": [
"\\bsiren\\b",
"\\bsiret\\b",
"scheme_?id\"?\\s*:\\s*\"0009\""
],
"msg": "No SIREN or SIRET is mapped. French B2B e-invoicing identifies both parties by SIREN (scheme 0009); a VAT number alone will not route through the PPF.",
"country": "FR"
},
{
"kind": "term",
"check": "IT Codice Destinatario",
"sev": "error",
"any": [
"codice_?destinatario",
"destination_?code",
"\\bpec\\b"
],
"msg": "Codice Destinatario (or a PEC address) is missing. SdI has no way to deliver the FatturaPA file and will return a scarto notice.",
"country": "IT"
},
{
"kind": "term",
"check": "PL NIP",
"sev": "error",
"any": [
"\\bnip\\b",
"tax_?identification_?number"
],
"msg": "The NIP of seller and buyer is not mapped. KSeF keys every document on NIP; without it the invoice cannot be registered and gets no KSeF number.",
"country": "PL"
},
{
"kind": "term",
"check": "BE Peppol scheme 0208",
"sev": "warn",
"any": [
"\"0208\"",
"enterprise_?number",
"kbo"
],
"msg": "No Belgian enterprise number (Peppol scheme 0208) is mapped. It is the expected participant identifier for {cius}.",
"country": "BE"
}
],
"invoice_defects": [
{
"kind": "pair",
"check": "BT-120 VAT exemption reason",
"sev": "error",
"if": "(\"(vat_?)?(rate|percent)\"\\s*:\\s*0(\\.0+)?\\b)|(\"category(_?code)?\"\\s*:\\s*\"(E|O|AE|K|G|Z)\")",
"need": "exemption_?reason|exemption_?code|reverse_?charge_?text|vatex",
"msg": "A zero or exempt VAT category is used with no BT-120 exemption reason text and no BT-121 VATEX code. BR-E/BR-AE reject the invoice; the buyer's input VAT claim dies with it."
},
{
"kind": "pair",
"check": "BT-49-1 address scheme",
"sev": "error",
"if": "electronic_?address|endpoint_?id|\"peppol_?id\"",
"need": "scheme_?id|schemeid|\"scheme\"|eas",
"msg": "An electronic address is mapped without its scheme identifier (EAS code). The same string means a different participant under 0088, 0204 or 0009, so routing is undefined."
},
{
"kind": "forbid",
"check": "stale XRechnung CIUS",
"sev": "error",
"re": "xrechnung_?[12]\\.\\d",
"msg": "The specification identifier still points at an XRechnung 1.x/2.x CIUS. XRechnung 3.0 is the version in force; 2.x identifiers are refused by the German receiving platforms."
},
{
"kind": "forbid",
"check": "UBL 2.0 namespace",
"sev": "warn",
"re": "urn:oasis:names:specification:ubl:schema:xsd:Invoice-1|ubl[ _-]?2\\.0\\b",
"msg": "EN 16931 syntax binding is UBL 2.1 (or CII D16B). A UBL 2.0 namespace will not validate against the EN 16931 schematron."
},
{
"kind": "forbid",
"check": "monetary rounding",
"sev": "warn",
"re": "\"[a-z_]*(amount|total|payable|price)[a-z_]*\"\\s*:\\s*-?\\d+\\.\\d{3,}",
"msg": "A monetary amount carries more than two decimals. EN 16931 fixes document-level amounts at two decimals, and BR-CO-15 arithmetic is checked on the rounded values."
},
{
"kind": "forbid",
"check": "CII date format",
"sev": "warn",
"re": "format\\s*=\\s*\"102\"[^\u003e]*\u003e\\s*\\d{4}-\\d{2}-\\d{2}",
"msg": "A CII date is declared as format 102 but written as YYYY-MM-DD. Format 102 is YYYYMMDD with no separators."
}
],
"date_rules": [
{
"kind": "mandate",
"check": "Factur-X MINIMUM profile",
"field": "issue_from",
"re": "factur-?x\\.eu:1p0:(minimum|basicwl)|\"profile\"\\s*:\\s*\"(minimum|basic ?wl)\"",
"sev_live": "error",
"sev_before": "warn",
"msg_live": "The Factur-X MINIMUM/BASIC WL profile carries no line data and is not an EN 16931-compliant invoice. {country} has required compliant issuing since {date} under {statute} — that was {days_since} days ago.",
"msg_before": "The Factur-X MINIMUM/BASIC WL profile carries no line data and is not an EN 16931-compliant invoice. {country} starts requiring compliant issuing on {date} under {statute} — {days_left} days from {today}."
},
{
"kind": "mandate",
"check": "PDF fallback path",
"field": "receive_from",
"re": "(allow|enable|use)_?pdf_?(fallback|only)?\\s*\"?\\s*[:=]\\s*true|\"delivery\"\\s*:\\s*\"(email|pdf|paper)\"|pdf_?only\\s*[:=]\\s*true",
"sev_live": "error",
"sev_before": "warn",
"msg_live": "A PDF/e-mail fallback is still switched on. Since {date} a PDF is not an e-invoice for {country} under {statute}; a buyer who accepts this one has no deductible document.",
"msg_before": "A PDF/e-mail fallback is switched on. From {date} a PDF stops being an e-invoice for {country} under {statute} — {days_left} days from {today}."
},
{
"kind": "date_mismatch",
"check": "hardcoded mandate date",
"sev": "error",
"field": "issue_from",
"re": "\"[a-z_]*(mandate|deadline|go_?live|reform|cutover)[a-z_]*\"\\s*:\\s*\"(\\d{4}-\\d{2}-\\d{2})\"",
"msg": "The mandate date hardcoded here is {found}. For {country} the issuing obligation starts {date} under {statute} — shipping the wrong date means the switch flips on the wrong day."
},
{
"kind": "no_country",
"check": "country / CIUS undetermined",
"sev": "error",
"msg": "No country or CIUS marker is present, so no national rule set can be applied. EN 16931 is a core invoice model; every member state adds mandatory fields on top of it."
}
]
}
;</script>
<script>// EN 16931 e-Invoice Lint — the brain. Same file runs in Node (the extension) and in the browser (the free web check).
'use strict';
(function (root) {
var DATA = (typeof module !== 'undefined' && module.exports) ? require('./rules.json') : root.EINV_RULES;
var RULES = (DATA.meta.groups || ['core_terms', 'country_terms', 'invoice_defects', 'date_rules'])
.reduce(function (all, g) { return all.concat(DATA[g] || []); }, []);
var COUNTRIES = DATA.countries;
function rx(s) { return new RegExp(s, 'i'); }
function lineOf(lines, re) {
for (var i = 0; i < lines.length; i++) { if (re.test(lines[i])) return i + 1; }
return 1;
}
function days(from, to) { return Math.round((Date.parse(to) - Date.parse(from)) / 86400000); }
function detectCountry(text) {
var best = null, bestScore = 0;
Object.keys(COUNTRIES).forEach(function (cc) {
var score = 0;
COUNTRIES[cc].detect.forEach(function (p) { if (rx(p).test(text)) score++; });
if (score > bestScore) { bestScore = score; best = cc; }
});
return best;
}
function fill(msg, ctx) {
return String(msg).replace(/\{(\w+)\}/g, function (m, k) { return (ctx[k] === undefined || ctx[k] === null) ? m : String(ctx[k]); });
}
function check(text, opts) {
text = String(text == null ? '' : text);
opts = opts || {};
var today = /^\d{4}-\d{2}-\d{2}$/.test(String(opts.today || '')) ? opts.today : new Date().toISOString().slice(0, 10);
var lines = text.split(/\r?\n/);
var cc = detectCountry(text);
var C = cc ? COUNTRIES[cc] : null;
var base = { country: C ? C.name : 'this country', cius: C ? C.cius : 'the national CIUS', statute: C ? C.statute : 'the national mandate', today: today };
var findings = [];
function add(rule, msg, sev, line) {
findings.push({ check: rule.check, sev: sev || rule.sev || 'error', msg: msg, line: line || 1 });
}
if (!text.trim()) return { findings: [], country: cc, today: today, checked: RULES.length, empty: true };
RULES.forEach(function (rule) {
if (rule.country && rule.country !== cc) return;
if (rule.kind === 'term') {
var hit = rule.any.some(function (p) { return rx(p).test(text); });
if (!hit) add(rule, fill(rule.msg, base), rule.sev, 1);
return;
}
if (rule.kind === 'pair') {
var trig = rx(rule['if']);
if (trig.test(text) && !rx(rule.need).test(text)) add(rule, fill(rule.msg, base), rule.sev, lineOf(lines, trig));
return;
}
if (rule.kind === 'forbid') {
var bad = rx(rule.re);
if (bad.test(text)) add(rule, fill(rule.msg, base), rule.sev, lineOf(lines, bad));
return;
}
if (rule.kind === 'mandate') {
var trg = rx(rule.re);
if (!trg.test(text) || !C) return;
var date = C[rule.field];
var left = days(today, date);
var ctx = { country: base.country, cius: base.cius, statute: base.statute, today: today, date: date, days_left: left, days_since: -left };
if (left <= 0) add(rule, fill(rule.msg_live, ctx), rule.sev_live, lineOf(lines, trg));
else add(rule, fill(rule.msg_before, ctx), rule.sev_before, lineOf(lines, trg));
return;
}
if (rule.kind === 'date_mismatch') {
if (!C) return;
var re = new RegExp(rule.re, 'ig'), m, want = C[rule.field];
while ((m = re.exec(text)) !== null) {
var found = m[m.length - 1];
if (found !== want) {
var ctx2 = { country: base.country, cius: base.cius, statute: base.statute, today: today, date: want, found: found };
add(rule, fill(rule.msg, ctx2), rule.sev, lineOf(lines, rx(found)));
}
}
return;
}
if (rule.kind === 'no_country') {
if (!cc) add(rule, fill(rule.msg, base), rule.sev, 1);
return;
}
});
findings.sort(function (a, b) { return (a.line - b.line) || 0; });
return { findings: findings, country: cc, country_name: base.country, cius: base.cius, statute: base.statute, today: today, checked: RULES.length };
}
var API = { engine: { check: check, detectCountry: detectCountry }, RULES: RULES, RULE_COUNT: RULES.length, COUNTRIES: COUNTRIES };
if (typeof module !== 'undefined' && module.exports) module.exports = API; else root.EINVENGINE = API;
})(typeof window !== 'undefined' ? window : this);
</script>
<script>// ⛔뼈대 — kit/scaffold.py 가 찍는다 (s143). findings [{check,sev,msg,line?}] → 글/HTML. 같은 파일이 Node 와 브라우저에서 산다.
'use strict';
function escapeHtml(s) { return String(s == null ? '' : s).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"'); }
function summaryLine(res) {
const f = (res && res.findings) || []; const e = f.filter(function (x) { return String(x.sev || 'error').toLowerCase().startsWith('err'); }).length;
return f.length ? (f.length + ' finding' + (f.length === 1 ? '' : 's') + ' (' + e + ' error' + (e === 1 ? '' : 's') + ')') : 'Clean — no findings.';
}
function toText(res, label) {
const f = (res && res.findings) || [];
const lines = ['== ' + (label || '') + ' — ' + summaryLine(res)];
f.forEach(function (x) { lines.push(' ' + String(x.sev || 'error').toUpperCase().slice(0, 4) + ' ' + (x.line ? 'L' + x.line + ' ' : '') + (x.check || x.id || '') + ' ' + (x.msg || x.message || '')); });
return lines.join('\n');
}
function toHtml(res) {
const f = (res && res.findings) || [];
if (!f.length) return '<p class="ok">' + escapeHtml(summaryLine(res)) + '</p>';
const rows = f.map(function (x) { return '<tr><td class="sev ' + escapeHtml(String(x.sev || 'error')) + '">' + escapeHtml(String(x.sev || 'error')) + '</td><td>' + (x.line ? 'L' + escapeHtml(x.line) : '') + '</td><td><code>' + escapeHtml(x.check || x.id || '') + '</code></td><td>' + escapeHtml(x.msg || x.message || '') + '</td></tr>'; }).join('');
return '<p class="sum">' + escapeHtml(summaryLine(res)) + '</p><table><thead><tr><th>Level</th><th>Line</th><th>Check</th><th>What</th></tr></thead><tbody>' + rows + '</tbody></table>';
}
var EINVREPORT = { escapeHtml: escapeHtml, summaryLine: summaryLine, toText: toText, toHtml: toHtml };
if (typeof module !== 'undefined' && module.exports) module.exports = EINVREPORT;
else window.EINVREPORT = EINVREPORT;
</script>
<script>
(function(){
var src=document.getElementById('src'), out=document.getElementById('out'), go=document.getElementById('go'), today=document.getElementById('today');
today.value=new Date().toISOString().slice(0,10);
function run(){ try { var res=window.EINVENGINE.engine.check(src.value,{today:today.value}); out.innerHTML=window.EINVREPORT.toHtml(res); } catch(e){ out.innerHTML='<p class="sev error">Could not run: '+String(e.message||e)+'</p>'; } }
go.onclick=run; if (src.value.trim()) run();
})();
</script>
<section data-yj-install="free" style="margin:2rem auto 1rem;max-width:46rem;padding:1.25rem 1.25rem;border:1px solid #cfe3d6;border-radius:12px;background:#f6fbf8;font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif"><h2 style="margin:0 0 .4rem;font-size:1.2rem">Install free</h2><p style="margin:0 0 .8rem;color:#41505f">Free for the file open in your editor - no key, no limit. The workspace sweep and the report ask for a key.</p><a href="https://www.npmjs.com/package/@readystack/en16931-einvoice-lint" rel="noopener" data-yj-install-door="npm" onclick="try{navigator.sendBeacon('/api/ev',new Blob([JSON.stringify({t:'install',slug:'en16931-einvoice-lint',src:'npm',path:location.pathname})],{type:'application/json'}))}catch(e){}" style="display:inline-block;margin:0 .5rem .5rem 0;padding:.6rem 1rem;border-radius:8px;background:#0f7b3f;color:#fff;text-decoration:none;font-weight:600">npm</a><a href="https://www.npmjs.com/package/@readystack/en16931-einvoice-lint" rel="noopener" data-yj-install-door="mcp" onclick="try{navigator.sendBeacon('/api/ev',new Blob([JSON.stringify({t:'install',slug:'en16931-einvoice-lint',src:'mcp',path:location.pathname})],{type:'application/json'}))}catch(e){}" style="display:inline-block;margin:0 .5rem .5rem 0;padding:.6rem 1rem;border-radius:8px;background:#0f7b3f;color:#fff;text-decoration:none;font-weight:600">MCP server (npx)</a><a href="https://hub.docker.com/r/getreadystack/en16931-einvoice-lint" rel="noopener" data-yj-install-door="docker" onclick="try{navigator.sendBeacon('/api/ev',new Blob([JSON.stringify({t:'install',slug:'en16931-einvoice-lint',src:'docker',path:location.pathname})],{type:'application/json'}))}catch(e){}" style="display:inline-block;margin:0 .5rem .5rem 0;padding:.6rem 1rem;border-radius:8px;background:#0f7b3f;color:#fff;text-decoration:none;font-weight:600">Docker Hub</a><pre style="margin:.5rem 0 0;padding:.6rem .8rem;background:#f3f5f8;border-radius:8px;font-size:.9rem;overflow:auto">npx @readystack/en16931-einvoice-lint <file>
npx @readystack/en16931-einvoice-lint --mcp
docker run --rm -v "$PWD:/w" getreadystack/en16931-einvoice-lint /w</pre><p style="margin:.6rem 0 0;font-size:.92rem;color:#41505f"><a href="https://getreadystack.com/api/buy/cl/polar_cl_l6iN1uWt0FwWu7tBsczD0jWpP2vxFM54Wdwqb3KPi1G" rel="nofollow" style="color:#0f7b3f;text-decoration:underline">Team? One key for every ReadyStack linter, 5 seats, $149 once</a></p></section>
<section data-yj-alert="rule" style="margin:1rem auto 1.5rem;max-width:46rem;padding:1.1rem 1.25rem;border:1px solid #d9dee6;border-radius:12px;background:#fbfcfd;font:15px/1.55 system-ui,-apple-system,Segoe UI,sans-serif"><b style="font-size:1.05rem">Get the full rule table as a PDF</b><div style="opacity:.78;margin:.35rem 0 .8rem">All 29 rules EN 16931 e-Invoice Lint checks, each with its source and date, on printable pages you can hand to your team or auditor. We email it now, and once more only if a rule changes. No newsletter.</div><div style="display:flex;gap:8px;flex-wrap:wrap"><input id="yjae" type="email" placeholder="you@example.com" style="flex:1;min-width:210px;padding:11px 13px;border:1px solid rgba(140,150,165,.34);border-radius:8px;background:#fff;color:inherit"><button id="yjab" style="padding:11px 18px;border-radius:8px;border:0;cursor:pointer;background:#0f7b3f;color:#fff;font:600 15px system-ui,sans-serif">Email me the PDF</button></div><div id="yjao" hidden style="margin-top:.6rem;color:#0f7b3f">Sent. It arrives within the hour - check spam too.</div><script>(function(){var b=document.getElementById("yjab"),e=document.getElementById("yjae");if(!b||!e)return;b.addEventListener("click",function(){var v=e.value.trim();if(!/.+@.+\..+/.test(v))return;try{localStorage.setItem("yj_em","1");}catch(_){}fetch(location.origin+"/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:v,slug:"en16931-einvoice-lint",lang:"en",source:"rule_table"+((b.closest&&b.closest("section")&&b.closest("section").getAttribute("data-yj-moved"))?"_at_result":"")})}).then(function(r){var o=document.getElementById("yjao");o.hidden=false;if(!r.ok){o.textContent="Could not save - please try again.";}}).catch(function(){var o=document.getElementById("yjao");o.hidden=false;o.textContent="Could not save - please try again.";});});})();</script><script>(function(){var e=document.getElementById("yjae"),s=e&&e.closest?e.closest("section"):null,o=document.getElementById("out");if(!s||!o)return;var d=false;function mv(ev){if(d)return;if(ev&&ev.target&&s.contains(ev.target))return;d=true;var b=o;while(b.parentNode&&b.parentNode!==document.body&&b.parentNode.tagName!=="MAIN"&&b.parentNode.tagName!=="ARTICLE")b=b.parentNode;if(!b.parentNode||b===s||b.contains(s))return;try{b.parentNode.insertBefore(s,b.nextSibling);s.setAttribute("data-yj-moved","1");}catch(_){}}document.addEventListener("input",mv,true);document.addEventListener("change",mv,true);})();</script></section>
<section data-yj-cta="paid" style="margin:3rem auto;max-width:46rem;padding:1.5rem 1.25rem;border:1px solid #d8dee9;border-radius:12px;background:#fbfcfe;font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif"><h2 style="margin:0 0 .5rem;font-size:1.25rem">Get the complete version <span class="yj-price">$29</span></h2><p style="margin:.25rem 0 1rem;color:#41505f">This page is the working piece. The full pack has everything below.</p><p style="margin:0 0 1rem;color:#41505f">Checks an invoice payload or field mapping against EN 16931 and the national CIUS of the country it detects — 29 rules, in your editor.</p><p style="margin:0 0 1rem;color:#5b6b7c;font-size:.94rem">A German tax adviser's time fee is fixed by StBVV § 13 at EUR 30-70 per half hour (EUR 60-140 an hour); one review of one invoice mapping costs more than this licence.</p><a href="https://getreadystack.com/api/buy/cl/polar_cl_KQWFnU1FA20UW0fJUPyv4JcDLH8BLJkK3rf722j26cC" rel="nofollow" style="display:inline-block;padding:.7rem 1.3rem;border-radius:8px;background:#1b64f2;color:#fff;text-decoration:none;font-weight:600">Buy the full version — $29</a></section>
<section data-yj="yj-facts-v1" style="max-width:920px;margin:48px auto 0;padding:0 20px;font-family:system-ui,sans-serif"><style>.yj-article p{font:400 15.5px/1.7 system-ui,sans-serif;color:#26313b;margin:0 0 12px;max-width:72ch}.yj-article h2,.yj-article h3,.yj-article h4{font:600 17px/1.35 system-ui,sans-serif;color:#1b1f24;margin:22px 0 8px}.yj-article table{border-collapse:collapse;margin:10px 0 16px;font:14px/1.45 system-ui,sans-serif}.yj-article th,.yj-article td{border:1px solid #e2e6ea;padding:6px 10px;text-align:left}.yj-article th{background:#f4f6f8}.yj-article pre{background:#0f1720;color:#e6edf3;padding:12px 14px;border-radius:8px;overflow:auto;font:13px/1.5 ui-monospace,Menlo,monospace}.yj-article code{font:13px ui-monospace,Menlo,monospace;background:#f1f3f5;padding:1px 4px;border-radius:3px}.yj-article pre code{background:none;padding:0}.yj-article ul,.yj-article ol{font:15px/1.6 system-ui,sans-serif;color:#26313b}</style><p style="font:400 13px/1.5 system-ui,sans-serif;color:#6b7680;margin:0 0 14px"><time datetime="2026-09-07">Updated 2026-09-07</time> · ReadyStack</p><script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","dateModified":"2026-09-07","author":{"@type":"Organization","name":"ReadyStack"}}</script><h2 style="font:600 21px/1.3 system-ui,sans-serif;margin:0 0 6px;color:#1b1f24">Worked example</h2><p style="font:400 14.5px/1.5 system-ui,sans-serif;margin:0 0 16px;color:#5b6570">Real numbers from this tool, line by line.</p><div class="yj-article"><p><img src="https://getreadystack.com/img/promo/sku7933_result_card.jpg" alt="The invoice your AI assistant wrote will be rejected. Here are the six lines." loading="lazy" style="max-width:100%;border-radius:6px"></p>
<pre><code>line 1 error EN 16931 is bound to UBL 2.1. UBL 2.0 is not supported.
line 2 error BT-24 Specification identifier must begin 'urn:cen.eu:en16931:2017#'.
line 3 error Dates are ISO 8601 YYYY-MM-DD. '01/09/2026' is ambiguous.
line 4 error BT-3 must be a 3-digit UNCL1001 code, not a word: 380, 381, 384.
line 5 error @unitCode must come from UN/ECE Recommendation 20: C62, H87, HUR.
line 6 error UBL requires @currencyID on every amount element.
line 6 error The decimal separator in XML is '.', never ','.</code></pre>
<p>Six lines, seven findings. Real output. Here is the file that produced it — an invoice an assistant wrote when asked for "a Peppol BIS 3.0 invoice":</p>
<pre><code><cbc:UBLVersionID>2.0</cbc:UBLVersionID>
<cbc:CustomizationID>urn:cen.eu:en16931:2017</cbc:CustomizationID>
<cbc:IssueDate>01/09/2026</cbc:IssueDate>
<cbc:InvoiceTypeCode>INVOICE</cbc:InvoiceTypeCode>
<cbc:InvoicedQuantity unitCode="pcs">10</cbc:InvoicedQuantity>
<cbc:PayableAmount>1200,00</cbc:PayableAmount></code></pre>
<p>It looks perfect. In order:</p>
<ol><li><strong>UBL 2.0.</strong> EN 16931 is bound to UBL 2.1 — the wrong standard.</li><li><strong>A truncated specification identifier.</strong> BT-24 must carry the full CIUS string — for Peppol</li></ol>
<p><code>...#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0</code>, for XRechnung one ending <code>xrechnung_3.0</code>. A model trained on BIS 2.0 gives you a <code>cenbii.eu</code> URN.</p>
<ol><li><strong><code>01/09/2026</code>.</strong> 1 September or 9 January? EN 16931 does not guess: ISO 8601, <code>2026-09-01</code>.</li><li><strong><code>INVOICE</code>.</strong> BT-3 is a UNCL1001 code, not a word: <code>380</code> invoice, <code>381</code> credit note.</li><li><strong><code>unitCode="pcs"</code>.</strong> Unit codes come from UN/ECE Rec 20 — <code>C62</code> a piece, <code>HUR</code> an hour.</li><li><strong><code>1200,00</code> with no <code>@currencyID</code>.</strong> The separator is a point, and every amount needs its</li></ol>
<p>currency attribute — one line, two rejections.</p>
<p>This matters now. France crossed its line on 1 September 2026: every business established there must be able to receive a structured e-invoice. Belgium went first on 1 January, Poland's KSeF in February and April.</p>
<h3>Why assistants are reliably wrong here</h3>
<p>Not a knock on the models; it is structural. E-invoicing identifiers are versioned strings that change by revision and by country, on political timetables. Spain is the cleanest example: Verifactu was documented as starting January 2026 until Royal Decree-Law 15/2025 pushed it to</p>
<ol><li>Any model trained before that decree tells you 2026, confidently, because it was true.</li></ol>
<p>A date, a form number, a jurisdiction, a revision: the shape of question a model cannot reason its way to, and the answer that costs money when wrong. A rejected invoice is not a bug report, it is an unpaid one.</p>
<h3>So we wrote it down as rules</h3>
<p><strong>E-Invoicing Lint</strong> is a VS Code extension with 37 of these encoded as line rules, plus 26 snippets that are correct when you insert them. Every finding carries its BT- or BR- reference.</p>
<p>It runs offline; nothing you open leaves your machine. It also reads the country off the document: <code>FR</code> raises the September 2026 note, <code>DE</code> the Leitweg-ID in BT-10, and a Polish KSeF file is named as such rather than checked against rules that do not fit it.</p>
<h3>The honest limits</h3>
<p>These are line-level rules: wrong values, wrong codes, wrong formats. They do no cross-field arithmetic and cannot see a missing mandatory block. Use this while you write, and a full Schematron validator before you go live. A free web version runs the same 37 rules in one page, with a broken invoice already loaded.</p>
<h3>What is free, and what the licence buys</h3>
<p>Checking the file you have open: all 37 rules, all 26 snippets, no key, no counter, no watermark, nothing held back. That is the whole job of validating the invoice you are writing.</p>
<p>The licence is a different job, not a bigger one: every XML fixture in a repository at once, JSON output so a CI build fails when one stops being valid, and an exportable report. $49 once. Validating a single invoice, you will never need it.</p></div><h2 style="font:600 19px/1.3 system-ui,sans-serif;margin:30px 0 10px;color:#1b1f24">15 seconds — what it actually does</h2><video controls muted playsinline preload="none" poster="/img/promo/sku7933_result_card.jpg" style="width:100%;max-width:360px;border-radius:10px;display:block;margin:0 auto"><source src="/media/sku7933_short.mp4" type="video/mp4"></video><h2 style="font:600 21px/1.3 system-ui,sans-serif;margin:34px 0 6px;color:#1b1f24">Questions people ask</h2><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">What does EN 16931 e-Invoice Lint actually do?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">It reads the invoice payload or field mapping open in your editor — JSON, YAML or XML — and applies 29 rules: the mandatory EN 16931 business terms, the national CIUS fields for the country it detects, and date rules that compare the file against the real mandate dates. Findings appear inline with the line that breaks and the change that fixes it.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">Who is it for?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">Developers and integration consultants who ship invoicing code for customers in Germany, France, Italy, Belgium, Poland or Spain. If you are the person who maps your billing model onto XRechnung, Factur-X, FatturaPA, Peppol BIS or KSeF, this is the check that runs before the access point sees the document.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">Why is a free validator not enough?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">Free validators such as the Peppol test tool or the KoSIT schematron take a finished UBL or CII document and tell you it is malformed. They never see the JSON mapping in your repository, where the mistake was actually made, and they have no opinion about dates: they cannot tell you that the French deadline in your config is eight months wrong.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">What is free and what needs a licence?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">Checking the file in front of you is free and complete. All 29 rules run, every finding is shown with its fix, there is no watermark, no counter and no trial. The licence covers a different job: sweeping every invoice mapping in the workspace in one pass and writing a dated report file you keep, commit and hand to an auditor.</p></details><details style="border-bottom:1px solid #e6e9ed;padding:10px 0"><summary style="cursor:pointer;font:600 15px/1.4 system-ui,sans-serif;color:#1b1f24">What would this cost done by a person?</summary><p style="margin:8px 0 2px;font:400 14.5px/1.6 system-ui,sans-serif;color:#33404b">A German tax adviser's time fee is fixed by StBVV § 13 at EUR 30 to 70 per half hour, so EUR 60 to 140 an hour. Having one invoice mapping reviewed once costs more than the licence, and it tells you nothing about the mapping you change next week. The check runs again for free every time you save.</p></details><script type="application/ld+json" data-yj="yj-faq-ld">{"@context": "https://schema.org", "@type": "FAQPage", "mainEntity": [{"@type": "Question", "name": "What does EN 16931 e-Invoice Lint actually do?", "acceptedAnswer": {"@type": "Answer", "text": "It reads the invoice payload or field mapping open in your editor — JSON, YAML or XML — and applies 29 rules: the mandatory EN 16931 business terms, the national CIUS fields for the country it detects, and date rules that compare the file against the real mandate dates. Findings appear inline with the line that breaks and the change that fixes it."}}, {"@type": "Question", "name": "Who is it for?", "acceptedAnswer": {"@type": "Answer", "text": "Developers and integration consultants who ship invoicing code for customers in Germany, France, Italy, Belgium, Poland or Spain. If you are the person who maps your billing model onto XRechnung, Factur-X, FatturaPA, Peppol BIS or KSeF, this is the check that runs before the access point sees the document."}}, {"@type": "Question", "name": "Why is a free validator not enough?", "acceptedAnswer": {"@type": "Answer", "text": "Free validators such as the Peppol test tool or the KoSIT schematron take a finished UBL or CII document and tell you it is malformed. They never see the JSON mapping in your repository, where the mistake was actually made, and they have no opinion about dates: they cannot tell you that the French deadline in your config is eight months wrong."}}, {"@type": "Question", "name": "What is free and what needs a licence?", "acceptedAnswer": {"@type": "Answer", "text": "Checking the file in front of you is free and complete. All 29 rules run, every finding is shown with its fix, there is no watermark, no counter and no trial. The licence covers a different job: sweeping every invoice mapping in the workspace in one pass and writing a dated report file you keep, commit and hand to an auditor."}}, {"@type": "Question", "name": "What would this cost done by a person?", "acceptedAnswer": {"@type": "Answer", "text": "A German tax adviser's time fee is fixed by StBVV § 13 at EUR 30 to 70 per half hour, so EUR 60 to 140 an hour. Having one invoice mapping reviewed once costs more than the licence, and it tells you nothing about the mapping you change next week. The check runs again for free every time you save."}}]}</script><div id="yj-ask" style="margin:36px 0 0;padding:18px 18px 16px;border:1px solid #e2e6ea;border-radius:10px;background:#fbfbfc"><h2 style="font:600 19px/1.3 system-ui,sans-serif;margin:0 0 4px;color:#1b1f24">Ask about this tool</h2><p style="font:400 13.5px/1.5 system-ui,sans-serif;margin:0 0 12px;color:#5b6570">One question, answered by the person who built it. Your email only if you want the answer sent.</p><form onsubmit="return yjAsk(event)" style="display:grid;gap:8px"><textarea name="question" required minlength="10" maxlength="2000" rows="3" placeholder="Your question" style="font:14px/1.5 system-ui,sans-serif;padding:10px;border:1px solid #cfd6dd;border-radius:6px"></textarea><div style="display:flex;gap:8px;flex-wrap:wrap"><input type="email" name="email" placeholder="Email (optional)" style="flex:1;min-width:200px;font:14px system-ui,sans-serif;padding:9px 10px;border:1px solid #cfd6dd;border-radius:6px"><button type="submit" style="font:600 14px system-ui,sans-serif;padding:9px 18px;border:0;border-radius:6px;background:#1b1f24;color:#fff;cursor:pointer">Send</button></div><p id="yj-ask-msg" style="font:13px system-ui,sans-serif;margin:2px 0 0;color:#0a6238;min-height:1em"></p></form><script>function yjAsk(e){e.preventDefault();var f=e.target,m=document.getElementById("yj-ask-msg");m.style.color="#0a6238";fetch(location.origin+"/api/ask",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sku:7933,slug:"en16931-einvoice-lint",lang:"en",question:f.question.value,email:f.email.value,page:location.pathname})}).then(function(r){if(!r.ok)throw 0;m.textContent="Thanks \u2014 noted. Answers land on this page and, if you left an email, in your inbox.";f.question.value="";}).catch(function(){m.style.color="#a8551f";m.textContent="Could not send. Please try again in a minute.";});return false;}</script></div></section><section class="yj-related" style="max-width:920px;margin:56px auto 40px;padding:0 20px"><h2 style="font:600 21px/1.3 system-ui,sans-serif;margin:0 0 6px;color:#1b1f24">Same job, next tool</h2><p style="font:400 14.5px/1.5 system-ui,sans-serif;margin:0 0 20px;color:#5b6570">Free in the browser. The full version is a one-time licence.</p><div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px"><a class="yj-rel-c" href="https://getreadystack.com/tools/einvoice-lint-xrechnung"><span class="yj-rel-t">E-Invoice Lint - XRechnung & ZUGFeRD (EN 16931)</span><span class="yj-rel-p">$29</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/einvoice-lint-en16931"><span class="yj-rel-t">E-Invoice Lint for XRechnung, Factur-X and UBL</span><span class="yj-rel-p">$29</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/autohotkey-toml-devicetree-snippets"><span class="yj-rel-t">AutoHotkey v2, TOML and DeviceTree checks for VS Code</span><span class="yj-rel-p">$29</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/en301549-lint"><span class="yj-rel-t">EN 301 549 Lint — European Accessibility Act rules, with the clause number, in</span><span class="yj-rel-p">$29</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/billable-hours-tracker-firefox"><span class="yj-rel-t">Billable Tab Timer for Hourly Freelancers & Consultants — Firefox extension th</span><span class="yj-rel-p">$9</span></a><a class="yj-rel-c" href="https://getreadystack.com/tools/robots-txt-ai-crawler-audit"><span class="yj-rel-t">AI Crawler Rules - robots.txt Audit for AI Search</span><span class="yj-rel-p">$29</span></a></div><style>.yj-rel-c{display:flex;flex-direction:column;gap:8px;padding:15px 16px;border:1px solid #e2e6ea;border-radius:6px;text-decoration:none;background:#fff}.yj-rel-c:hover{border-color:#b9c2cb;background:#fafbfc}.yj-rel-t{font:500 14.5px/1.42 system-ui,sans-serif;color:#1b1f24}.yj-rel-p{font:600 13px system-ui,sans-serif;color:#0a6238}</style></section><!--yj-share-s101--><div style="margin:28px 0 8px;text-align:center"><button id="yjcp" type="button" style="font:inherit;padding:10px 18px;border:1px solid #8884;border-radius:10px;background:transparent;cursor:pointer">Copy link</button><button id="yjimg" type="button" style="font:inherit;padding:10px 18px;margin-left:8px;border:1px solid #8884;border-radius:10px;background:transparent;cursor:pointer">Save result as image</button></div><script>(function(){var b=document.getElementById("yjimg");if(!b)return;b.addEventListener("click",function(){var o=document.getElementById("out");var txt=(o&&(o.innerText||o.textContent)||"").trim();if(!txt){b.textContent="(no result yet)";setTimeout(function(){b.textContent="Save result as image";},1500);return;}var lines=txt.split(String.fromCharCode(10)).filter(function(x){return x.trim();}).slice(0,10);var W=1200,P=56,c=document.createElement("canvas");c.width=W;var lh=38,H=P*2+70+lines.length*lh+60;c.height=H;var x=c.getContext("2d");x.fillStyle="#1a1512";x.fillRect(0,0,W,H);x.fillStyle="#f3e9d2";x.font="600 34px system-ui,Segoe UI,Arial";var t=(document.title||"").split("|")[0].trim();x.fillText(t.slice(0,54),P,P+34);x.font="22px ui-monospace,Menlo,Consolas,monospace";x.fillStyle="#e8dcc4";for(var i=0;i<lines.length;i++){x.fillText(lines[i].slice(0,88),P,P+70+i*lh+22);}x.font="600 22px system-ui,Segoe UI,Arial";x.fillStyle="#c9a227";var d=location.hostname.replace("www.","");x.fillText(d,W-P-x.measureText(d).width,H-P+6);c.toBlob(function(bl){var u=URL.createObjectURL(bl),a=document.createElement("a");a.href=u;a.download=(t||"result").replace(/[^a-z0-9]+/gi,"-").toLowerCase()+"-"+d+".png";document.body.appendChild(a);a.click();setTimeout(function(){URL.revokeObjectURL(u);a.remove();},2000);},"image/png");});})();</script><script>(function(){var b=document.getElementById("yjcp");if(!b)return;var t=b.textContent;b.addEventListener("click",function(){var u=location.href.split("#")[0];function d(){b.textContent="Link copied";setTimeout(function(){b.textContent=t;},1800);}if(navigator.clipboard&&navigator.clipboard.writeText){navigator.clipboard.writeText(u).then(d,function(){prompt("",u);});}else{prompt("",u);}});})();</script><div class="yj-home-find"><div class="yj-lgbar"><a href="/" class="yj-lg on">EN</a><a href="/de/" class="yj-lg">DE</a><a href="/ja/" class="yj-lg">JA</a><a href="/es/" class="yj-lg">ES</a><a href="/pt/" class="yj-lg">PT</a></div><section class="yj-find"><h2>Find a tool</h2><input id="yjq" type="search" autocomplete="off" placeholder="Type a product name, format or task"><div id="yjr"></div></section><style>.yj-lgbar{position:absolute;top:14px;right:18px;display:flex;gap:6px;z-index:60}.yj-lg{font:600 12px/1 system-ui,sans-serif;padding:6px 9px;border-radius:4px;text-decoration:none;color:#8b96a3;border:1px solid rgba(140,150,165,.28)}.yj-lg:hover{color:#e8eaed;border-color:rgba(160,175,195,.6)}.yj-lg.on{color:#0e1116;background:#cfd6de;border-color:#cfd6de}.yj-find{max-width:760px;margin:34px auto 8px;padding:0 20px}.yj-find h2{font:600 20px/1.3 system-ui,sans-serif;margin:0 0 10px}#yjq{width:100%;box-sizing:border-box;padding:13px 15px;font:400 15.5px system-ui,sans-serif;border:1px solid rgba(140,150,165,.34);border-radius:8px;background:rgba(255,255,255,.04);color:inherit}#yjq:focus{outline:none;border-color:#7FD1C4}#yjr{margin-top:10px;display:flex;flex-direction:column;gap:6px}#yjr a{display:flex;justify-content:space-between;gap:12px;padding:11px 14px;border:1px solid rgba(140,150,165,.22);border-radius:6px;text-decoration:none;font:400 14.5px/1.4 system-ui,sans-serif;color:inherit}#yjr a:hover{border-color:#7FD1C4}#yjr .pr{font:600 13px system-ui,sans-serif;color:#5fbf9a;white-space:nowrap}</style><script>(function(){var q=document.getElementById("yjq"),r=document.getElementById("yjr"),D=null;function load(){if(D)return Promise.resolve(D);return fetch("/search-index.json").then(function(x){return x.json();}).then(function(j){D=j;return j;}).catch(function(){D=[];return D;});}function esc(t){return String(t).replace(/[&<>"]/g,function(c){return {"&":"&","<":"<",">":">",'"':"""}[c];});}function run(){var v=q.value.trim().toLowerCase();if(v.length<2){r.innerHTML="";return;}load().then(function(j){var w=v.split(/\s+/),o=[];for(var i=0;i<j.length&&o.length<12;i++){var t=j[i].t.toLowerCase();var ok=true;for(var k=0;k<w.length;k++){if(t.indexOf(w[k])<0){ok=false;break;}}if(ok)o.push(j[i]);}r.innerHTML=o.length?o.map(function(x){return "<a href=\""+esc(x.u)+"\">"+"<span>"+esc(x.t)+"</span>"+(x.p?"<span class=\"pr\">$"+x.p+"</span>":"")+"</a>";}).join(""):"";});}q.addEventListener("input",run);q.addEventListener("focus",load);})();</script></div>
<script data-yj="yj-view-beacon">(function(){try{var p=location.pathname;var k='yjv:'+p;if(sessionStorage.getItem(k))return;sessionStorage.setItem(k,'1');fetch('/api/ev',{method:'POST',keepalive:true,headers:{'Content-Type':'application/json'},body:JSON.stringify({path:p,lang:"en",ref:(document.referrer||''),src:(function(){try{return (new URLSearchParams(location.search).get('ref')||'').replace(/[^a-z_]/g,'').slice(0,12)}catch(e){return ''}})()})}).catch(function(){});}catch(e){}})();</script>
<script data-yj="yj-use-beacon">(function(){try{var o=document.getElementById('out');if(!o)return;var p=location.pathname,k='yju:'+p,sent=false;function fire(){if(sent||sessionStorage.getItem(k))return;if(!(o.textContent||'').replace(/\s+/g,'').length)return;sent=true;sessionStorage.setItem(k,'1');fetch('/api/ev',{method:'POST',keepalive:true,headers:{'Content-Type':'application/json'},body:JSON.stringify({path:p,lang:"en",t:'use',src:(function(){try{return (new URLSearchParams(location.search).get('ref')||'').replace(/[^a-z_]/g,'').slice(0,12)}catch(e){return ''}})()})}).catch(function(){});}var mo=new MutationObserver(function(){fire();if(sent)mo.disconnect();});mo.observe(o,{childList:true,characterData:true,subtree:true});}catch(e){}})();</script>
</body>
</html>
|