InvoiceIn is an MCP server published by io.github.peculiar-systems, hosted at invoicein-api.peculiar.systems. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 5 tools, including read_invoice, validate_invoice, invoice_to_html, invoice_to_csv, invoice_to_datev.
XRechnung, Factur-X, Peppol, PINT AE, FatturaPA, KSeF → JSON + fix hints. Hosted; MIT=examples only
1 connections through 5 shared values. Tap any node.
Parse one European or UAE (PINT AE) e-invoice into canonical EN 16931 JSON and validate it against the official rule sets in the same call. Use it when you need the invoice content (seller, buyer, lines, totals, payment) together with the verdict; use validate_invoice for a verdict-only answer, invoice_to_html / invoice_to_csv / invoice_to_datev for renderings. Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). Returns the parsed invoice, the validation report with fix hints in `lang`, and timings; an unreadable file returns ok=false with error.code/message/hint instead of raising. A FatturaPA lot returns only its first invoice, with a note. For a Polish KSeF invoice, pass the KSeF number in `ksef`: it is checked against the invoice and returned on payment.ksef_number. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.
| Parameter | Type | Description |
|---|---|---|
| ksef | string | Poland only: the KSeF number the National e-Invoice System gave this invoice — 35 characters, NNNNNNNNNN-RRRRMMDD-FFFFFFFFFFFF-FF — or the collective identifier covering it (NNNNNNNNNN-IZRRRRMM-FFFFFFFFFFFF-FF). KSeF assigns it on acceptance, so it is never inside the FA(2)/FA(3) XML: it arrives bes… |
None yet. Changes appear after a server's second daily check.
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.
| lang | string | Language of the fix hints in the validation report and of the labels in HTML output. Default en. |
| file_base64 * | string | Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open fi… |
{
"name": "read_invoice",
"title": "Read invoice",
"description": "Parse one European or UAE (PINT AE) e-invoice into canonical EN 16931 JSON and validate it against the official rule sets in the same call. Use it when you need the invoice content (seller, buyer, lines, totals, payment) together with the verdict; use validate_invoice for a verdict-only answer, invoice_to_html / invoice_to_csv / invoice_to_datev for renderings. Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). Returns the parsed invoice, the validation report with fix hints in `lang`, and timings; an unreadable file returns ok=false with error.code/message/hint instead of raising. A FatturaPA lot returns only its first invoice, with a note. For a Polish KSeF invoice, pass the KSeF number in `ksef`: it is checked against the invoice and returned on payment.ksef_number. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.",
"inputSchema": {
"type": "object",
"title": "read_invoiceArguments",
"required": [
"file_base64"
],
"properties": {
"ksef": {
"type": "string",
"title": "Ksef",
"default": "",
"description": "Poland only: the KSeF number the National e-Invoice System gave this invoice — 35 characters, NNNNNNNNNN-RRRRMMDD-FFFFFFFFFFFF-FF — or the collective identifier covering it (NNNNNNNNNN-IZRRRRMM-FFFFFFFFFFFF-FF). KSeF assigns it on acceptance, so it is never inside the FA(2)/FA(3) XML: it arrives beside the invoice in the KSeF API response, the UPO or the QR code on a visualisation. Pass it and it is checked against the invoice and returned on payment.ksef_number, the reference a Polish buyer must quote in the bank transfer title from 2027-01-01. Leave empty for invoices from any other country."
},
"lang": {
"enum": [
"en",
"de",
"pl",
"it",
"fr"
],
"type": "string",
"title": "Lang",
"default": "en",
"description": "Language of the fix hints in the validation report and of the labels in HTML output. Default en."
},
"file_base64": {
"type": "string",
"title": "File Base64",
"description": "Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open files on your machine: read the file and send its bytes here."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Issue": {
"type": "object",
"title": "Issue",
"required": [
"id",
"severity",
"message"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "Rule id, e.g. BR-CO-15, BR-DE-2, PEPPOL-EN16931-R040, XSD-UNEXPECTED-ELEMENT"
},
"who": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Who",
"default": null,
"description": "Who has to act: sender or receiver"
},
"hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Hint",
"default": null,
"description": "Plain-language explanation of what the sender must fix, in the requested language"
},
"field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Field",
"default": null,
"description": "Affected canonical field with its EN 16931 BT/BG number"
},
"message": {
"type": "string",
"title": "Message",
"description": "The rule's own message"
},
"severity": {
"type": "string",
"title": "Severity",
"description": "error, warning or info"
}
},
"additionalProperties": true
},
"SourceInfo": {
"type": "object",
"title": "SourceInfo",
"required": [
"syntax",
"format",
"container"
],
"properties": {
"format": {
"type": "string",
"title": "Format",
"description": "Detected format: xrechnung-ubl, xrechnung-cii, ubl, cii, peppol-bis3, zugferd, facturx, fatturapa, ksef-fa3, ksef-fa2"
},
"syntax": {
"type": "string",
"title": "Syntax",
"description": "UBL, CII, FatturaPA or FA3"
},
"profile": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Profile",
"default": null,
"description": "Profile or specification, e.g. 'EN 16931', 'XRechnung 3.0', 'FA (3)'"
},
"container": {
"type": "string",
"title": "Container",
"description": "xml or pdf"
}
},
"additionalProperties": true
},
"Validation": {
"type": "object",
"title": "Validation",
"required": [
"valid",
"errors",
"warnings",
"rule_sets",
"issues"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
},
"title": "Notes",
"description": "Informational notes about the validation run"
},
"valid": {
"type": "boolean",
"title": "Valid",
"description": "True when no rule of severity error failed"
},
"errors": {
"type": "integer",
"title": "Errors",
"description": "Number of failed rules with severity error"
},
"issues": {
"type": "array",
"items": {
"$ref": "#/$defs/Issue"
},
"title": "Issues",
"description": "Failed rules, each with a fix hint"
},
"coverage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Coverage",
"default": "rules",
"description": "'rules' when the business-rule sets ran and `valid` is a verdict; 'schema' when only XSD and arithmetic could run (profile below EN 16931, ZUGFeRD 1.0, FatturaPA, KSeF, unsupported PINT jurisdiction, or Schematron skipped for size) — then valid=true means 'nothing we could check failed', not 'conforms'"
},
"warnings": {
"type": "integer",
"title": "Warnings",
"description": "Number of failed rules with severity warning"
},
"rule_sets": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Rule Sets",
"description": "Rule sets applied, with versions (XSD, EN 16931, XRechnung, Peppol, FatturaPA, KSeF, arithmetic)"
}
},
"additionalProperties": true
}
},
"title": "ReadResult",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean",
"title": "Ok",
"description": "False when the file could not be read; then only `error` is set"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note",
"default": null,
"description": "Set when the file is a lot of several invoices: only the first is returned"
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Error",
"default": null,
"description": "Present when ok is false: code, message, hint"
},
"source": {
"anyOf": [
{
"$ref": "#/$defs/SourceInfo"
},
{
"type": "null"
}
],
"default": null,
"description": "Detected syntax, format, profile and container"
},
"credits": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Credits",
"default": null,
"description": "What this call cost on the hosted server: mode (key or demo) and remaining; without an API key also the daily limit and a note saying where the free key is. Absent when the server runs locally."
},
"invoice": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Invoice",
"default": null,
"description": "Canonical EN 16931 JSON: document, seller, buyer, lines, tax_breakdown, totals, payment, attachments, extensions; field names carry BT/BG numbers in /v1/schema"
},
"timings_ms": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "number"
}
},
{
"type": "null"
}
],
"title": "Timings Ms",
"default": null,
"description": "Processing time per stage: detect, map, validate, total"
},
"validation": {
"anyOf": [
{
"$ref": "#/$defs/Validation"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Validate one European or UAE (PINT AE) e-invoice against the official rule sets (XSD, EN 16931, XRechnung, Peppol BIS, PINT AE, FatturaPA, KSeF, arithmetic) and return the verdict without the invoice body. Use it for pass/fail and the list of errors and warnings; use read_invoice when you also need lines, totals and payment data. Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). Returns the validation report (valid flag, counts, rule sets with versions, failed rules with rule id, severity, fix hint in `lang`, affected field and who must act), the detected source and the document header; an unreadable file returns ok=false with error.code/message/hint instead of raising. For a Polish KSeF invoice, a KSeF number passed in `ksef` is checked too: shape, NIP check digit, and agreement with the invoice it came with. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.
| Parameter | Type | Description |
|---|---|---|
| ksef | string | Poland only: the KSeF number the National e-Invoice System gave this invoice — 35 characters, NNNNNNNNNN-RRRRMMDD-FFFFFFFFFFFF-FF — or the collective identifier covering it (NNNNNNNNNN-IZRRRRMM-FFFFFFFFFFFF-FF). KSeF assigns it on acceptance, so it is never inside the FA(2)/FA(3) XML: it arrives bes… |
| lang | string | Language of the fix hints in the validation report and of the labels in HTML output. Default en. |
| file_base64 * | string | Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open fi… |
{
"name": "validate_invoice",
"title": "Validate invoice",
"description": "Validate one European or UAE (PINT AE) e-invoice against the official rule sets (XSD, EN 16931, XRechnung, Peppol BIS, PINT AE, FatturaPA, KSeF, arithmetic) and return the verdict without the invoice body. Use it for pass/fail and the list of errors and warnings; use read_invoice when you also need lines, totals and payment data. Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). Returns the validation report (valid flag, counts, rule sets with versions, failed rules with rule id, severity, fix hint in `lang`, affected field and who must act), the detected source and the document header; an unreadable file returns ok=false with error.code/message/hint instead of raising. For a Polish KSeF invoice, a KSeF number passed in `ksef` is checked too: shape, NIP check digit, and agreement with the invoice it came with. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.",
"inputSchema": {
"type": "object",
"title": "validate_invoiceArguments",
"required": [
"file_base64"
],
"properties": {
"ksef": {
"type": "string",
"title": "Ksef",
"default": "",
"description": "Poland only: the KSeF number the National e-Invoice System gave this invoice — 35 characters, NNNNNNNNNN-RRRRMMDD-FFFFFFFFFFFF-FF — or the collective identifier covering it (NNNNNNNNNN-IZRRRRMM-FFFFFFFFFFFF-FF). KSeF assigns it on acceptance, so it is never inside the FA(2)/FA(3) XML: it arrives beside the invoice in the KSeF API response, the UPO or the QR code on a visualisation. Pass it and it is checked against the invoice and returned on payment.ksef_number, the reference a Polish buyer must quote in the bank transfer title from 2027-01-01. Leave empty for invoices from any other country."
},
"lang": {
"enum": [
"en",
"de",
"pl",
"it",
"fr"
],
"type": "string",
"title": "Lang",
"default": "en",
"description": "Language of the fix hints in the validation report and of the labels in HTML output. Default en."
},
"file_base64": {
"type": "string",
"title": "File Base64",
"description": "Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open files on your machine: read the file and send its bytes here."
}
}
},
"outputSchema": {
"type": "object",
"$defs": {
"Issue": {
"type": "object",
"title": "Issue",
"required": [
"id",
"severity",
"message"
],
"properties": {
"id": {
"type": "string",
"title": "Id",
"description": "Rule id, e.g. BR-CO-15, BR-DE-2, PEPPOL-EN16931-R040, XSD-UNEXPECTED-ELEMENT"
},
"who": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Who",
"default": null,
"description": "Who has to act: sender or receiver"
},
"hint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Hint",
"default": null,
"description": "Plain-language explanation of what the sender must fix, in the requested language"
},
"field": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Field",
"default": null,
"description": "Affected canonical field with its EN 16931 BT/BG number"
},
"message": {
"type": "string",
"title": "Message",
"description": "The rule's own message"
},
"severity": {
"type": "string",
"title": "Severity",
"description": "error, warning or info"
}
},
"additionalProperties": true
},
"SourceInfo": {
"type": "object",
"title": "SourceInfo",
"required": [
"syntax",
"format",
"container"
],
"properties": {
"format": {
"type": "string",
"title": "Format",
"description": "Detected format: xrechnung-ubl, xrechnung-cii, ubl, cii, peppol-bis3, zugferd, facturx, fatturapa, ksef-fa3, ksef-fa2"
},
"syntax": {
"type": "string",
"title": "Syntax",
"description": "UBL, CII, FatturaPA or FA3"
},
"profile": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Profile",
"default": null,
"description": "Profile or specification, e.g. 'EN 16931', 'XRechnung 3.0', 'FA (3)'"
},
"container": {
"type": "string",
"title": "Container",
"description": "xml or pdf"
}
},
"additionalProperties": true
},
"Validation": {
"type": "object",
"title": "Validation",
"required": [
"valid",
"errors",
"warnings",
"rule_sets",
"issues"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
},
"title": "Notes",
"description": "Informational notes about the validation run"
},
"valid": {
"type": "boolean",
"title": "Valid",
"description": "True when no rule of severity error failed"
},
"errors": {
"type": "integer",
"title": "Errors",
"description": "Number of failed rules with severity error"
},
"issues": {
"type": "array",
"items": {
"$ref": "#/$defs/Issue"
},
"title": "Issues",
"description": "Failed rules, each with a fix hint"
},
"coverage": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Coverage",
"default": "rules",
"description": "'rules' when the business-rule sets ran and `valid` is a verdict; 'schema' when only XSD and arithmetic could run (profile below EN 16931, ZUGFeRD 1.0, FatturaPA, KSeF, unsupported PINT jurisdiction, or Schematron skipped for size) — then valid=true means 'nothing we could check failed', not 'conforms'"
},
"warnings": {
"type": "integer",
"title": "Warnings",
"description": "Number of failed rules with severity warning"
},
"rule_sets": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"title": "Rule Sets",
"description": "Rule sets applied, with versions (XSD, EN 16931, XRechnung, Peppol, FatturaPA, KSeF, arithmetic)"
}
},
"additionalProperties": true
}
},
"title": "ValidateResult",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean",
"title": "Ok",
"description": "False when the file could not be read; then only `error` is set"
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Error",
"default": null,
"description": "Present when ok is false: code, message, hint"
},
"source": {
"anyOf": [
{
"$ref": "#/$defs/SourceInfo"
},
{
"type": "null"
}
],
"default": null,
"description": "Detected syntax, format, profile and container"
},
"credits": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Credits",
"default": null,
"description": "What this call cost on the hosted server: mode (key or demo) and remaining; without an API key also the daily limit and a note saying where the free key is. Absent when the server runs locally."
},
"document": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Document",
"default": null,
"description": "Invoice header: id, issue_date, type_code, currency, due_date …"
},
"validation": {
"anyOf": [
{
"$ref": "#/$defs/Validation"
},
{
"type": "null"
}
],
"default": null
}
},
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Render one European e-invoice as a self-contained, printable HTML page: header, seller and buyer, line items, VAT breakdown, totals and payment details in one layout regardless of the source syntax, labels in `lang`. Use it to show an invoice to a person or to print it to PDF from a browser; it does not validate (use validate_invoice) and is not an accounting export (use invoice_to_csv or invoice_to_datev). Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). Returns the HTML document as one text string with inline CSS and no external assets; an unreadable file returns a tool error with the reason. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.
| Parameter | Type | Description |
|---|---|---|
| ksef | string | Poland only: the KSeF number the National e-Invoice System gave this invoice — 35 characters, NNNNNNNNNN-RRRRMMDD-FFFFFFFFFFFF-FF — or the collective identifier covering it (NNNNNNNNNN-IZRRRRMM-FFFFFFFFFFFF-FF). KSeF assigns it on acceptance, so it is never inside the FA(2)/FA(3) XML: it arrives bes… |
| lang | string | Language of the fix hints in the validation report and of the labels in HTML output. Default en. |
| file_base64 * | string | Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open fi… |
{
"name": "invoice_to_html",
"title": "Render invoice as HTML",
"description": "Render one European e-invoice as a self-contained, printable HTML page: header, seller and buyer, line items, VAT breakdown, totals and payment details in one layout regardless of the source syntax, labels in `lang`. Use it to show an invoice to a person or to print it to PDF from a browser; it does not validate (use validate_invoice) and is not an accounting export (use invoice_to_csv or invoice_to_datev). Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). Returns the HTML document as one text string with inline CSS and no external assets; an unreadable file returns a tool error with the reason. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.",
"inputSchema": {
"type": "object",
"title": "invoice_to_htmlArguments",
"required": [
"file_base64"
],
"properties": {
"ksef": {
"type": "string",
"title": "Ksef",
"default": "",
"description": "Poland only: the KSeF number the National e-Invoice System gave this invoice — 35 characters, NNNNNNNNNN-RRRRMMDD-FFFFFFFFFFFF-FF — or the collective identifier covering it (NNNNNNNNNN-IZRRRRMM-FFFFFFFFFFFF-FF). KSeF assigns it on acceptance, so it is never inside the FA(2)/FA(3) XML: it arrives beside the invoice in the KSeF API response, the UPO or the QR code on a visualisation. Pass it and it is checked against the invoice and returned on payment.ksef_number, the reference a Polish buyer must quote in the bank transfer title from 2027-01-01. Leave empty for invoices from any other country."
},
"lang": {
"enum": [
"en",
"de",
"pl",
"it",
"fr"
],
"type": "string",
"title": "Lang",
"default": "en",
"description": "Language of the fix hints in the validation report and of the labels in HTML output. Default en."
},
"file_base64": {
"type": "string",
"title": "File Base64",
"description": "Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open files on your machine: read the file and send its bytes here."
}
}
},
"outputSchema": {
"type": "object",
"title": "invoice_to_htmlOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Export one European e-invoice as a flat CSV table for a spreadsheet or a database import. Document columns: invoice id, type, issue and due date, currency, seller and buyer name / VAT id / country, buyer and order reference, net / tax / gross / due totals, IBAN, BIC, remittance info, KSeF number, detected format and profile; with level=lines each row adds line id, item name, seller item id, quantity, unit, unit price, net amount, VAT category and rate, note. Use invoice_to_datev for DATEV bookkeeping and read_invoice for the full JSON. Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). A FatturaPA lot yields rows for every invoice in it. Returns the CSV as one text string: comma-separated, header row first, LF line endings, decimal point; an unreadable file returns a tool error with the reason. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.
| Parameter | Type | Description |
|---|---|---|
| ksef | string | Poland only: the KSeF number the National e-Invoice System gave this invoice — 35 characters, NNNNNNNNNN-RRRRMMDD-FFFFFFFFFFFF-FF — or the collective identifier covering it (NNNNNNNNNN-IZRRRRMM-FFFFFFFFFFFF-FF). KSeF assigns it on acceptance, so it is never inside the FA(2)/FA(3) XML: it arrives bes… |
| level | string | 'lines' (default) = one row per line item with the document columns repeated on every row; 'documents' = one row per invoice with the document columns only. |
| file_base64 * | string | Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open fi… |
{
"name": "invoice_to_csv",
"title": "Export invoice as CSV",
"description": "Export one European e-invoice as a flat CSV table for a spreadsheet or a database import. Document columns: invoice id, type, issue and due date, currency, seller and buyer name / VAT id / country, buyer and order reference, net / tax / gross / due totals, IBAN, BIC, remittance info, KSeF number, detected format and profile; with level=lines each row adds line id, item name, seller item id, quantity, unit, unit price, net amount, VAT category and rate, note. Use invoice_to_datev for DATEV bookkeeping and read_invoice for the full JSON. Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). A FatturaPA lot yields rows for every invoice in it. Returns the CSV as one text string: comma-separated, header row first, LF line endings, decimal point; an unreadable file returns a tool error with the reason. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.",
"inputSchema": {
"type": "object",
"title": "invoice_to_csvArguments",
"required": [
"file_base64"
],
"properties": {
"ksef": {
"type": "string",
"title": "Ksef",
"default": "",
"description": "Poland only: the KSeF number the National e-Invoice System gave this invoice — 35 characters, NNNNNNNNNN-RRRRMMDD-FFFFFFFFFFFF-FF — or the collective identifier covering it (NNNNNNNNNN-IZRRRRMM-FFFFFFFFFFFF-FF). KSeF assigns it on acceptance, so it is never inside the FA(2)/FA(3) XML: it arrives beside the invoice in the KSeF API response, the UPO or the QR code on a visualisation. Pass it and it is checked against the invoice and returned on payment.ksef_number, the reference a Polish buyer must quote in the bank transfer title from 2027-01-01. Leave empty for invoices from any other country."
},
"level": {
"enum": [
"lines",
"documents"
],
"type": "string",
"title": "Level",
"default": "lines",
"description": "'lines' (default) = one row per line item with the document columns repeated on every row; 'documents' = one row per invoice with the document columns only."
},
"file_base64": {
"type": "string",
"title": "File Base64",
"description": "Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open files on your machine: read the file and send its bytes here."
}
}
},
"outputSchema": {
"type": "object",
"title": "invoice_to_csvOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Convert one received (purchase) e-invoice into a DATEV Buchungsstapel import file (EXTF format 700) for German bookkeeping in DATEV Kanzlei-Rechnungswesen or Unternehmen online. Use it only for incoming invoices booked on the German side; use invoice_to_csv for a generic table, read_invoice for the raw data, validate_invoice for rule checks (this tool does not validate). Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). Returns the file content as one text string, decoded in UTF-8: the EXTF header line, the DATEV column header, then one booking row per VAT-rate group with the gross amount and S/H flag (H for credit notes), the expense account chosen by rate under the selected SKR (e.g. SKR03 3400 for 19 %, 3300 for 7 %, 3200 for 0 %, 3120 intra-EU, 3425 reverse charge), the creditor account as Gegenkonto, document and due date, invoice number in Belegfeld 1, seller name as Buchungstext and the seller VAT id on intra-EU / reverse-charge rows. Save it as UTF-8 with CRLF before importing; the account mapping is a default to confirm with the tax advisor. An unreadable file returns a tool error with the reason. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.
| Parameter | Type | Description |
|---|---|---|
| skr | string | German standard chart of accounts that selects the expense accounts: '03' = SKR03 (default), '04' = SKR04. |
| file_base64 * | string | Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open fi… |
| creditor_account | string | Creditor account (Kreditor, written as Gegenkonto) the invoice is posted against: 4–9 digits as configured in the DATEV client, e.g. '70000' (default). Use the supplier's creditor number. |
{
"name": "invoice_to_datev",
"title": "Export invoice as DATEV Buchungsstapel",
"description": "Convert one received (purchase) e-invoice into a DATEV Buchungsstapel import file (EXTF format 700) for German bookkeeping in DATEV Kanzlei-Rechnungswesen or Unternehmen online. Use it only for incoming invoices booked on the German side; use invoice_to_csv for a generic table, read_invoice for the raw data, validate_invoice for rule checks (this tool does not validate). Input: XML (UBL, CII, XRechnung, Peppol BIS 3, UAE PINT AE, FatturaPA, KSeF FA(2)/FA(3)) or a ZUGFeRD/Factur-X hybrid PDF up to 25 MB; plain or scanned PDFs without embedded XML are rejected (no OCR). Returns the file content as one text string, decoded in UTF-8: the EXTF header line, the DATEV column header, then one booking row per VAT-rate group with the gross amount and S/H flag (H for credit notes), the expense account chosen by rate under the selected SKR (e.g. SKR03 3400 for 19 %, 3300 for 7 %, 3200 for 0 %, 3120 intra-EU, 3425 reverse charge), the creditor account as Gegenkonto, document and due date, invoice number in Belegfeld 1, seller name as Buchungstext and the seller VAT id on intra-EU / reverse-charge rows. Save it as UTF-8 with CRLF before importing; the account mapping is a default to confirm with the tax advisor. An unreadable file returns a tool error with the reason. Costs one invoice credit per call; without an API key the anonymous quota is 5 invoices per day per IP (a free key gives 100: https://invoicein.peculiar.systems/#get). Nothing is stored.",
"inputSchema": {
"type": "object",
"title": "invoice_to_datevArguments",
"required": [
"file_base64"
],
"properties": {
"skr": {
"enum": [
"03",
"04"
],
"type": "string",
"title": "Skr",
"default": "03",
"description": "German standard chart of accounts that selects the expense accounts: '03' = SKR03 (default), '04' = SKR04."
},
"file_base64": {
"type": "string",
"title": "File Base64",
"description": "Invoice file content, base64-encoded (standard alphabet). Accepted content: XML in UBL 2.1, CII D16B, XRechnung, Peppol BIS Billing 3, FatturaPA 1.2 or KSeF FA(2)/FA(3) syntax, or a ZUGFeRD 1.0/2.x or Factur-X hybrid PDF (the embedded XML is used). Max 25 MB decoded. The hosted server cannot open files on your machine: read the file and send its bytes here."
},
"creditor_account": {
"type": "string",
"title": "Creditor Account",
"default": "70000",
"pattern": "^[0-9]{4,9}$",
"description": "Creditor account (Kreditor, written as Gegenkonto) the invoice is posted against: 4–9 digits as configured in the DATEV client, e.g. '70000' (default). Use the supplier's creditor number."
}
}
},
"outputSchema": {
"type": "object",
"title": "invoice_to_datevOutput",
"required": [
"result"
],
"properties": {
"result": {
"type": "string",
"title": "Result"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}InvoiceIn reads the e-invoices a business receives. Five read-only tools, each taking one invoice file (XML in UBL, CII, XRechnung, Peppol BIS 3, FatturaPA or KSeF syntax, or a ZUGFeRD/Factur-X hybrid PDF) base64-encoded in `file_base64`, up to 25 MB: read_invoice (data + validation), validate_invoice (verdict only), invoice_to_html (printable view), invoice_to_csv (flat table), invoice_to_datev (German bookkeeping import). Every tool call costs one invoice credit; without an API key the anonymous quota is 5 invoices per day per IP. A free key (100 invoices, no card, issued at once): https://invoicein.peculiar.systems/#get - or POST {"email": "you@company.com"} to https://invoicein-api.peculiar.systems/v1/keys. Send it as X-Api-Key. Files are processed in memory and never stored.
Names, descriptions and schemas were written by the server and are shown as data.