Skip to content
HALOWERK

Formatwerk

einvoice to json

Extracts header, seller, buyer (address, VAT ID, tax number, electronic address, contact), payment data (means code, IBAN, BIC, terms, remittance), references, delivery date, every line (quantity, unit code, price, VAT category and rate, line net) and the totals into one flat JSON object that can be booked or compared directly. With validate=true the KoSIT validator result is attached.

POST https://format.halowerk.com/v1/einvoice-to-json

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
xmlstringYesXRechnung/EN 16931 invoice in UBL or CII syntax.
validatebooleanNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "xml"
  ],
  "properties": {
    "xml": {
      "type": "string",
      "minLength": 50,
      "maxLength": 5000000,
      "description": "XRechnung/EN 16931 invoice in UBL or CII syntax."
    },
    "validate": {
      "type": "boolean",
      "default": false
    }
  }
}

Open original schema

Published input example

{
  "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Invoice xmlns=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\">…</Invoice>",
  "validate": true
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →