beliq icon

beliq

Generate, validate, parse and convert e-invoices (XRechnung, ZUGFeRD, Factur-X, Peppol BIS, NLCIUS, FatturaPA, Facturae, e-SLOG, KSeF FA(3))

Validate Invoice

AI-generated

Summary

Validates an XML or PDF invoice against beliq’s rules and returns the validation response. Choose the input source, optionally specify its content type and invoice format, and enable the France CTC overlay when needed.

Inputs

  • Input — Choose Binary (default) to read the document from an incoming binary field, or Text to provide the invoice XML directly.
  • Input Binary Field — Name of the incoming binary field containing the document; required when Input is Binary. Defaults to data.
  • Input Text — Invoice XML text; required when Input is Text.
  • Input Content Type — Set to Auto-Detect (default), XML, or PDF. Auto-Detect identifies PDFs from their leading %PDF- bytes and treats other input as XML.
  • Format — Expected invoice format hint: Auto-Detect (default), CII, E-SLOG, Facturae, FatturaPA, KSeF FA(3), or UBL.
  • Apply France CTC Overlay — Enable the French CTC (Flux 2) Schematron overlay; defaults to false.
  • Advanced (JSON) — Additional query parameters merged into the validation request. Request headers such as Beliq-Ruleset cannot be set here.

Output shape

A JSON result for each input item.

The API response object is returned as the item’s JSON data; if it contains a data property, that property is returned instead. Empty documents and API errors fail the operation unless Continue On Fail is enabled, in which case an item with an error field is returned.

Links

Discussion