# EInvoiceEngine (einvoiceengine.com)
> API and MCP server that validates European e-invoices with the official rule sets (XRechnung 3.0.2, EN 16931, Peppol BIS 3.0, Factur-X / ZUGFeRD 2.5, Facturae 3.2.x, KSeF FA(3)), reads them as JSON in EN 16931 business terms, converts between formats, creates invoices from JSON or CSV and proposes fixes for failing rules. Validity is decided only by the official rule sets, never by a language model. Results and explanations in English, German, French, Spanish, Italian, Polish, Dutch and Portuguese.
It is not a Peppol access point and does not transmit invoices to tax authorities. A valid result is a technical check, not a statement of legal or tax correctness. Free sandbox without a credit card; paid plans on the pricing page.
## Start
- [Free validator](https://einvoiceengine.com/xrechnung-validator): check one invoice in the browser, no sign-up
- [Fix a rejected invoice](https://einvoiceengine.com/fix): upload the invoice with the rejection message, get the fix
- [Pricing](https://einvoiceengine.com/pricing)
- [Supported operations](https://einvoiceengine.com/supported-operations): what the engine does for each format, and what it does not do yet
- [OpenAPI](https://einvoiceengine.com/openapi.json): the full REST API
- [MCP server](https://einvoiceengine.com/e-invoicing-mcp-server): add https://einvoiceengine.com/mcp as a custom connector in Claude, ChatGPT, Codex or Cursor
- [Full text for language models](https://einvoiceengine.com/llms-full.txt): documentation, guides and the rule reference as markdown
## Developer tools
- [TypeScript SDK and CLI](https://www.npmjs.com/package/@einvoiceengine/sdk): Typed client without dependencies for Node 18+, Deno and Bun, plus the einv command-line tool for scripts and CI.
- [Python SDK](https://pypi.org/project/einvoiceengine/): Client for Python 3.9+ without dependencies: validate, parse, convert, create and repair invoices.
- [MCP server for AI agents](https://registry.modelcontextprotocol.io/v0/servers?search=com.einvoiceengine): Sixteen tools for Claude, Codex, Cursor and other MCP clients: validate, parse, convert, create and repair invoices, explain rules, check inbound invoices. Sign in with OAuth or an API key.
- [Claude Code plugin](https://github.com/einvoiceengine/claude-plugin): Installs the MCP server, a skill that tells Claude how to check and repair invoices, and two commands: check-invoice for a folder of files and fix-invoice for a rejected one. It asks before it changes amounts, tax data or identifiers.
- [GitHub Action](https://github.com/marketplace/actions/e-invoicing-api-invoice-check): Checks the invoices your software generates on every push and pull request; only new failures against a saved baseline fail the build.
- [n8n node](https://www.npmjs.com/package/n8n-nodes-einvoiceengine): Validate, parse, convert and repair invoices in n8n workflows, and use the node as a tool for an AI agent.
- [Postman collection](https://www.postman.com/supporteinvoiceengine-4970747/e-invoicing-api): Every endpoint as a ready request with sample invoices, generated from the OpenAPI document.
## Guides
- [Why was my XRechnung rejected? How to find and fix the error](https://einvoiceengine.com/guides/xrechnung-rejected-how-to-fix): A portal or customer rejected your XRechnung or ZUGFeRD invoice. Find the rule that failed, understand it and fix the right field in four steps before you send it again.
- [What does BR-DE-15 mean? XRechnung error codes explained](https://einvoiceengine.com/guides/xrechnung-error-codes-explained): BR-DE-15, BR-CO-16, BR-DE-1, BR-CL-23 and other XRechnung and EN 16931 error codes, with the official rule text, what it means in plain words and how to fix it.
- [What is a Leitweg-ID and where does it go in an XRechnung?](https://einvoiceengine.com/guides/leitweg-id-xrechnung): The Leitweg-ID routes an XRechnung to the right German public authority. Where you get it, what it looks like, the exact XML field in UBL and CII, and how to fix error BR-DE-15.
- [BR-CO-16 and BR-CO-15 errors: why e-invoice totals don't add up](https://einvoiceengine.com/guides/br-co-16-invoice-totals-do-not-match): An e-invoice fails BR-CO-10, BR-CO-15, BR-CO-16 or BR-CO-17 although the PDF looks right. How the EN 16931 totals are calculated, where one cent goes missing and how to fix it.
- [Is a PDF invoice an e-invoice? What counts in Germany from 2025](https://einvoiceengine.com/guides/is-a-pdf-invoice-an-e-invoice): A plain PDF is not an e-invoice under German law. What counts instead (XRechnung, ZUGFeRD from profile EN 16931), why ZUGFeRD MINIMUM does not, and how to produce a valid one.
- [Which e-invoice format do I need? XRechnung, ZUGFeRD, Peppol, Facturae or KSeF](https://einvoiceengine.com/guides/which-e-invoice-format-do-i-need): Which electronic invoice format each country expects — Germany, Belgium, France, Poland, Spain — and how XRechnung, ZUGFeRD, Peppol BIS, Factur-X, Facturae and KSeF FA(3) differ.
- [How to convert XRechnung to ZUGFeRD (and UBL to CII) without losing data](https://einvoiceengine.com/guides/convert-xrechnung-to-zugferd): Convert an XRechnung into a ZUGFeRD / Factur-X PDF, UBL into CII or EN 16931 into Peppol BIS. Which conversions are possible, what can be lost and how to check the result.
- [When is e-invoicing mandatory in Germany? 2025, 2027 and 2028 explained](https://einvoiceengine.com/guides/e-invoicing-mandatory-germany-2025-2027-2028): German e-invoicing obligation step by step - receiving since 1 January 2025, sending from 2027 above €800,000 turnover and from 2028 for all - with the exceptions and what to prepare.
- [How to validate XRechnung in your software without running the KoSIT validator](https://einvoiceengine.com/guides/validate-xrechnung-api-without-kosit): Validate XRechnung, ZUGFeRD and Peppol invoices from your own application with one HTTP call instead of running and updating the Java KoSIT validator and its Schematron yourself.
- [How to test e-invoices automatically in CI before each release](https://einvoiceengine.com/guides/test-e-invoices-in-ci): Stop a release that breaks your XRechnung or ZUGFeRD output. Validate generated invoices on every build, fail only on new errors with a baseline, and test edge cases with synthetic invoices.
- [Belgium e-invoicing 2026: what must a Peppol BIS invoice contain?](https://einvoiceengine.com/guides/belgium-peppol-e-invoicing-2026): Belgium requires structured B2B e-invoices over Peppol since 1 January 2026. Who is covered, what a Peppol BIS Billing 3.0 invoice must contain and how to check it before your access point sends it.
- [How to check a KSeF FA(3) invoice before sending it](https://einvoiceengine.com/guides/ksef-fa3-validation-before-sending): KSeF refuses FA(3) files that break the official schema. Who must use KSeF since 2026, what FA(3) is, the most common schema errors and how to validate a file before submission.
## Validation rules
- [Rule reference](https://einvoiceengine.com/rules): the rules that most often reject invoices
- [BR-DE-15: Buyer reference (Leitweg-ID) missing](https://einvoiceengine.com/rules/br-de-15): BR-DE-15 means the XRechnung has no buyer reference (BT-10). For German public buyers that is the Leitweg-ID. Example, fix and repair options.
- [BR-DE-1: Payment instructions missing](https://einvoiceengine.com/rules/br-de-1): BR-DE-1 rejects an XRechnung without payment instructions (BG-16). What the rule checks, a rejected and a fixed UBL example, and how to repair it.
- [BR-DE-2: Seller contact missing](https://einvoiceengine.com/rules/br-de-2): BR-DE-2 rejects an XRechnung without the seller contact group (BG-6). What the group must contain, a rejected and a fixed UBL example, and how to repair it.
- [BR-DE-7: Seller contact e-mail missing](https://einvoiceengine.com/rules/br-de-7): BR-DE-7 rejects an XRechnung whose seller contact has no e-mail address (BT-43). Why it fires, a rejected and a fixed UBL example, and the repair.
- [BR-DE-14: VAT rate missing in the VAT breakdown](https://einvoiceengine.com/rules/br-de-14): BR-DE-14 rejects an XRechnung whose VAT breakdown has no VAT rate (BT-119), even for 0 % categories. A rejected and a fixed UBL example, and the repair.
- [BR-DE-16: Seller VAT ID or tax number missing](https://einvoiceengine.com/rules/br-de-16): BR-DE-16 rejects an XRechnung with VAT categories such as S, Z or E but no seller VAT ID, tax number or tax representative. Example and fix.
- [BR-DE-17: Invoice type code not in the XRechnung list](https://einvoiceengine.com/rules/br-de-17): BR-DE-17 warns when an XRechnung uses an invoice type code (BT-3) outside the eight codes XRechnung lists. Which codes are allowed and how to change it.
- [BR-DE-18: Skonto (cash discount) line in the wrong format](https://einvoiceengine.com/rules/br-de-18): BR-DE-18 rejects an XRechnung whose Skonto line in the payment terms does not follow #SKONTO#TAGE=n#PROZENT=n.nn#. The exact format and a fixed example.
- [BR-DE-19: IBAN for SEPA credit transfer is not valid](https://einvoiceengine.com/rules/br-de-19): BR-DE-19 warns when the payee account (BT-84) of an XRechnung paid by SEPA credit transfer (code 58) is not a valid IBAN. Causes and a fixed example.
- [BR-DE-23-a: Credit transfer without account details](https://einvoiceengine.com/rules/br-de-23-a): BR-DE-23-a rejects an XRechnung with payment means 30 or 58 (credit transfer) but no account to pay to (BG-17). Example, fix and repair.
- [BR-DE-26: Corrected invoice without reference to the original](https://einvoiceengine.com/rules/br-de-26): BR-DE-26 warns when an XRechnung with type code 384 (corrected invoice) does not reference the invoice it corrects (BG-3). Example and fix.
- [BR-DE-TMP-32: No delivery date or invoicing period](https://einvoiceengine.com/rules/br-de-tmp-32): BR-DE-TMP-32 is an XRechnung note when the invoice states neither a delivery date, an invoicing period nor a period on every line. What it means and how to add one.
- [BR-CO-10: Sum of line net amounts does not match the lines](https://einvoiceengine.com/rules/br-co-10): BR-CO-10 fails when the sum of invoice line net amounts (BT-106) differs from the line amounts (BT-131). Why it happens, a fixed UBL example and the repair.
- [BR-CO-13: Total without VAT does not add up](https://einvoiceengine.com/rules/br-co-13): BR-CO-13 fails when the invoice total without VAT (BT-109) is not lines minus document allowances plus document charges. Example, fix and repair.
- [BR-CO-14: Total VAT differs from the VAT breakdown](https://einvoiceengine.com/rules/br-co-14): BR-CO-14 fails when the invoice total VAT (BT-110) is not the sum of the VAT category amounts (BT-117). Why rounding causes it, a fixed example and the repair.
- [BR-CO-15: Total with VAT is not total without VAT plus VAT](https://einvoiceengine.com/rules/br-co-15): BR-CO-15 fails when the invoice total with VAT (BT-112) differs from the total without VAT plus the total VAT. Example, fix and repair.
- [BR-CO-16: Amount due does not match the totals](https://einvoiceengine.com/rules/br-co-16): BR-CO-16 fails when the amount due (BT-115) is not total with VAT minus paid amount plus rounding. Why it happens, a fixed UBL example and the repair.
- [BR-CO-17: VAT amount does not match base times rate](https://einvoiceengine.com/rules/br-co-17): BR-CO-17 fails when a VAT category amount (BT-117) is not its taxable amount times the rate. How the check is computed, its tolerance and a fixed example.
- [BR-S-08: Taxable amount for a standard rate does not match the lines](https://einvoiceengine.com/rules/br-s-08): BR-S-08 fails when the taxable amount of a standard rated VAT breakdown differs from the lines, allowances and charges at that rate. Example and fix.
- [BR-AE-02: Reverse charge without the seller's and buyer's VAT IDs](https://einvoiceengine.com/rules/br-ae-02): BR-AE-02 fails when an invoice line uses reverse charge (AE) but the seller's or the buyer's VAT identification is missing. Example and fix in UBL.
- [BR-AE-10: Reverse charge breakdown without exemption reason](https://einvoiceengine.com/rules/br-ae-10): BR-AE-10 fails when a VAT breakdown with category AE (reverse charge) has no exemption reason code or text. The code to use and a fixed UBL example.
- [BR-E-10: Exempt VAT breakdown without exemption reason](https://einvoiceengine.com/rules/br-e-10): BR-E-10 fails when a VAT breakdown with category E (exempt from VAT) has no exemption reason code or text. VATEX codes, a fixed UBL example and the repair.
- [BR-CO-26: No seller identifier, legal registration or VAT ID](https://einvoiceengine.com/rules/br-co-26): BR-CO-26 fails when the seller has none of seller identifier (BT-29), legal registration (BT-30) or VAT ID (BT-31). Example, the SEPA exception and the fix.
- [BR-CL-23: Unit code not from UN/ECE Recommendation 20 or 21](https://einvoiceengine.com/rules/br-cl-23): BR-CL-23 fails when a unit of measure (BT-130, BT-150) is not a code from UN/ECE Recommendation 20 or 21, for example 'pcs' or 'Stk'. Codes and the fix.
- [BR-DEC-23: Line net amount with more than two decimals](https://einvoiceengine.com/rules/br-dec-23): BR-DEC-23 fails when an invoice line net amount (BT-131) has more than two decimals, typically quantity times an unrounded price. Example and fix.
- [PEPPOL-EN16931-R001: Business process (ProfileID) missing](https://einvoiceengine.com/rules/peppol-en16931-r001): PEPPOL-EN16931-R001 fails when the invoice has no business process type (BT-23), cbc:ProfileID in UBL. Why it is needed, the value to use and the fix.
- [PEPPOL-EN16931-R008: Document contains empty elements](https://einvoiceengine.com/rules/peppol-en16931-r008): PEPPOL-EN16931-R008 fails when the invoice XML contains an empty element such as . Where it comes from, the XRechnung exception and the fix.
- [PEPPOL-EN16931-R010: Buyer electronic address missing](https://einvoiceengine.com/rules/peppol-en16931-r010): PEPPOL-EN16931-R010 fails when the buyer has no electronic address (BT-49), cbc:EndpointID in UBL. Which scheme to use and a fixed example.
- [PEPPOL-EN16931-R020: Seller electronic address missing](https://einvoiceengine.com/rules/peppol-en16931-r020): PEPPOL-EN16931-R020 fails when the seller has no electronic address (BT-34), cbc:EndpointID in UBL. Which schemes exist and a fixed example.
- [PEPPOL-EN16931-R120: Line net amount is not quantity times price](https://einvoiceengine.com/rules/peppol-en16931-r120): PEPPOL-EN16931-R120 fails when a line net amount differs from quantity × net price / base quantity ± line charges and allowances. Tolerance, example and fix.
- [BR-DE-3: XRechnung requires the seller city (BT-37)](https://einvoiceengine.com/rules/br-de-3): XRechnung requires the seller city (BT-37).
- [BR-DE-4: XRechnung requires the seller post code (BT-38)](https://einvoiceengine.com/rules/br-de-4): XRechnung requires the seller post code (BT-38).
- [BR-DE-5: XRechnung requires a seller contact point (BT-41), e.g. a person or…](https://einvoiceengine.com/rules/br-de-5): XRechnung requires a seller contact point (BT-41), e.g. a person or department name.
- [BR-DE-6: XRechnung requires the seller contact telephone number (BT-42)](https://einvoiceengine.com/rules/br-de-6): XRechnung requires the seller contact telephone number (BT-42).
- [BR-DE-8: XRechnung requires the buyer city (BT-52)](https://einvoiceengine.com/rules/br-de-8): XRechnung requires the buyer city (BT-52).
- [BR-DE-9: XRechnung requires the buyer post code (BT-53)](https://einvoiceengine.com/rules/br-de-9): XRechnung requires the buyer post code (BT-53).
- [BR-DE-10: When a deliver-to address (BG-15) is given, its city (BT-77) is required](https://einvoiceengine.com/rules/br-de-10): When a deliver-to address (BG-15) is given, its city (BT-77) is required.
- [BR-DE-11: When a deliver-to address (BG-15) is given, its post code (BT-78) is…](https://einvoiceengine.com/rules/br-de-11): When a deliver-to address (BG-15) is given, its post code (BT-78) is required.
- [BR-DE-20: With payment means 59 (SEPA direct debit) the debited account (BT-91)…](https://einvoiceengine.com/rules/br-de-20): With payment means 59 (SEPA direct debit) the debited account (BT-91) should be a valid IBAN.
- [BR-DE-21: The specification identifier (BT-24) should be the XRechnung identifier](https://einvoiceengine.com/rules/br-de-21): The specification identifier (BT-24) should be the XRechnung identifier.
- [BR-DE-22: Each embedded attachment must have a unique filename](https://einvoiceengine.com/rules/br-de-22): Each embedded attachment must have a unique filename.
- [BR-DE-23-b: With credit transfer (30, 58) card (BG-18) and direct debit (BG-19)…](https://einvoiceengine.com/rules/br-de-23-b): With credit transfer (30, 58) card (BG-18) and direct debit (BG-19) data must not be present.
- [BR-DE-24-a: Card payment codes (48, 54, 55) require exactly one card information…](https://einvoiceengine.com/rules/br-de-24-a): Card payment codes (48, 54, 55) require exactly one card information group (BG-18).
- [BR-DE-24-b: With card payment, credit transfer (BG-17) and direct debit (BG-19)…](https://einvoiceengine.com/rules/br-de-24-b): With card payment, credit transfer (BG-17) and direct debit (BG-19) must not be present.
- [BR-DE-25-a: Direct debit (59) requires exactly one direct debit group (BG-19)](https://einvoiceengine.com/rules/br-de-25-a): Direct debit (59) requires exactly one direct debit group (BG-19).
- [BR-DE-25-b: With direct debit, credit transfer (BG-17) and card (BG-18) must not be…](https://einvoiceengine.com/rules/br-de-25-b): With direct debit, credit transfer (BG-17) and card (BG-18) must not be present.
- [BR-DE-27: The seller contact telephone (BT-42) should contain at least three…](https://einvoiceengine.com/rules/br-de-27): The seller contact telephone (BT-42) should contain at least three digits.
- [BR-DE-28: The seller contact e-mail (BT-43) should be a plausible e-mail address](https://einvoiceengine.com/rules/br-de-28): The seller contact e-mail (BT-43) should be a plausible e-mail address.
- [BR-DE-30: Direct debit (BG-19) requires the bank assigned creditor identifier…](https://einvoiceengine.com/rules/br-de-30): Direct debit (BG-19) requires the bank assigned creditor identifier (BT-90).
- [BR-DE-31: Direct debit (BG-19) requires the debited account identifier (BT-91)](https://einvoiceengine.com/rules/br-de-31): Direct debit (BG-19) requires the debited account identifier (BT-91).
- [BR-DE-CVD-01: XRechnung CVD (Clean Vehicles Directive) invoices require the contract…](https://einvoiceengine.com/rules/br-de-cvd-01): XRechnung CVD (Clean Vehicles Directive) invoices require the contract reference (BT-12).
- [BR-DE-CVD-02: XRechnung CVD invoices require the tender or lot reference (BT-17)](https://einvoiceengine.com/rules/br-de-cvd-02): XRechnung CVD invoices require the tender or lot reference (BT-17).
- [BR-DE-CVD-03: A CVD invoice needs at least one line with an item classification…](https://einvoiceengine.com/rules/br-de-cvd-03): A CVD invoice needs at least one line with an item classification (BT-158) using scheme 'CVD' and an item attribute (BT-160) named 'cva'.
- [BR-DE-CVD-04: An item classification (BT-158) with scheme 'CVD' must use an allowed…](https://einvoiceengine.com/rules/br-de-cvd-04): An item classification (BT-158) with scheme 'CVD' must use an allowed vehicle category.
- [BR-DE-CVD-05: When an item attribute (BT-160) is named 'cva', its value (BT-161) must…](https://einvoiceengine.com/rules/br-de-cvd-05): When an item attribute (BT-160) is named 'cva', its value (BT-161) must be one of the allowed values.
- [BR-DE-CVD-06-a: A line classified with scheme 'CVD' must contain exactly one item…](https://einvoiceengine.com/rules/br-de-cvd-06-a): A line classified with scheme 'CVD' must contain exactly one item attribute named 'cva'.
- [BR-DE-CVD-06-b: A line with an item attribute 'cva' must contain exactly one…](https://einvoiceengine.com/rules/br-de-cvd-06-b): A line with an item attribute 'cva' must contain exactly one classification with scheme 'CVD'.
- [BR-TMP-CVD-01: The item classification scheme (BT-158) must be chosen from UNTDID 7143](https://einvoiceengine.com/rules/br-tmp-cvd-01): The item classification scheme (BT-158) must be chosen from UNTDID 7143.
- [BR-TMP-2: The external document location (BT-124) must be an absolute URL with a…](https://einvoiceengine.com/rules/br-tmp-2): The external document location (BT-124) must be an absolute URL with a valid scheme.
- [BR-TMP-3: If the item price base quantity (BT-149) appears on both gross and net…](https://einvoiceengine.com/rules/br-tmp-3): If the item price base quantity (BT-149) appears on both gross and net price, the values (and unit codes) must match.
- [BR-TMP-4: The supporting document description (BT-123) may occur only once per…](https://einvoiceengine.com/rules/br-tmp-4): The supporting document description (BT-123) may occur only once per supporting document.
- [BR-TMP-5: Only one attached document (BT-125) is allowed per supporting document](https://einvoiceengine.com/rules/br-tmp-5): Only one attached document (BT-125) is allowed per supporting document.
- [BR-TMP-6: Dates in UBL must use the format YYYY-MM-DD](https://einvoiceengine.com/rules/br-tmp-6): Dates in UBL must use the format YYYY-MM-DD.
- [BR-TMP-7: Dates in CII must carry format="102" and use YYYYMMDD](https://einvoiceengine.com/rules/br-tmp-7): Dates in CII must carry format="102" and use YYYYMMDD.
- [BR-DEX-01: An attached document (BT-125) uses a MIME code that is not allowed](https://einvoiceengine.com/rules/br-dex-01): An attached document (BT-125) uses a MIME code that is not allowed. In the Extension, application/xml is allowed in addition to the standard list.
- [BR-DEX-02: The net amount of an invoice line or sub invoice line (BT-131) should…](https://einvoiceengine.com/rules/br-dex-02): The net amount of an invoice line or sub invoice line (BT-131) should equal the sum of the net amounts of its direct sub invoice lines.
- [BR-DEX-03: Each sub invoice line (BG-DEX-01) must contain exactly one VAT…](https://einvoiceengine.com/rules/br-dex-03): Each sub invoice line (BG-DEX-01) must contain exactly one VAT information group (BG-DEX-06).
- [BR-DEX-07: Electronic address scheme identifiers must come from the CEF EAS code…](https://einvoiceengine.com/rules/br-dex-07): Electronic address scheme identifiers must come from the CEF EAS code list.
- [BR-DEX-09: Amount due (BT-115) = total with VAT (BT-112) − paid amount (BT-113) +…](https://einvoiceengine.com/rules/br-dex-09): Amount due (BT-115) = total with VAT (BT-112) − paid amount (BT-113) + rounding (BT-114) + sum of third party payment amounts (BT-DEX-002).
- [BR-DEX-10: A third party payment group (BG-DEX-09) requires the third party…](https://einvoiceengine.com/rules/br-dex-10): A third party payment group (BG-DEX-09) requires the third party payment type (BT-DEX-001).
- [BR-DEX-11: A third party payment group (BG-DEX-09) requires the third party…](https://einvoiceengine.com/rules/br-dex-11): A third party payment group (BG-DEX-09) requires the third party payment amount (BT-DEX-002).
- [BR-DEX-12: A third party payment group (BG-DEX-09) requires the third party…](https://einvoiceengine.com/rules/br-dex-12): A third party payment group (BG-DEX-09) requires the third party payment description (BT-DEX-003).
- [BR-DEX-13: The third party payment amount (BT-DEX-002) may have at most two…](https://einvoiceengine.com/rules/br-dex-13): The third party payment amount (BT-DEX-002) may have at most two decimals.
- [BR-DEX-14: The currency of the third party payment amount (BT-DEX-002) must equal…](https://einvoiceengine.com/rules/br-dex-14): The currency of the third party payment amount (BT-DEX-002) must equal the invoice currency (BT-5).
- [BR-DEX-15: This CII file may use sub invoice lines, which XRechnung does not…](https://einvoiceengine.com/rules/br-dex-15): This CII file may use sub invoice lines, which XRechnung does not support in CII.
- [BR-01: Every invoice needs a specification identifier (BT-24)](https://einvoiceengine.com/rules/br-01): Every invoice needs a specification identifier (BT-24).
- [BR-02: Every invoice needs an invoice number (BT-1)](https://einvoiceengine.com/rules/br-02): Every invoice needs an invoice number (BT-1).
- [BR-03: Every invoice needs an issue date (BT-2)](https://einvoiceengine.com/rules/br-03): Every invoice needs an issue date (BT-2).
- [BR-04: Every invoice needs an invoice type code (BT-3)](https://einvoiceengine.com/rules/br-04): Every invoice needs an invoice type code (BT-3).
- [BR-05: Every invoice needs a currency code (BT-5)](https://einvoiceengine.com/rules/br-05): Every invoice needs a currency code (BT-5).
- [BR-06: The seller name (BT-27) is required](https://einvoiceengine.com/rules/br-06): The seller name (BT-27) is required.
- [BR-07: The buyer name (BT-44) is required](https://einvoiceengine.com/rules/br-07): The buyer name (BT-44) is required.
- [BR-08: The seller postal address (BG-5) is required](https://einvoiceengine.com/rules/br-08): The seller postal address (BG-5) is required.
- [BR-09: The seller country code (BT-40) is required](https://einvoiceengine.com/rules/br-09): The seller country code (BT-40) is required.
- [BR-10: The buyer postal address (BG-8) is required](https://einvoiceengine.com/rules/br-10): The buyer postal address (BG-8) is required.
- [BR-11: The buyer country code (BT-55) is required](https://einvoiceengine.com/rules/br-11): The buyer country code (BT-55) is required.
- [BR-12: The sum of invoice line net amounts (BT-106) is required](https://einvoiceengine.com/rules/br-12): The sum of invoice line net amounts (BT-106) is required.
- [BR-13: The invoice total without VAT (BT-109) is required](https://einvoiceengine.com/rules/br-13): The invoice total without VAT (BT-109) is required.
- [BR-14: The invoice total with VAT (BT-112) is required](https://einvoiceengine.com/rules/br-14): The invoice total with VAT (BT-112) is required.
- [BR-15: The amount due for payment (BT-115) is required](https://einvoiceengine.com/rules/br-15): The amount due for payment (BT-115) is required.
- [BR-16: An invoice needs at least one invoice line (BG-25)](https://einvoiceengine.com/rules/br-16): An invoice needs at least one invoice line (BG-25).
- [BR-CO-11: BT-107 must equal the sum of all document level allowance amounts…](https://einvoiceengine.com/rules/br-co-11): BT-107 must equal the sum of all document level allowance amounts (BT-92).
- [BR-CO-12: BT-108 must equal the sum of all document level charge amounts (BT-99)](https://einvoiceengine.com/rules/br-co-12): BT-108 must equal the sum of all document level charge amounts (BT-99).
## Complete rule lists (official texts)
- [XRechnung 3.0.2 rules (BR-DE, BR-DEX, BR-TMP)](https://einvoiceengine.com/rules/xrechnung): 61 rules. Every BR-DE, BR-DEX, BR-TMP and CVD rule of XRechnung 3.0.2 with the official German text, severity and a link to the explanation and fix.
- [Peppol BIS Billing 3.0 rules in XRechnung (PEPPOL-EN16931)](https://einvoiceengine.com/rules/peppol): 23 rules. The PEPPOL-EN16931 rules of Peppol BIS Billing 3.0 that KoSIT includes in XRechnung 3.0.2, with the official text and severity of each.
- [EN 16931 business rules (BR)](https://einvoiceengine.com/rules/en16931): 223 rules. Every EN 16931 business rule (BR, BR-CO, BR-CL, BR-DEC and the VAT category rules) with the official text and severity, from the CEN artefacts.
- [EN 16931 UBL syntax rules (UBL-CR, UBL-SR, UBL-DT)](https://einvoiceengine.com/rules/en16931-ubl): 756 rules. Every UBL-CR, UBL-SR and UBL-DT rule of the EN 16931 UBL binding with the official text and severity. Most UBL-CR rules are warnings.
- [EN 16931 CII syntax rules (CII-SR, CII-DT)](https://einvoiceengine.com/rules/en16931-cii): 583 rules. Every CII-SR and CII-DT rule of the EN 16931 binding to UN/CEFACT CII, with the official text and severity, for XRechnung CII and ZUGFeRD files.
## Validators, APIs and product pages
- [Peppol BIS Billing validator](https://einvoiceengine.com/peppol-validator): Check Peppol BIS Billing 3.0 invoices and credit notes with the official OpenPeppol 3.0.22 Schematron and the EN 16931 rules. Free, no sign-up.
- [Facturae validator](https://einvoiceengine.com/facturae-validator): Validate Spanish Facturae 3.2.x invoices against the official XML Schema and the calculation formulas defined in it. Free, no sign-up.
- [KSeF FA(3) validator](https://einvoiceengine.com/ksef-validator): Validate Polish KSeF FA(3) e-invoices against the official schema of the Ministry of Finance before you submit them. Free, no sign-up.
- [XRechnung validator](https://einvoiceengine.com/xrechnung-validator): Check XRechnung 3.0 invoices in UBL or CII with the official KoSIT validator and the XRechnung 3.0.2 rules. Free, no sign-up, nothing stored.
- [ZUGFeRD / Factur-X validator](https://einvoiceengine.com/zugferd-validator): Validate ZUGFeRD 2.x and Factur-X PDFs: every profile (MINIMUM to EXTENDED, XRECHNUNG) with the official FeRD / FNFE rules, plus PDF/A-3 with veraPDF.
- [Factur-X validator](https://einvoiceengine.com/factur-x-validator): Check Factur-X PDFs (MINIMUM to EXTENDED) with the official FNFE-MPE rules, the French BR-FR rules and PDF/A-3 with veraPDF. Free, no sign-up.
- [XRechnung viewer](https://einvoiceengine.com/xrechnung-viewer): Open an XRechnung, ZUGFeRD, Peppol, Facturae or KSeF invoice and read it as a normal invoice: parties, lines, VAT and totals. Print it or save it as PDF. Free, nothing stored.
- [ZUGFeRD viewer](https://einvoiceengine.com/zugferd-viewer): Open a ZUGFeRD or Factur-X PDF or its XML and see the embedded invoice data as a readable invoice, with whether it passes the official rules. Free, nothing stored.
- [EN 16931 validation](https://einvoiceengine.com/en16931-validation): Validate EN 16931 core invoices in UBL 2.1 or UN/CEFACT CII with the official CEN/TC 434 Schematron and XML Schema.
- [E-invoice XML checker](https://einvoiceengine.com/e-invoice-xml-checker): Find and fix errors in XRechnung and EN 16931 invoice XML: schema errors, missing fields, wrong totals and VAT rules, with line numbers.
- [Invoice XML to JSON](https://einvoiceengine.com/invoice-xml-to-json): Convert XRechnung, UBL and CII invoice XML into clean JSON that follows the EN 16931 business terms. Exact amounts, no silent data loss.
- [XRechnung API](https://einvoiceengine.com/xrechnung-api): REST API to validate XRechnung 3.0 with the official KoSIT validator, parse it to JSON and convert UBL to CII. Sandbox keys, OpenAPI, MCP.
- [ZUGFeRD API](https://einvoiceengine.com/zugferd-api): API to create, validate and parse ZUGFeRD 2.x / Factur-X PDFs: PDF/A-3 output from XRechnung or EN 16931 XML, all profiles validated.
- [Factur-X API](https://einvoiceengine.com/factur-x-api): REST API for Factur-X: validate every profile with the official FNFE-MPE and BR-FR rules, create PDF/A-3 Factur-X from JSON or XML, convert to UBL.
- [Peppol BIS Billing API](https://einvoiceengine.com/peppol-api): REST API to validate Peppol BIS Billing 3.0 with the official OpenPeppol rules, create Peppol invoices from JSON and convert from XRechnung or EN 16931.
- [KSeF FA(3) API](https://einvoiceengine.com/ksef-api): API to validate Polish KSeF FA(3) invoices against the official schema, convert EN 16931 invoices to FA(3) and FA(3) back to EN 16931. Submission stays with you.
- [Facturae API](https://einvoiceengine.com/facturae-api): API to validate Facturae 3.2, 3.2.1 and 3.2.2 with the official schema, the calculation rules and a XAdES signature check, and to convert between Facturae and EN 16931.
- [EN 16931 API](https://einvoiceengine.com/en16931-api): One REST API for EN 16931 invoices: validate UBL and CII with the CEN rules, parse them to JSON, create them from JSON and convert between UBL, CII, Peppol and ZUGFeRD.
- [Invoice conversion API](https://einvoiceengine.com/invoice-conversion-api): Convert e-invoices between XRechnung, EN 16931 UBL and CII, Peppol BIS, ZUGFeRD / Factur-X PDF, Facturae and KSeF FA(3). Every result is validated; data loss is never silent.
- [E-invoicing MCP server](https://einvoiceengine.com/e-invoicing-mcp-server): Remote MCP server with tools to validate, parse, convert, create, repair and explain XRechnung and EN 16931 invoices from Claude Code, Codex and Cursor.
- [What EInvoiceEngine does](https://einvoiceengine.com/features): Every feature in one place: validation with official rules, JSON, conversion, creation from JSON and CSV, repair, comparison, test data, CI checks, monitoring, delivery routing, webhooks, MCP, widget and partner accounts.
- [Integrations](https://einvoiceengine.com/integrations): Connect EInvoiceEngine through the REST API, SDKs for TypeScript and Python, an MCP server, a GitHub Action, an n8n community node, a Postman collection, connectors for lexoffice, sevDesk and Odoo (beta), and Make through its HTTP module.
- [For software vendors and partners](https://einvoiceengine.com/partners): Embed invoice validation in your product with a widget, manage your customers' keys and limits through the partner API, and receive one bill for all of them.
- [E-invoicing readiness check](https://einvoiceengine.com/readiness): Upload a sample of your invoices or an export of your old system and get a report: what passes the official rules, what to fix, which formats you can convert to, and what to change in the process.
- [E-invoicing developer guide](https://einvoiceengine.com/e-invoicing-developer-guide): What developers need to know about EN 16931, XRechnung, ZUGFeRD, UBL and CII: syntaxes, profiles, validation and the German 2025–2028 timeline.
## By use case
- [E-invoicing API for ERP and billing software](https://einvoiceengine.com/for/erp): Validate, create, convert and repair XRechnung, ZUGFeRD, Peppol, Facturae and KSeF invoices from your ERP or billing SaaS with one API. Free sandbox key.
- [White-label e-invoicing for ERP integrators](https://einvoiceengine.com/for/integrators): Offer e-invoice validation, conversion and repair to your clients under your own name: customer accounts, per-client limits, your domain and one bill.
- [E-invoicing API for developers: SDK, MCP, OpenAPI](https://einvoiceengine.com/for/developers): Validate, parse, convert and create XRechnung, ZUGFeRD, Peppol, Facturae and KSeF invoices with a REST API, TypeScript SDK, GitHub Action and MCP server.
- [E-invoice checks for accounting firms and bureaus](https://einvoiceengine.com/for/accounting): Check your clients' e-invoices in bulk, fix errors or ask the client, let client staff sign in to their own invoices, and export per client.
- [Build or buy e-invoice validation](https://einvoiceengine.com/for/build-vs-buy): What you maintain yourself when you build e-invoice validation (rule sets, format versions, validators, code lists) and what an API takes over.
- [Trust: data location, retention and security](https://einvoiceengine.com/trust): Where invoices are processed, how long data is kept per plan, how it is protected and deleted, and what is not offered. Based on our security and privacy pages.
## Documentation
- [Quick start](https://einvoiceengine.com/docs/quickstart)
- [Concepts](https://einvoiceengine.com/docs/concepts)
- [Authentication](https://einvoiceengine.com/docs/authentication)
- [Readiness check](https://einvoiceengine.com/docs/readiness)
- [Validation](https://einvoiceengine.com/docs/validation)
- [Parsing](https://einvoiceengine.com/docs/parsing)
- [Conversion](https://einvoiceengine.com/docs/conversion)
- [Creating invoices](https://einvoiceengine.com/docs/generating)
- [Invoices from CSV, Excel and XML exports](https://einvoiceengine.com/docs/csv-mapping)
- [Fixing rejected invoices](https://einvoiceengine.com/docs/fixing)
- [Incoming invoices (accounts payable)](https://einvoiceengine.com/docs/inbound)
- [Batches and background jobs](https://einvoiceengine.com/docs/batches)
- [Webhooks](https://einvoiceengine.com/docs/webhooks)
- [Delivery routing](https://einvoiceengine.com/docs/routing)
- [Checking invoices in CI](https://einvoiceengine.com/docs/ci)
- [TypeScript SDK and command line](https://einvoiceengine.com/docs/sdk)
- [lexoffice, sevDesk, Odoo, n8n, Make](https://einvoiceengine.com/docs/connectors)
- [MCP setup](https://einvoiceengine.com/docs/mcp)
- [Bureau cabinet](https://einvoiceengine.com/docs/bureau)
- [White label for partners](https://einvoiceengine.com/docs/partners)
- [Embedded validation widget](https://einvoiceengine.com/docs/widget)
- [Error handling](https://einvoiceengine.com/docs/errors)
- [Supported formats](https://einvoiceengine.com/docs/formats)
- [Format versions](https://einvoiceengine.com/docs/versions)
- [Rule changes and deadlines](https://einvoiceengine.com/docs/compliance)
- [Rate limits](https://einvoiceengine.com/docs/rate-limits)
- [Self-hosting](https://einvoiceengine.com/docs/self-hosting)
- [Changelog](https://einvoiceengine.com/docs/changelog)
- [Account and usage](https://einvoiceengine.com/docs/account)
- [Usage and billing](https://einvoiceengine.com/docs/billing)
- [Security](https://einvoiceengine.com/docs/security)
- [Data retention](https://einvoiceengine.com/docs/data-retention)
- [Privacy](https://einvoiceengine.com/docs/privacy)
- [Terms of Service](https://einvoiceengine.com/docs/terms)
- [Data Processing Agreement](https://einvoiceengine.com/docs/dpa)
- [Subprocessors](https://einvoiceengine.com/docs/subprocessors)
- [Acceptable Use Policy](https://einvoiceengine.com/docs/acceptable-use)
- [Refund Policy](https://einvoiceengine.com/docs/refunds)
- [Cookie Policy](https://einvoiceengine.com/docs/cookies)
## Languages
Every page exists in en, de, fr, es, it, pl, nl, pt under //…, for example https://einvoiceengine.com/de/rules/br-de-15, except the shorter rule pages and the complete rule lists, which are in English only.