InkVoice — XRechnung & E-Invoicing is an MCP server published by net.inkvoice, hosted at api.inkvoice.net. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 5 tools, including create_zugferd, calculate_vat, create_xrechnung, check_leitweg_id, validate_einvoice.
XRechnung and ZUGFeRD e-invoicing (EN 16931): create, validate, check Leitweg-IDs, German VAT.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Builds a ZUGFeRD 2.x / Factur-X hybrid invoice from the same details create_xrechnung takes, and returns it as a PDF file. A hybrid is one invoice stated twice in one file: a PDF/A-3 document a person reads, carrying the same invoice inside it as EN 16931 XML a machine books. This is the format private-sector German B2B buyers generally want, where XRechnung is what public bodies require. If the recipient is a public authority and gave you a Leitweg-ID, you want create_xrechnung instead. The embedded XML declares plain EN 16931 — the profile ZUGFeRD calls COMFORT — not the XRechnung CIUS, because that CIUS is a statement about public-sector procurement. Validation is identical to create_xrechnung, except that the IBAN is optional here (EN 16931 makes BG-16 optional): the same EN 16931 rules are applied before anything is built, and a rejected call names the rules and business terms that failed. What this does NOT do: - The result is a binary PDF returned as an attachment. It is not text and there is nothing useful to read in it — do not try to quote or summarise its contents. Offer it to the user as a file. - It does not validate against veraPDF or the Mustangproject validator. The document is built to be valid PDF/A-3 with the required Factur-X metadata, but that is our reading rather than a validator's verdict. - It handles ONE tax rate and one tax category for the whole invoice, exactly as create_xrechnung does. - It does not send the invoice anywhere, and there is no Peppol. - There is no logo and no custom styling. The PDF uses the default invoice layout. Nothing is stored: no account, no invoice record, no retained personal data.
None yet. Changes appear after a server's second daily check.
| Parameter | Type | Description |
|---|---|---|
| invoice * | object | The invoice to turn into a ZUGFeRD / Factur-X document. |
{
"name": "create_zugferd",
"title": "Create a ZUGFeRD / Factur-X invoice",
"description": "Builds a ZUGFeRD 2.x / Factur-X hybrid invoice from the same details create_xrechnung\ntakes, and returns it as a PDF file.\n\nA hybrid is one invoice stated twice in one file: a PDF/A-3 document a person reads,\ncarrying the same invoice inside it as EN 16931 XML a machine books. This is the\nformat private-sector German B2B buyers generally want, where XRechnung is what public\nbodies require. If the recipient is a public authority and gave you a Leitweg-ID, you\nwant create_xrechnung instead.\n\nThe embedded XML declares plain EN 16931 — the profile ZUGFeRD calls COMFORT — not the\nXRechnung CIUS, because that CIUS is a statement about public-sector procurement.\n\nValidation is identical to create_xrechnung, except that the IBAN is optional here\n(EN 16931 makes BG-16 optional): the same EN 16931 rules are applied before anything\nis built, and a rejected call names the rules and business terms that failed.\n\nWhat this does NOT do:\n- The result is a binary PDF returned as an attachment. It is not text and there is\n nothing useful to read in it — do not try to quote or summarise its contents. Offer\n it to the user as a file.\n- It does not validate against veraPDF or the Mustangproject validator. The document is\n built to be valid PDF/A-3 with the required Factur-X metadata, but that is our\n reading rather than a validator's verdict.\n- It handles ONE tax rate and one tax category for the whole invoice, exactly as\n create_xrechnung does.\n- It does not send the invoice anywhere, and there is no Peppol.\n- There is no logo and no custom styling. The PDF uses the default invoice layout.\n\nNothing is stored: no account, no invoice record, no retained personal data.",
"inputSchema": {
"type": "object",
"required": [
"invoice"
],
"properties": {
"invoice": {
"type": "object",
"required": [
"number",
"issueDate",
"dueDate",
"currency",
"taxRate",
"taxCategoryCode",
"seller",
"buyer",
"lines"
],
"properties": {
"bic": {
"type": [
"string",
"null"
],
"default": null
},
"iban": {
"type": [
"string",
"null"
],
"default": null
},
"buyer": {
"type": "object",
"required": [
"name"
],
"properties": {
"city": {
"type": [
"string",
"null"
],
"default": null
},
"name": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
],
"default": null
},
"phone": {
"type": [
"string",
"null"
],
"default": null
},
"country": {
"type": [
"string",
"null"
],
"default": null
},
"taxNumber": {
"type": [
"string",
"null"
],
"default": null
},
"postalCode": {
"type": [
"string",
"null"
],
"default": null
},
"addressLine": {
"type": [
"string",
"null"
],
"default": null
},
"contactName": {
"type": [
"string",
"null"
],
"default": null
}
}
},
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"quantity",
"unitPrice"
],
"properties": {
"quantity": {
"type": "number"
},
"unitPrice": {
"type": "number"
},
"description": {
"type": "string"
}
}
}
},
"notes": {
"type": [
"string",
"null"
],
"default": null
},
"number": {
"type": "string"
},
"seller": {
"type": "object",
"required": [
"name"
],
"properties": {
"city": {
"type": [
"string",
"null"
],
"default": null
},
"name": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
],
"default": null
},
"phone": {
"type": [
"string",
"null"
],
"default": null
},
"country": {
"type": [
"string",
"null"
],
"default": null
},
"taxNumber": {
"type": [
"string",
"null"
],
"default": null
},
"postalCode": {
"type": [
"string",
"null"
],
"default": null
},
"addressLine": {
"type": [
"string",
"null"
],
"default": null
},
"contactName": {
"type": [
"string",
"null"
],
"default": null
}
}
},
"dueDate": {
"type": "string",
"format": "date"
},
"taxRate": {
"type": "number"
},
"bankName": {
"type": [
"string",
"null"
],
"default": null
},
"currency": {
"type": "string"
},
"issueDate": {
"type": "string",
"format": "date"
},
"reference": {
"type": [
"string",
"null"
],
"default": null
},
"deliveryDate": {
"type": [
"string",
"null"
],
"format": "date",
"default": null
},
"buyerReference": {
"type": [
"string",
"null"
],
"default": null
},
"taxCategoryCode": {
"type": "string"
},
"taxExemptionReason": {
"type": [
"string",
"null"
],
"default": null
}
},
"description": "The invoice to turn into a ZUGFeRD / Factur-X document."
}
}
},
"annotations": {
"title": "Create a ZUGFeRD / Factur-X invoice",
"readOnlyHint": true,
"openWorldHint": false
}
}Converts between net, tax and gross for a given VAT rate, in either direction. Give an amount and say whether it is net or gross, and you get all three figures back rounded to the cent. Germany's rates are 19 % (standard) and 7 % (reduced), but any rate from 0 to 100 is accepted, so this also works for an Austrian or French invoice. Rounding is half-away-from-zero, the convention invoices and tax authorities use, and the three returned figures always reconcile: net plus tax equals gross exactly, with no cent left over from rounding each separately. What this does NOT do: it does not decide which rate applies to a supply, handle more than one rate at a time, or know anything about reverse charge, intra-community supply or the Kleinunternehmer rules. It is arithmetic, not tax advice.
| Parameter | Type | Description |
|---|---|---|
| rate * | number | VAT rate as a percentage, not a fraction: 19 means 19 %, not 1900 %. |
| basis * | string | Whether `amount` is the net figure (add tax to it) or the gross figure (take tax out of it). |
| amount * | number | The amount to convert, in the invoice currency. Must not be negative. |
{
"name": "calculate_vat",
"title": "Calculate German VAT",
"description": "Converts between net, tax and gross for a given VAT rate, in either direction.\n\nGive an amount and say whether it is net or gross, and you get all three figures back\nrounded to the cent. Germany's rates are 19 % (standard) and 7 % (reduced), but any\nrate from 0 to 100 is accepted, so this also works for an Austrian or French invoice.\n\nRounding is half-away-from-zero, the convention invoices and tax authorities use, and\nthe three returned figures always reconcile: net plus tax equals gross exactly, with\nno cent left over from rounding each separately.\n\nWhat this does NOT do: it does not decide which rate applies to a supply, handle more\nthan one rate at a time, or know anything about reverse charge, intra-community supply\nor the Kleinunternehmer rules. It is arithmetic, not tax advice.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"rate",
"basis"
],
"properties": {
"rate": {
"type": "number",
"description": "VAT rate as a percentage, not a fraction: 19 means 19 %, not 1900 %."
},
"basis": {
"enum": [
"Net",
"Gross"
],
"type": "string",
"description": "Whether `amount` is the net figure (add tax to it) or the gross figure (take tax out of it)."
},
"amount": {
"type": "number",
"description": "The amount to convert, in the invoice currency. Must not be negative."
}
}
},
"annotations": {
"title": "Calculate German VAT",
"readOnlyHint": true,
"openWorldHint": false
}
}Builds a German XRechnung 3.x electronic invoice (EN 16931, CII syntax) from invoice details and returns the XML as text. This is the format German public-sector buyers are legally required to receive, and that many private B2B buyers now ask for. The EN 16931 business rules are checked before anything is built, and a rejected call comes back naming the rules that failed and the business term (BT-xx) each concerns. The ones worth getting right up front: tax category S requires a rate above 0 %, categories Z, E and AE require exactly 0 %, E and AE additionally require a stated exemption reason (BT-120), both parties need an email address because XRechnung makes the electronic address (BT-34, BT-49) mandatory, and an IBAN (BT-84) is required, because XRechnung makes payment instructions (BG-16) mandatory (BR-DE-1). For a public-sector buyer, put their Leitweg-ID in buyerReference (BT-10) — check_leitweg_id will verify it first. What this does NOT do: - It does not validate against the KoSIT Prüftool. It applies our reading of EN 16931, which is not the same thing as the Schematron suite a receiving portal runs. Use validate_einvoice for a second look, and the official validator before a deadline. - It does not produce ZUGFeRD or Factur-X. There is no PDF and no embedded XML — this is a bare XML file. Use create_zugferd for the hybrid a private-sector B2B buyer usually wants. - It handles ONE tax rate and one tax category for the whole invoice. A document mixing 19 % and 7 % lines is not expressible here. - It does not send the invoice anywhere, and there is no Peppol. Nothing is stored: no account, no invoice record, no retained personal data.
| Parameter | Type | Description |
|---|---|---|
| invoice * | object | The invoice to turn into an XRechnung document. |
{
"name": "create_xrechnung",
"title": "Create an XRechnung",
"description": "Builds a German XRechnung 3.x electronic invoice (EN 16931, CII syntax) from invoice\ndetails and returns the XML as text. This is the format German public-sector buyers\nare legally required to receive, and that many private B2B buyers now ask for.\n\nThe EN 16931 business rules are checked before anything is built, and a rejected call\ncomes back naming the rules that failed and the business term (BT-xx) each concerns.\nThe ones worth getting right up front: tax category S requires a rate above 0 %,\ncategories Z, E and AE require exactly 0 %, E and AE additionally require a stated\nexemption reason (BT-120), both parties need an email address because XRechnung\nmakes the electronic address (BT-34, BT-49) mandatory, and an IBAN (BT-84) is\nrequired, because XRechnung makes payment instructions (BG-16) mandatory (BR-DE-1).\nFor a public-sector buyer, put their Leitweg-ID in buyerReference (BT-10) —\ncheck_leitweg_id will verify it first.\n\nWhat this does NOT do:\n- It does not validate against the KoSIT Prüftool. It applies our reading of EN 16931,\n which is not the same thing as the Schematron suite a receiving portal runs. Use\n validate_einvoice for a second look, and the official validator before a deadline.\n- It does not produce ZUGFeRD or Factur-X. There is no PDF and no embedded XML — this\n is a bare XML file. Use create_zugferd for the hybrid a private-sector B2B buyer\n usually wants.\n- It handles ONE tax rate and one tax category for the whole invoice. A document\n mixing 19 % and 7 % lines is not expressible here.\n- It does not send the invoice anywhere, and there is no Peppol.\n\nNothing is stored: no account, no invoice record, no retained personal data.",
"inputSchema": {
"type": "object",
"required": [
"invoice"
],
"properties": {
"invoice": {
"type": "object",
"required": [
"number",
"issueDate",
"dueDate",
"currency",
"taxRate",
"taxCategoryCode",
"seller",
"buyer",
"lines"
],
"properties": {
"bic": {
"type": [
"string",
"null"
],
"default": null
},
"iban": {
"type": [
"string",
"null"
],
"default": null
},
"buyer": {
"type": "object",
"required": [
"name"
],
"properties": {
"city": {
"type": [
"string",
"null"
],
"default": null
},
"name": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
],
"default": null
},
"phone": {
"type": [
"string",
"null"
],
"default": null
},
"country": {
"type": [
"string",
"null"
],
"default": null
},
"taxNumber": {
"type": [
"string",
"null"
],
"default": null
},
"postalCode": {
"type": [
"string",
"null"
],
"default": null
},
"addressLine": {
"type": [
"string",
"null"
],
"default": null
},
"contactName": {
"type": [
"string",
"null"
],
"default": null
}
}
},
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"quantity",
"unitPrice"
],
"properties": {
"quantity": {
"type": "number"
},
"unitPrice": {
"type": "number"
},
"description": {
"type": "string"
}
}
}
},
"notes": {
"type": [
"string",
"null"
],
"default": null
},
"number": {
"type": "string"
},
"seller": {
"type": "object",
"required": [
"name"
],
"properties": {
"city": {
"type": [
"string",
"null"
],
"default": null
},
"name": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
],
"default": null
},
"phone": {
"type": [
"string",
"null"
],
"default": null
},
"country": {
"type": [
"string",
"null"
],
"default": null
},
"taxNumber": {
"type": [
"string",
"null"
],
"default": null
},
"postalCode": {
"type": [
"string",
"null"
],
"default": null
},
"addressLine": {
"type": [
"string",
"null"
],
"default": null
},
"contactName": {
"type": [
"string",
"null"
],
"default": null
}
}
},
"dueDate": {
"type": "string",
"format": "date"
},
"taxRate": {
"type": "number"
},
"bankName": {
"type": [
"string",
"null"
],
"default": null
},
"currency": {
"type": "string"
},
"issueDate": {
"type": "string",
"format": "date"
},
"reference": {
"type": [
"string",
"null"
],
"default": null
},
"deliveryDate": {
"type": [
"string",
"null"
],
"format": "date",
"default": null
},
"buyerReference": {
"type": [
"string",
"null"
],
"default": null
},
"taxCategoryCode": {
"type": "string"
},
"taxExemptionReason": {
"type": [
"string",
"null"
],
"default": null
}
},
"description": "The invoice to turn into an XRechnung document."
}
}
},
"annotations": {
"title": "Create an XRechnung",
"readOnlyHint": true,
"openWorldHint": false
}
}Checks a German Leitweg-ID — the routing identifier that goes in BT-10 of an XRechnung to a public authority. An invoice to a German public body with a wrong or missing Leitweg-ID is rejected, so this is worth checking before building a document. It verifies the structure (Grobadressierung of 2 to 12 digits, an optional Feinadressierung of up to 30 alphanumerics, then two check digits) and recomputes the ISO/IEC 7064 MOD 97-10 check digit, the same procedure an IBAN uses. When the check digits are wrong it returns the ones the address parts actually imply, so the value can be corrected rather than merely rejected. It also names the Bundesland the leading two digits point at, or Bund for the federation. One real limit: the check digit is computed over the address parts with the hyphens removed, which is what KoSIT specifies, so it CANNOT detect a hyphen in the wrong place. '04011000-1234512345-06' and '040110001-234512345-06' both pass. That is the specification's behaviour, not a defect here. What this does NOT do: it does not confirm that the ID belongs to a real authority or that they are reachable. It checks the number, not the recipient — there is no directory lookup.
| Parameter | Type | Description |
|---|---|---|
| leitwegId * | string | The Leitweg-ID, e.g. '04011000-1234512345-06'. Surrounding whitespace is ignored. |
{
"name": "check_leitweg_id",
"title": "Check a Leitweg-ID",
"description": "Checks a German Leitweg-ID — the routing identifier that goes in BT-10 of an\nXRechnung to a public authority. An invoice to a German public body with a wrong or\nmissing Leitweg-ID is rejected, so this is worth checking before building a document.\n\nIt verifies the structure (Grobadressierung of 2 to 12 digits, an optional\nFeinadressierung of up to 30 alphanumerics, then two check digits) and recomputes the\nISO/IEC 7064 MOD 97-10 check digit, the same procedure an IBAN uses. When the check\ndigits are wrong it returns the ones the address parts actually imply, so the value\ncan be corrected rather than merely rejected. It also names the Bundesland the leading\ntwo digits point at, or Bund for the federation.\n\nOne real limit: the check digit is computed over the address parts with the hyphens\nremoved, which is what KoSIT specifies, so it CANNOT detect a hyphen in the wrong\nplace. '04011000-1234512345-06' and '040110001-234512345-06' both pass. That is the\nspecification's behaviour, not a defect here.\n\nWhat this does NOT do: it does not confirm that the ID belongs to a real authority or\nthat they are reachable. It checks the number, not the recipient — there is no\ndirectory lookup.",
"inputSchema": {
"type": "object",
"required": [
"leitwegId"
],
"properties": {
"leitwegId": {
"type": "string",
"description": "The Leitweg-ID, e.g. '04011000-1234512345-06'. Surrounding whitespace is ignored."
}
}
},
"annotations": {
"title": "Check a Leitweg-ID",
"readOnlyHint": true,
"openWorldHint": false
}
}Reads an existing electronic invoice and reports what is wrong with it. Accepts XRechnung and ZUGFeRD XML in either EN 16931 syntax — CII (used by XRechnung and ZUGFeRD) and UBL — and reports the syntax and profile it found along with the invoice's key fields, so it also answers "what is this file?". It checks the rules behind most real rejections: BT-10 buyer reference present, and its Leitweg-ID check digit when it looks like one; BT-34 and BT-49 electronic addresses present; tax category S not used at 0 %; BT-120 exemption reason present for categories E and AE; line amounts summing to BT-106; net plus tax equalling the BT-112 gross; BT-115 amount due matching gross less prepaid; and the due date not falling before the issue date. What this does NOT do: - It is NOT the KoSIT Prüftool and is not a substitute for it. It covers the rules that account for most rejections, not the full EN 16931 Schematron suite. A file that passes here can still be rejected by a Rechnungseingangsportal. - It does not check the XSD schema, so a structurally invalid document may parse here. - It reads XML only. A ZUGFeRD PDF must have its embedded XML extracted first — pass the XML, not the PDF. Nothing is stored: the document is parsed in memory and discarded.
| Parameter | Type | Description |
|---|---|---|
| xml * | string | The full XML text of the invoice. For ZUGFeRD, the XML extracted from the PDF, not the PDF itself. |
{
"name": "validate_einvoice",
"title": "Check an e-invoice",
"description": "Reads an existing electronic invoice and reports what is wrong with it. Accepts\nXRechnung and ZUGFeRD XML in either EN 16931 syntax — CII (used by XRechnung and\nZUGFeRD) and UBL — and reports the syntax and profile it found along with the\ninvoice's key fields, so it also answers \"what is this file?\".\n\nIt checks the rules behind most real rejections: BT-10 buyer reference present, and\nits Leitweg-ID check digit when it looks like one; BT-34 and BT-49 electronic\naddresses present; tax category S not used at 0 %; BT-120 exemption reason present\nfor categories E and AE; line amounts summing to BT-106; net plus tax equalling the\nBT-112 gross; BT-115 amount due matching gross less prepaid; and the due date not\nfalling before the issue date.\n\nWhat this does NOT do:\n- It is NOT the KoSIT Prüftool and is not a substitute for it. It covers the rules\n that account for most rejections, not the full EN 16931 Schematron suite. A file\n that passes here can still be rejected by a Rechnungseingangsportal.\n- It does not check the XSD schema, so a structurally invalid document may parse here.\n- It reads XML only. A ZUGFeRD PDF must have its embedded XML extracted first — pass\n the XML, not the PDF.\n\nNothing is stored: the document is parsed in memory and discarded.",
"inputSchema": {
"type": "object",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string",
"description": "The full XML text of the invoice. For ZUGFeRD, the XML extracted from the PDF, not the PDF itself."
}
}
},
"annotations": {
"title": "Check an e-invoice",
"readOnlyHint": true,
"openWorldHint": false
}
}InkVoice provides German e-invoicing tools. They are pure functions: every call answers from its arguments alone, nothing is stored, and no invoice is ever sent to anybody. Choosing between them: - The user has invoice details and needs a document → create_xrechnung for a public-sector buyer, create_zugferd for a private company. That is the distinction that matters and it is about the *recipient*, not the format: public bodies are required to receive XRechnung, private B2B generally wants the ZUGFeRD hybrid. A Leitweg-ID in hand means the buyer is a public authority; ask who the invoice is for rather than guessing. - create_zugferd returns a binary PDF as an attachment. Offer it as a file; do not try to read, quote or summarise its bytes. - The user has an XML file already → validate_einvoice. Do not rebuild it with create_xrechnung to "check" it; that answers a different question. - The user asks about a routing id for a public authority → check_leitweg_id. - Any net/tax/gross arithmetic → calculate_vat rather than doing it yourself, because the rounding convention is what makes the three figures reconcile. Read the inkvoice://knowledge/german-einvoicing resource before advising anyone on whether the mandate applies to them, what must appear on an invoice, or whether a ZUGFeRD profile counts as an e-invoice. It carries the dates and thresholds; guessing them is the common failure here. These tools implement the format and the arithmetic. They do not decide which VAT rate a supply attracts, whether reverse charge applies, or what a Kleinunternehmer must do — say so rather than inferring it.
Names, descriptions and schemas were written by the server and are shown as data.