# Check invoice quantities against orders and deliveries

**Use case:** 

Match supplied invoice, purchase-order and delivery lines. Flag price and quantity differences with traceable JSON, Excel and HTML reports. Start with a synthetic 10-invoiced / 8-delivered example, then replace it with your records.

## Input

```json
{
  "operation": "reconciliation",
  "payload": {
    "invoice_id": "DEMO-001",
    "invoice": [
      {
        "sku": "A1",
        "name": "Cable 1 metre",
        "quantity": "10",
        "unit_price": "12.50",
        "currency": "EUR",
        "evidence": {
          "source": "synthetic-example",
          "quote": "Synthetic demonstration record"
        }
      }
    ],
    "order": [
      {
        "sku": "A1",
        "name": "Cable 1 metre",
        "quantity": "10",
        "unit_price": "12.50",
        "currency": "EUR",
        "evidence": {
          "source": "synthetic-example",
          "quote": "Synthetic demonstration record"
        }
      }
    ],
    "delivery": [
      {
        "sku": "A1",
        "name": "Cable 1 metre",
        "quantity": "8",
        "unit_price": "12.50",
        "currency": "EUR",
        "evidence": {
          "source": "synthetic-example",
          "quote": "Synthetic demonstration record"
        }
      }
    ]
  },
  "column_mapping": {
    "sku": "SKU",
    "name": "Name",
    "unit_price": "Price"
  },
  "decimal_separator": ".",
  "number_format": "auto",
  "currency": "EUR",
  "period_days": 30
}
```

## Output

```json
{
  "id": {
    "label": "Run",
    "format": "text"
  },
  "operation": {
    "label": "Workflow",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "result.summary": {
    "label": "Summary",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Invoice Checker: 3-Way Match PO, Delivery & Invoice Actor is ready to run with the inputs already set for "Check invoice quantities against orders and deliveries". [Sign up or log in](https://console.apify.com/create-task-from-example/dcJsl6UoA9csAv1vR) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Check invoice quantities against orders and deliveries" task

The Invoice Checker: 3-Way Match PO, Delivery & Invoice Actor will start running based on the input automatically. You can also change all the input fields, like workflow, workflow data, and more, to match your specific use case.

### 3. Receive the "Check invoice quantities against orders and deliveries" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as run, workflow, status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Check invoice quantities against orders and deliveries" task via API](https://apify.com/ryanbot_research/islem-b2b-automation.md).

## FAQ

### What does this example find?

The synthetic example compares 10 invoiced units with 8 delivered units. Replace its structured invoice, order and delivery lines with yours. Reports preserve exceptions and evidence; no payment is approved or executed.

### What does one completed report cost?

ISLEM charges $0.05 per completed report plus $0.00005 start; platform usage is included. A completed report with exceptions is billable. The saved run cap is $0.05005. Failed operations do not incur the completed-report event fee.

### Can I use scans or connect my accounting system automatically?

This task needs structured records. Arbitrary scanned-PDF OCR and automatic accounting updates are not included. ISLEM also offers stock, supplier, finance, CRM and service operations in the main Actor. Each task has its own input requirements.

## About this Actor

This example demonstrates how to use [Invoice Checker: 3-Way Match PO, Delivery & Invoice](https://apify.com/ryanbot_research/islem-b2b-automation.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ryanbot_research/islem-b2b-automation.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/ryanbot_research/islem-b2b-automation.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`).
