Skip to content

About

XRechnung 3.0 / EN 16931 / Peppol e-invoices from JTL-Shop 5 orders (W System)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

W System E-Invoice for JTL-Shop 5

Create, validate and send XRechnung 3.0 / EN 16931 / Peppol BIS Billing 3.0 e-invoices from JTL-Shop orders, and check received supplier invoices, with the W System API.

Deutsch: siehe unten.

What it adds on top of JTL-Wawi's own XRechnung export

JTL-Wawi (1.9.x) already exports XRechnung 3.0.x and ZUGFeRD from its own invoice templates. This plugin does not replace that. It covers what the native export does not:

  • Validation on every invoice against the XML Schema, CEN EN 16931 Schematron and KoSIT XRechnung rules, with a plain-language fix per failed rule.
  • Peppol sending (sandbox to test, live when your account is set up), with VAT ID (VIES), Peppol reachability and sanctions checks before each send.
  • Counterparty checks on received invoices (POST /einvoice/check): paste or upload a supplier XML in the admin and get a verdict (rules, VIES name match, sanctions, totals, IBAN, duplicates, bank-detail changes).
  • Works from JTL-Shop orders (Hook 181, status pushed by JTL-Wawi), no template editing.

Requirements

JTL-Shop 5.2.0+, PHP 8.1+, PHP curl extension. No account needed (20 invoices/day without key); optional free API key at https://wsystem.dev/account.

Install

  1. Download wsystem_einvoice.zip from the latest release.
  2. JTL-Shop admin: Plugins > Plugin-Manager > Verfügbar > upload the ZIP, then activate it.
  3. Plugins > Installed > W System E-Invoice > Settings: company data (XRechnung needs contact name, phone, email), format, trigger.
  4. Ship a test order, or use the "E-Invoices" tab to create one by order number.

Data sent

On creation the order's invoice data goes to https://api.wsystem.dev/einvoice/create (seller details, customer name/company/address/email/VAT ID, lines, amounts, payment method). Peppol sending uses /einvoice/send; the received-invoice check uses /einvoice/check. Nothing is sent on activation. Terms, privacy.

Status

Version 0.1.0. The order mapping and API logic are unit tested (php tests/run.php) and the request shape is the same as the W System WooCommerce plugin. It has been written against the JTL-Shop 5 plugin API and the Bestellung object, but not yet run inside a live JTL-Shop: please report problems. Not in this version: attaching the XML to JTL-Shop emails, ZUGFeRD PDF output, credit notes.

Deutsch

Erzeugt, prüft und versendet XRechnung 3.0 / EN 16931 / Peppol-BIS-E-Rechnungen aus JTL-Shop-Bestellungen und prüft empfangene Lieferantenrechnungen. JTL-Wawi exportiert XRechnung und ZUGFeRD bereits selbst; das Plugin ergänzt Prüfung bei jeder Rechnung, Peppol-Versand und Gegenpartei-Prüfung. Installation: ZIP im Plugin-Manager hochladen, aktivieren, Firmendaten eintragen.

MIT license.

About

XRechnung 3.0 / EN 16931 / Peppol e-invoices from JTL-Shop 5 orders (W System)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages