Validate, read and explain ZUGFeRD/XRechnung e-invoices; issue invoices via a FaeBill account.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
General information on German B2B e-invoicing obligations (§ 14 UStG as amended by the Wachstumschancengesetz, § 27 Abs. 38 UStG transition rules, administrative guidance as of the ruleset date) based on the details provided. Returns applicable dates, legal basis and caveats. Not legal or tax advice and not an assessment of the individual case.
Art des Käufers: `business` = Unternehmer, `consumer` = Verbraucher (Privatperson), `public_sector` = öffentlicher Auftraggeber (Behörde, Kommune, sonstige öffentliche Stelle).
Land, in dem der Rechnungsaussteller ansässig ist (Sitz, Geschäftsleitung oder an dem Umsatz beteiligte Betriebsstätte; ohne Sitz: Wohnsitz oder gewöhnlicher Aufenthalt), als ISO-3166-1-Alpha-2-Code, z. B. DE.
Sprache der Antwort (`de` oder `en`).
Datum, für das die Termine eingeordnet werden sollen (JJJJ-MM-TT). Ohne Angabe gilt das heutige Datum (Europe/Berlin). Rechtsänderungen nach dem Rechtsstand der Regeldatei sind nicht berücksichtigt.
Kalenderjahr, auf das sich `priorYearRevenueEur` bezieht. Ohne Angabe wird das Vorjahr des Abfragedatums angenommen.
Land, in dem der Käufer ansässig ist, als ISO-3166-1-Alpha-2-Code. Hat ein ausländischer Käufer eine an dem Umsatz beteiligte Betriebsstätte im Inland, DE angeben.
`true`, wenn die abgefragte Rechnung ein Fahrausweis für die Beförderung von Personen (§ 34 UStDV) oder ein Beleg im Reisegepäckverkehr ist.
`true`, wenn der Rechnungsaussteller die Kleinunternehmerregelung nach § 19 Abs. 1 UStG anwendet (nicht bei Verzicht nach § 19 Abs. 3 UStG).
`true`, wenn der Leistungsempfänger für die abgerechnete Leistung die Steuer schuldet (§ 13b UStG).
`true`, wenn die Rechnung mit Zustimmung des Empfängers im EDI-Verfahren nach Artikel 2 der Empfehlung 94/820/EG übermittelt wird.
Gesamtumsatz des Rechnungsausstellers nach § 19 Abs. 2 UStG in Euro für das Jahr in `revenueYear`. Für die Übergangsregel 2027 zählt der Gesamtumsatz 2026. Nicht der Nettoumsatz aus der Buchhaltung.
`true`, wenn der Käufer die Leistung für sein Unternehmen bezieht, `false`, wenn nicht. Ohne Angabe wird `true` angenommen und als Annahme ausgewiesen.
Gesamtbetrag der abgefragten Rechnung einschließlich Umsatzsteuer in Euro.
`true`, wenn **alle** mit der abgefragten Rechnung abgerechneten Umsätze nach § 4 Nr. 8 bis 29 UStG steuerfrei sind. `false` bei teilweise steuerpflichtigen Umsätzen oder bei Verzicht auf die Steuerbefreiung nach § 9 UStG.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http e-rechnung https://mcp.faebill.com/mcp
General information on German B2B e-invoicing obligations (§ 14 UStG as amended by the Wachstumschancengesetz, § 27 Abs. 38 UStG transition rules, administrative guidance as of the ruleset date) based on the details provided. Returns applicable dates, legal basis and caveats. Not legal or tax advice and not an assessment of the individual case.
| Argument | Type | Description |
|---|---|---|
| locale | string | Sprache der Antwort (`de` oder `en`). |
| asOfDate | string | Datum, für das die Termine eingeordnet werden sollen (JJJJ-MM-TT). Ohne Angabe gilt das heutige Datum (Europe/Berlin). Rechtsänderungen nach dem Rechtsstand der Regeldatei sind nicht berücksichtigt. |
| buyerType* | string | Art des Käufers: `business` = Unternehmer, `consumer` = Verbraucher (Privatperson), `public_sector` = öffentlicher Auftraggeber (Behörde, Kommune, sonstige öffentliche Stelle). |
| revenueYear | integer | Kalenderjahr, auf das sich `priorYearRevenueEur` bezieht. Ohne Angabe wird das Vorjahr des Abfragedatums angenommen. |
| buyerCountry | string | Land, in dem der Käufer ansässig ist, als ISO-3166-1-Alpha-2-Code. Hat ein ausländischer Käufer eine an dem Umsatz beteiligte Betriebsstätte im Inland, DE angeben. |
| sellerCountry* | string | Land, in dem der Rechnungsaussteller ansässig ist (Sitz, Geschäftsleitung oder an dem Umsatz beteiligte Betriebsstätte; ohne Sitz: Wohnsitz oder gewöhnlicher Aufenthalt), als ISO-3166-1-Alpha-2-Code, z. B. DE. |
| isTravelTicket | boolean | `true`, wenn die abgefragte Rechnung ein Fahrausweis für die Beförderung von Personen (§ 34 UStDV) oder ein Beleg im Reisegepäckverkehr ist. |
| isSmallBusiness | boolean | `true`, wenn der Rechnungsaussteller die Kleinunternehmerregelung nach § 19 Abs. 1 UStG anwendet (nicht bei Verzicht nach § 19 Abs. 3 UStG). |
| isReverseCharge13b | boolean | `true`, wenn der Leistungsempfänger für die abgerechnete Leistung die Steuer schuldet (§ 13b UStG). |
| usesEdiWithConsent | boolean | `true`, wenn die Rechnung mit Zustimmung des Empfängers im EDI-Verfahren nach Artikel 2 der Empfehlung 94/820/EG übermittelt wird. |
| priorYearRevenueEur | number | Gesamtumsatz des Rechnungsausstellers nach § 19 Abs. 2 UStG in Euro für das Jahr in `revenueYear`. Für die Übergangsregel 2027 zählt der Gesamtumsatz 2026. Nicht der Nettoumsatz aus der Buchhaltung. |
| buyerActsForBusiness | boolean | `true`, wenn der Käufer die Leistung für sein Unternehmen bezieht, `false`, wenn nicht. Ohne Angabe wird `true` angenommen und als Annahme ausgewiesen. |
| invoiceGrossAmountEur | number | Gesamtbetrag der abgefragten Rechnung einschließlich Umsatzsteuer in Euro. |
| exemptUnderSection4No8to29 | boolean | `true`, wenn **alle** mit der abgefragten Rechnung abgerechneten Umsätze nach § 4 Nr. 8 bis 29 UStG steuerfrei sind. `false` bei teilweise steuerpflichtigen Umsätzen oder bei Verzicht auf die Steuerbefreiung nach § 9 UStG. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"sellerCountry",
"buyerType"
],
"properties": {
"locale": {
"enum": [
"de",
"en"
],
"type": "string",
"description": "Sprache der Antwort (`de` oder `en`)."
},
"asOfDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Datum, für das die Termine eingeordnet werden sollen (JJJJ-MM-TT). Ohne Angabe gilt das heutige Datum (Europe/Berlin). Rechtsänderungen nach dem Rechtsstand der Regeldatei sind nicht berücksichtigt."
},
"buyerType": {
"enum": [
"business",
"consumer",
"public_sector"
],
"type": "string",
"description": "Art des Käufers: `business` = Unternehmer, `consumer` = Verbraucher (Privatperson), `public_sector` = öffentlicher Auftraggeber (Behörde, Kommune, sonstige öffentliche Stelle)."
},
"revenueYear": {
"type": "integer",
"maximum": 2100,
"minimum": 2000,
"description": "Kalenderjahr, auf das sich `priorYearRevenueEur` bezieht. Ohne Angabe wird das Vorjahr des Abfragedatums angenommen."
},
"buyerCountry": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "Land, in dem der Käufer ansässig ist, als ISO-3166-1-Alpha-2-Code. Hat ein ausländischer Käufer eine an dem Umsatz beteiligte Betriebsstätte im Inland, DE angeben."
},
"sellerCountry": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "Land, in dem der Rechnungsaussteller ansässig ist (Sitz, Geschäftsleitung oder an dem Umsatz beteiligte Betriebsstätte; ohne Sitz: Wohnsitz oder gewöhnlicher Aufenthalt), als ISO-3166-1-Alpha-2-Code, z. B. DE."
},
"isTravelTicket": {
"type": "boolean",
"description": "`true`, wenn die abgefragte Rechnung ein Fahrausweis für die Beförderung von Personen (§ 34 UStDV) oder ein Beleg im Reisegepäckverkehr ist."
},
"isSmallBusiness": {
"type": "boolean",
"description": "`true`, wenn der Rechnungsaussteller die Kleinunternehmerregelung nach § 19 Abs. 1 UStG anwendet (nicht bei Verzicht nach § 19 Abs. 3 UStG)."
},
"isReverseCharge13b": {
"type": "boolean",
"description": "`true`, wenn der Leistungsempfänger für die abgerechnete Leistung die Steuer schuldet (§ 13b UStG)."
},
"usesEdiWithConsent": {
"type": "boolean",
"description": "`true`, wenn die Rechnung mit Zustimmung des Empfängers im EDI-Verfahren nach Artikel 2 der Empfehlung 94/820/EG übermittelt wird."
},
"priorYearRevenueEur": {
"type": "number",
"maximum": 10000000000000,
"minimum": 0,
"description": "Gesamtumsatz des Rechnungsausstellers nach § 19 Abs. 2 UStG in Euro für das Jahr in `revenueYear`. Für die Übergangsregel 2027 zählt der Gesamtumsatz 2026. Nicht der Nettoumsatz aus der Buchhaltung."
},
"buyerActsForBusiness": {
"type": "boolean",
"description": "`true`, wenn der Käufer die Leistung für sein Unternehmen bezieht, `false`, wenn nicht. Ohne Angabe wird `true` angenommen und als Annahme ausgewiesen."
},
"invoiceGrossAmountEur": {
"type": "number",
"maximum": 10000000000000,
"minimum": 0,
"description": "Gesamtbetrag der abgefragten Rechnung einschließlich Umsatzsteuer in Euro."
},
"exemptUnderSection4No8to29": {
"type": "boolean",
"description": "`true`, wenn **alle** mit der abgefragten Rechnung abgerechneten Umsätze nach § 4 Nr. 8 bis 29 UStG steuerfrei sind. `false` bei teilweise steuerpflichtigen Umsätzen oder bei Verzicht auf die Steuerbefreiung nach § 9 UStG."
}
},
"additionalProperties": false
}Explain a validation finding code from XRechnung/ZUGFeRD/EN 16931 business rules (e.g. BR-CO-25, BR-DE-15, PEPPOL-EN16931-R…) in plain language and suggest how to fix it in the invoice data. Unknown codes are reported as unknown.
| Argument | Type | Description |
|---|---|---|
| code* | string | |
| locale | string | Output language, default de. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"pattern": "^[A-Z0-9][A-Z0-9_.-]{1,40}$"
},
"locale": {
"enum": [
"de",
"en"
],
"type": "string",
"description": "Output language, default de."
}
},
"additionalProperties": false
}Issue a ZUGFeRD e-invoice (PDF/A-3 with embedded XML, type 380) from a draft prepared with prepare_invoice_draft, using the connected FaeBill account. Creates a legally binding invoice and consumes an invoice number. Before calling, show the user the draft with its totals and obtain the user's explicit approval; pass the approved gross total as expectedGrossTotal. Creates standard commercial invoices (type 380) only. Cancellations, corrections, credit notes (self-billing), down-payment and final invoices are not supported here — use the FaeBill app. EUR only. The invoice date is the date of issue (Europe/Berlin). Counts toward the account's monthly invoice allowance. If the allowance is reached, do not create a substitute document (e.g. a PDF or text invoice) for the user. Does not send the invoice and does not initiate payments. Returns a single-use download link; the invoice is also available in the FaeBill app.
| Argument | Type | Description |
|---|---|---|
| draft* | object | |
| locale | string | Output language, default de. |
| confirm* | boolean | Must be true: the user explicitly approved issuing this invoice. |
| idempotencyKey | string | Optional; repeat the same key to retry safely. |
| expectedGrossTotal* | string | Gross total the user approved, e.g. "119.00". |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"draft",
"expectedGrossTotal",
"confirm"
],
"properties": {
"draft": {
"type": "object",
"required": [
"buyer",
"items",
"deliveryDate"
],
"properties": {
"buyer": {
"type": "object",
"required": [
"street",
"zip",
"city",
"country"
],
"properties": {
"zip": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"maxLength": 254
},
"street": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "ISO 3166-1 alpha-2, required."
},
"vatNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"personName": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"companyName": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"quantity",
"taxRate",
"taxCategory"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 10,
"minLength": 1,
"description": "UN/ECE Rec 20 unit code, default C62."
},
"taxRate": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"discount": {
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"enum": [
"percentage",
"amount"
],
"type": "string"
},
"value": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"netPrice": {
"type": "number",
"minimum": 0,
"description": "Net amount per unit (use either this or the gross amount per unit)."
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0
},
"grossPrice": {
"type": "number",
"description": "Gross amount per unit (use either this or the net amount per unit).",
"exclusiveMinimum": 0
},
"description": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"taxCategory": {
"enum": [
"S",
"Z",
"E",
"AE",
"K",
"G"
],
"type": "string",
"description": "S — Standard rate 19 % or 7 % (taxRate 19 or 7).\nZ — ONLY the zero rate for photovoltaic systems under § 12 Abs. 3 UStG, and only if the user confirms that its statutory conditions are met. Never for foreign or tax-exempt sales.\nE — Tax-exempt under § 4 UStG; exemptionReason naming the specific provision (e.g. „§ 4 Nr. 21 UStG“) is required.\nAE — Reverse charge: either the recipient owes the tax under § 13b UStG, or the service is a B2B service to a business customer in another EU member state (place of supply § 3a Abs. 2 UStG; invoice note § 14a Abs. 1 UStG); buyer VAT ID required.\nK — Intra-Community supply of goods (§ 4 Nr. 1b in conjunction with § 6a UStG); VAT IDs of seller and buyer required; buyer in another EU member state.\nG — Export delivery to a non-EU country (§ 4 Nr. 1a in conjunction with § 6 UStG)."
},
"exemptionReason": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1
},
"notes": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"skonto": {
"type": "object",
"required": [
"percentage",
"days"
],
"properties": {
"days": {
"type": "integer",
"maximum": 90,
"minimum": 1
},
"percentage": {
"type": "number",
"maximum": 10,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"dueDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"subject": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"currency": {
"type": "string",
"const": "EUR"
},
"buyerType": {
"enum": [
"business",
"consumer",
"public_sector"
],
"type": "string"
},
"deliveryDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Delivery/service date (BT-72), required."
},
"paymentTerms": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"documentLanguage": {
"enum": [
"de",
"en",
"fr",
"it",
"es"
],
"type": "string"
},
"documentAllowances": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"value",
"reason"
],
"properties": {
"type": {
"enum": [
"percentage",
"amount"
],
"type": "string"
},
"value": {
"type": "number",
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"taxRate": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "VAT rate of the line items this allowance reduces (BT-96)."
},
"taxCategory": {
"enum": [
"S",
"Z",
"E",
"AE",
"K",
"G"
],
"type": "string",
"description": "S — Standard rate 19 % or 7 % (taxRate 19 or 7).\nZ — ONLY the zero rate for photovoltaic systems under § 12 Abs. 3 UStG, and only if the user confirms that its statutory conditions are met. Never for foreign or tax-exempt sales.\nE — Tax-exempt under § 4 UStG; exemptionReason naming the specific provision (e.g. „§ 4 Nr. 21 UStG“) is required.\nAE — Reverse charge: either the recipient owes the tax under § 13b UStG, or the service is a B2B service to a business customer in another EU member state (place of supply § 3a Abs. 2 UStG; invoice note § 14a Abs. 1 UStG); buyer VAT ID required.\nK — Intra-Community supply of goods (§ 4 Nr. 1b in conjunction with § 6a UStG); VAT IDs of seller and buyer required; buyer in another EU member state.\nG — Export delivery to a non-EU country (§ 4 Nr. 1a in conjunction with § 6 UStG)."
}
},
"additionalProperties": false
},
"maxItems": 10
}
},
"additionalProperties": false
},
"locale": {
"enum": [
"de",
"en"
],
"type": "string",
"description": "Output language, default de."
},
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true: the user explicitly approved issuing this invoice."
},
"idempotencyKey": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]{1,128}$",
"description": "Optional; repeat the same key to retry safely."
},
"expectedGrossTotal": {
"type": "string",
"pattern": "^\\d{1,9}\\.\\d{2}$",
"description": "Gross total the user approved, e.g. \"119.00\"."
}
},
"additionalProperties": false
}Prepare a draft for a new standard e-invoice and check it: normalises buyer, line items, dates and payment terms, calculates net/VAT/gross totals and lists missing or implausible fields. The result is a draft, not an invoice: do not present it as an invoice and do not send it. Nothing is saved and no invoice number is assigned. Creates standard commercial invoices (type 380) only. Cancellations, corrections, credit notes (self-billing), down-payment and final invoices are not supported here — use the FaeBill app. Invoices to public authorities (XRechnung with Leitweg-ID) must be created in the FaeBill app. EUR only. The invoice date is set by FaeBill at issue (Europe/Berlin) and cannot be chosen. Choose taxCategory per line exactly as described; if the seller is a small business (§ 19 UStG), FaeBill sets the tax category itself — do not apply your own small-business logic. Pass the returned draft unchanged to finalize_invoice after the user has approved draft and totals.
| Argument | Type | Description |
|---|---|---|
| buyer* | object | |
| items* | array | |
| notes | string | |
| locale | string | Output language, default de. |
| skonto | object | |
| dueDate | string | |
Read the structured data of an electronic invoice (ZUGFeRD/Factur-X PDF or XRechnung XML). Facts are taken from the embedded XML, which is the leading part of a hybrid invoice; no PDF text is extracted. A PDF without XML contains no structured invoice data. Contact details and bank account data are omitted unless requested via `include`. Says nothing about input-tax deduction. FaeBill does not store the file.
| Argument | Type | Description |
|---|---|---|
| locale | string | Output language, default de. |
| include | array | Optional groups: payment (bank account), contacts (e-mail/phone). |
| filename | string | |
| fileBase64* | string | File content (PDF or XML), base64, max 8 MB decoded. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"fileBase64"
],
"properties": {
"locale": {
"enum": [
"de",
"en"
],
"type": "string",
"description": "Output language, default de."
},
"include": {
"type": "array",
"items": {
"enum": [
"payment",
"contacts"
],
"type": "string"
},
"maxItems": 2,
"description": "Optional groups: payment (bank account), contacts (e-mail/phone)."
},
"filename": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"fileBase64": {
"type": "string",
"maxLength": 11184812,
"minLength": 1,
"description": "File content (PDF or XML), base64, max 8 MB decoded."
}
},
"additionalProperties": false
}Technically check a German/EU electronic invoice (ZUGFeRD, Factur-X, XRechnung UBL or CII) from a PDF or XML file. Detects format and profile, checks the XML schema and selected business rules, optionally runs the open-source KoSIT validation tool (XRechnung configuration), and reports findings with severity and location. Always state the check scope from the `wording` field when summarising. A result without errors does not mean the invoice meets all legal requirements. Does not store the file.
| Argument | Type | Description |
|---|---|---|
| locale | string | Output language, default de. |
| filename | string | |
| fileBase64* | string | File content (PDF or XML), base64, max 8 MB decoded. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"fileBase64"
],
"properties": {
"locale": {
"enum": [
"de",
"en"
],
"type": "string",
"description": "Output language, default de."
},
"filename": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"fileBase64": {
"type": "string",
"maxLength": 11184812,
"minLength": 1,
"description": "File content (PDF or XML), base64, max 8 MB decoded."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 30, 2026.
| subject |
| string |
| currency | string |
| buyerType | string |
| deliveryDate* | string | Delivery/service date (BT-72), required. |
| paymentTerms | string |
| documentLanguage | string |
| documentAllowances | array |
| sellerIsSmallBusiness | boolean |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"buyer",
"items",
"deliveryDate"
],
"properties": {
"buyer": {
"type": "object",
"required": [
"street",
"zip",
"city",
"country"
],
"properties": {
"zip": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"city": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"maxLength": 254
},
"street": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$",
"description": "ISO 3166-1 alpha-2, required."
},
"vatNumber": {
"type": "string",
"maxLength": 20,
"minLength": 1
},
"personName": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"companyName": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"description",
"quantity",
"taxRate",
"taxCategory"
],
"properties": {
"unit": {
"type": "string",
"maxLength": 10,
"minLength": 1,
"description": "UN/ECE Rec 20 unit code, default C62."
},
"taxRate": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"discount": {
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"enum": [
"percentage",
"amount"
],
"type": "string"
},
"value": {
"type": "number",
"minimum": 0
}
},
"additionalProperties": false
},
"netPrice": {
"type": "number",
"minimum": 0,
"description": "Net amount per unit (use either this or the gross amount per unit)."
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0
},
"grossPrice": {
"type": "number",
"description": "Gross amount per unit (use either this or the net amount per unit).",
"exclusiveMinimum": 0
},
"description": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"taxCategory": {
"enum": [
"S",
"Z",
"E",
"AE",
"K",
"G"
],
"type": "string",
"description": "S — Standard rate 19 % or 7 % (taxRate 19 or 7).\nZ — ONLY the zero rate for photovoltaic systems under § 12 Abs. 3 UStG, and only if the user confirms that its statutory conditions are met. Never for foreign or tax-exempt sales.\nE — Tax-exempt under § 4 UStG; exemptionReason naming the specific provision (e.g. „§ 4 Nr. 21 UStG“) is required.\nAE — Reverse charge: either the recipient owes the tax under § 13b UStG, or the service is a B2B service to a business customer in another EU member state (place of supply § 3a Abs. 2 UStG; invoice note § 14a Abs. 1 UStG); buyer VAT ID required.\nK — Intra-Community supply of goods (§ 4 Nr. 1b in conjunction with § 6a UStG); VAT IDs of seller and buyer required; buyer in another EU member state.\nG — Export delivery to a non-EU country (§ 4 Nr. 1a in conjunction with § 6 UStG)."
},
"exemptionReason": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1
},
"notes": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"locale": {
"enum": [
"de",
"en"
],
"type": "string",
"description": "Output language, default de."
},
"skonto": {
"type": "object",
"required": [
"percentage",
"days"
],
"properties": {
"days": {
"type": "integer",
"maximum": 90,
"minimum": 1
},
"percentage": {
"type": "number",
"maximum": 10,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"dueDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"subject": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"buyerType": {
"enum": [
"business",
"consumer",
"public_sector"
],
"type": "string"
},
"deliveryDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Delivery/service date (BT-72), required."
},
"paymentTerms": {
"type": "string",
"maxLength": 500,
"minLength": 1
},
"documentLanguage": {
"enum": [
"de",
"en",
"fr",
"it",
"es"
],
"type": "string"
},
"documentAllowances": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"value",
"reason"
],
"properties": {
"type": {
"enum": [
"percentage",
"amount"
],
"type": "string"
},
"value": {
"type": "number",
"minimum": 0
},
"reason": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"taxRate": {
"type": "number",
"maximum": 100,
"minimum": 0,
"description": "VAT rate of the line items this allowance reduces (BT-96)."
},
"taxCategory": {
"enum": [
"S",
"Z",
"E",
"AE",
"K",
"G"
],
"type": "string",
"description": "S — Standard rate 19 % or 7 % (taxRate 19 or 7).\nZ — ONLY the zero rate for photovoltaic systems under § 12 Abs. 3 UStG, and only if the user confirms that its statutory conditions are met. Never for foreign or tax-exempt sales.\nE — Tax-exempt under § 4 UStG; exemptionReason naming the specific provision (e.g. „§ 4 Nr. 21 UStG“) is required.\nAE — Reverse charge: either the recipient owes the tax under § 13b UStG, or the service is a B2B service to a business customer in another EU member state (place of supply § 3a Abs. 2 UStG; invoice note § 14a Abs. 1 UStG); buyer VAT ID required.\nK — Intra-Community supply of goods (§ 4 Nr. 1b in conjunction with § 6a UStG); VAT IDs of seller and buyer required; buyer in another EU member state.\nG — Export delivery to a non-EU country (§ 4 Nr. 1a in conjunction with § 6 UStG)."
}
},
"additionalProperties": false
},
"maxItems": 10
},
"sellerIsSmallBusiness": {
"type": "boolean"
}
},
"additionalProperties": false
}