<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Boban Mitevski</title>
    <description>The latest articles on DEV Community by Boban Mitevski (@bobanmit).</description>
    <link>https://dev.to/bobanmit</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4220969%2F1b0059e0-b657-4a44-ad2f-1017b974a0c2.png</url>
      <title>DEV Community: Boban Mitevski</title>
      <link>https://dev.to/bobanmit</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/bobanmit"/>
    <language>en</language>
    <item>
      <title>XRechnung EndpointID: what goes in BT-34 and BT-49, and the errors when it is wrong</title>
      <dc:creator>Boban Mitevski</dc:creator>
      <pubDate>Tue, 24 Nov 2026 11:19:51 +0000</pubDate>
      <link>https://dev.to/bobanmit/xrechnung-endpointid-what-goes-in-bt-34-and-bt-49-and-the-errors-when-it-is-wrong-29mk</link>
      <guid>https://dev.to/bobanmit/xrechnung-endpointid-what-goes-in-bt-34-and-bt-49-and-the-errors-when-it-is-wrong-29mk</guid>
      <description>&lt;p&gt;An XRechnung needs two electronic addresses: the seller's (BT-34) and the buyer's (BT-49). Both are required, and when a validator reports &lt;code&gt;PEPPOL-EN16931-R010&lt;/code&gt; or &lt;code&gt;BR-CL-25&lt;/code&gt; on a file you thought was fine, this is almost always the reason. Here is what the field is, where it goes, which scheme code to use, and which errors you get when it is wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is
&lt;/h2&gt;

&lt;p&gt;The electronic address says where a party receives e-invoices. It has two parts: a &lt;strong&gt;value&lt;/strong&gt; (an email address, a VAT number, a Leitweg-ID) and a &lt;strong&gt;scheme&lt;/strong&gt;, a code that says what kind of value it is.&lt;/p&gt;

&lt;p&gt;It is not a delivery instruction for the file you create. An XRechnung with &lt;code&gt;buyer@example.de&lt;/code&gt; in BT-49 still reaches the buyer the way you send it: by email, through a portal or over Peppol.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it goes
&lt;/h2&gt;

&lt;p&gt;In UBL it is &lt;code&gt;cbc:EndpointID&lt;/code&gt; with a &lt;code&gt;schemeID&lt;/code&gt; attribute, inside &lt;code&gt;cac:Party&lt;/code&gt;, &lt;strong&gt;before&lt;/strong&gt; &lt;code&gt;cac:PartyIdentification&lt;/code&gt; and &lt;code&gt;cac:PartyName&lt;/code&gt;. In another position the file fails the XML schema.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;cac:AccountingSupplierParty&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;cac:Party&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;cbc:EndpointID&lt;/span&gt; &lt;span class="na"&gt;schemeID&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"EM"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;invoices@example-software.de&lt;span class="nt"&gt;&amp;lt;/cbc:EndpointID&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;cac:PartyName&amp;gt;&lt;/span&gt;…&lt;span class="nt"&gt;&amp;lt;/cac:PartyName&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/cac:Party&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/cac:AccountingSupplierParty&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In CII (UN/CEFACT) it is &lt;code&gt;ram:URIUniversalCommunication/ram:URIID&lt;/code&gt;, after &lt;code&gt;ram:PostalTradeAddress&lt;/code&gt; and before &lt;code&gt;ram:SpecifiedTaxRegistration&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;ram:SellerTradeParty&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;ram:PostalTradeAddress&amp;gt;&lt;/span&gt;…&lt;span class="nt"&gt;&amp;lt;/ram:PostalTradeAddress&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;ram:URIUniversalCommunication&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;ram:URIID&lt;/span&gt; &lt;span class="na"&gt;schemeID&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"EM"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;invoices@example-software.de&lt;span class="nt"&gt;&amp;lt;/ram:URIID&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/ram:URIUniversalCommunication&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;ram:SpecifiedTaxRegistration&amp;gt;&lt;/span&gt;…&lt;span class="nt"&gt;&amp;lt;/ram:SpecifiedTaxRegistration&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/ram:SellerTradeParty&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;ram:BuyerTradeParty&lt;/code&gt; takes the same element for BT-49.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which scheme to use
&lt;/h2&gt;

