SOC2

Extract EU VAT Invoice Extractor Data — Tax Season Ready

Tax preparation requires processing hundreds of documents per client. Manual data entry increases errors and delays filings.

76
Fields Extracted
180s
Max Processing

What This Template Does

AI-powered extraction using gemini-2.5-flash. Part of 113 production-ready templates.

Capabilities

  • Tax Extraction
  • Vat Processing
  • Invoice Analysis
  • Vat
  • Invoice

Output Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "EU VAT Invoice Extraction Schema",
  "description": "JSON Schema for extracted EU VAT invoice data compliant with EU VAT Directive 2006/112/EC",
  "type": "object",
  "required": [
    "document_type",
    "invoice_number",
    "invoice_date",
    "supplier",
    "customer",
    "totals"
  ],
  "properties": {
    "document_type": {
      "type": "string",
      "const": "eu_vat_invoice",
      "description": "Document type id
...

Quick Start

$ pip install doclayer
$ doclayer process document.pdf --agent tax.eu-vat-invoice

See It In Action

Real extraction example showing input document and structured output.

Input Document
FACTURE / INVOICE
No: FR-2024-00892
Date: 22 March 2024
Date de livraison / Supply date: 18 March 2024

FOURNISSEUR / SUPPLIER:
Dupont Technologies SARL
42 Rue de la République
69002 Lyon
France
TVA / VAT: FR12345678901
SIRET: 123 456 789 00012
Contact: comptabilite@dupont-tech.fr

CLIENT / CUSTOMER:
Innovazione Software S.r.l.
Via Roma 156
20121 Milano
Italy
P.IVA / VAT: IT12345678901
Riferimento ordine / PO: PO-2024-IT-0456

DÉTAILS / LINE ITEMS:
-----------------------------------------------
Extracted Data
{
  "document_type": "eu_vat_invoice",
  "invoice_number": "FR-2024-00892",
  "invoice_date": "2024-03-22",
  "supply_date": "2024-03-18",
  "due_date": "2024-04-21",
  "currency": "EUR",
  "supplier": {
    "name": "Dupont Technologies SARL",
    "address": {
      "street": "42 Rue de la République",
      "city": "Lyon",
      "postal_code": "69002",
      "country": "France",
      "country_code": "FR"
    },
    "vat_number": "FR12345678901",
    "vat_country_code": "FR",
    "company_registration": "123 456 789 00012",
    "contact": "comptabilite@dupont-tech.fr"
  },
  "customer": {
    "name": "Innovazione Software S.r.l.",
    "address": {
      "street": "Via Roma 156",
      "city": "Milano",
      "postal_code": "20121",
      "country": "Italy",
      "country_code": "IT"
    },
    "vat_number": "IT12345678901",
    "vat_country_code": "IT",
    "is_business": true,
    "customer_reference": "PO-2024-IT-0456"
  },
  "line_items": [
    {
      "description": "Enterprise Software License - Annual subscription - Multi-user license",
      "quantity": "5",
      "unit": "pcs",
      "unit_price_net": "2500.00",
      "discount_percent": "",
      "discount_amount": "",
      "net_amount": "12500.00",
      "vat_rate": "0",
      "vat_amount": "0.00",
      "gross_amount": "12500.00",
      "hs_code": "",
      "country_of_origin": ""
    },
    {
      "description": "Professional Services - Installation and configuration - User training",
      "quantity": "24",
      "unit": "hrs",
      "unit_price_net": "175.00",
      "discount_percent": "",
      "discount_amount": "",
      "net_amount": "4200.00",
      "vat_rate": "0",
      "vat_amount": "0.00",
      "gross_amount": "4200.00",
      "hs_code": "",
      "country_of_origin": ""
    },
    {
      "description": "Technical Support Package - 12 months premium support - 24/7 hotline access",
      "quantity": "1",
      "unit": "unit",
      "unit_price_net": "3000.00",
      "discount_percent": "",
      "discount_amount": "",
      "net_amount": "3000.00",
      "vat_rate": "0",
      "vat_amount": "0.00",
      "gross_amount": "3000.00",
      "hs_code": "",
      "country_of_origin": ""
    }
  ],
  "vat_summary": [
    {
      "vat_rate": "0",
      "net_amount": "19700.00",
      "vat_amount": "0.00"
    }
  ],
  "totals": {
    "subtotal_net": "19700.00",
    "total_vat": "0.00",
    "total_gross": "19700.00",
    "amount_paid": "",
    "amount_due": "19700.00"
  },
  "special_schemes": {
    "reverse_charge": false,
    "reverse_charge_text": "",
    "intra_community": true,
    "intra_community_text": "Intra-community supply exempt from VAT Article 138 of VAT Directive 2006/112/EC",
    "export": false,
    "export_text": "",
    "margin_scheme": false,
    "margin_scheme_type": "",
    "vat_exempt": true,
    "exemption_reason": "Article 138 of VAT Directive 2006/112/EC"
  },
  "payment": {
    "terms": "30 days net",
    "method": "",
    "bank_name": "",
    "iban": "FR76 3000 4000 0500 0012 3456 789",
    "bic_swift": "BNPAFRPP",
    "reference": "FR-2024-00892-IT"
  },
  "validation": {
    "vat_number_format_valid": true,
    "vat_calculation_correct": true,
    "mandatory_fields_present": true,
    "sequential_number": true
  }
}

Example demonstrating extraction of VAT information from European invoices. Captures supplier details, VAT identification numbers, tax amounts, and compliance data for intra-EU transactions.

Frequently Asked Questions

What documents can EU VAT Invoice Extractor process?

The EU VAT Invoice Extractor template processes tax documents including various formats and layouts. See the instructions for specific document types supported.

How accurate is the EU VAT Invoice Extractor extraction?

The EU VAT Invoice Extractor template uses Gemini 2.5 Flash for high-accuracy extraction. Results include confidence scores for each field.

Can I customize the EU VAT Invoice Extractor template?

Yes, you can modify the extraction schema, add custom fields, or adjust the instructions to match your specific requirements.

Start Extracting Data Today

Process your first document in under 5 minutes. No credit card required.