Skip to main content
Introducing packages.sweber.dev
All posts
Release1 min read

Summand 1.1.0 released

Summand 1.1 adds a unified ruleSets option, an older XRechnung rule-set version you can pin, and validateMany for batches. The xrechnung option is deprecated and goes away in 2.0.

By Seya Weber

Summand 1.1.0 is on npm as @sweberdev/summand. It is additive: nothing in 1.0 breaks.

What is new

  • ruleSets option. Pick rule sets and versions in one place: ruleSets: ["en16931", "xrechnung@2.5.0"], or --rule-sets on the command line. "auto" stays the default and behaves as in 1.0. An unknown set or version gives the code SUM-RULESET instead of a crash.
  • An older XRechnung version. XRechnung Schematron 2.5.0 is bundled next to the default 2.6.0 (Apache-2.0). EN 16931 stays at 1.3.16 only, so xrechnung@2.5.0 is not an exact copy of the KoSIT validator of early 2026, only of its XRechnung rules. Differences between the two versions are listed in the docs.
  • validateMany. A new entry point @sweberdev/summand/batch validates many files with a worker pool, in input order, with errors per file. Honest numbers: on our 4-core test container it was up to about 1.5x faster than a plain loop for large invoices, and slower for many small ones. Use it for big files, not for speed on small ones.
  • summand rules now lists every bundled version.

Deprecated

The xrechnung option is deprecated and will be removed in 2.0.0. Using it adds one SUM-DEPRECATED info to the result; it is an info, not a warning, so --warnings-as-errors runs keep their exit code. The migration guide has the details.

Not included

Factur-X EXTENDED Schematron is not part of this release. We could not confirm a licence for the files we could reach, so we did not bundle them. Peppol is still waiting for written permission from OpenPeppol.

Package in this post

Summand

Validate XRechnung, ZUGFeRD and Factur-X e-invoices against EN 16931 in pure TypeScript: in Node, the browser and at the edge, without Java.

pnpm add @sweberdev/summand
View package

Related posts

Release

Summand Pro 3.0.0 released

Summand Pro 3.0 adds a workbench to the validation service: a browser page where named users register received invoices, check and approve them with the four-eyes rule, and export them with an evidence bundle. The approval workflow is now stable. Nothing from 2.x breaks, and we explain why it is still a major version.

Summand
Release

Summand Pro 2.1.0 released

Summand Pro 2.1 brings a validation service you run as a Docker container with a REST API, plus webhooks, mail notifications, invoice dispatch by SMTP and an evidence bundle for the archive. Most of it is beta, and we say why.

Summand
Release

Summand 2.0 released

Summand 2.0 removes what 1.x deprecated, requires Node.js 22 and documents the shape of every finding. No new rules and no new verdicts: the same invoice gives the same result as in 1.1.

Summand