&lt;p&gt;The scheme must be a code from the European Commission's EAS list. The ones you meet most often:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Scheme&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;th&gt;Typical use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;EM&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Email address&lt;/td&gt;
&lt;td&gt;XRechnung by email or portal upload. Not accepted in Peppol BIS.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;9930&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;German VAT number&lt;/td&gt;
&lt;td&gt;German companies on Peppol.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;0204&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Leitweg-ID&lt;/td&gt;
&lt;td&gt;German public bodies on Peppol.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;0088&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;GLN&lt;/td&gt;
&lt;td&gt;Companies that already use GLNs in EDI.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;0208&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Belgian enterprise number&lt;/td&gt;
&lt;td&gt;Belgian companies on Peppol.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you send over Peppol, use the identifier under which the receiver is registered there. Your access point looks the receiver up by exactly this scheme and value. If you send an XRechnung by email or portal, an email address with &lt;code&gt;EM&lt;/code&gt; passes the official rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three fields people mix up
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;BT-49, buyer electronic address&lt;/strong&gt; (&lt;code&gt;cbc:EndpointID&lt;/code&gt;): this article.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;BT-10, buyer reference&lt;/strong&gt; (&lt;code&gt;cbc:BuyerReference&lt;/code&gt;): for German public buyers this holds the Leitweg-ID. It is separate and required. A Leitweg-ID in BT-10 does not fill BT-49.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;BT-43, seller contact email&lt;/strong&gt; (&lt;code&gt;cac:Contact/cbc:ElectronicMail&lt;/code&gt;): a person or team for questions. It can be the same mailbox as BT-34, but both elements must be there.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The errors you get
&lt;/h2&gt;

&lt;p&gt;We removed or changed the element in an official XRechnung test invoice and validated it against the XRechnung 3.0.2 rules, in UBL and CII:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Rule&lt;/th&gt;
&lt;th&gt;Cause&lt;/th&gt;
&lt;th&gt;Fix&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;PEPPOL-EN16931-R020&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;BT-34 is missing.&lt;/td&gt;
&lt;td&gt;Add the seller's &lt;code&gt;cbc:EndpointID&lt;/code&gt; with a &lt;code&gt;schemeID&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;PEPPOL-EN16931-R010&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;BT-49 is missing.&lt;/td&gt;
&lt;td&gt;Add the buyer's &lt;code&gt;cbc:EndpointID&lt;/code&gt; with a &lt;code&gt;schemeID&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;BR-62&lt;/code&gt; / &lt;code&gt;BR-63&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;The element is there, the &lt;code&gt;schemeID&lt;/code&gt; is not (seller / buyer).&lt;/td&gt;
&lt;td&gt;Add &lt;code&gt;schemeID&lt;/code&gt;, e.g. &lt;code&gt;EM&lt;/code&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;BR-CL-25&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The scheme is not on the EAS list, e.g. &lt;code&gt;EMAIL&lt;/code&gt; instead of &lt;code&gt;EM&lt;/code&gt;.&lt;/td&gt;
&lt;td&gt;Use the exact code. Codes are case-sensitive.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The two &lt;code&gt;PEPPOL-&lt;/code&gt; IDs are not a mistake: XRechnung 3.0 reports a missing address under the same IDs as Peppol BIS.&lt;/p&gt;

