# Peppol, from your terminal.

> Free, open-source Peppol tool for your terminal. Install via Homebrew or Go. Check your account, view stats and pipe JSON output into scripts and CI/CD.
>
> Source: https://e-invoice.be/peppol-cli

Open source · Peppol CLI

A fast, scriptable CLI for sending and receiving e-invoices over the Peppol network. Built for terminals, CI pipelines, and AI agents like Claude Code and Codex. Every command speaks JSON and returns clean exit codes.

[Get started](#install) [Star on GitHub](https://github.com/e-invoice-be/peppol-cli)

$brew install e-invoice-be/tap/peppol-cli

peppol-cliinbox

$ peppol inbox list --status received --output table

IDVENDORSUBJECTAMOUNT

4831Acme CloudINV-2207€1,240.004830Mertens BVMonthly fee€480.004827Studio KaiDesign retainer€3,150.00

\# pipe straight into your tools

$ peppol stats --json | jq ".received"

89

Free and open source. Built in Go. A single binary on macOS, Linux, Windows.

## Install in one line.

Homebrew, Go, or a pre-built binary. One install, every desktop, no runtime to manage.

Requires an e-invoice.be account. [Sign up](https://app.e-invoice.be/register).

peppol-clihomebrew

$ brew install e-invoice-be/tap/peppol-cli

### Use it with your AI agent.

Install the `peppol` agent skill so coding agents like Claude Code, Cursor, and Codex know how to use the `peppol` CLI.

peppol-cliagent skill

$ npx skills add e-invoice-be/peppol-cli

## Built for automation, not clicking.

A handful of design decisions that make this CLI safe to hand to a script. Or a CI runner. Or an agent.

`--json`

### Agent & workflow ready

Deterministic exit codes and a raw API hatch let agents and pipelines drive your Peppol account directly. Drop it into Claude Code, n8n, or a Makefile.

`| jq`

### Pipes, not parsers

Every command supports --json, plus --output table for humans. Pipe through jq, xargs, or any UNIX tool. Filter, project, and reshape without writing a single integration line.

`$PEPPOL_API_KEY`

### Secrets stay in the shell

Browser-based OAuth, or set PEPPOL_API_KEY for unattended runs. Tokens live in your shell environment, never in plaintext config files and never in your shell history.

`peppol *`

### Every endpoint, every subcommand

Inbox, outbox, drafts, documents, lookup, validate, stats. The CLI is the API. No feature gap, no second tool to learn.

## Real work, one line at a time.

peppol-cli composes with the tools you already use. jq, xargs, cron, your CI runner, your favourite LLM. Six workflows people actually run.

Reporting

### Generate P&L numbers, straight into your spreadsheet.

Stream sent and received invoice volumes as CSV. Drop it into Excel, Sheets, or your BI tool. No more exporting from the dashboard and copy-pasting into a pivot table.

peppol-clireporting

\# April P&L straight to CSV

$ peppol stats --from 2026-04-01 --to 2026-04-30 \\

 \--aggregation MONTH --output csv > april-pnl.csv

\> done · exit 0

Compliance

### Nightly archive of every invoice you sent or received.

Belgian tax law expects you to keep e-invoices for seven years. Dump inbox and outbox as JSON every night. Drop the command in a cron job or a GitHub Action.

peppol-clicompliance

\# .github/workflows/peppol-backup.yml

$ peppol inbox list --json --since 24h \\

 \> archive/inbox-$(date +%F).json

\> wrote 43 invoices · archive/inbox-2026-06-04.json

Agents

### Let an agent triage new invoices for you.

Pipe the inbox into your model and act on its decisions. Auto-approve trusted vendors. Flag anything weird for a human. No integration code, no webhook plumbing.

peppol-cliagents

\# Triage today's invoices with Claude

$ peppol inbox list --json \\

 \--fields id,vendor_name,total \\

 | claude -p "approve trusted, flag rest"

\> 12 approved · 2 flagged · 0 errors

Validation

### Lint UBL invoices before the network ever sees them.

Run Peppol BIS validation locally against any UBL file. Catch missing fields, broken tax rates, and bad customer IDs in CI, not after the document bounces back from a receiver.

peppol-clivalidation

\# Validate before the network sees it

$ peppol validate ./invoices/INV-2207.xml

\> schema · peppol bis · codelists

\> 0 errors · 0 warnings · exit 0

Lookup

### Check if a customer is reachable on Peppol.

Before you bill them, confirm the participant exists, which document types they accept, and which Access Point routes them. One command instead of digging through the SML.

peppol-clilookup

\# Is this customer reachable on Peppol?

$ peppol lookup 0208:0123456789 --json \\

 | jq '.document_types\[\]'

\> "peppol:bis:billing-3.0"

ERP sync

### Drop new invoices into your accounting every night.

Pull what came in since yesterday and let Claude map each invoice to the format your ERP expects. Works for Xero, Exact, or whatever lives on the other end. A cron job, one pipe, zero manual data entry.

peppol-clierp sync

\# Nightly: pull invoices, let Claude push to ERP

$ peppol inbox list --since 24h --json \\

 | claude -p "map each invoice to our Exact

 Online format and POST to $EXACT_API_URL"

\> 7 invoices synced to Exact Online

## Drive Peppol from anywhere.

Install once. Script everything. Hand the rest to an agent. The CLI is free and open source. You only pay for the invoices you send or receive, from €0.25.

[Create account](https://app.e-invoice.be/register?ref=peppol-cli) [Star on GitHub](https://github.com/e-invoice-be/peppol-cli)

e-invoice.be is a certified Peppol Access Point. Account creation takes minutes. Company verification takes from a few minutes up to a few hours.

## Questions, answered.

Everything we get asked before the first install.

###

###

###

###

###

###

###

## More ways to build on Peppol

### Related tools

[Peppol MCP server for AI agentsLet Claude, Cursor or any MCP client look up and send e-invoices.](https://e-invoice.be/mcp) [SDKs, docs and toolsOfficial SDKs for TypeScript, Python, PHP, Ruby and Java.](https://e-invoice.be/developers)

### Related guides

[E-invoicing API integrationPatterns for wiring Peppol into your own software.](https://e-invoice.be/blog/e-invoicing-api-integration)
