CLI
One static binary, no runtime to install. Validation that only lives in a browser tab gets used once; validation in CI gets expensed.
Install
# During the beta the CLI binary is sent on request: # email contact@ledgerrook.com # or download a release binary and put it on PATH
Validate
export PEPPOLPROBE_API_KEY=pk_live_… peppolprobe validate ./invoices/*.xml --rulepack pint-ae-2026.5 peppolprobe validate ./out.xml --rulepack latest --fail-on warning peppolprobe validate ./fixtures --format sarif --output findings.sarif
Directories are walked for .xml files, and globs are expanded by the CLI itself so behaviour does not depend on your shell. Flags may appear before or after the files.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Everything passed. |
| 1 | Validation errors were found. |
| 2 | Warnings were found, and --fail-on warning was set. |
| 3 | Configuration or network problem — nothing was validated. |
3 is distinct from 1 on purpose. A build that could not reach us must not look like a build that passed.
Output formats
| Format | Use it for |
|---|---|
| pretty | A terminal. Layered, colourised, explanation-first. |
| json | Piping into your own tooling. |
| junit | Your CI’s existing test report. One test case per file and layer. |
| sarif | GitHub code scanning — findings appear inline on the pull request. |
Pinning a rule-pack
Pin a hash and your build cannot break because we shipped something. If the hash stops matching what we hold, the run fails loudly rather than quietly using a newer pack.
peppolprobe rulepacks # list packs and their hashes peppolprobe validate ./out.xml --rulepack pint-ae-2026.5@sha256:994ba71c…
In CI
- name: Validate e-invoices
run: |
peppolprobe validate ./test/fixtures/invoices/*.xml \
--rulepack pint-ae-2026.5 \
--format sarif --output peppolprobe.sarif
env:
PEPPOLPROBE_API_KEY: ${{ secrets.PEPPOLPROBE_API_KEY }}
- uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: peppolprobe.sarifAir-gapped
Banks and government integrators often cannot send invoices to a third-party API at all. Point the CLI at a local validator, or run the self-hosted image with the rule-packs baked in — no network calls, no telemetry.
peppolprobe validate ./out.xml --endpoint http://localhost:8081
See pricing for the self-hosted tier.