Planned Q4/2026

Visualizer API

Render e-invoices as professional PDFs or HTML views. With custom templates, branding and multi-language support.

In Development

Coming Soon

The Visualizer API is in active development and is expected to be released in Q4/2026. Sign up to be notified.

API Preview

This is how the Visualizer API is expected to work:

typescript
1// Geplante API — POST /api/v1/invoice/render
2const response = await fetch('https://service.invoice-api.xhub.io/api/v1/invoice/render', {
3 method: 'POST',
4 headers: {
5 'Authorization': 'Bearer sk_live_...',
6 'Content-Type': 'application/json'
7 },
8 body: JSON.stringify({
9 invoice: { /* ... siehe /docs/api/schema ... */ },
10 template: 'modern',
11 format: 'pdf',
12 options: {
13 logo: 'https://example.com/logo.png',
14 primaryColor: '#4F46E5',
15 language: 'de'
16 }
17 })
18});
19 
20const result = await response.json();
21console.log(result.mimeType); // "application/pdf"
22console.log(result.filename); // "RE-2026-0042.pdf"
23console.log(result.hash); // 64 Hex-Zeichen, SHA-256 des Dokuments
24// Das Dokument selbst steht Base64-kodiert in result.data — es gibt keine
25// Download-URL, weil die API nichts speichert.
26const pdf = Buffer.from(result.data, 'base64');

Planned Templates

Modern

Minimalist, modern design

Classic

Traditional invoice layout

Compact

Space-saving for many line items

Custom

Upload your own template

Planned Features

PDF Generation

Render e-invoices as professional PDF documents with your own branding

HTML Export

Generate responsive HTML views for web integration

Custom Templates

Use pre-built templates or create your own with Liquid/Handlebars

Branding

Customize logo, colors, fonts and layout individually

Multi-Language

Automatic translation of invoice labels into 10+ languages

ZUGFeRD PDF/A-3

Create ZUGFeRD-compliant PDFs with embedded XML

PDF already available

The Converter API already generates ZUGFeRD PDFs with a standard layout. The Visualizer API will additionally offer custom templates and extended branding options.