Server definition
- Hash
- sha256:405e3e58b03b703038cb2c6a2405ffdc2295a0e6bc0bc79bead96eb30fda303a
- What it is
- What a remote MCP server returned when asked what it offers: 6 tools
The blob, as servednamed by its sha256
{
"instructions": null,
"tools": [
{
"description": "Convert an e-invoice to UBL or CII. The result is checked before it is returned.\n\nInput: `invoice_base64` is the base64 of an XML invoice or a ZUGFeRD /\nFactur-X PDF, at most 4 MB decoded; or pass the file as a download link in\n`file`. `target_syntax` is \"ubl\" or \"cii\". `target_flavor` is optional,\n\"en16931\" or \"xrechnung\"; without it the flavor of the source is kept.\n\nReturns `xml`, `syntax`, `flavor` and `self_validation` (`valid`,\n`finding_count`). invowerk checks the converted XML before answering and never\nreturns an invalid document. Input that cannot be read or converted fails with\nan error message.\n\nCredits: 3 per call.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"file": {
"default": null,
"description": "The file as a download link, instead of `invoice_base64`. In ChatGPT, pass the user's uploaded file here. Other clients can set `download_url` to a public https URL.",
"properties": {
"download_url": {
"description": "A public https URL of the file.",
"type": "string"
},
"file_id": {
"description": "An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.",
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
}
},
"required": [
"download_url",
"file_id"
],
"type": "object"
},
"invoice_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The invoice file, base64-encoded. At most 4 MB decoded."
},
"target_flavor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional: \"en16931\" or \"xrechnung\". Without it the flavor of the source is kept."
},
"target_syntax": {
"description": "Syntax to convert to: \"ubl\" or \"cii\".",
"type": "string"
}
},
"required": [
"target_syntax"
],
"type": "object"
},
"name": "convert_invoice",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
},
{
"description": "Explain rule codes in plain language. Works without an API key.\n\nCovers the codes of `validate_invoice` findings and hints: EN 16931,\nXRechnung, ZUGFeRD and invowerk's own hint codes (IW-*).\n\nInput: `codes` is a list of one or more codes, e.g. [\"BR-CO-18\", \"BR-DE-21\"].\nDuplicates are removed. `lang` is \"de\" (default) or \"en\".\n\nReturns `lang` and `explanations`. Each explanation has `title`, `meaning`,\n`causes`, `fixes`, `severity`, `standard`, `bt_refs`, `xpath_hints` and\n`explain_url` (the German page for the code). If any code is unknown, the call\nfails and names the unknown codes.\n\nCredits: free. This tool is not metered.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"codes": {
"description": "One or more rule codes from validate_invoice, e.g. [\"BR-CO-18\", \"BR-DE-21\"].",
"items": {
"type": "string"
},
"type": "array"
},
"lang": {
"default": "de",
"description": "Language of the explanations: \"de\" (default) or \"en\".",
"type": "string"
}
},
"required": [
"codes"
],
"type": "object"
},
"name": "explain_errors",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
},
{
"description": "Create a valid EN 16931 e-invoice (UBL or CII XML) from JSON.\n\nInput: `invoice` is a JSON object keyed on EN 16931 Business Terms, the same\nschema as `POST /v1/generate`, at most 4 MB. Main fields: `syntax` (\"ubl\"\ndefault, or \"cii\"), `flavor` (\"en16931\" default, or \"xrechnung\", which\nrequires `buyer_reference`, the Leitweg-ID BT-10), `invoice_number`,\n`issue_date` (YYYY-MM-DD), `currency`, `seller`, `buyer`, `lines`,\n`tax_breakdown`, `totals`. invowerk writes your amounts as given. It does not\ncompute or correct them.\n\nReturns `xml`, `syntax`, `flavor` and `self_validation`. invowerk checks the\nXML before answering and never returns an invalid document. Invalid input, or\nXML that fails the check, returns an error, as does a busy (`engine_busy`) or\noverrunning (`engine_timeout`) generate.\n\nCredits: 5 per call.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"invoice": {
"additionalProperties": true,
"description": "The invoice as a JSON object keyed on EN 16931 Business Terms, the schema of POST /v1/generate and of parse_invoice's `model`: syntax, flavor, invoice_number, issue_date, currency, seller, buyer, lines, tax_breakdown, totals.",
"type": "object"
}
},
"required": [
"invoice"
],
"type": "object"
},
"name": "generate_invoice",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
},
{
"description": "Read an existing e-invoice into JSON keyed on EN 16931 Business Terms.\n\nThe JSON is the input format of `generate_invoice`, so you can edit it and\ncreate the invoice again.\n\nInput: `invoice_base64` is the base64 of an XML invoice (UBL or CII) or a\nZUGFeRD / Factur-X PDF, at most 4 MB decoded; or pass the file as a download\nlink in `file`. A PDF may have at most 500 pages and 16 attachments.\n\nReturns `model` (the invoice as JSON), `detection` (`syntax`, `flavor`,\n`customization_id`) and `source` (\"xml\" or \"pdf-embedded\"). A file that cannot\nbe read fails with an error that starts with an error code, e.g. a PDF without\nembedded XML, a UBL credit note, malformed XML, or a busy (`engine_busy`) or\noverrunning (`engine_timeout`) read.\n\nCredits: 2 per call.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"file": {
"default": null,
"description": "The file as a download link, instead of `invoice_base64`. In ChatGPT, pass the user's uploaded file here. Other clients can set `download_url` to a public https URL.",
"properties": {
"download_url": {
"description": "A public https URL of the file.",
"type": "string"
},
"file_id": {
"description": "An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.",
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
}
},
"required": [
"download_url",
"file_id"
],
"type": "object"
},
"invoice_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The invoice file, base64-encoded. At most 4 MB decoded."
}
},
"type": "object"
},
"name": "parse_invoice",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
},
{
"description": "Render an XML e-invoice (UBL or CII, e.g. XRechnung) as a readable HTML page.\n\ninvowerk uses the KoSIT XRechnung visualization. Use it to show a person what\nan e-invoice contains.\n\nInput: `invoice_base64` is the base64 of the XML, at most 4 MB decoded, or pass\nthe file as a download link in `file`. PDFs are not accepted. `lang` sets the\nlabel language, \"de\" (default) or \"en\".\n\nReturns `html` (a complete HTML document), `lang`, `flavor` (e.g.\n\"xrechnung\") and `syntax` (e.g. \"ubl_invoice\"). A file that is not an XML\ninvoice, malformed XML or XML with a DOCTYPE fails with an error message,\nand so does a busy (`engine_busy`) or overrunning (`engine_timeout`) render.\n\nCredits: 1 per call.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"file": {
"default": null,
"description": "The file as a download link, instead of `invoice_base64`. In ChatGPT, pass the user's uploaded file here. Other clients can set `download_url` to a public https URL.",
"properties": {
"download_url": {
"description": "A public https URL of the file.",
"type": "string"
},
"file_id": {
"description": "An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.",
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
}
},
"required": [
"download_url",
"file_id"
],
"type": "object"
},
"invoice_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The invoice file, base64-encoded. At most 4 MB decoded."
},
"lang": {
"default": "de",
"description": "Language of the labels: \"de\" (default) or \"en\".",
"type": "string"
}
},
"type": "object"
},
"name": "render_invoice",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
},
{
"description": "Check an e-invoice against EN 16931 and German rules.\n\nInput: `invoice_base64` is the base64 of an XML invoice (UBL or CII) or a\nZUGFeRD / Factur-X PDF, at most 4 MB decoded; or pass the file as a download\nlink in `file`. `explain=true` adds an explanation to findings whose rule\nhas one, in `lang` (\"de\" or \"en\").\n\n`valid` is the result. For XRechnung the KoSIT validator decides. If it is\nunreachable, invowerk's own check with the same rules decides,\n`verdict_source` is \"local\" and `official_degraded` is true.\n`disagreement` is true when both ran and differ. `findings` lists each\nproblem with `rule_id`, `severity` and `message`; pass the codes to\n`explain_errors` (free). `pdfa_verdict` is the PDF/A check of a PDF.\n`hints` never change `valid`. Unreadable input returns a finding, not an\nerror. It fails with an error when the check is busy (`engine_busy`), ran\nlonger than 20 s (`engine_timeout`) or the XML has more than 100,000\nelements (`document_too_complex`).\n\nCredits: 1 per call.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"explain": {
"default": false,
"description": "true adds an explanation to each finding whose rule has one.",
"type": "boolean"
},
"file": {
"default": null,
"description": "The file as a download link, instead of `invoice_base64`. In ChatGPT, pass the user's uploaded file here. Other clients can set `download_url` to a public https URL.",
"properties": {
"download_url": {
"description": "A public https URL of the file.",
"type": "string"
},
"file_id": {
"description": "An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.",
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
}
},
"required": [
"download_url",
"file_id"
],
"type": "object"
},
"invoice_base64": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The invoice file, base64-encoded. At most 4 MB decoded."
},
"lang": {
"default": "de",
"description": "Language of the explanations: \"de\" (default) or \"en\".",
"type": "string"
}
},
"type": "object"
},
"name": "validate_invoice",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:405e3e58b03b703038cb2c6a2405ffdc2295a0e6bc0bc79bead96eb30fda303a | sha256sum