{"at":"2026-11-23T01:08:36.227Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T01:08:37.704Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"mcp-einvoicing-ae","version":"4.2.4"}},"cacheScope":"private","capabilities":{"extensions":{"io.modelcontextprotocol/ui":{}},"logging":{},"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"Tools for United Arab Emirates electronic invoicing: PINT AE (billing + self-billing) UBL 2.1 invoice generation, validation, and parsing, Peppol AE Tax Data Document (TDD) validation, and Peppol participant lookup (5-corner transport). Schematron validation requires the optional 'xslt2' extra (saxonche) — see README. TDD schema (XSD) validation is currently unavailable; validate_tdd_ae runs Schematron only and flags this explicitly in its result.","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T01:08:37.704Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T01:08:37.892Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"mcp-einvoicing-ae","version":"4.2.4"}},"cacheScope":"private","resultType":"complete","tools":[{"_meta":{"fastmcp":{"tags":[]}},"description":"Generate a PINT AE UBL 2.1 e-invoice XML document from structured data.\n\nApplies the correct CustomizationID (BT-24) and ProfileID (BT-23) for\nthe selected variant. All unconditionally-mandatory PINT AE elements\nare emitted: ``cbc:UUID``, ``cbc:ProfileExecutionID``, per-line\n``cac:ItemPriceExtension``, and ``PartyLegalEntity/CompanyID``\n(``AEParty.trade_license_number``, when set).\n\nReturns a dict with:\n- ``xml``: the generated UBL 2.1 XML string\n- ``customization_id``: the CustomizationID applied (BT-24)\n- ``profile_id``: the ProfileID applied (BT-23)","inputSchema":{"additionalProperties":false,"properties":{"invoice_data":{"additionalProperties":true,"description":"Invoice fields matching the AEInvoice schema","type":"object"},"variant":{"default":"billing","description":"PINT AE profile variant: 'billing' (default) or 'selfbilling'","enum":["billing","selfbilling"],"type":"string"}},"required":["invoice_data"],"type":"object"},"name":"generate_invoice_ae","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate Invoice Ae"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Validate a PINT AE UBL 2.1 invoice against the CEN EN16931 base Schematron.\n\nChecks the CEN EN16931 base rules (structural + arithmetic/totals,\n~50 BR-* rules) via core's bundled, licensing-clean Schematron. Does\nNOT check the PINT-AE jurisdiction overlay (ibr-*-ae rules) — the\nresult's metadata.scope is \"en16931-base-only\", and\nEN16931_BASE_ONLY_SCOPE_WARNING is always included. BR-CO-09 is\nexpected to fire on every genuine AE invoice (see\nEN16931_BASE_KNOWN_LIMITATIONS_WARNING, always included) since UAE\nTRNs carry no ISO country prefix. This is not a full PINT AE\nconformance check; a document that passes may still be rejected by a\nreal Peppol Access Point (no confirmed OpenPeppol redistribution\nrights for the overlay rules).\nReturns a structured result with per-rule error and warning messages.\nThe ``variant`` parameter is accepted for interface stability with\nv0.1.0 but does not change which rules run — the CEN base rules are\nidentical for both billing and self-billing profiles.","inputSchema":{"additionalProperties":false,"properties":{"variant":{"default":"billing","description":"PINT AE profile variant: 'billing' (default) or 'selfbilling'","enum":["billing","selfbilling"],"type":"string"},"xml":{"description":"Raw PINT AE UBL 2.1 XML invoice content","type":"string"}},"required":["xml"],"type":"object"},"name":"validate_invoice_ae","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Validate Invoice Ae"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Validate a Peppol AE Tax Data Document (TDD).\n\nAlways returns an explicit \"unavailable\" result — see module\ndocstring and _TDD_VALIDATION_UNAVAILABLE for why no TDD validation\nis currently available.","inputSchema":{"additionalProperties":false,"properties":{"xml":{"description":"Raw Peppol AE Tax Data Document (TDD) XML content","type":"string"}},"required":["xml"],"type":"object"},"name":"validate_tdd_ae","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Validate Tdd Ae"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Parse a PINT AE UBL 2.1 XML invoice into a structured dict.\n\nAccepts a PINT AE billing or self-billing UBL 2.1 document (Invoice or\nCreditNote root), extracts the EN 16931 core field set plus the AE\nextensions (document_uuid, profile_execution_id, trade_license_number),\nand re-validates the merged result as an AEInvoice — so TRN format and\ntax-rate/category consistency are re-checked on parsed content, not just\non freshly constructed invoices.\n\nReturns ``{\"success\": true, \"invoice\": {...}}`` on success, or\n``{\"success\": false, \"error\": \"...\"}`` on parse or validation failure.","inputSchema":{"additionalProperties":false,"properties":{"xml_content":{"description":"Raw PINT AE UBL 2.1 XML invoice content","type":"string"}},"required":["xml_content"],"type":"object"},"name":"parse_invoice_ae","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Parse Invoice Ae"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Check whether a business is registered on the Peppol network.\n\nPerforms a DNS-over-HTTPS U-NAPTR lookup followed by an SMP\nservice-group request to determine registration status and the list\nof supported document type identifiers.","inputSchema":{"additionalProperties":false,"properties":{"environment":{"default":"production","description":"\"production\" or \"test\".","type":"string"},"identifier":{"description":"Peppol participant ID (\"<scheme>:<value>\") or a bare\nnational identifier this server knows how to adapt (e.g. a\nVAT number, if a national identifier adapter is configured).","type":"string"}},"required":["identifier"],"type":"object"},"name":"peppol_lookup_participant","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Peppol Lookup Participant"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Fetch the AS4 endpoint for a Peppol participant's document type.\n\nResolves the SMP hostname via DNS, then fetches service metadata for\n*document_type_id*. If the SMP returns a redirect, the result's\n`redirect_url` is set and `endpoint_url` is None; callers must not\nfollow more than one redirect hop (SMP 1.4.0 §3.2).","inputSchema":{"additionalProperties":false,"properties":{"document_type_id":{"default":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1","description":"Peppol document type identifier URN (default:\nBIS Billing 3.0 invoice).","type":"string"},"environment":{"default":"production","description":"\"production\" or \"test\".","type":"string"},"identifier":{"description":"Peppol participant ID or adaptable national identifier.","type":"string"}},"required":["identifier"],"type":"object"},"name":"peppol_get_service_endpoint","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Peppol Get Service Endpoint"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Resolve the SMP hostname for a Peppol participant via DNS only.\n\nPerforms the raw U-NAPTR (SML) lookup without fetching the SMP\nservice group, useful for diagnosing whether a participant is\nregistered in the SML independently of SMP reachability.","inputSchema":{"additionalProperties":false,"properties":{"environment":{"default":"production","description":"\"production\" or \"test\".","type":"string"},"identifier":{"description":"Peppol participant ID or adaptable national identifier.","type":"string"}},"required":["identifier"],"type":"object"},"name":"resolve_peppol_dns","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Resolve Peppol Dns"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Send a UBL/CII invoice to a Peppol participant via AS4.\n\nLooks up the recipient's AS4 endpoint (SMP), builds the ebMS3/AS4\nenvelope, and transmits it using the supplied signing credentials.","inputSchema":{"additionalProperties":false,"properties":{"certificate_path":{"description":"Path to the PEM-encoded signing certificate.","type":"string"},"document_type_id":{"default":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1","description":"Peppol document type identifier URN (default:\nBIS Billing 3.0 invoice).","type":"string"},"environment":{"default":"test","description":"\"production\" or \"test\".","type":"string"},"invoice_xml_base64":{"description":"Base64-encoded UBL or CII invoice XML.","type":"string"},"private_key_password":{"default":"","description":"Optional password for the private key.","type":"string"},"private_key_path":{"description":"Path to the PEM-encoded private key.","type":"string"},"recipient_identifier":{"description":"Peppol participant ID or adaptable\nnational identifier of the receiver.","type":"string"},"sender_id":{"description":"Peppol AP identifier of the sender.","type":"string"}},"required":["invoice_xml_base64","recipient_identifier","sender_id","certificate_path","private_key_path"],"type":"object"},"name":"peppol_send","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Peppol Send"},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Peppol participant identifier (ICD) schemes from the OpenPeppol eDEC code list.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR to point at a local copy of\nthe eDEC \"Participant Identifier Schemes\" GeneriCode export (not\nbundled with this package, no confirmed redistribution rights, see\n`mcp_einvoicing_core.peppol.codelists` module docstring).","inputSchema":{"additionalProperties":false,"properties":{"active_only":{"default":true,"description":"When True (default), omit deprecated/removed entries.","type":"boolean"}},"type":"object"},"name":"list_participant_id_schemes","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Participant Id Schemes"},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Peppol document type identifiers from the OpenPeppol eDEC code list.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"active_only":{"default":true,"description":"When True (default), omit deprecated/removed entries.","type":"boolean"}},"type":"object"},"name":"list_document_type_ids","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Document Type Ids"},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Peppol process identifiers from the OpenPeppol eDEC code list.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"active_only":{"default":true,"description":"When True (default), omit deprecated/removed entries.","type":"boolean"}},"type":"object"},"name":"list_process_ids","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Process Ids"},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Peppol SPIS use case identifiers from the OpenPeppol eDEC code list.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"active_only":{"default":true,"description":"When True (default), omit deprecated/removed entries.","type":"boolean"}},"type":"object"},"name":"list_spis_use_case_ids","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Spis Use Case Ids"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Check whether a (scheme, value) pair is a recognized Peppol document type identifier.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).\nSearches all entries regardless of state, so a historical (deprecated\nor removed) document type is still reported as found.","inputSchema":{"additionalProperties":false,"properties":{"scheme":{"type":"string"},"value":{"type":"string"}},"required":["scheme","value"],"type":"object"},"name":"check_document_type_id_in_codelist","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Document Type Id In Codelist"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Check whether a (scheme, value) pair is a recognized Peppol process identifier.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"scheme":{"type":"string"},"value":{"type":"string"}},"required":["scheme","value"],"type":"object"},"name":"check_process_id_in_codelist","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Process Id In Codelist"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Check whether a 4-digit ISO 6523 ICD code (e.g. \"0208\") is a recognized Peppol scheme.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"icd":{"type":"string"}},"required":["icd"],"type":"object"},"name":"check_participant_id_scheme_in_codelist","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Participant Id Scheme In Codelist"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Report the OpenPeppol eDEC code list release version(s) currently configured locally.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_peppol_codelist_version","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Peppol Codelist Version"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Search the Peppol Directory for registered participants.\n\nPublic, unauthenticated search (no relation to SMP lookup). At least\none of q/participant/name/country/doctype must be supplied.","inputSchema":{"additionalProperties":false,"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Exact match on ISO 3166-2 country code."},"doctype":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Exact match on a full document type identifier URN."},"environment":{"default":"production","description":"\"production\" or \"test\".","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Partial match on business entity name (min. 3 characters)."},"participant":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Exact match on a scheme-qualified participant ID\n(e.g. \"iso6523-actorid-upis::0208:0123456789\")."},"q":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"General purpose query term, matched across all fields."},"result_page_count":{"default":20,"description":"Results per page.","type":"integer"},"result_page_index":{"default":0,"description":"0-based result page index.","type":"integer"}},"type":"object"},"name":"peppol_directory_search","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Peppol Directory Search"}],"ttlMs":0}}}
{"at":"2026-11-23T01:08:38.143Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T01:08:39.553Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"logging":{},"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":false},"tools":{"listChanged":true}},"instructions":"Tools for United Arab Emirates electronic invoicing: PINT AE (billing + self-billing) UBL 2.1 invoice generation, validation, and parsing, Peppol AE Tax Data Document (TDD) validation, and Peppol participant lookup (5-corner transport). Schematron validation requires the optional 'xslt2' extra (saxonche) — see README. TDD schema (XSD) validation is currently unavailable; validate_tdd_ae runs Schematron only and flags this explicitly in its result.","protocolVersion":"2025-11-25","serverInfo":{"name":"mcp-einvoicing-ae","version":"4.2.4"}}}}
{"at":"2026-11-23T01:08:39.553Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T01:08:39.553Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T01:08:39.739Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"_meta":{"fastmcp":{"tags":[]}},"description":"Generate a PINT AE UBL 2.1 e-invoice XML document from structured data.\n\nApplies the correct CustomizationID (BT-24) and ProfileID (BT-23) for\nthe selected variant. All unconditionally-mandatory PINT AE elements\nare emitted: ``cbc:UUID``, ``cbc:ProfileExecutionID``, per-line\n``cac:ItemPriceExtension``, and ``PartyLegalEntity/CompanyID``\n(``AEParty.trade_license_number``, when set).\n\nReturns a dict with:\n- ``xml``: the generated UBL 2.1 XML string\n- ``customization_id``: the CustomizationID applied (BT-24)\n- ``profile_id``: the ProfileID applied (BT-23)","inputSchema":{"additionalProperties":false,"properties":{"invoice_data":{"additionalProperties":true,"description":"Invoice fields matching the AEInvoice schema","type":"object"},"variant":{"default":"billing","description":"PINT AE profile variant: 'billing' (default) or 'selfbilling'","enum":["billing","selfbilling"],"type":"string"}},"required":["invoice_data"],"type":"object"},"name":"generate_invoice_ae","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Generate Invoice Ae"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Validate a PINT AE UBL 2.1 invoice against the CEN EN16931 base Schematron.\n\nChecks the CEN EN16931 base rules (structural + arithmetic/totals,\n~50 BR-* rules) via core's bundled, licensing-clean Schematron. Does\nNOT check the PINT-AE jurisdiction overlay (ibr-*-ae rules) — the\nresult's metadata.scope is \"en16931-base-only\", and\nEN16931_BASE_ONLY_SCOPE_WARNING is always included. BR-CO-09 is\nexpected to fire on every genuine AE invoice (see\nEN16931_BASE_KNOWN_LIMITATIONS_WARNING, always included) since UAE\nTRNs carry no ISO country prefix. This is not a full PINT AE\nconformance check; a document that passes may still be rejected by a\nreal Peppol Access Point (no confirmed OpenPeppol redistribution\nrights for the overlay rules).\nReturns a structured result with per-rule error and warning messages.\nThe ``variant`` parameter is accepted for interface stability with\nv0.1.0 but does not change which rules run — the CEN base rules are\nidentical for both billing and self-billing profiles.","inputSchema":{"additionalProperties":false,"properties":{"variant":{"default":"billing","description":"PINT AE profile variant: 'billing' (default) or 'selfbilling'","enum":["billing","selfbilling"],"type":"string"},"xml":{"description":"Raw PINT AE UBL 2.1 XML invoice content","type":"string"}},"required":["xml"],"type":"object"},"name":"validate_invoice_ae","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Validate Invoice Ae"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Validate a Peppol AE Tax Data Document (TDD).\n\nAlways returns an explicit \"unavailable\" result — see module\ndocstring and _TDD_VALIDATION_UNAVAILABLE for why no TDD validation\nis currently available.","inputSchema":{"additionalProperties":false,"properties":{"xml":{"description":"Raw Peppol AE Tax Data Document (TDD) XML content","type":"string"}},"required":["xml"],"type":"object"},"name":"validate_tdd_ae","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Validate Tdd Ae"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Parse a PINT AE UBL 2.1 XML invoice into a structured dict.\n\nAccepts a PINT AE billing or self-billing UBL 2.1 document (Invoice or\nCreditNote root), extracts the EN 16931 core field set plus the AE\nextensions (document_uuid, profile_execution_id, trade_license_number),\nand re-validates the merged result as an AEInvoice — so TRN format and\ntax-rate/category consistency are re-checked on parsed content, not just\non freshly constructed invoices.\n\nReturns ``{\"success\": true, \"invoice\": {...}}`` on success, or\n``{\"success\": false, \"error\": \"...\"}`` on parse or validation failure.","inputSchema":{"additionalProperties":false,"properties":{"xml_content":{"description":"Raw PINT AE UBL 2.1 XML invoice content","type":"string"}},"required":["xml_content"],"type":"object"},"name":"parse_invoice_ae","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Parse Invoice Ae"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Check whether a business is registered on the Peppol network.\n\nPerforms a DNS-over-HTTPS U-NAPTR lookup followed by an SMP\nservice-group request to determine registration status and the list\nof supported document type identifiers.","inputSchema":{"additionalProperties":false,"properties":{"environment":{"default":"production","description":"\"production\" or \"test\".","type":"string"},"identifier":{"description":"Peppol participant ID (\"<scheme>:<value>\") or a bare\nnational identifier this server knows how to adapt (e.g. a\nVAT number, if a national identifier adapter is configured).","type":"string"}},"required":["identifier"],"type":"object"},"name":"peppol_lookup_participant","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Peppol Lookup Participant"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Fetch the AS4 endpoint for a Peppol participant's document type.\n\nResolves the SMP hostname via DNS, then fetches service metadata for\n*document_type_id*. If the SMP returns a redirect, the result's\n`redirect_url` is set and `endpoint_url` is None; callers must not\nfollow more than one redirect hop (SMP 1.4.0 §3.2).","inputSchema":{"additionalProperties":false,"properties":{"document_type_id":{"default":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1","description":"Peppol document type identifier URN (default:\nBIS Billing 3.0 invoice).","type":"string"},"environment":{"default":"production","description":"\"production\" or \"test\".","type":"string"},"identifier":{"description":"Peppol participant ID or adaptable national identifier.","type":"string"}},"required":["identifier"],"type":"object"},"name":"peppol_get_service_endpoint","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Peppol Get Service Endpoint"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Resolve the SMP hostname for a Peppol participant via DNS only.\n\nPerforms the raw U-NAPTR (SML) lookup without fetching the SMP\nservice group, useful for diagnosing whether a participant is\nregistered in the SML independently of SMP reachability.","inputSchema":{"additionalProperties":false,"properties":{"environment":{"default":"production","description":"\"production\" or \"test\".","type":"string"},"identifier":{"description":"Peppol participant ID or adaptable national identifier.","type":"string"}},"required":["identifier"],"type":"object"},"name":"resolve_peppol_dns","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Resolve Peppol Dns"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Send a UBL/CII invoice to a Peppol participant via AS4.\n\nLooks up the recipient's AS4 endpoint (SMP), builds the ebMS3/AS4\nenvelope, and transmits it using the supplied signing credentials.","inputSchema":{"additionalProperties":false,"properties":{"certificate_path":{"description":"Path to the PEM-encoded signing certificate.","type":"string"},"document_type_id":{"default":"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1","description":"Peppol document type identifier URN (default:\nBIS Billing 3.0 invoice).","type":"string"},"environment":{"default":"test","description":"\"production\" or \"test\".","type":"string"},"invoice_xml_base64":{"description":"Base64-encoded UBL or CII invoice XML.","type":"string"},"private_key_password":{"default":"","description":"Optional password for the private key.","type":"string"},"private_key_path":{"description":"Path to the PEM-encoded private key.","type":"string"},"recipient_identifier":{"description":"Peppol participant ID or adaptable\nnational identifier of the receiver.","type":"string"},"sender_id":{"description":"Peppol AP identifier of the sender.","type":"string"}},"required":["invoice_xml_base64","recipient_identifier","sender_id","certificate_path","private_key_path"],"type":"object"},"name":"peppol_send","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Peppol Send"},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Peppol participant identifier (ICD) schemes from the OpenPeppol eDEC code list.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR to point at a local copy of\nthe eDEC \"Participant Identifier Schemes\" GeneriCode export (not\nbundled with this package, no confirmed redistribution rights, see\n`mcp_einvoicing_core.peppol.codelists` module docstring).","inputSchema":{"additionalProperties":false,"properties":{"active_only":{"default":true,"description":"When True (default), omit deprecated/removed entries.","type":"boolean"}},"type":"object"},"name":"list_participant_id_schemes","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Participant Id Schemes"},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Peppol document type identifiers from the OpenPeppol eDEC code list.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"active_only":{"default":true,"description":"When True (default), omit deprecated/removed entries.","type":"boolean"}},"type":"object"},"name":"list_document_type_ids","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Document Type Ids"},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Peppol process identifiers from the OpenPeppol eDEC code list.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"active_only":{"default":true,"description":"When True (default), omit deprecated/removed entries.","type":"boolean"}},"type":"object"},"name":"list_process_ids","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Process Ids"},{"_meta":{"fastmcp":{"tags":[]}},"description":"List Peppol SPIS use case identifiers from the OpenPeppol eDEC code list.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"active_only":{"default":true,"description":"When True (default), omit deprecated/removed entries.","type":"boolean"}},"type":"object"},"name":"list_spis_use_case_ids","outputSchema":{"additionalProperties":true,"type":"object"},"title":"List Spis Use Case Ids"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Check whether a (scheme, value) pair is a recognized Peppol document type identifier.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).\nSearches all entries regardless of state, so a historical (deprecated\nor removed) document type is still reported as found.","inputSchema":{"additionalProperties":false,"properties":{"scheme":{"type":"string"},"value":{"type":"string"}},"required":["scheme","value"],"type":"object"},"name":"check_document_type_id_in_codelist","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Document Type Id In Codelist"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Check whether a (scheme, value) pair is a recognized Peppol process identifier.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"scheme":{"type":"string"},"value":{"type":"string"}},"required":["scheme","value"],"type":"object"},"name":"check_process_id_in_codelist","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Process Id In Codelist"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Check whether a 4-digit ISO 6523 ICD code (e.g. \"0208\") is a recognized Peppol scheme.\n\nRequires EINVOICING_PEPPOL_CODELIST_DIR (see `list_participant_id_schemes`).","inputSchema":{"additionalProperties":false,"properties":{"icd":{"type":"string"}},"required":["icd"],"type":"object"},"name":"check_participant_id_scheme_in_codelist","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Check Participant Id Scheme In Codelist"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Report the OpenPeppol eDEC code list release version(s) currently configured locally.","inputSchema":{"additionalProperties":false,"properties":{},"type":"object"},"name":"get_peppol_codelist_version","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Get Peppol Codelist Version"},{"_meta":{"fastmcp":{"tags":[]}},"description":"Search the Peppol Directory for registered participants.\n\nPublic, unauthenticated search (no relation to SMP lookup). At least\none of q/participant/name/country/doctype must be supplied.","inputSchema":{"additionalProperties":false,"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Exact match on ISO 3166-2 country code."},"doctype":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Exact match on a full document type identifier URN."},"environment":{"default":"production","description":"\"production\" or \"test\".","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Partial match on business entity name (min. 3 characters)."},"participant":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Exact match on a scheme-qualified participant ID\n(e.g. \"iso6523-actorid-upis::0208:0123456789\")."},"q":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"General purpose query term, matched across all fields."},"result_page_count":{"default":20,"description":"Results per page.","type":"integer"},"result_page_index":{"default":0,"description":"0-based result page index.","type":"integer"}},"type":"object"},"name":"peppol_directory_search","outputSchema":{"additionalProperties":true,"type":"object"},"title":"Peppol Directory Search"}]}}}
