EU Invoice with VAT
Extract structured data from EU commercial invoices with VAT/USt-IdNr identification and IBAN/BIC payment details.
curl -X POST $XBERG_ENTERPRISE_URL/v1/extract \ -H "Authorization: Bearer $XBERG_API_KEY" \ -F file=@your-invoice_eu_vat.pdf \ -F 'preset=invoice_eu_vat'

Structured fields extracted by this preset
bicstringBank Identifier Code for SWIFT transfers (whitespace removed).
currencystringrequiredISO-4217 currency code (e.g., EUR, GBP).
customer_addressstringrequiredBilling address of the customer.
customer_namestringrequiredName of the customer or purchasing entity.
customer_vat_idstringCustomer VAT identification number if reverse charge applies.
due_datestringDate payment is due, in ISO-8601 format (YYYY-MM-DD).
ibanstringInternational Bank Account Number for payment (whitespace removed).
invoice_datestringrequiredDate the invoice was issued, in ISO-8601 format (YYYY-MM-DD).
invoice_numberstringrequiredUnique invoice identifier assigned by the vendor.
payment_termsstringTerms of payment (e.g., Net 30, Due on Receipt).
subtotal_amountnumberrequiredTotal amount before VAT, as a decimal number.
total_amountnumberrequiredFinal amount due including VAT.
vat_amountnumberrequiredTotal VAT amount, as a decimal number.
vat_rate_percentnumberrequiredVAT tax rate as a percentage (e.g., 19.0 for 19%).
vendor_addressstringrequiredFull business address of the vendor.
vendor_namestringrequiredLegal name of the invoicing business.
vendor_vat_idstringVendor VAT identification number (Umsatzsteuer-Identifikationsnummer or equivalent).
Configuration
Call Mode
text_onlyCitations
EnabledVersion
v1Tags
+System Prompt
You are a precise structured-data extractor for EU commercial invoices. Extract all fields exactly as they appear on the document. Do not infer or estimate values. If a field is absent, omit it from the output. Currency amounts are decimal numbers without symbols. Dates are ISO-8601 strings (YYYY-MM-DD). VAT amounts and rates must be extracted literally. Include vendor and customer VAT identification numbers if present. IBAN and BIC codes should be cleaned of whitespace but preserved exactly. Ensure total_amount equals subtotal plus VAT amount.