# Compare supplier quotes by total cost and delivery time

**Use case:** 

Compare supplied supplier quotes by item cost, shipping, delivery time and budget. Review missing items and eligible offers in JSON, Excel and HTML. The synthetic example compares EUR 115 and EUR 130 totals; no supplier order is placed.

## Input

```json
{
  "operation": "procurement",
  "payload": {
    "required": [
      {
        "sku": "A1",
        "name": "A1",
        "quantity": "10",
        "unit_price": "0",
        "currency": "EUR",
        "evidence": {
          "source": "buyer-input",
          "quote": "Review against your original record"
        }
      }
    ],
    "offers": [
      {
        "supplier": "Supplier A",
        "lines": [
          {
            "sku": "A1",
            "name": "A1",
            "quantity": "10",
            "unit_price": "12",
            "currency": "EUR",
            "evidence": {
              "source": "buyer-input",
              "quote": "Review against your original record"
            }
          }
        ],
        "shipping": "10",
        "lead_days": 4
      },
      {
        "supplier": "Supplier B",
        "lines": [
          {
            "sku": "A1",
            "name": "A1",
            "quantity": "10",
            "unit_price": "11",
            "currency": "EUR",
            "evidence": {
              "source": "buyer-input",
              "quote": "Review against your original record"
            }
          }
        ],
        "shipping": "5",
        "lead_days": 2
      }
    ],
    "budget": "150",
    "max_lead_days": 5
  },
  "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 "Compare supplier quotes by total cost and delivery time". [Sign up or log in](https://console.apify.com/create-task-from-example/l5O3lu8iJbSisOHmJ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare supplier quotes by total cost and delivery time" 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 "Compare supplier quotes by total cost and delivery time" 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 "Compare supplier quotes by total cost and delivery time" task via API](https://apify.com/ryanbot_research/islem-b2b-automation.md).

## FAQ

### What does this example return?

The synthetic quotes total EUR 115 and EUR 130. Review shipping, lead time, missing items and budget eligibility in JSON, Excel and HTML. Results depend on the structured quotes you supply; no order is placed.

### What will running this example cost?

Apify charges USD 0.05 per completed report plus USD 0.00005 per start; platform usage is included. This task is capped at USD 0.05005, 512 MB and 120 seconds. Review flags do not make a completed report free. No schedule is enabled.

### How do I try my own supplier quotes?

Prepare JSON at https://islem-api-production.up.railway.app/marketplace-media/start.html#procurement, then paste it into Input. Preparing JSON runs nothing. ISLEM compares supplied offers; it does not discover suppliers or buy goods.

## 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`).
