ToolAssay

Generate a German XRechnung 3.0 e-invoice (UBL or CII) from structured JSON, val

Generate a German XRechnung 3.0 e-invoice (UBL or CII) from structured JSON, validated by the official KoSIT validator before it is returned. Builds an EN 16931 / XRechnung 3.0 invoice in UBL 2.1 or UN/CEFACT CII syntax with seller and buyer electronic addresses, contact, payment means (SEPA credit transfer with IBAN), VAT breakdown per category and rate, and totals rounded per EN 16931 rules (line net = quantity × price, VAT per category = base × rate).

Not tested: has real-world effectsour last check, 2026-11-28
0 of 0checks answered this week
n/amedian answer time
$0.005listed price per call
n/aprice it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://format.halowerk.com/v1/xrechnung-generate

CategoryMarket data
Provider hostformat.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

We never call tools that send, buy, move money or file anything, not even without paying.

Example input (from the provider)

{
  "body": {
    "buyer": {
      "city": "M\u00fcnster",
      "country": "DE",
      "electronic_address": "991-33333TEST-33",
      "electronic_scheme": "0204",
      "name": "Beispielbeh\u00f6rde",
      "postcode": "48143",
      "street": "Amtsweg 2"
    },
    "buyer_reference": "991-33333TEST-33",
    "delivery_date": "2026-10-28",
    "due_date": "2026-11-13",
    "issue_date": "2026-10-30",
    "lines": [
      {
        "name": "Sensor maintenance",
        "quantity": 3,
        "unit_code": "HUR",
        "unit_price": 95,
        "vat_rate": 19
      },
      {
        "name": "Technical handbook",
        "quantity": 1,
        "unit_code": "C62",
        "unit_price": 20,
        "vat_rate": 7
      }
    ],
    "number": "RE-2026-0042",
    "payment": {
      "iban": "DE89370400440532013000",
      "means_code": "58",
      "terms": "Payable within 14 days without deduction."
    },
    "seller": {
      "city": "Gronau",
      "contact_email": "rechnung@beispiel.example",
      "contact_name": "Buchhaltung",
      "contact_phone": "+49 2562 0000",
      "country": "DE",
      "electronic_address": "rechnung@beispiel.example",
      "name": "Beispiel Manufaktur GmbH",
      "postcode": "48599",
      "street": "Musterweg 1",
      "vat_id": "DE123456788"
    },
    "syntax": "ubl"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$defs": {
    "partei": {
      "additionalProperties": false,
      "properties": {
        "city": {
          "maxLength": 100,
          "type": "string"
        },
        "contact_email": {
          "maxLength": 200,
          "type": "string"
        },
        "contact_name": {
          "maxLength": 100,
          "type": "string"
        },
        "contact_phone": {
          "maxLength": 50,
          "type": "string"
        },
        "country": {
          "pattern": "^[A-Z]{2}$",
          "type": "string"
        },
        "electronic_address": {
          "description": "BT-34/BT-49, e-mail address (scheme EM) or Leitweg-ID (scheme 0204).",
          "maxLength": 200,
          "minLength": 3,
          "type": "string"
        },
        "electronic_scheme": {
          "default": "EM",
          "enum": [
            "EM",
            "0204",
            "9930",
            "0088",
            "0060"
          ],
          "type": "string"
        },
        "name": {
          "maxLength": 200,
          "minLength": 1,
          "type": "string"
        },
        "postcode": {
          "maxLength": 20,
          "type": "string"
        },
        "street": {
          "maxLength": 200,
          "type": "string"
        },
        "tax_number": {
          "maxLength": 30,
          "type": "string"
        },
        "vat_id": {
          "pattern": "^[A-Z]{2}[A-Za-z0-9]{2,13}$",
          "type": "string"
        }
      },
      "required": [
        "name",
        "street",
        "postcode",
        "city",
        "country",
        "electronic_address"
      ],
      "type": "object"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "buyer": {
              "$ref": "#/$defs/partei"
            },
            "buyer_reference": {
              "description": "BT-10, for public buyers the Leitweg-ID.",
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            },
            "currency": {
              "default": "EUR",
              "pattern": "^[A-Z]{3}$",
              "type": "string"
            },
            "delivery_date": {
              "format": "date",
              "type": "string"
            },
            "due_date": {
              "format": "date",
              "type": "string"
            },
            "issue_date": {
              "format": "date",
              "type": "string"
            },
            "lines": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "description": {
                    "maxLength": 2000,
                    "type": "string"
                  },
                  "id": {
                    "maxLength": 50,
                    "type": "string"
                  },
                  "name": {
                    "maxLength": 500,
                    "minLength": 1,
                    "type": "string"
                  },
                  "quantity": {
                    "type": "number"
                  },
                  "unit_code": {
                    "description": "UN/ECE Rec 20, e.g. C62 (piece), HUR (hour), DAY, KGM, MTR, LS (lump sum).",
                    "pattern": "^[A-Z0-9]{2,3}$",
                    "type": "string"
                  },
                  "unit_price": {
                    "minimum": 0,
                    "type": "number"
                  },
                  "vat_category": {
                    "description": "Default S for rate > 0, else E (requires exemption reason).",
                    "enum": [
                      "S",
                      "Z",
                      "E",
                      "AE",
                      "K",
                      "G",
                      "O"
                    ],
                    "type": "string"
                  },
                  "vat_exemption_reason": {
                    "maxLength": 300,
                    "type": "string"
                  },
                  "vat_rate": {
                    "maximum": 100,
                    "minimum": 0,
                    "type": "number"
                  }
                },
                "required": [
                  "name",
                  "quantity",
                  "unit_code",
                  "unit_price",
                  "vat_rate"
                ],
                "type": "object"
              },
              "maxItems": 1000,
              "minItems": 1,
              "type": "array"
            },
            "note": {
              "maxLength": 2000,
              "type": "string"
            },
            "number": {
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            },
            "order_reference": {
              "maxLength": 100,
              "type": "string"
            },
            "payment": {
              "additionalProperties": false,
              "properties": {
                "account_name": {
                  "maxLength": 140,
                  "type": "string"
                },
                "bic": {
                  "pattern": "^[A-Z0-9]{8}([A-Z0-9]{3})?$",
                  "type": "string"
                },
                "iban": {
                  "pattern": "^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$",
                  "type": "string"
                },
                "means_code": {
                  "enum": [
                    "58",
                    "59",
                    "30",
                    "31",
                    "42",
                    "48",
                    "49",
                    "57",
                    "1",
                    "10",
                    "97",
                    "ZZZ"
       

This page as JSON