invoice-api.xhub icon

invoice-api.xhub

Generate, parse, convert, and validate e-invoices across 37 countries with 18+ formats

Parse (Auto-Detect)

AI-generated

Summary

Detects the country and e-invoice format of a document and extracts structured invoice data.

Inputs

  • inputType (required) — How to provide the invoice document: Binary Data or Base64 String.
  • binaryPropertyName (required) — Name of the binary property containing the invoice document (required if inputType is binary).
  • base64Data (required) — Base64 encoded invoice document (required if inputType is base64).
  • options.filename — Optional filename hint for format detection.
  • options.includeWarnings — Whether to include validation warnings in the output.

Output shape

A list of items, each containing the extracted invoice data plus detection details.

Includes convenience fields detectedFormat, detectedCountry, confidence, and detection (if available). Supports Continue (using error output).

Examples

Example 1: Extract invoice data from an uploaded PDF file without knowing its format.

Set Input Type to Binary Data, specify the binary property, and leave Filename empty for auto-detection.

Example 2: Parse a ZUGFeRD invoice provided as a Base64 string.

Set Input Type to Base64 String, provide the encoded data, and enable Include Warnings.

Links

Discussion