Visualizer API
Render e-invoices as professional PDFs or HTML views. With custom templates, branding and multi-language support.
Coming Soon
The Visualizer API is in active development and is expected to be released in Q1 2026. Sign up to be notified.
API Preview
This is how the Visualizer API is expected to work:
1// Geplante API2const response = await fetch('https://service.invoice-api.xhub.io/v1/visualizer/render', {3 method: 'POST',4 headers: {5 'Authorization': 'Bearer sk_live_...',6 'Content-Type': 'application/json'7 },8 body: JSON.stringify({9 invoiceId: 'inv_xyz789',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.download.pdf); // URL zum PDF22console.log(result.download.html); // URL zum HTMLPlanned 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.