&lt;p&gt;Two more apply only to &lt;strong&gt;Peppol BIS Billing 3.0&lt;/strong&gt;: &lt;code&gt;PEPPOL-EN16931-CL008&lt;/code&gt; (the scheme is not in Peppol's shorter list; &lt;code&gt;EM&lt;/code&gt; is the usual case) and &lt;code&gt;PEPPOL-COMMON-R043&lt;/code&gt; (scheme &lt;code&gt;0208&lt;/code&gt; with a value that is not a valid Belgian enterprise number: ten digits, no &lt;code&gt;BE&lt;/code&gt; prefix, no dots).&lt;/p&gt;

&lt;h2&gt;
  
  
  If you don't know the buyer's address
&lt;/h2&gt;

&lt;p&gt;Ask the buyer. It is their identifier, and a guessed one helps nobody. For an XRechnung delivered by email or portal, the email address the buyer gave you for invoices, with &lt;code&gt;EM&lt;/code&gt;, satisfies the rules. For Peppol, the buyer or their access point tells you scheme and value.&lt;/p&gt;

&lt;p&gt;Don't put a placeholder in the field to get past validation. The file would pass, and the buyer's system may still refuse it or file it under the wrong party.&lt;/p&gt;

&lt;p&gt;The full page, with the German version, is at &lt;a href="https://valinvo.bmk-hub.com/xrechnung-endpointid" rel="noopener noreferrer"&gt;https://valinvo.bmk-hub.com/xrechnung-endpointid&lt;/a&gt;. To see which of these rules your own file triggers, the validator on the same site is free and needs no sign-up.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Checked in November 2026 against the XRechnung 3.0.2 and Peppol BIS Billing 3.0 rules. I help make Valinvo, a validator and API for these formats, so I'm biased.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>xrechnung</category>
      <category>einvoicing</category>
      <category>peppol</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Create a valid XRechnung from PHP or Node.js without Java</title>
      <dc:creator>Boban Mitevski</dc:creator>
      <pubDate>Tue, 17 Nov 2026 08:25:38 +0000</pubDate>
      <link>https://dev.to/bobanmit/create-a-valid-xrechnung-from-php-or-nodejs-without-java-702</link>
      <guid>https://dev.to/bobanmit/create-a-valid-xrechnung-from-php-or-nodejs-without-java-702</guid>
      <description>&lt;p&gt;From 1 January 2027, German companies with more than €800,000 total turnover in the previous year must issue e-invoices to German business customers (§ 27 (38) UStG). If you maintain a PHP shop plugin, a Node.js SaaS or any app that makes invoices, "a PDF by email" stops being enough for those customers, and an XRechnung file takes its place.&lt;/p&gt;

&lt;p&gt;Writing the XML is not the hard part. Knowing it is &lt;em&gt;right&lt;/em&gt; is. XRechnung is EN 16931 plus German rules, and the official check is a set of Schematron rules that the KoSIT validator runs on Java. A file can pass the XML schema and still be rejected by a public buyer's portal, for example because the buyer reference (BT-10, "Leitweg-ID") is missing or one amount is off by a cent.&lt;/p&gt;

&lt;p&gt;So the question for a PHP or Node.js team is where the checking happens. These are the ways I see:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;An open-source library in your language.&lt;/strong&gt; PHP has good ones for ZUGFeRD and XRechnung. Node.js has fewer. A library builds the XML; you still need to check the result against the current official rules yourself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The KoSIT validator in CI.&lt;/strong&gt; It is the reference, but it needs a Java runtime and a pinned set of rules that you update after each release.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;An HTTP API that builds and checks in one call.&lt;/strong&gt; No Java in your stack, rule updates on the service side. The price: invoice data leaves your system, so you need a data processing agreement, and you depend on the service being up.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I build &lt;a href="https://valinvo.bmk-hub.com" rel="noopener noreferrer"&gt;Valinvo&lt;/a&gt;, which is the third kind, so I'll show that one with working code and be upfront about the trade-off.&lt;/p&gt;

&lt;h2&gt;
  
  
  The invoice
&lt;/h2&gt;

&lt;p&gt;The API takes one JSON invoice. Amounts, quantities and VAT rates are &lt;strong&gt;strings&lt;/strong&gt; (&lt;code&gt;"19.99"&lt;/code&gt;), never numbers, so nothing is rounded by floating point on the way. A shortened example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"format"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"xrechnung-ubl"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"invoice"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"number"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"RE-2026-0042"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"invoice"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"issueDate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-10-19"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"dueDate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-18"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"currency"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"EUR"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"buyerReference"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"04011000-12345-34"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"seller"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Example Software GmbH"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"vatId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"DE123456789"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"electronicAddress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"scheme"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"EM"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"value"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"invoices@example-software.de"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"address"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"line1"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Musterstraße 1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"city"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Berlin"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"postalCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"10115"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"countryCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"DE"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"contact"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Erika Mustermann"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"phone"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"+49 30 1234567"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"billing@example-software.de"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"buyer"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Beispiel Behörde"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"electronicAddress"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"scheme"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"EM"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"value"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"rechnung@beispiel-behoerde.de"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"address"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"line1"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Amtsweg 5"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"city"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Hamburg"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"postalCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"20095"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"countryCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"DE"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"payment"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"meansCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"58"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"iban"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"DE02120300000000202051"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"accountName"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Example Software GmbH"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"lines"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
      &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Software subscription, October 2026"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"quantity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"unitCode"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"C62"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="nl"&gt;"unitPrice"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"99.00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"vat"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"category"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"S"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"rate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"19"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;]&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The field names follow the EN 16931 model; &lt;code&gt;GET /v1/formats&lt;/code&gt; lists the formats, and an error names any field you leave out.&lt;/p&gt;

&lt;h2&gt;
  
  
  PHP
