<?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: Maks</title>
    <description>The latest articles on DEV Community by Maks (@diesel424).</description>
    <link>https://dev.to/diesel424</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%2F4259224%2F8620e968-68f0-401c-ad58-523931ea41fe.png</url>
      <title>DEV Community: Maks</title>
      <link>https://dev.to/diesel424</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/diesel424"/>
    <language>en</language>
    <item>
      <title>How to Fix PEPPOL-EN16931-R008 and BR-CO-10 Errors in Stripe &amp; Shopify EU E-Invoices (2026 Mandate Guide)</title>
      <dc:creator>Maks</dc:creator>
      <pubDate>Sun, 22 Nov 2026 19:21:44 +0000</pubDate>
      <link>https://dev.to/diesel424/how-to-fix-peppol-en16931-r008-and-br-co-10-errors-in-stripe-shopify-eu-e-invoices-2026-mandate-38a1</link>
      <guid>https://dev.to/diesel424/how-to-fix-peppol-en16931-r008-and-br-co-10-errors-in-stripe-shopify-eu-e-invoices-2026-mandate-38a1</guid>
      <description>&lt;p&gt;With mandatory B2B e-invoicing rolling out across Germany (§ 14 UStG — ZUGFeRD 2.3 / XRechnung 3.0), Belgium (Peppol BIS 3.0 B2B 2026), Poland (KSeF FA(2)), and France (Factur-X), developers integrating Stripe, Shopify, or custom ERPs keep running into the exact same Schematron rejections at Peppol Access Points.&lt;/p&gt;

&lt;p&gt;Here are the 3 most common fatal errors and how to fix them cleanly.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;PEPPOL-EN16931-R008 — Empty XML Elements&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Most ERP serializers output empty tags when an optional field (like AdditionalStreetName or Note) is null:&lt;/p&gt;

&lt;p&gt;xml&lt;/p&gt;

&lt;p&gt;&lt;a&gt;cbc:AdditionalStreetName&lt;/a&gt;&lt;a href="/cbc:AdditionalStreetName"&gt;/cbc:AdditionalStreetName&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fix: Strip every self-closing or whitespace-only XML leaf node before signing or transmitting.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;BR-CO-10 — Line Extension Amount Rounding Drift&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;When converting Stripe cents or Shopify discounts into EN 16931 UBL 2.1, SUM(InvoiceLine/LineExtensionAmount) must match LegalMonetaryTotal/LineExtensionAmount to the exact cent. A 0.01 EUR drift causes an immediate fatal rejection.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;PEPPOL-EN16931-R020 — Missing Seller EndpointID with @schemeID&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In Belgium and across Peppol, &lt;a&gt;cbc:EndpointID&lt;/a&gt; is mandatory and must declare an ISO 6523 EAS scheme (e.g., 0208 for Belgian KBO, 9930 for German VAT):&lt;/p&gt;

&lt;p&gt;xml&lt;br&gt;
0123456789&lt;a href="/cbc:EndpointID"&gt;/cbc:EndpointID&lt;/a&gt;&lt;br&gt;
Quick Local &amp;amp; Online Validation&lt;/p&gt;

&lt;p&gt;To avoid fighting 200-page CEN PDFs, I built an open-source CLI and browser pre-flight studio:&lt;/p&gt;

&lt;p&gt;Local CI/CD CLI: npx invoicespec-cli ./invoice.xml (GitHub)&lt;br&gt;
Online Validator, XRechnung Visual Viewer &amp;amp; 1,150+ Rule Diffs: &lt;a href="https://invoicespec.dev" rel="noopener noreferrer"&gt;https://invoicespec.dev&lt;/a&gt;&lt;br&gt;
Stripe/Shopify JSON → Peppol XML + n8n Workflow: &lt;a href="https://invoicespec.dev/tools/stripe-to-peppol-xml" rel="noopener noreferrer"&gt;https://invoicespec.dev/tools/stripe-to-peppol-xml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope this saves someone a few hours of debugging XPath expressions!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>europe</category>
      <category>xml</category>
      <category>fintech</category>
    </item>
  </channel>
</rss>
