W System Toolkit · Build-it-yourself e-invoicing
Own your invoice generation and validation pipeline
Keep invoice creation and EN 16931 / XRechnung checks inside your own codebase and CI — built on the same official CEN and KoSIT rule sets that power the W System API, with optional hosted VIES and Peppol routing when you need them.
Beta on Packagist · v1.0 1 Dec
PHP local SDK (wsystem/einvoice)
Apache-2.0 library to build UBL, CII and ZUGFeRD/Factur-X PDF/A-3b invoices locally. Validates with native XSD + pure-PHP core rules by default (fast pre-check only); full EN 16931 / XRechnung conformance requires optional SaxonC, the self-hosted validator or the W System API.
v1.1.0 live · @v1
Free GitHub CI Action
Validate UBL, CII and ZUGFeRD/Factur-X fixtures on every pull request with inline rule-ID annotations and job summaries. wsystemdev/einvoice-validate-action@v1 (v1.1.0) is live: API mode stays the default; opt-in offline mode uses mode: local (beta engine).
Available now
Self-hosted validator
Offline Docker image and CLI (Apache-2.0) running CEN EN 16931 and KoSIT XRechnung 3.0 with zero JVM overhead. The free image is ghcr.io/wsystemdev/einvoice-validator:0.1.1. The commercial image is pinned to ghcr.io/wsystemdev/einvoice-validator-pro:0.1.0-beta.4; there is no :latest tag. Commercial edition adds a local HTTP API, signed rule packs, PDF/A-3 container checks and reports.
Hosted API vs local toolkit
| Need | Hosted W System API | Local Toolkit |
|---|---|---|
| Invoice XML/PDF generation | POST /einvoice/create (8 units) | wsystem/einvoice in PHP (beta on Packagist, Apache-2.0) |
| CI regression checks | einvoice-validate-action@v1 (API mode, default, live) | mode: local in @v1 / v1.1.0 (live; pinned public GHCR image, pip fallback if Docker cannot pull) |
| Production validation without external network | Hosted in EU (Frankfurt) | Self-hosted validator container (zero outbound data) |
| VIES VAT, sanctions & Peppol sending | Hosted API & MCP server (live today) | Optional bridge via wsystem/wsystem-php |
Self-hosted validator pricing
Run the exact same CEN EN 16931 and KoSIT XRechnung rule sets on your own infrastructure with zero outbound invoice traffic. Annual auto-renewing plans sold via Stripe (merchant of record) with a 14-day no-questions refund, 30-day grace, and perpetual fallback on the versions you already have. Technical check only, not tax or legal advice.
Free CLI & CI Action
€0
Apache-2.0 · offline CLI & GitHub Action
- Offline CLI (
wsv validate) and Docker image - XSD + CEN EN 16931 + KoSIT XRechnung 3.0 (UBL, CII, ZUGFeRD/Factur-X XML)
- Text, JSON, GitHub annotations & Markdown job summary
- Baked rule pack per release, no licence key needed
Validator TeamInternal teams
€490 / year
Up to 5 developers · excl. VAT · annual auto-renew
- Local HTTP API (
/v1/validate, batch, health, metrics) - Signed
.wsrprule-pack updates & multi-version pinning - ZUGFeRD/Factur-X PDF/A-3 container checks
- HTML, JUnit XML & SARIF compliance reports
- Offline Ed25519 key (no phone-home, 30-day grace; keep versions you already have after expiry)
- 14-day no-questions courtesy refund
Validator PlatformSaaS / OEM
€990 / year
Unlimited developers + SaaS redistribution · excl. VAT · annual auto-renew
- Everything in Validator Team
- Unlimited developers inside your organisation
- Embed and redistribute inside your SaaS or on-premise product
- 30-day grace & keep the software and rule packs you have after expiry (up to
updates_until) - 14-day no-questions courtesy refund · email support & rule-update notices
Key terms: please read these first
These terms differ from the default rules of Hungarian law or from what you may expect. We point them out here, as section 6:78 of the Hungarian Civil Code requires. When you buy a plan, you accept them separately by ticking the box below.
- Business customers only. You buy this plan for your trade, business or profession, not as a consumer.
- Merchant of record. Sold through Stripe Managed Payments: Stripe acts as reseller and merchant of record, takes the payment, and calculates and collects any VAT or sales tax. W System grants the licence under the Self-Hosted E-Invoice Validator EULA.
- Auto-renewal & grace. Annual subscription in EUR (excl. VAT) that renews automatically unless cancelled before renewal (reminder sent beforehand). Includes a 30-day grace period after expiry, and after the term ends you keep the software and rule-pack versions already obtained up to your
updates_untildate. - 14-day no-questions refund. Ask within 14 days of purchase (or renewal) for a no-questions courtesy refund; the licence key for that order then ends.
- Not tax or legal advice. A valid result is a technical check against the bundled rule sets only and does not guarantee acceptance by a tax authority, Peppol access point or recipient.
- Liability cap, law & courts. Total liability is capped at the greater of fees paid in the last 12 months or €100 (no indirect loss; carve-outs for intent, gross negligence, and injury). Hungarian law applies (CISG excluded); exclusive jurisdiction of the courts of Budapest.
Automated Stripe checkout (Stripe Managed Payments, merchant of record; VAT calculated at checkout). Once payment completes, your offline Ed25519 licence key (WSV1.…) is emailed automatically.
Documentation
- PHP SDK quickstart & reference (
wsystem/einvoice) - GitHub CI Action quickstart (
wsystemdev/einvoice-validate-action) - Self-hosted validator CLI & HTTP server quickstart
- Reference docs: rule packs, JSON schema, exit codes & third-party notices
- Toolkit changelog
Licences, third-party notices and scope
- W System toolkit code:
wsystem/einvoice(PHP SDK) andwsystemdev/einvoice-validator(free CLI and container) are licensed under Apache-2.0.wsystemdev/einvoice-validate-actionv1 is MIT-licensed. - CEN/TC 434 EN 16931 artefacts (v1.3.16): included unmodified under the European Union Public Licence (EUPL-1.2) with upstream CEN notices preserved (ConnectingEurope/eInvoicing-EN16931).
- KoSIT XRechnung configuration (3.0.2 / 2026-08-31) and Schematron (2.4.0): included unmodified under Apache-2.0 with KoSIT NOTICE pass-through (itplr-kosit/validator-configuration-xrechnung).
- Saxon-HE (
saxonche/ SaxonC-HE): Mozilla Public License 2.0 (MPL-2.0). - Peppol BIS Billing 3.0 rules:
PEPPOL-EN16931-*rules are not shipped (pending OpenPeppol IPR clearance). Output marksPeppolBIS3: false.
Disclaimer: technical validation and document generation against the official EN 16931 and XRechnung rule sets. A technically valid file is not tax or legal advice.