MCP 서버

invowerk

dev.invowerk/xrechnung-e-invoice-validator
비즈니스 및 운영 법률 및 컴플라이언스 공개 · 연결 가능 MCP 2025-11-25

이 MCP로 할 수 있는 일

Parses, generates, converts, renders, and validates EN 16931, XRechnung, ZUGFeRD, Factur-X, and Peppol e-invoices.

convert_invoice
Convert an e-invoice between UBL and CII
Convert an e-invoice to UBL or CII. The result is checked before it is returned. Input: `invoice_base64` is the base64 of an XML invoice or a ZUGFeRD / Factur-X PDF, at most 4 MB decoded; or pass the file as a download link in `file`. `target_syntax` is "ubl" or "cii". `target_flavor` is optional, "en16931" or "xrechnung"; without it the flavor of the source is kept. Returns `xml`, `syntax`, `flavor` and `self_validation` (`valid`, `finding_count`). invowerk checks the converted XML before answering and never returns an invalid document. Input that cannot be read or converted fails with an error message. Credits: 3 per call.
읽기 전용 외부 접근 가능
입력 스키마
{'type': 'object', 'required': ['target_syntax'], 'properties': {'file': {'type': 'object', 'default': None, 'required': ['download_url', 'file_id'], 'properties': {'file_id': {'type': 'string', 'description': 'An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.'}, 'file_name': {'type': 'string'}, 'mime_type': {'type': 'string'}, 'download_url': {'type': 'string', 'description': 'A public https URL of the file.'}}, '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."}, 'target_flavor': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None, 'description': 'Optional: "en16931" or "xrechnung". Without it the flavor of the source is kept.'}, 'target_syntax': {'type': 'string', 'description': 'Syntax to convert to: "ubl" or "cii".'}, 'invoice_base64': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None, 'description': 'The invoice file, base64-encoded. At most 4 MB decoded.'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'additionalProperties': True}
explain_errors
Explain error codes
Explain rule codes in plain language. Works without an API key. Covers the codes of `validate_invoice` findings and hints: EN 16931, XRechnung, ZUGFeRD and invowerk's own hint codes (IW-*). Input: `codes` is a list of one or more codes, e.g. ["BR-CO-18", "BR-DE-21"]. Duplicates are removed. `lang` is "de" (default) or "en". Returns `lang` and `explanations`. Each explanation has `title`, `meaning`, `causes`, `fixes`, `severity`, `standard`, `bt_refs`, `xpath_hints` and `explain_url` (the German page for the code). If any code is unknown, the call fails and names the unknown codes. Credits: free. This tool is not metered.
읽기 전용
입력 스키마
{'type': 'object', 'required': ['codes'], 'properties': {'lang': {'type': 'string', 'default': 'de', 'description': 'Language of the explanations: "de" (default) or "en".'}, 'codes': {'type': 'array', 'items': {'type': 'string'}, 'description': 'One or more rule codes from validate_invoice, e.g. ["BR-CO-18", "BR-DE-21"].'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'additionalProperties': True}
generate_invoice
Create an e-invoice from JSON
Create a valid EN 16931 e-invoice (UBL or CII XML) from JSON. Input: `invoice` is a JSON object keyed on EN 16931 Business Terms, the same schema as `POST /v1/generate`, at most 4 MB. Main fields: `syntax` ("ubl" default, or "cii"), `flavor` ("en16931" default, or "xrechnung", which requires `buyer_reference`, the Leitweg-ID BT-10), `invoice_number`, `issue_date` (YYYY-MM-DD), `currency`, `seller`, `buyer`, `lines`, `tax_breakdown`, `totals`. invowerk writes your amounts as given. It does not compute or correct them. Returns `xml`, `syntax`, `flavor` and `self_validation`. invowerk checks the XML before answering and never returns an invalid document. Invalid input, or XML that fails the check, returns an error, as does a busy (`engine_busy`) or overrunning (`engine_timeout`) generate. Credits: 5 per call.
읽기 전용
입력 스키마
{'type': 'object', 'required': ['invoice'], 'properties': {'invoice': {'type': 'object', '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.", 'additionalProperties': True}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'additionalProperties': True}
parse_invoice
Read an e-invoice into JSON
Read an existing e-invoice into JSON keyed on EN 16931 Business Terms. The JSON is the input format of `generate_invoice`, so you can edit it and create the invoice again. Input: `invoice_base64` is the base64 of an XML invoice (UBL or CII) or a ZUGFeRD / Factur-X PDF, at most 4 MB decoded; or pass the file as a download link in `file`. A PDF may have at most 500 pages and 16 attachments. Returns `model` (the invoice as JSON), `detection` (`syntax`, `flavor`, `customization_id`) and `source` ("xml" or "pdf-embedded"). A file that cannot be read fails with an error that starts with an error code, e.g. a PDF without embedded XML, a UBL credit note, malformed XML, or a busy (`engine_busy`) or overrunning (`engine_timeout`) read. Credits: 2 per call.
읽기 전용 외부 접근 가능
입력 스키마
{'type': 'object', 'properties': {'file': {'type': 'object', 'default': None, 'required': ['download_url', 'file_id'], 'properties': {'file_id': {'type': 'string', 'description': 'An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.'}, 'file_name': {'type': 'string'}, 'mime_type': {'type': 'string'}, 'download_url': {'type': 'string', 'description': 'A public https URL of the file.'}}, '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."}, 'invoice_base64': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None, 'description': 'The invoice file, base64-encoded. At most 4 MB decoded.'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'additionalProperties': True}
render_invoice
Render an e-invoice as HTML
Render an XML e-invoice (UBL or CII, e.g. XRechnung) as a readable HTML page. invowerk uses the KoSIT XRechnung visualization. Use it to show a person what an e-invoice contains. Input: `invoice_base64` is the base64 of the XML, at most 4 MB decoded, or pass the file as a download link in `file`. PDFs are not accepted. `lang` sets the label language, "de" (default) or "en". Returns `html` (a complete HTML document), `lang`, `flavor` (e.g. "xrechnung") and `syntax` (e.g. "ubl_invoice"). A file that is not an XML invoice, malformed XML or XML with a DOCTYPE fails with an error message, and so does a busy (`engine_busy`) or overrunning (`engine_timeout`) render. Credits: 1 per call.
읽기 전용 외부 접근 가능
입력 스키마
{'type': 'object', 'properties': {'file': {'type': 'object', 'default': None, 'required': ['download_url', 'file_id'], 'properties': {'file_id': {'type': 'string', 'description': 'An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.'}, 'file_name': {'type': 'string'}, 'mime_type': {'type': 'string'}, 'download_url': {'type': 'string', 'description': 'A public https URL of the file.'}}, '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."}, 'lang': {'type': 'string', 'default': 'de', 'description': 'Language of the labels: "de" (default) or "en".'}, 'invoice_base64': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None, 'description': 'The invoice file, base64-encoded. At most 4 MB decoded.'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'additionalProperties': True}
validate_invoice
Check an e-invoice
Check an e-invoice against EN 16931 and German rules. Input: `invoice_base64` is the base64 of an XML invoice (UBL or CII) or a ZUGFeRD / Factur-X PDF, at most 4 MB decoded; or pass the file as a download link in `file`. `explain=true` adds an explanation to findings whose rule has one, in `lang` ("de" or "en"). `valid` is the result. For XRechnung the KoSIT validator decides. If it is unreachable, invowerk's own check with the same rules decides, `verdict_source` is "local" and `official_degraded` is true. `disagreement` is true when both ran and differ. `findings` lists each problem with `rule_id`, `severity` and `message`; pass the codes to `explain_errors` (free). `pdfa_verdict` is the PDF/A check of a PDF. `hints` never change `valid`. Unreadable input returns a finding, not an error. It fails with an error when the check is busy (`engine_busy`), ran longer than 20 s (`engine_timeout`) or the XML has more than 100,000 elements (`document_too_complex`). Credits: 1 per call.
읽기 전용 외부 접근 가능
입력 스키마
{'type': 'object', 'properties': {'file': {'type': 'object', 'default': None, 'required': ['download_url', 'file_id'], 'properties': {'file_id': {'type': 'string', 'description': 'An identifier for the file. ChatGPT sets it; other clients may pass any label, such as the file name.'}, 'file_name': {'type': 'string'}, 'mime_type': {'type': 'string'}, 'download_url': {'type': 'string', 'description': 'A public https URL of the file.'}}, '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."}, 'lang': {'type': 'string', 'default': 'de', 'description': 'Language of the explanations: "de" (default) or "en".'}, 'explain': {'type': 'boolean', 'default': False, 'description': 'true adds an explanation to each finding whose rule has one.'}, 'invoice_base64': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None, 'description': 'The invoice file, base64-encoded. At most 4 MB decoded.'}}, 'additionalProperties': False}
출력 스키마
{'type': 'object', 'additionalProperties': True}
추가됨
convert_invoice
2026년 10월 2일 2:40 AM
추가됨
parse_invoice
2026년 10월 2일 2:40 AM
추가됨
generate_invoice
2026년 10월 2일 2:40 AM
추가됨
explain_errors
2026년 10월 2일 2:40 AM
추가됨
render_invoice
2026년 10월 2일 2:40 AM
추가됨
validate_invoice
2026년 10월 2일 2:40 AM