← Market

Xrechnung Generate

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). Every invoice is checked with the KoSIT validator 1.6.3 and the XRechnung configuration 3.0.2; invoices that are not accepted are not charged and the validator messages are returned.

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

0.005 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.005 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "buyer": {
    "city": "Münster",
    "country": "DE",
    "electronic_address": "991-33333TEST-33",
    "electronic_scheme": "0204",
    "name": "Beispielbehörde",
    "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"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score73 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency30 ms
Paid calls (30d, on-chain)978 calls · 7 buyers · shared price cohort of 1537
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://format.halowerk.com/v1/xrechnung-generate · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "number",
    "issue_date",
    "buyer_reference",
    "seller",
    "buyer",
    "lines",
    "payment"
  ],
  "properties": {
    "number": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    },
    "type_code": {
      "type": "string",
      "enum": [
        "380",
        "381",
        "384",
        "389",
        "326",
        "875",
        "876",
        "877"
      ],
      "default": "380"
    },
    "issue_date": {
      "type": "string",
      "format": "date"
    },
    "due_date": {
      "type": "string",
      "format": "date"
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$",
      "default": "EUR"
    },
    "buyer_reference": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "BT-10, for public buyers the Leitweg-ID."
    },
    "order_reference": {
      "type": "string",
      "maxLength": 100
    },
    "preceding_invoice": {
      "type": "string",
      "maxLength": 100,
      "description": "BT-25, required for credit notes and corrections."
    },
    "note": {
      "type": "string",
      "maxLength": 2000
    },
    "delivery_date": {
      "type": "string",
      "format": "date"
    },
    "seller": {
      "$ref": "#/$defs/partei"
    },
    "buyer": {
      "$ref": "#/$defs/partei"
    },
    "payment": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "means_code"
      ],
      "properties": {
        "means_code": {
          "type": "string",
          "enum": [
            "58",
            "59",
            "30",
            "31",
            "42",
            "48",
            "49",
            "57",
            "1",
            "10",
            "97",
            "ZZZ"
          ]
        },
        "iban": {
          "type": "string",
          "pattern": "^[A-Z]{2}[0-9]{2}[A-Z0-9]{11,30}$"
        },
        "bic": {
          "type": "string",
          "pattern": "^[A-Z0-9]{8}([A-Z0-9]{3})?$"
        },
        "account_name": {
          "type": "string",
          "maxLength": 140
        },
        "terms": {
          "type": "string",
          "maxLength": 500
        },
        "remittance": {
          "type": "string",
          "maxLength": 140
        }
      }
    },
    "lines": {
      "type": "array",
      "minItems": 1,
      "maxItems": 1000,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "name",
          "quantity",
          "unit_code",
          "unit_price",
          "vat_rate"
        ],
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 50
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 500
          },
          "description": {
            "type": "string",
            "maxLength": 2000
          },
          "quantity": {
            "type": "number"
          },
          "unit_code": {
            "type": "string",
            "pattern": "^[A-Z0-9]{2,3}$",
            "description": "UN/ECE Rec 20, e.g. C62 (piece), HUR (hour), DAY, KGM, MTR, LS (lump sum)."
          },
          "unit_price": {
            "type": "number",
            "minimum": 0
          },
          "vat_rate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "vat_category": {
            "type": "string",
            "enum": [
              "S",
              "Z",
              "E",
              "AE",
              "K",
              "G",
              "O"
            ],
            "description": "Default S for rate > 0, else E (requires exemption reason)."
          },
          "vat_exemption_reason": {
            "type": "string",
            "maxLength": 300
          }
        }
      }
    },
    "syntax": {
      "type": "string",
      "enum": [
        "ubl",
        "cii"
      ],
      "default": "ubl"
    }
  }
}
curl -i -X POST 'https://format.halowerk.com/v1/xrechnung-generate' \
  -H 'content-type: application/json' -d '{"number":"RE-2026-0042","issue_date":"2026-10-30","due_date":"2026-11-13","delivery_date":"2026-10-28","buyer_reference":"991-33333TEST-33","seller":{"name":"Beispiel Manufaktur GmbH","street":"Musterweg 1","postcode":"48599","city":"Gronau","country":"DE","vat_id":"DE123456788","electronic_address":"rechnung@beispiel.example","contact_name":"Buchhaltung","contact_phone":"+49 2562 0000","contact_email":"rechnung@beispiel.example"},"buyer":{"name":"Beispielbehörde","street":"Amtsweg 2","postcode":"48143","city":"Münster","country":"DE","electronic_address":"991-33333TEST-33","electronic_scheme":"0204"},"payment":{"means_code":"58","iban":"DE89370400440532013000","terms":"Payable within 14 days without deduction."},"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}],"syntax":"ubl"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)