Home ยท Docs

Extract IBAN and VAT ID from invoices

Many invoice workflows need just a few reliable fields fast: the bank account for payment and the VAT identifier for vendor records or checks. The Invoice & Receipt Extract API can pull out payment.iban as well as seller and buyer details including vat_id where present. That makes it useful for intake flows, payable review screens, and vendor data enrichment.

Instead of writing invoice-specific parsing rules for different layouts, you can send a PDF or image and receive normalized JSON. Alongside the extracted fields, the API returns simple check results. For example, IBAN can indicate whether a detected IBAN passes a basic format check, and VAT_ID can help flag whether a VAT ID looks plausible. These checks are meant to support review, not replace it.

This is especially helpful when a document arrives by email or scan and someone needs to confirm payment instructions before entering them elsewhere. It can also help with anti-copy-paste mistakes by providing structured fields directly to your app. Files are not stored, failed calls are not charged, and prepaid credits last 12 months.

Be careful: outputs are AI-assisted. Review before making payments or tax decisions. The service is not tax advice and not an EN 16931 validator.
curl -X POST "https://fatura.lunafzai.com/v1/extract" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d "{\"file\": \"$(base64 -w0 invoice.png)\", \"mime\": \"image/png\"}"

Pricing is straightforward: 100 calls for USD 9, 1000 for USD 49, and 5000 for USD 199. For implementation details, see the documentation. To test with your own documents, buy credits.