format.halowerk.com/v1/xrechnung-generate
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 (lin
POST
https://format.halowerk.com/v1/xrechnung-generateUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://format.halowerk.com/v1/xrechnung-generate", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"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":"),
});
console.log(await res.json());Example input
{"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":"