Use Attestwire in tools you already run
the same rules, where you already work.
Start with an open-source integration for GitHub Actions or Medusa v2. See below for InvoiceShelf availability.
GitHub Action — attestwire/validate-einvoice-action
Check e-invoice files in a pull request before they reach a customer. The action runs inside the GitHub runner with a bundled rule engine at a pinned version, and needs no account, API key or network call.
- uses: attestwire/validate-einvoice-action@v1
with:
files: "invoices/**/*.xml"MIT. How it fits a pipeline: exit codes, reports and what it does not cover · The full README, including api mode and every exit code
Medusa v2 — medusa-plugin-einvoice
When an order is placed, generate XRechnung (the e-invoice format German public bodies require), Peppol BIS 3.0 (the format of the Peppol network many European buyers receive invoices through) or Factur-X (CII) (the XML inside a French PDF invoice) from the order, validate it before storage, and attach the result to the order.
Generation and validation run locally and for free via
@attestwire/en16931; the default configuration makes no
network call and has no per-invoice cost. The seller identity, payment
instructions and payment terms are plugin options, because XRechnung
requires all three (its rules BR-DE-1 and BR-DE-2, 5, 6 and 7 check
them), and a document generated without them would be rejected.
npm install medusa-plugin-einvoiceInvoiceShelf integration
The InvoiceShelf module does not currently have a publicly accessible download repository. Contact us about availability before planning an installation.
What none of them do
These integrations build and check documents; they do not transmit them. Read the exact scope. Building something else? Say what you are wiring up.