&lt;/h2&gt;

&lt;p&gt;Plain &lt;code&gt;curl&lt;/code&gt; extension, nothing to install:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight php"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="n"&gt;php&lt;/span&gt;
&lt;span class="nv"&gt;$ch&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;curl_init&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://valinvo.bmk-hub.com/v1/invoices'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;curl_setopt_array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="no"&gt;CURLOPT_POST&lt;/span&gt;           &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="no"&gt;CURLOPT_POSTFIELDS&lt;/span&gt;     &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nf"&gt;file_get_contents&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'invoice.json'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="no"&gt;CURLOPT_HTTPHEADER&lt;/span&gt;     &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'Content-Type: application/json'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'X-Accept-Terms: 1.0'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="no"&gt;CURLOPT_RETURNTRANSFER&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nv"&gt;$body&lt;/span&gt;   &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;curl_exec&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nv"&gt;$status&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;curl_getinfo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$ch&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;CURLINFO_RESPONSE_CODE&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$status&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="mi"&gt;200&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nf"&gt;file_put_contents&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'invoice.xml'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nv"&gt;$body&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"Saved invoice.xml\n"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nb"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="nv"&gt;$error&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;json_decode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$body&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"$status {$error['code']}: {$error['message']}\n"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;foreach&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;$error&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'problems'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;as&lt;/span&gt; &lt;span class="nv"&gt;$problem&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;"  {$problem['path']}: {$problem['message']}\n"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nb"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Node.js
&lt;/h2&gt;

&lt;p&gt;Node 18 or newer has &lt;code&gt;fetch&lt;/code&gt;. Save as &lt;code&gt;create-invoice.mjs&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;readFile&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;writeFile&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'node:fs/promises'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'https://valinvo.bmk-hub.com/v1/invoices'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'POST'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="s1"&gt;'Content-Type'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'application/json'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'X-Accept-Terms'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'1.0'&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;readFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'invoice.json'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ok&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;writeFile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'invoice.xml'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Buffer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;arrayBuffer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`Saved invoice.xml: ${res.headers.get('x-validation-status')} (${res.headers.get('x-rule-set')})`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;error&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`${res.status} ${error.code}: ${error.message}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;problems&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;error&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`  ${p.path}: ${p.message}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nb"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;exit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What comes back
&lt;/h2&gt;

&lt;p&gt;With the example above the answer is the XRechnung file and two headers: &lt;code&gt;X-Validation-Status: valid&lt;/code&gt; and &lt;code&gt;X-Rule-Set: xrechnung-3.0.2-ubl-invoice&lt;/code&gt;. An invoice that fails the official rules is never returned; you get an error instead.&lt;/p&gt;

&lt;p&gt;If the invoice is broken, you get JSON that points at the field. I removed the buyer's country code to see what happens:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"invalid_invoice"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"The invoice has 1 problem. Fix it and try again."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
 &lt;span class="nl"&gt;"problems"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"path"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"invoice.buyer.address.countryCode"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"Required field 'countryCode' is missing."&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is the part I find most useful for a plugin: the path is the one in &lt;em&gt;your&lt;/em&gt; JSON, so you can show the user which field to fix instead of a Schematron rule number.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things to know before you use it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No account for a trial.&lt;/strong&gt; &lt;code&gt;X-Accept-Terms: 1.0&lt;/code&gt; accepts the &lt;a href="https://valinvo.bmk-hub.com/terms" rel="noopener noreferrer"&gt;terms&lt;/a&gt;. Without an API key you get 2 created invoices per day per IP address, so test with sample data, not real customers' invoices. Beta keys are free on request.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It is a beta&lt;/strong&gt;, run by a small company, there is a &lt;a href="https://valinvo.bmk-hub.com/dpa" rel="noopener noreferrer"&gt;data processing agreement&lt;/a&gt; and a &lt;a href="https://valinvo.bmk-hub.com/subprocessors" rel="noopener noreferrer"&gt;subprocessor list&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It does not send the invoice.&lt;/strong&gt; Delivery (email, a portal, the Peppol network) stays with you or your access point.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Also checks files you already make.&lt;/strong&gt; &lt;code&gt;POST /v1/validate&lt;/code&gt; takes any XRechnung, Peppol BIS or ZUGFeRD/Factur-X file, so you can keep your own generator and let the API be the check in CI. There is a &lt;a href="https://github.com/marketplace/actions/valinvo-e-invoice-validator-xrechnung-zugferd-peppol" rel="noopener noreferrer"&gt;GitHub Action&lt;/a&gt; for that.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I build Valinvo, so I'm not neutral on the API route. Checked against the live API on 16 November 2026 with the example invoice (the &lt;code&gt;curl&lt;/code&gt; equivalent of the code above). I wrote this with the help of an AI assistant.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>php</category>
      <category>node</category>
      <category>einvoicing</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>ZUGFeRD-csharp ends maintenance on 30 November: your options in .NET</title>
      <dc:creator>Boban Mitevski</dc:creator>
      <pubDate>Tue, 03 Nov 2026 16:58:01 +0000</pubDate>
      <link>https://dev.to/bobanmit/zugferd-csharp-ends-maintenance-on-30-november-your-options-in-net-3j99</link>
      <guid>https://dev.to/bobanmit/zugferd-csharp-ends-maintenance-on-30-november-your-options-in-net-3j99</guid>
      <description>&lt;p&gt;&lt;a href="https://github.com/stephanstapel/ZUGFeRD-csharp" rel="noopener noreferrer"&gt;ZUGFeRD-csharp&lt;/a&gt; is the open-source .NET library most teams use to create and read ZUGFeRD, Factur-X and XRechnung invoices (about 1.7 million NuGet downloads). Its maintainer has announced that &lt;strong&gt;maintenance ends on 30 November 2026&lt;/strong&gt;. Until then there are only selected bug fixes and security reviews. After that the NuGet packages are marked as legacy and the repository is archived. New features and new standard versions go only into a commercial successor.&lt;/p&gt;

