invoice-api.xhub icon

invoice-api.xhub

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

Validate

AI-generated

Summary

Validates invoice data against the rules for a selected country by sending it to invoice-api.xhub. Use the required Country selector (default DE) and provide Invoice Data as a JSON object; optional settings can make validation errors or warnings fail the node.

Inputs

  • Country (required) — Country rules to validate against. Choose a country from the searchable list or enter a two-letter uppercase ISO country code; defaults to DE.
  • Invoice Data (required) — Invoice data as a JSON object. If supplied as text, it must be valid JSON.
  • Fail on Errors — Defaults to false. When enabled, validation errors cause the node to fail.
  • Fail on Warnings — Defaults to false. When enabled, validation warnings cause the node to fail.

Output shape

One output item per input item, with validation details in its JSON.

On successful validation requests, JSON includes valid, countryCode, errors, warnings, errorCount, and warningCount; results is included when the API returns per-format validation results. Enabling either fail option throws when matching findings are present. With Continue On Fail enabled, failures produce an item with valid:false and error details instead.

Links

Discussion