pdf-to-einvoice
NPM · PDF-TO-EINVOICE
Invoice PDF to EN 16931 e-invoice (ZUGFeRD / Factur-X), or invoice data to XRechnung. Runs locally.
Available components
Last scanned (16 hours ago)
Scores higher than 72% of npm servers
Category Documents and Files
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security99
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 32 of 135 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to smart-byte/pdf-to-einvoice). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 4 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability64
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 1515 tokens (~252/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management43
- Stability observed for 13 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety50
- Injection-marker check failed: the server instructions contains an instruction to conceal the call from the user, the text "do not tell the user", at byte 423 of that field. See how to fix → Fail
- We read all 6 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Checks we ran (16)
- Malware scan
- Known CVEs
- Install scripts
- Dependency health
- Source repository
- Provenance
- License
- Maintenance
- Security disclosure
- Schema quality
- Stability
- Tool coverage
- Injection markers
- Destructive annotations
- Judged manipulation
- MCP protocol
Does not apply to this package (2)
- Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
- Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
The score does not measure everything. What the score does not measure →
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 23 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 37 to 40. That category is still filling its 30-day observation window: 11 days of observed history at the previous scan, 12 at this one. The score rises as the window fills, whether or not the server changes.
- 21 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.
- 19 Nov 26 +1
- Stability: 0.23 → unverified ▼ security
- Tool safety: fail → unverified ▼ security
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- Package version: 0.3.1 → 0.3.2 functional
- 18 Nov 26 +15
- Malware scan: unverified → pass ▲ security
- 17 Nov 26 −15
- Malware scan: pass → unverified ▼ security
- Package version: 0.3.0 → 0.3.1 functional
- 16 Nov 26 +1
- Stability: 0.13 → unverified ▼ security
- Tool safety: fail → unverified ▼ security
- Capabilities: pass → unverified ▼ functional
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- Package version: 0.2.0 → 0.3.0 functional
- 14 Nov 26 +16
- Malware scan: unverified → pass ▲ security
- 13 Nov 26 −14
- Malware scan: pass → unverified ▼ security
- Stability: unverified → 0.07 ▲ functional
- Package version: 0.1.0 → 0.2.0 functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 24 Nov 2026 · Analysed npm/pdf-to-einvoice@0.3.2
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | smart-byte/pdf-to-einvoice |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/smart-byte/pdf-to-einvoice/.github/workflows/release.yml@refs/heads/main |
| Rekor log index | 4001069021 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:a8649d4fc8f4436eddd48486f5ae4d1dad15ba363589ebf6c823cc13de1b0923451b7f7793075bd7d8766d2370a9d8d38ca6bcd58a6835b55128c8126 |
Background: How many MCP packages publish verified provenance →
Dependencies 135 packages
| Packages resolved | 135 |
|---|---|
| Stale | 32 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
check_invoice Check invoice data ~204
Checks invoice data against the main EN 16931 rules (required fields, formats, arithmetic, VAT categories) and the particulars German VAT law asks for. It is not a full validator. Returns { ok, findings, totals }: errors block the e-invoice, warnings need a second look, totals are calculated from the lines. The data may be incomplete; what is missing is reported. With pdf_path, values that do not occur in the text of the PDF are reported too. With rules "xrechnung", what XRechnung 3.0 asks for beyond EN 16931 is reported too, under codes that start with "xrechnung-".
| Name | Type | Req | Description |
|---|---|---|---|
| invoice | object | yes | Invoice data as printed on the PDF. Copy values exactly; leave out anything the document does not state. |
| pdf_path | string | – | The invoice PDF to compare the data with. Optional. Absolute path. |
| rules | string | – | Further rules to check the data against. Optional. |
No output schema declared.
No examples provided.
create_einvoice Create the e-invoice ~250
Writes the e-invoice: a copy of the PDF as PDF/A-3 with the invoice attached as factur-x.xml (Factur-X / ZUGFeRD, profile EN 16931). The input PDF is never changed. Call it only after check_invoice reports no errors and the user has confirmed the data. Returns { output_path, findings, totals }; with errors in the data nothing is written and the findings say what to fix. With profile "xrechnung" the data has to meet the XRechnung rules as well (check_invoice with rules "xrechnung"), and the attached XML is xrechnung.xml, which declares XRechnung 3.0.
| Name | Type | Req | Description |
|---|---|---|---|
| invoice | object | yes | Invoice data as printed on the PDF. Copy values exactly; leave out anything the document does not state. |
| output_path | string | – | Where to write the e-invoice. Default: <name>.einvoice.pdf next to the input. Absolute path. |
| overwrite | boolean | – | Replace output_path if it exists. Default false. |
| pdf_path | string | yes | The invoice PDF. Absolute path. |
| profile | string | – | The profile of the XML. Default en16931. |
No output schema declared.
No examples provided.
create_xrechnung Create an XRechnung ~180
Writes the invoice data as an XRechnung 3.0, the XML German public bodies ask for: one XML file, without a PDF. Call it only after check_invoice with rules "xrechnung" reports no errors and the user has confirmed the data. Returns { output_path, findings, totals }; with errors in the data nothing is written and the findings say what to fix.
| Name | Type | Req | Description |
|---|---|---|---|
| invoice | object | yes | Invoice data as printed on the PDF. Copy values exactly; leave out anything the document does not state. |
| output_path | string | yes | Where to write the XML file. Absolute path. |
| overwrite | boolean | – | Replace output_path if it exists. Default false. |
| syntax | string | – | The XML syntax: ubl (default) or cii, UN/CEFACT Cross Industry Invoice. XRechnung allows both. |
No output schema declared.
No examples provided.
read_einvoice_xml Read the XML of an e-invoice ~51
Returns the invoice XML embedded in a ZUGFeRD / Factur-X PDF. Fails if the PDF carries none.
| Name | Type | Req | Description |
|---|---|---|---|
| pdf_path | string | yes | The e-invoice PDF. Absolute path. |
No output schema declared.
No examples provided.
read_invoice_pdf Read an invoice PDF ~95
Reads an invoice PDF from disk. Returns its text row by row, values found by pattern (number, dates, parties, line items, totals, payment terms, bank details, tax IDs; a starting point, not a result) and facts about the PDF: page count, fonts that are not embedded, and whether it is already an e-invoice.
| Name | Type | Req | Description |
|---|---|---|---|
| pdf_path | string | yes | The invoice PDF. Absolute path. |
No output schema declared.
No examples provided.
validate_einvoice Check an existing e-invoice ~140
Checks an existing e-invoice PDF (ZUGFeRD / Factur-X), issued or received. Returns { isEInvoice, profile, invoice, totals, findings }: whether the PDF carries invoice XML in an EN 16931 profile, the data read from that XML, the totals calculated from its lines, and findings on missing data, arithmetic, PDF/A-3 and values of the XML that the text of the PDF does not show ("not-in-pdf"). A plausibility check, not a full EN 16931 Schematron or PDF/A validation.
| Name | Type | Req | Description |
|---|---|---|---|
| pdf_path | string | yes | The e-invoice PDF. Absolute path. |
No output schema declared.
No examples provided.
How do I install the pdf-to-einvoice MCP server?
pdf-to-einvoice runs locally as an npm package, launched with npx -y pdf-to-einvoice mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · pdf-to-einvoice
claude mcp add smart-byte-pdf-to-einvoice -- npx -y pdf-to-einvoice mcp
What is the pdf-to-einvoice MCP server?
pdf-to-einvoice is an MCP server listed in the public MCP registry as io.github.smart-byte/pdf-to-einvoice. Invoice PDF to EN 16931 e-invoice (ZUGFeRD / Factur-X), or invoice data to XRechnung. Runs locally. This page covers its npm package (pdf-to-einvoice).
Is the pdf-to-einvoice MCP server safe to use?
pdf-to-einvoice scores 82 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 24 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the pdf-to-einvoice MCP server expose?
pdf-to-einvoice exposes 6 tools: read_invoice_pdf, check_invoice, create_einvoice, create_xrechnung, read_einvoice_xml, validate_einvoice. Their descriptions and schemas cost roughly 920 tokens of context every time the server is loaded.
Is the pdf-to-einvoice MCP server still maintained?
pdf-to-einvoice is still listed as active in the MCP registry. We last reached this channel on 24 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the pdf-to-einvoice MCP server under?
pdf-to-einvoice declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.
What did VerifyMCP test on the pdf-to-einvoice MCP server?
VerifyMCP ran 16 checks on pdf-to-einvoice, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.