&lt;p&gt;Nothing breaks on 1 December: version 18.0.1 keeps working, and its Apache 2.0 licence stays. The risk is the next rule change. The rules for German and French e-invoices are updated several times a year. KoSIT's last XRechnung configuration came out on 31 August 2026, and the French reform's rules are still moving. And from 1 January 2027, German companies with more than €800,000 turnover in the previous year must send e-invoices to German business customers.&lt;/p&gt;

&lt;p&gt;So if your .NET app writes invoices with ZUGFeRD-csharp, here are the four ways forward I see, with what each costs you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 1: keep version 18.0.1 and check what it produces
&lt;/h2&gt;

&lt;p&gt;The cheapest option, and a sensible one for now. The code you have keeps working. What you lose is someone who notices when a new rule makes your invoices invalid. So let something notice it for you: run every invoice type you produce through the official rules in your CI, and run it again after each rule release.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The official checker for XRechnung is the &lt;a href="https://github.com/itplr-kosit/validator" rel="noopener noreferrer"&gt;KoSIT validator&lt;/a&gt; with its XRechnung configuration. It needs Java.&lt;/li&gt;
&lt;li&gt;Without Java, you can send the file to a hosted validator over HTTP (example at the end).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; teams whose invoices don't change often and who can react when a check fails. &lt;strong&gt;Risk:&lt;/strong&gt; when a rule does change, someone has to change the code that writes the XML.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 2: fork and maintain it yourself
&lt;/h2&gt;

&lt;p&gt;The Apache 2.0 licence allows it, and the code is well known. But you take on what the maintainer just stepped back from: following ZUGFeRD, Factur-X, XRechnung and EN 16931 releases and keeping the output valid.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; companies for which e-invoicing is a core part of their own product. &lt;strong&gt;Risk:&lt;/strong&gt; it's an ongoing job, not a one-off.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 3: a commercial .NET library
&lt;/h2&gt;

&lt;p&gt;The maintainer offers a commercial successor with a similar API, and other vendors sell .NET libraries for ZUGFeRD and XRechnung too. The offers I found in November 2026 are yearly subscriptions of roughly €550 to €1,100 (net) for a team, depending on the number of developers. Check the renewal terms and whether the library contacts the vendor's servers to verify the licence.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; teams with a lot of code on ZUGFeRD-csharp. A library with a similar API is the shortest migration.&lt;/p&gt;

&lt;h2&gt;
  
  
  Option 4: create the invoice through an API
&lt;/h2&gt;

&lt;p&gt;Instead of a library in your code, you send one JSON invoice to an HTTP API and get the finished XRechnung, ZUGFeRD PDF or Peppol file back. Rule updates happen on the service side, not in your release cycle.&lt;/p&gt;

