Skip to content
Agentmart
Submit a tool

MCP E-Invoicing Core

Base package for e-invoicing MCP servers.

Connector by cmendezs · GitHub account verified by the MCP Registry

IndexedApache-2.0Local (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/cmendezs-mcp-einvoicing-core

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Base package for e-invoicing MCP servers. Compliance logic and signing keys stay with you.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
42 read · 3 write · 0 delete
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Tools by what they do 45

Read from the source code; the running server may list different tools.

Read 42 · Look things up without changing anything.

  • check_allowance_reason_code
  • check_charge_reason_code
  • check_country_code
  • check_currency_code
  • check_document_name_code
  • check_document_type_id_in_codelist
  • check_eas_code
  • check_icd_code
  • check_item_type_code
  • check_mime_code
  • check_participant_id_scheme_in_codelist
  • check_payment_means_code
Show 30 more tools
  • check_process_id_in_codelist
  • check_reference_qualifier_code
  • check_vat_category_code
  • check_vatex_code
  • get_en16931_codelist_version
  • get_peppol_codelist_version
  • identify_and_extract_pdf
  • list_allowance_reason_codes
  • list_charge_reason_codes
  • list_country_codes
  • list_currency_codes
  • list_document_name_codes
  • list_document_type_ids
  • list_eas_codes
  • list_icd_codes
  • list_item_type_codes
  • list_mime_codes
  • list_participant_id_schemes
  • list_payment_means_codes
  • list_process_ids
  • list_reference_qualifier_codes
  • list_spis_use_case_ids
  • list_vat_category_codes
  • list_vatex_codes
  • peppol_directory_search
  • peppol_get_service_endpoint
  • peppol_lookup_participant
  • validate_eusr_report
  • validate_mls_message
  • validate_tsr_report

Write 3 · Create, change, send or run things.

  • build_mls_message
  • peppol_send
  • resolve_peppol_dns

Network hosts it talks to 23

  • agenciatributaria.es · found in code
  • aiim.org · found in code
  • busdox.org · found in code
  • bzst.de · found in code
  • cloudflare-dns.com · found in code
  • cmendezs.github.io · found in code
  • directory.peppol.eu · found in code
  • docs.oasis-open.org · found in code
  • docs.peppol.eu · found in code
  • ec.europa.eu · found in code
  • facturae.es · found in code
  • finances.belgium.be · found in code
  • github.com · found in code
  • gov.pl · found in code
  • iana.org · found in code
  • insee.fr · found in code
  • ivaservizi.agenziaentrate.gov.it · found in code
  • purl.oclc.org · found in code
  • sat.gob.mx · found in code
  • test-directory.peppol.eu · found in code
  • unece.org · found in code
  • uri.etsi.org · found in code
  • xoev.de · found in code

Tools (45)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • build_mls_message

    Build a document-level MLS response and return it base64-encoded. For per-line responses, build the document directly with `mcp_einvoicing_core.peppol.mls.build_mls`. Args: mls_id: The ``cbc:ID`` of this MLS document. issue_date: ISO date string, e.g. "2026-08-23". sender_scheme_id: ICD scheme of the sending Access Point's endpoint. sender_value: Sending Access Point's endpoint value. receiver_scheme_id: ICD scheme of the receiving endpoint (normally the original message's SBDH ``MLS_TO`` scheme). receiver_value: Receiving endpoint value. document_referenc…

  • check_allowance_reason_code

    Check whether *code* is a recognized allowance reason code.

  • check_charge_reason_code

    Check whether *code* is a recognized charge reason code.

  • check_country_code

    Check whether *code* is a recognized ISO 3166-1 alpha-2 country code.

  • check_currency_code

    Check whether *code* is a recognized ISO 4217 currency code.

  • check_document_name_code

    Check whether *code* is a recognized UNCL1001 document name code.

  • check_document_type_id_in_codelist

    Check whether a (scheme, value) pair is a recognized Peppol document type identifier. Requires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`). Searches all entries regardless of state, so a historical (deprecated or removed) document type is still reported as found.

  • check_eas_code

    Check whether *code* is a recognized Electronic Address Scheme code.

  • check_icd_code

    Check whether *code* is a recognized ISO 6523 ICD code.

  • check_item_type_code

    Check whether *code* is a recognized item type identification code.

  • check_mime_code

    Check whether *code* is a recognized MIME type for embedded attachments.

  • check_participant_id_scheme_in_codelist

    Check whether a 4-digit ISO 6523 ICD code (e.g. "0208") is a recognized Peppol scheme. Requires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).

  • check_payment_means_code

    Check whether *code* is a recognized UNCL4461 payment means code.

  • check_process_id_in_codelist

    Check whether a (scheme, value) pair is a recognized Peppol process identifier. Requires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).

  • check_reference_qualifier_code

    Check whether *code* is a recognized UNCL1153 reference qualifier code.

Show 30 more tools
  • check_vat_category_code

    Check whether *code* is a recognized UNCL5305 VAT category code.

  • check_vatex_code

    Check whether *code* is a recognized VATEX VAT exemption reason code.

  • get_en16931_codelist_version

    Report the CEF EN 16931 code-list release version(s) currently configured locally.

  • get_peppol_codelist_version

    Report the OpenPeppol eDEC code list release version(s) currently configured locally.

  • identify_and_extract_pdf

    Identify a hybrid PDF/A-3 invoice and extract its embedded XML. Reads XMP metadata to identify whether the file is a Factur-X/ZUGFeRD hybrid PDF (see `PDFEmbedder.identify`; the XMP schema itself is verified against a real sample, but a PDF from a different producer may not carry the same XMP shape), then extracts the embedded XML attachment by trying `CANONICAL_HYBRID_PDF_FILENAMES` in turn. Args: pdf_base64: Base64-encoded PDF/A-3 file bytes. Returns a dict with the `PDFEmbedder.identify()` fields (`is_hybrid_pdf`, `conformance_level`, `document_type`, `document_filename`, `version`) …

  • list_allowance_reason_codes

    List allowance reason codes from the CEF EN 16931 code list.

  • list_charge_reason_codes

    List charge reason codes from the CEF EN 16931 code list.

  • list_country_codes

    List ISO 3166-1 alpha-2 country codes from the CEF EN 16931 code list.

  • list_currency_codes

    List ISO 4217 currency codes from the CEF EN 16931 code list.

  • list_document_name_codes

    List UNCL1001 document name codes from the CEF EN 16931 code list.

  • list_document_type_ids

    List Peppol document type identifiers from the OpenPeppol eDEC code list. Requires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`). Args: active_only: When True (default), omit deprecated/removed entries.

  • list_eas_codes

    List Electronic Address Scheme (EAS) codes from the CEF EN 16931 code list.

  • list_icd_codes

    List ISO 6523 ICD codes from the CEF EN 16931 code list.

  • list_item_type_codes

    List item type identification codes from the CEF EN 16931 code list.

  • list_mime_codes

    List recognized MIME types for embedded attachments.

  • list_participant_id_schemes

    List Peppol participant identifier (ICD) schemes from the OpenPeppol eDEC code list. Requires EINVOICING_PEPPOL_CODELIST_DIR to point at a local copy of the eDEC "Participant Identifier Schemes" GeneriCode export (not bundled with this package, no confirmed redistribution rights, see `mcp_einvoicing_core.peppol.codelists` module docstring). Args: active_only: When True (default), omit deprecated/removed entries.

  • list_payment_means_codes

    List UNCL4461 payment means codes from the CEF EN 16931 code list.

  • list_process_ids

    List Peppol process identifiers from the OpenPeppol eDEC code list. Requires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`). Args: active_only: When True (default), omit deprecated/removed entries.

  • list_reference_qualifier_codes

    List UNCL1153 reference qualifier codes from the CEF EN 16931 code list.

  • list_spis_use_case_ids

    List Peppol SPIS use case identifiers from the OpenPeppol eDEC code list. Requires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`). Args: active_only: When True (default), omit deprecated/removed entries.

  • list_vat_category_codes

    List UNCL5305 VAT category codes from the CEF EN 16931 code list.

  • list_vatex_codes

    List VATEX (VAT exemption reason) codes from the CEF EN 16931 code list.

  • peppol_directory_search

    Search the Peppol Directory for registered participants. Public, unauthenticated search (no relation to SMP lookup). At least one of q/participant/name/country/doctype must be supplied. Args: q: General purpose query term, matched across all fields. participant: Exact match on a scheme-qualified participant ID (e.g. "iso6523-actorid-upis::0208:0123456789"). name: Partial match on business entity name (min. 3 characters). country: Exact match on ISO 3166-2 country code. doctype: Exact match on a full document type identifier URN. result_page_index: 0-based resu…

  • peppol_get_service_endpoint

    Fetch the AS4 endpoint for a Peppol participant's document type. Resolves the SMP hostname via DNS, then fetches service metadata for *document_type_id*. If the SMP returns a redirect, the result's `redirect_url` is set and `endpoint_url` is None; callers must not follow more than one redirect hop (SMP 1.4.0 §3.2). Args: identifier: Peppol participant ID or adaptable national identifier. document_type_id: Peppol document type identifier URN (default: BIS Billing 3.0 invoice). environment: "production" or "test".

  • peppol_lookup_participant

    Check whether a business is registered on the Peppol network. Performs a DNS-over-HTTPS U-NAPTR lookup followed by an SMP service-group request to determine registration status and the list of supported document type identifiers. Args: identifier: Peppol participant ID ("<scheme>:<value>") or a bare national identifier this server knows how to adapt (e.g. a VAT number, if a national identifier adapter is configured). environment: "production" or "test".

  • peppol_send

    Send a UBL/CII invoice to a Peppol participant via AS4. Looks up the recipient's AS4 endpoint (SMP), builds the ebMS3/AS4 envelope, and transmits it using the supplied signing credentials. Args: invoice_xml_base64: Base64-encoded UBL or CII invoice XML. recipient_identifier: Peppol participant ID or adaptable national identifier of the receiver. sender_id: Peppol AP identifier of the sender. certificate_path: Path to the PEM-encoded signing certificate. private_key_path: Path to the PEM-encoded private key. private_key_password: Optional password for the priva…

  • resolve_peppol_dns

    Resolve the SMP hostname for a Peppol participant via DNS only. Performs the raw U-NAPTR (SML) lookup without fetching the SMP service group, useful for diagnosing whether a participant is registered in the SML independently of SMP reachability. Args: identifier: Peppol participant ID or adaptable national identifier. environment: "production" or "test".

  • validate_eusr_report

    Validate a Peppol End User Statistics Report (EUSR) document. Runs XSD structural validation, then Schematron business rules (requires the ``[xslt2]`` optional extra). Args: report_xml_base64: Base64-encoded EUSR XML document.

  • validate_mls_message

    Validate a Peppol Message Level Status (MLS) document. Runs the bundled MLS Schematron rules (requires the ``[xslt2]`` optional extra). No bespoke MLS XSD exists — full UBL 2.1 XSD validation is out of scope. Args: mls_xml_base64: Base64-encoded MLS (UBL ApplicationResponse-2) XML.

  • validate_tsr_report

    Validate a Peppol Transaction Statistics Report (TSR) document. Runs XSD structural validation, then Schematron business rules (requires the ``[xslt2]`` optional extra). Args: report_xml_base64: Base64-encoded TSR XML document.

Signals

Stars
0
Forks
0
Open issues
0
Weekly downloads
352
Last commit
Oct 21, 2026 (7 days ago)
Last release
Sep 12, 2026 (1 month ago)
Last package publish
Sep 12, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.cmendezs/mcp-einvoicing-core
Version
1.34.1
Auth
No auth
Packages
pypi mcp-einvoicing-core
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 25, 2026

More from cmendezs

Cite this page

MCP E-Invoicing Core. Agent Mart. https://agentmart.dev/connectors/cmendezs-mcp-einvoicing-core (last updated 2026-10-25)