Getting Started

Generate EU-compliant ZUGFeRD/Factur-X invoices with a single API call.

Quick Start

Get your first invoice in 3 steps:

1. Get an API Key

Sign up at envoice.dev and create an API key in your dashboard. Sandbox keys (env_sandbox_*) are free and perfect for testing.

2. Make your first request

curl
curl -X POST https://api.envoice.dev/v1/generate \
  -H "Content-Type: application/json" \
  -H "X-API-Key: env_sandbox_YOUR_KEY" \
  -d '{
    "template": "minimal",
    "locale": "en",
    "invoice": {
      "number": "2026-001",
      "date": "2026-01-15",
      "seller": {
        "name": "Your Company GmbH",
        "street": "Main Street 1",
        "city": "Berlin",
        "postal_code": "10115",
        "country": "DE",
        "vat_id": "DE123456789"
      },
      "buyer": {
        "name": "Customer AG",
        "city": "Munich",
        "country": "DE"
      },
      "items": [
        {
          "description": "Consulting",
          "quantity": 8,
          "unit": "HUR",
          "unit_price": 150.00,
          "vat_rate": 19
        }
      ]
    }
  }'

3. Decode the PDF

The response contains the PDF as Base64. Decode it to get your invoice:

Response
{
  "pdf_base64": "JVBERi0xLjcK...",
  "filename": "rechnung-2026-001.pdf",
  "validation": {
    "status": "valid",
    "profile": "EN16931",
    "version": "2.3"
  },
  "account": {
    "remaining": 499,
    "plan": "starter"
  }
}

What you get

  • PDF/A-3 - Archive-compliant PDF format
  • ZUGFeRD 2.3 / Factur-X - Embedded XML invoice data
  • EN 16931 - European standard compliant
  • Instant validation - Every invoice is validated before delivery

Next Steps