&lt;p&gt;The trade-off: the invoice data goes to a third party, so you need a data processing agreement, and you depend on the service being up.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Good for:&lt;/strong&gt; new projects, teams that use more than one language, or teams that want neither a library nor Java in their stack.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which option when
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Your situation&lt;/th&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Invoices work today, little change planned&lt;/td&gt;
&lt;td&gt;1: keep 18.0.1, check it in CI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;E-invoicing is part of your own product&lt;/td&gt;
&lt;td&gt;2: fork, or 3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A lot of code on the library&lt;/td&gt;
&lt;td&gt;3: a commercial library&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;New project, or no library or Java wanted&lt;/td&gt;
&lt;td&gt;4: an API&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Options 1 and 4 combine well: keep what works, check it against the current rules, and move invoice types to an API when they need to change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checking what you produce today
&lt;/h2&gt;

&lt;p&gt;I build &lt;a href="https://valinvo.bmk-hub.com" rel="noopener noreferrer"&gt;Valinvo&lt;/a&gt;, which does option 4 and has a free validator for option 1. To check a PDF your current code creates (or the XML alone, with &lt;code&gt;Content-Type: application/xml&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://valinvo.bmk-hub.com/v1/validate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'X-Accept-Terms: 1.0'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'Content-Type: application/pdf'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--data-binary&lt;/span&gt; @invoice.pdf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The answer names the rules applied, for example &lt;code&gt;zugferd-2.5.2-en16931+pdf-a-3u&lt;/code&gt;, and lists every error with its rule ID and location. No account needed, and the file isn't stored. There's also a &lt;a href="https://github.com/marketplace/actions/valinvo-e-invoice-validator-xrechnung-zugferd-peppol" rel="noopener noreferrer"&gt;GitHub Action&lt;/a&gt; for CI.&lt;/p&gt;

&lt;p&gt;A longer version with the API's limits is on &lt;a href="https://valinvo.bmk-hub.com/zugferd-csharp-alternatives" rel="noopener noreferrer"&gt;our site&lt;/a&gt; (also &lt;a href="https://valinvo.bmk-hub.com/de/zugferd-csharp-alternatives" rel="noopener noreferrer"&gt;in German&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I build Valinvo, so I'm not neutral on option 4; I tried to describe every option fairly. Facts as of 3 November 2026, from the library's README and announcement and the vendors' public price lists. I wrote this with the help of an AI assistant.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>dotnet</category>
      <category>csharp</category>
      <category>opensource</category>
      <category>einvoicing</category>
    </item>
    <item>
      <title>Your XRechnung validator says "valid". Here's what that doesn't mean.</title>
      <dc:creator>Boban Mitevski</dc:creator>
      <pubDate>Mon, 02 Nov 2026 07:49:40 +0000</pubDate>
      <link>https://dev.to/bobanmit/your-xrechnung-validator-says-valid-heres-what-that-doesnt-mean-3o20</link>
      <guid>https://dev.to/bobanmit/your-xrechnung-validator-says-valid-heres-what-that-doesnt-mean-3o20</guid>
      <description>&lt;p&gt;From January 2027, German companies with more than ‚Ç¨800,000 turnover must send their business customers e-invoices (XRechnung or ZUGFeRD); from 2028, everyone must. So a lot of invoicing software is getting an XRechnung export right now, usually followed by a validator in CI. When it turns green, the job looks done.&lt;/p&gt;

&lt;p&gt;I build a generator and validator for these formats, and in the past few weeks I kept running into cases where "valid" meant less than people assumed. Here are six, each reproduced on official artefacts: the KoSIT XRechnung 3.0.2 test suite (2026-08-31) and the Peppol BIS Billing 3.0.21 rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. A validator only sees what's there
&lt;/h2&gt;

&lt;p&gt;Take the official KoSIT test invoice &lt;code&gt;01.01a-INVOICE_ubl.xml&lt;/code&gt;. Its buyer name is, literally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;cbc:RegistrationName&amp;gt;&lt;/span&gt;[Buyer name]&lt;span class="nt"&gt;&amp;lt;/cbc:RegistrationName&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's a test invoice, so that's fine. But it shows the point: the rules check that a buyer name &lt;em&gt;exists&lt;/em&gt;, not that it's a name. I took the same invoice and changed only the buyer's name and street:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Buyer name and street&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;left empty&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;rejected&lt;/strong&gt;: BR-07 "An Invoice shall contain the Buyer name (BT-44)", PEPPOL-EN16931-R008 "Document MUST not contain empty elements"&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;not set&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;valid&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;[Buyer name]&lt;/code&gt; (original)&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;valid&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I found exactly this pattern in an open-source invoicing tool this week: missing customer fields were filled with a &lt;code&gt;not set&lt;/code&gt; default, so an incomplete customer record produced an invoice every validator accepts.&lt;/p&gt;

&lt;p&gt;The same goes for tax categories. A small German business under the ¬ß19 UStG exemption (Kleinunternehmer) should mark its 0 % lines as &lt;code&gt;E&lt;/code&gt; (exempt, with an exemption reason). Another tool marks every 0 % line as &lt;code&gt;Z&lt;/code&gt; (zero-rated). That invoice passes the XRechnung rules without even a warning, and it's still the wrong category.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; never fill required fields with placeholders or defaults. Leave them empty so validation catches them, or better, refuse the export and tell the user which field is missing. And derive the VAT category from the tax situation, not from the rate.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Schema-valid isn't valid
&lt;/h2&gt;

&lt;p&gt;XSD validation checks structure: element names, order, data types. The business rules live in Schematron. I changed one number in the same test invoice, the total VAT amount (BT-110), from 22.04 to 23.04. The file is still perfectly schema-valid. The Schematron rules reject it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;BR-CO-14: Invoice total VAT amount (BT-110) = Œ£ VAT category tax amount (BT-117)&lt;/li&gt;
&lt;li&gt;BR-CO-15: Invoice total amount with VAT (BT-112) = total without VAT (BT-109) + total VAT (BT-110)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I've seen more than one project whose "validator" is well-formedness plus XSD. That catches typos in element names and very little else.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; if your check doesn't run the EN 16931 Schematron (and for XRechnung the BR-DE rules), it isn't validating the invoice, only the XML.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The Schematron files alone don't reproduce KoSIT's verdict
&lt;/h2&gt;

&lt;p&gt;For XRechnung, the reference is the KoSIT validator with its XRechnung configuration (&lt;code&gt;validator-configuration-xrechnung&lt;/code&gt;). That configuration doesn't just bundle the Schematron files: its scenarios re-grade some rules. Comparing plain rule execution with KoSIT 1.6.3 and the 2026-08-31 configuration, we found for example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;UBL-CR-646&lt;/strong&gt; (sub invoice lines) is a warning in the plain rules, an &lt;strong&gt;error&lt;/strong&gt; in KoSIT.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CII-SR-465 / CII-SR-466&lt;/strong&gt; (person name &lt;em&gt;and&lt;/em&gt; department name in one contact) are &lt;strong&gt;errors&lt;/strong&gt; in KoSIT.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The second one has real consequences: a popular .NET library's XRechnung CII output writes both &lt;code&gt;PersonName&lt;/code&gt; and &lt;code&gt;DepartmentName&lt;/code&gt; when you set a contact with a department, and the current KoSIT configuration rejects those invoices (&lt;a href="https://github.com/stephanstapel/ZUGFeRD-csharp/discussions/986" rel="noopener noreferrer"&gt;ZUGFeRD-csharp discussion #986&lt;/a&gt;; the workaround is to set only one of the two).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; if you run the Schematron files yourself instead of KoSIT, keep a small severity-override table keyed by rule ID, and re-check it at every KoSIT configuration release. With those overrides, our results matched KoSIT on all 80 standard and technical-case instances of the official test suite.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Which rule version is your validator running?
&lt;/h2&gt;

&lt;p&gt;Mustang is a popular, well-maintained Java toolkit for ZUGFeRD, and it can validate XRechnung too. But its released versions (up to 2.26.0) still bundle XRechnung Schematron 2.4.0 from July 2025, while KoSIT has been on 2.6.0 since 2026-08-31. An update is in progress (&lt;a href="https://github.com/ZUGFeRD/mustangproject/issues/1274" rel="noopener noreferrer"&gt;mustangproject#1274&lt;/a&gt;). Until then, "Mustang says OK" isn't quite "KoSIT says OK" for XRechnung.&lt;/p&gt;

&lt;p&gt;That's not a dig at Mustang. Every validator lags at some point, because rules get bugfix releases twice a year. The problem is not knowing which version you ran.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; record the rule-set name and version in every validation report you store, and pin the versions in CI so an upgrade is a reviewed change.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Warnings are not failures
&lt;/h2&gt;

&lt;p&gt;The same official test invoice &lt;code&gt;01.01a&lt;/code&gt; comes back with a warning:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;BR-DE-TMP-32: Eine Rechnung sollte zur Angabe des Liefer-/Leistungsdatums entweder BT-72 "Actual delivery&lt;br&gt;
date", BG-14 "Invoicing period" oder in jeder Rechnungsposition BG-26 "Invoice line period" enthalten.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It's still a valid invoice. KoSIT marks it acceptable. If your pipeline (or your "e-invoice OK" tag on incoming documents) treats every warning as a failure, you'll reject correct invoices.&lt;/p&gt;

&lt;p&gt;Note the "entweder ‚Ä¶ oder": the rule is satisfied by &lt;em&gt;one&lt;/em&gt; of the three options. A single delivery date or invoicing period at document level is enough; you don't need a date on every line.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; map only errors (&lt;code&gt;flag="fatal"&lt;/code&gt; in the Schematron) to "invalid", and show warnings separately.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Pin what isn't versioned
&lt;/h2&gt;

&lt;p&gt;For Peppol BIS Billing, the authoritative rules are the Schematron files published on &lt;code&gt;docs.peppol.eu/poacc/billing/3.0/files/&lt;/code&gt;. Two traps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The URLs contain &lt;strong&gt;no version&lt;/strong&gt;: each release overwrites the same files. A CI job that downloads them silently changes when Peppol releases. Pin them by SHA-256 so a new release fails your build until you've looked at it.&lt;/li&gt;
&lt;li&gt;"3.0.21" is two different files. The GitHub repository (OpenPeppol/peppol-bis-invoice-3) got a &lt;code&gt;3.0.21&lt;/code&gt; release on 2026-10-28 (note: no &lt;code&gt;v&lt;/code&gt;, unlike &lt;code&gt;v3.0.20&lt;/code&gt;, so a &lt;code&gt;v*&lt;/code&gt; tag filter misses it). Its &lt;code&gt;PEPPOL-EN16931-UBL.sch&lt;/code&gt; is not the file on docs.peppol.eu: it contains a hotfix to rule PEPPOL-EN16931-P0112 (invoice type code 389 only between German parties, 384 also between Slovak ones). Same version number, different verdicts. The checksum is the only reliable name.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Required fields are never filled with placeholders or defaults; missing data stops the export.&lt;/li&gt;
&lt;li&gt;[ ] Validation runs the Schematron rules, not just the XSD.&lt;/li&gt;
&lt;li&gt;[ ] For XRechnung: KoSIT's configuration, or your own severity overrides that match it.&lt;/li&gt;
&lt;li&gt;[ ] Every stored report names the rule set and its version.&lt;/li&gt;
&lt;li&gt;[ ] Only errors fail; warnings are shown, not counted as failures.&lt;/li&gt;
&lt;li&gt;[ ] Downloaded rule files are pinned by checksum.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;To reproduce any of this: KoSIT's validator (Java, Apache-2.0) with &lt;code&gt;validator-configuration-xrechnung&lt;/code&gt; is the reference for XRechnung, and Mustang covers ZUGFeRD PDFs. If you'd rather not install Java, the validator I build runs the XRechnung 3.0.2, Peppol BIS 3.0.21 and ZUGFeRD / Factur-X rules (PDFs included) over HTTP, free for test files:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://valinvo.bmk-hub.com/v1/validate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'X-Accept-Terms: 1.0'&lt;/span&gt; &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'Content-Type: application/xml'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--data-binary&lt;/span&gt; @invoice.xml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"ruleSet"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"xrechnung-3.0.2-ubl-invoice"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"valid"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"errors"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[],&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"warnings"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="nl"&gt;"rule"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"BR-DE-TMP-32"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"..."&lt;/span&gt;&lt;span class="p"&gt;}]}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every finding comes with its rule ID and XPath location. There's also a web version at &lt;a href="https://valinvo.bmk-hub.com" rel="noopener noreferrer"&gt;valinvo.bmk-hub.com&lt;/a&gt;, and a GitHub Action (&lt;a href="https://github.com/marketplace/actions/valinvo-e-invoice-validator-xrechnung-zugferd-peppol" rel="noopener noreferrer"&gt;valinvo-validate-action&lt;/a&gt;) for CI.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I build Valinvo. All results above were run on 2026-10-29 and re-checked on 2026-11-01 against the official KoSIT test suite (2026-08-31) and the Peppol BIS 3.0.21 artefacts from docs.peppol.eu. I wrote this with the help of an AI assistant; the tests and facts were checked against the official files.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>einvoicing</category>
      <category>testing</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
