Examples, sample invoices and MCP manifest for InvoiceIn — any EU e-invoice (XRechnung, ZUGFeRD/Factur-X, Peppol, FatturaPA, KSeF) → EN 16931 JSON + validation hints
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
- !Licence file present but not machine-readable
claude mcp add invoicein-examples -- uvx invoicein-examples{
"mcpServers": {
"invoicein-examples": {
"command": "uvx",
"args": ["invoicein-examples"]
}
}
}Resumen de MCP Servers
# InvoiceIn — examples
**Any European e-invoice a business *receives* → one canonical EN 16931 JSON, a validation report with plain-language fix hints, a PDF, CSV or DATEV export.** One stateless endpoint, nothing stored.
Accepts: XRechnung (UBL and CII), EN 16931 UBL 2.1 Invoice/CreditNote, Peppol BIS Billing 3, CII D16B, ZUGFeRD 1.0 / 2.x and Factur-X hybrid PDFs, Italy's FatturaPA 1.2, Poland's KSeF FA(2)/FA(3).
- Product page: https://invoicein.peculiar.systems (EN · [DE](https://invoicein.peculiar.systems/de) · [PL](https://invoicein.peculiar.systems/pl) · [IT](https://invoicein.peculiar.systems/it) · [FR](https://invoicein.peculiar.systems/fr))
- API reference (interactive): https://invoicein-api.peculiar.systems/docs
- OpenAPI: https://invoicein-api.peculiar.systems/openapi.json
- MCP server: `https://invoicein-api.peculiar.systems/mcp` (streamable HTTP) — on the [official registry](https://registry.modelcontextprotocol.io/v0/servers?search=invoicein) as `io.github.peculiar-systems/invoicein` and on [Smithery](https://smithery.ai/servers/peculiar-systems/invoicein)
This repository holds runnable examples, sample invoices you can test with, and the MCP registry manifest. The service itself is not open source.
## 60 seconds
```bash
curl -X POST "https://invoicein-api.peculiar.systems/v1/invoice?include=validation&lang=en" \
-H "X-Api-Key: $INVOICEIN_KEY" \
-F file=@samples/factur-x-en16931.pdf
```
No key yet? Leave the header out: 20 invoices a day per IP, same output. A trial key (100 invoices, 30 days, no card) comes from the product page.
The response ([full example](examples/response-peppol.json)):
```jsonc
{
"ok": true,
"source": { "syntax": "UBL", "format": "peppol-bis3", "profile": "Peppol BIS Billing 3.0", "container": "xml" },
"invoice": { // canonical EN 16931, field names carry BT/BG numbers in /v1/schema
"document": { "id": "Snippet1", "issue_date": "2017-11-13", "type_code": "380", "currency": "EUR", "due_date": "2017-12-01", ... },
"seller": { "name": "SupplierOfficialName Ltd", "vat_id": "GB1232434", "electronic_address": { "value": "9482348239847239874", "scheme": "0088" }, ... },
"buyer": { ... },
"lines": [ { "id": "1", "quantity": 7, "unit": "DAY", "net_amount": 2800, "tax": { "category": "S", "rate": 25 }, "item": { "name": "item name" } }, ... ],
"tax_breakdown": [ { "taxable_amount": 1325, "tax_amount": 331.25, "category": "S", "rate": 25 } ],
"totals": { "line_net": 1300, "charges": 25, "net": 1325, "tax": 331.25, "gross": 1656.25, "due": 1656.25 },
"payment": { "means_code": "30", "remittance_info": "Snippet1", "credit_transfers": [ { "iban": "IBAN32423940", "account_name": "AccountName", "bic": "BIC324098" } ] }
},
"validation": { "valid": true, "errors": 0, "warnings": 0,
"rule_sets": [ { "id": "XSD:ubl-invoice" }, { "id": "EN16931-UBL", "version": "EN 16931 validation artefacts 1.3.16" }, { "id": "Peppol-UBL" } ],
"issues": [] },
"timings_ms": { "detect": 0.5, "map": 14.4, "validate": 86.0, "total": 100.8 },
"credits": { "mode": "key", "remaining": 99 }
}
```
When something is wrong, every failed rule carries a hint in the requested language ([example, KSeF FA(3) in Polish](examples/response-fa3-invalid.json)):
```jsonc
{ "id": "XSD-UNEXPECTED-ELEMENT", "severity": "error", "rule_set": "XSD:fa3",
"message": "Element '{http://crd.gov.pl/wzor/2025/06/25/13775/}Adnotacje': This element is not expected. Expected is one of ( {http://crd.gov.pl/wzor/2025/06/25/1 …",
"hint": "XML zawiera element, którego schemat nie dopuszcza w tym miejscu. Nazwa elementu jest błędna, element należy do innego profilu/wersji (np. UBL 2.0 lub ZUGFeRD EXTENDED), jest zdublowany albo jest własnym rozszerzeniem. Usuń go lub zmień jego nazwę.",
"who": "sender", "location": "/*/*[4]/*[8]", "line": 43 }
```
## Endpoints
| Call | Returns |
|---|---|
| `POST /v1/invoice?include=validation,html,pdf,csv,datev&lang=en\|de\|pl\|it\|fr` | everything in one JSON (extras base64/inline) |
| `POST /v1/parse` | canonical JSON only |
| `POST /v1/validate` | validation report only |
| `POST /v1/render.html` · `POST /v1/render.pdf` | human-readable rendering, labels in the five languages |
| `POST /v1/export.csv?level=lines\|documents` | flat CSV |
| `POST /v1/export.datev?skr=03\|04&creditor_account=70000` | DATEV Buchungsstapel (EXTF 700, cp1252) |
| `GET /v1/formats` · `GET /v1/rules/{id}?lang=de` · `GET /v1/schema` | formats + rule versions · explain a rule id · field guide |
Body: multipart field `file`, or the raw XML/PDF. Send a real `User-Agent` (Cloudflare rejects the default `Python-urllib` one with error 1010). Auth: `X-Api-Key` or `Authorization: Bearer`. One invoice = one credit whatever outputs you request; a file that carries several invoices (a FatturaPA lot) costs one per invoice. Remaining credits come back in `X-Credits-Remaining`.
## Examples in this repo
- [`examples/curl.sh`](examples/curl.sh) — every endpoint once
- [`examples/node.mjs`](examples/node.mjs) — `fetch` + `FormData`, no dependencies
- [`examples/python.py`](examples/python.py) — standard library only
- [`examples/n8n-workflow.json`](examples/n8n-workflow.json) — mailbox attachment → InvoiceIn → JSON, importable into n8n
- [`mcp/server.json`](mcp/server.json) — manifest for the MCP registry; [`mcp/clients.md`](mcp/clients.md) — Claude Desktop / Cursor config
- [`bridge/invoicein_mcp_bridge.py`](bridge/invoicein_mcp_bridge.py) — local stdio MCP server that forwards to the hosted one (for clients without remote support; `Dockerfile` builds it)
## Sample invoices
| File | What it is | Source / licence |
|---|---|---|
| `samples/xrechnung-3.0-ubl.xml`, `samples/xrechnung-3.0-cii.xml` | the same XRechnung 3.0 invoice in both syntaxes | [KoSIT XRechnung testsuite](https://github.com/itplr-kosit/xrechnung-testsuite), Apache-2.0 |
| `samples/peppol-bis3-base-example.xml` | Peppol BIS Billing 3 base example | [OpenPeppol](https://github.com/OpenPEPPOL/peppol-bis-invoice-3), Apache-2.0 |
| `samples/factur-x-en16931.pdf` | Factur-X hybrid PDF, EN 16931 profile | [ZUGFeRD corpus](https://github.com/ZUGFeRD/corpus) (FNFE-MPE examples), Apache-2.0 |
| `samples/ksef-fa3-przyklad-1.xml` | KSeF FA(3) official example no. 1 | Polish Ministry of Finance, public |
| `samples/fatturapa-fpr01.xml` | FatturaPA 1.2 official example FPR01 | Agenzia delle Entrate, public |
Both XRechnung files produce the same canonical JSON (only the syntax-specific `extensions` block differs) — that is the point of the canonical model.
## What it does not do
No OCR (a PDF without embedded XML is rejected with `pdf-no-xml`). Not a Peppol access point, not a French PDP, not a KSeF or SdI client: it reads what you already received and never transmits anything. Factur-X/ZUGFeRD profiles below EN 16931 (MINIMUM, BASIC WL, BASIC) get schema and arithmetic checks only, because the EN 16931 rules would only produce noise there. Validation results are informational, not legal advice.
## Licence
The examples in this repository are MIT. Sample invoices keep the licences listed above.
Lo que la gente pregunta sobre invoicein-examples
¿Qué es peculiar-systems/invoicein-examples?
+
peculiar-systems/invoicein-examples es mcp servers para el ecosistema de Claude AI. Examples, sample invoices and MCP manifest for InvoiceIn — any EU e-invoice (XRechnung, ZUGFeRD/Factur-X, Peppol, FatturaPA, KSeF) → EN 16931 JSON + validation hints Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-09-07.
¿Cómo se instala invoicein-examples?
+
Puedes instalar invoicein-examples clonando el repositorio (https://github.com/peculiar-systems/invoicein-examples) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar peculiar-systems/invoicein-examples?
+
Nuestro agente de seguridad ha analizado peculiar-systems/invoicein-examples y le ha asignado un Trust Score de 80/100 (tier: Trusted). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene peculiar-systems/invoicein-examples?
+
peculiar-systems/invoicein-examples es mantenido por peculiar-systems. La última actividad registrada en GitHub es del 2026-09-07, con 0 issues abiertos.
¿Hay alternativas a invoicein-examples?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega invoicein-examples en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/peculiar-systems-invoicein-examples)<a href="https://claudewave.com/repo/peculiar-systems-invoicein-examples"><img src="https://claudewave.com/api/badge/peculiar-systems-invoicein-examples" alt="Featured on ClaudeWave: peculiar-systems/invoicein-examples" width="320" height="64" /></a>Más MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!