# E-Invoice-Gen — German E-Invoice Generator (ZUGFeRD/Factur-X)

> E-Invoice-Gen — German E-Invoice Generator (ZUGFeRD/Factur-X) is a paid API for AI agents from 46-224-133-179.sslip.io, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Generates legally compliant German e-invoices in ZUGFeRD/Factur-X PDF/A-3 format (EN 16931) from structured JSON input, computing VAT and totals server-side.

## Facts

- Endpoint: GET https://46-224-133-179.sslip.io/v1/generate
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/e-invoice-gen-german-e-invoice-generator-zugferd-factur-x-9c6c1e31
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__iD77dB7tqcGzz_fWe6zt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability e-invoice-gen-german-e-invoice-generator-zugferd-factur-x-9c6c1e31
```

Example prompt: Generate a ZUGFeRD/Factur-X e-invoice for my company Muster GmbH (Hauptstraße 1, 10115 Berlin, DE, VAT ID DE123456789, IBAN DE89370400440532013000) billing Kunde AG (Bahnhofstraße 5, 80333 München, DE, VAT ID DE987654321) for two line items: 'Software Consulting' 10 hours at €45.00 net (19% VAT) and 'Server Setup' 1 unit at €25.00 net (19% VAT), issued 2026-01-15, due 2026-02-14, invoice number RE-2026-0042.

## When to prefer this

Use this endpoint when you need to generate legally compliant German e-invoices in the structured ZUGFeRD/Factur-X PDF/A-3 format required for EN 16931 compliance, especially for B2B invoicing in Germany or the EU. It is ideal when VAT computation and breakdown should be handled server-side from net prices. Prefer this over generic PDF generators when machine-readable structured invoice XML embedded in the PDF is required.

## Known failure modes

- Missing required seller or buyer fields (company_name, street, zip, city) returns a validation error
- Invalid date format (not YYYY-MM-DD) causes a parsing error
- Malformed line items (missing description, quantity, or unit_price_net) cause rejection
- Invalid currency code returns an error
- Payment failure (x402 USDC payment not completed) returns HTTP 402
- Invalid VAT rate values may cause computation errors

## How this service works

Pay-per-call API (x402, $0.10 USDC on Base): generate legally compliant German e-invoices (ZUGFeRD/Factur-X, EN 16931) from JSON.

## Output

Returns a JSON object containing: a base64-encoded PDF/A-3 file (ZUGFeRD 2.x / Factur-X, EN 16931 profile), the invoice file name, invoice number, and server-computed financial calculations including total net, total VAT, total gross, and a per-rate VAT breakdown.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "buyer": {
   "type": "object",
   "required": [
    "company_name",
    "street",
    "zip",
    "city"
   ],
   "properties": {
    "zip": {
     "type": "string"
    },
    "city": {
     "type": "string"
    },
    "iban": {
     "type": "string",
     "description": "IBAN for payment (seller only)"
    },
    "email": {
     "type": "string"
    },
    "street": {
     "type": "string"
    },
    "tax_id": {
     "type": "string",
     "description": "German tax number (Steuernummer), seller only"
    },
    "ust_id": {
     "type": "string",
     "description": "VAT ID (USt-IdNr.), e.g. DE123456789"
    },
    "company_name": {
     "type": "string",
     "description": "Legal company name"
    },
    "country_code": {
     "type": "string",
     "description": "ISO 3166-1 alpha-2, e.g. DE"
    }
   }
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "description",
     "quantity",
     "unit_price_net"
    ],
    "properties": {
     "quantity": {
      "type": "number"
     },
     "vat_rate": {
      "type": "number",
      "description": "VAT percentage, e.g. 19.0 or 7.0"
     },
     "description": {
      "type": "string"
     },
     "unit_price_net": {
      "type": "number",
      "description": "Net unit price (no VAT)"
     }
    }
   },
   "description": "Invoice line items. Only net unit prices required — totals and VAT are computed server-side."
  },
  "seller": {
   "type": "object",
   "required": [
    "company_name",
    "street",
    "zip",
    "city"
   ],
   "properties": {
    "zip": {
     "type": "string"
    },
    "city": {
     "type": "string"
    },
    "iban": {
     "type": "string",
     "description": "IBAN for payment (seller only)"
    },
    "email": {
     "type": "string"
    },
    "street": {
     "type": "string"
    },
    "tax_id": {
     "type": "string",
     "description": "German tax number (Steuernummer), seller only"
    },
    "ust_id": {
     "type": "string",
     "description": "VAT ID (USt-IdNr.), e.g. DE123456789"
    },
    "company_name": {
     "type": "string",
     "description": "Legal company name"
    },
    "country_code": {
     "type": "string",
     "description": "ISO 3166-1 alpha-2, e.g. DE"
    }
   }
  },
  "currency": {
   "type": "string",
   "description": "ISO 4217, default EUR"
  },
  "due_date": {
   "type": "string",
   "description": "Payment due date, YYYY-MM-DD (optional)"
  },
  "issu
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "success",
  "file_name": "RE-2026-0001.pdf",
  "pdf_base64": "JVBERi0xLjcuLi4 (base64-encoded PDF, truncated)",
  "file_format": "PDF/A-3 (ZUGFeRD 2.x / Factur-X, EN 16931 profile)",
  "calculations": {
   "total_net": 475,
   "total_vat": 90.25,
   "total_gross": 565.25,
   "vat_breakdown": [
    {
     "vat_rate": 19,
     "vat_amount": 90.25,
     "taxable_amount": 475
    }
   ]
  },
  "invoice_number": "RE-2026-0001"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/e-invoice-gen-german-e-invoice-generator-zugferd-factur-x-9c6c1e31/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 46-224-133-179.sslip.io](https://www.zero.xyz/host/46-224-133-179.sslip.io/llms.txt)
