# Invoice To Excel Extractor Task

**Use case:** 

Turn invoice PDFs, scans, and photos into clean Excel workbooks in seconds. Extracts vendor, invoice number, date, subtotal, tax, total, and itemized line items — no AI/LLM involved, so results stay consistent. Every field includes a confidence score, and anything OCR can't read reliably is flagged instead of guessed.

## Input

```json
{
  "invoiceFiles": [
    "https://api.apify.com/v2/key-value-stores/FWIVuDWT9dVDckt1g/records/Commercial-Invoice-Template-TemplateLab.com_.jpg"
  ],
  "sourceStores": [
    "FWIVuDWT9dVDckt1g"
  ],
  "language": "eng",
  "confidenceThreshold": 60
}
```

## Output

```json
{
  "source_file": {
    "label": "File",
    "format": "text"
  },
  "extraction_method": {
    "label": "Method",
    "format": "text"
  },
  "vendor.value": {
    "label": "Vendor",
    "format": "text"
  },
  "invoice_number.value": {
    "label": "Invoice #",
    "format": "text"
  },
  "invoice_date.value": {
    "label": "Date",
    "format": "text"
  },
  "subtotal.value": {
    "label": "Subtotal",
    "format": "text"
  },
  "tax.value": {
    "label": "Tax",
    "format": "text"
  },
  "total.value": {
    "label": "Total",
    "format": "text"
  },
  "excel_url": {
    "label": "Excel file",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Invoice to Excel Extractor](https://apify.com/yourname_mahi/invoice-to-excel-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/yourname_mahi/invoice-to-excel-extractor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/yourname_mahi/invoice-to-excel-extractor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
