API Reference
All Invoice-api.xhub APIs at a glance. Generate, parse and validate e-invoices for 37 countries with just a few HTTP requests.
Invoice Generator API
Generates PDF, XRechnung, ZUGFeRD and other e-invoice formats for 37 countries.
POST/api/v1/invoice/{countryCode}/{format}/generateParser API
Extract structured data from e-invoices as JSON.
POST/api/v1/invoice/parseValidator API
Country-specific validation of e-invoices.
POST/api/v1/invoice/{countryCode}/validateFormats API
Retrieve all supported e-invoice formats and countries.
GET/api/v1/invoice/formatsConverter API
Convert e-invoices between XRechnung and ZUGFeRD/Factur-X.
POST/api/v1/invoice/convertAttachments API
Embed files into an existing invoice PDF.
POST/api/v1/invoice/attachmentsVeriFactu QR (ES)
Build the Spanish VeriFactu QR code under Real Decreto 1007/2023.
POST/api/v1/invoice/es/verifactu-qrVisualizer API
Render e-invoices as professional PDFs or HTML.
POST/api/v1/invoice/renderPeppol Gateway
Send e-invoices directly via the Peppol network.
POST/api/v1/peppol/sendArchive API
GoBD-compliant long-term archiving for e-invoices.
POST/api/v1/invoice/archiveBase URL
invoice-api.xhub — base urlhttps://service.invoice-api.xhub.io/api/v1One host for everything — test and production run against the same base URL.
sk_test_… / sk_live_…Same host, same path: the mode depends solely on the key prefix. `sk_test_*` runs in test mode, `sk_live_*` in production. Both keys are bound to the monthly quota (exhausted = 429).