Regression testing
The specification has already changed once and will again. This answers the question that actually costs money: my invoices passed last month — do they still pass?
How it works
Point the CLI at your representative invoices on a schedule. Each file becomes a labelled item in a corpus, and we compare each label against what it did last time. When a verdict changes direction, the run fails and names the file.
peppolprobe regress ./test/fixtures/invoices \ --corpus nightly \ --rulepack latest
Output on a clean run:
corpus nightly — 47 document(s) against rule-pack pint-ae-2026.5 47 passing, 0 failing no verdict changed since the last run
And when something moves:
1 verdict(s) changed:
fixture-retail-03.xml pass → fail ← regression
ibr-132-aeRun it on a schedule, not just on push
A regression here is usually not caused by your commit — it is caused by ours, or by OpenPeppol’s. A nightly run is what catches a rule-pack change before an Access Point does.
name: e-invoice regression
on:
schedule: [{ cron: '0 3 * * *' }]
workflow_dispatch:
jobs:
regress:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# GitHub Action: available on request during the beta (contact@ledgerrook.com)
- uses: peppolprobe/validate-action@v1
with:
files: 'test/fixtures/invoices/*.xml'
rulepack: 'latest'
api-key: ${{ secrets.PEPPOLPROBE_API_KEY }}Exit codes
| Code | Meaning |
|---|---|
| 0 | No verdict changed. |
| 1 | At least one verdict changed. Use --fail-on-flip=false to report without failing. |
| 3 | Something could not be validated — the run is inconclusive, not clean. |
Comparison is by label, not by content
Your fixture-retail-03.xml is the same test even after you edit it. Comparing by content hash would report every edit as a regression and every regression as a new file — exactly backwards. So we compare by the label, which is the filename by default.
What we store
A label, a SHA-256 fingerprint, and the last verdict. Not the document. Your CI supplies each invoice fresh on every run, which is slightly more friction than uploading a corpus once — and is why we can say “we never store your invoices” without an asterisk.
Being told before you ask
When a new rule-pack is promoted, we work out which rules could newly reject a document, check them against your recent validations, and email you. If nothing of yours is affected, the email says that too.
PINT AE 2026.3 → 2026.5 + 4 assertions added ~ 2 tightened - 0 removed We re-checked your last 214 validation(s). 3 document(s) trip a rule that changed: ibr-132-ae — A Tax Registration Number must be exactly 15 digits…
Register a webhook to receive the same thing as a signed HTTP callback. If you pinned a rule-pack version, nothing changes until you move.