# Supplier Quote Validator (`bewildering_tapestry/supplier-quote-validator`) Actor

Check structured supplier quotes for totals, carton/piece conversions, MOQ, currency and package-volume consistency. Get explained JSON/CSV reports. USD/EUR only.

- **URL**: https://apify.com/bewildering_tapestry/supplier-quote-validator.md
- **Developed by:** [Donald McDoc](https://apify.com/bewildering_tapestry) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$100.00 / 1,000 quotation validation reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

### Check supplier quotes before purchase approval

Supplier Quote Validator helps procurement analysts, sourcing teams and purchasing automation builders find inconsistencies in **structured supplier quotations**. Submit one JSON quotation and receive explained checks plus downloadable JSON and CSV reports for arithmetic, carton/piece conversions, MOQ, currency consistency, package volume and weights.

Use it when your workflow already has structured quote data and you want a repeatable consistency check before human review. It processes one quotation and exits; validation uses no external supplier lookup or AI service.

**Input: JSON. Outputs: JSON, two CSV files and a summary. USD and EUR only.** It does not read PDF, scanned documents or Excel files, verify suppliers, convert currencies, or approve payments.

### First run

1. Open the Actor's Input page. In the full **JSON** view, paste the entire example below, including the outer `quote` field.
2. If using **Form**, paste only the object inside `quote` into **Quotation (schema 1.0)**. Do not put a second `quote` wrapper inside that field.
3. Review the displayed price and run options before starting. For the initial supported small-quote workflow, use 256 MB, a 30-second timeout and restart off. Availability and charges depend on the current listing and your Apify account.
4. After the run finishes, open **Summary**, then **Validation result (JSON)** for explanations. Download **Checks (CSV)** and **Items (CSV)** from the run's output links.
5. Read `overall_status`. A platform status of `SUCCEEDED` means execution completed; it does not mean the quotation passed.

This synthetic example has seven passing checks in the local validation core:

```json
{
  "quote": {
    "schema_version": "1.0",
    "quote_id": "SYNTHETIC-SQV-001",
    "currency": "USD",
    "items": [{
      "line_id": "A",
      "quantity": "3",
      "quantity_unit": "carton",
      "units_per_carton": "24",
      "unit_price": "1.20",
      "price_unit": "piece",
      "quoted_line_total": "86.40",
      "moq_quantity": "48",
      "moq_unit": "piece"
    }],
    "quoted_subtotal": "86.40",
    "charges": [{"id": "F", "type": "freight", "amount": "20.00", "currency": "USD"}],
    "quoted_grand_total": "106.40",
    "packages": [{
      "package_id": "P1",
      "package_count": 3,
      "length": "40",
      "width": "30",
      "height": "25",
      "dimension_unit": "cm",
      "gross_weight": "9",
      "net_weight": "8",
      "weight_unit": "kg",
      "quoted_cbm": "0.090000"
    }],
    "quoted_cbm": "0.09"
  }
}
```

Expected arithmetic: 3 cartons × 24 = 72 pieces; 72 × USD 1.20 = USD 86.40; plus USD 20.00 freight = **USD 106.40**. Three 40 × 30 × 25 cm cartons total **0.090000 m³**, with 27 kg gross and 24 kg net weight. Weights are entered per package, then multiplied by package count.

For no charges, explicitly use `"charges": []` and set the example's grand total to `"86.40"`. Omitting charges means they are unknown, so the grand total cannot be checked.

### Understand the result

| Result | Meaning | Next action |
| --- | --- | --- |
| `pass` | All reported checks completed and passed under the policy | Continue human procurement review |
| `needs_review` | No failed checks, but a check is uncheckable or a warning remains | Supply missing data or resolve the warning |
| `fail` | At least one completed consistency check failed | Inspect supplied versus expected values and clarify with your supplier |
| `invalid_input` | The structure or values violate the input contract | Fix the indicated field and submit corrected data |
| `execution_failed` | An unexpected internal error prevented completion | Keep the run/error ID and request support |

A business `fail` can be a useful, correctly completed validation. For example, changing the MOQ to 96 pieces makes a 72-piece order fail MOQ; changing total quoted CBM to 0.12 makes it disagree with calculated 0.09. These findings do not prove fraud or physical shipment accuracy.

### Download the reports

| Output | What you receive |
| --- | --- |
| `result.json` | Detailed supplied, interpreted and calculated values, checks, issues and totals |
| `checks.csv` | One row per check, including passes and uncheckable checks |
| `items.csv` | One row per quotation line with normalized quantity and expected line total |
| Summary dataset | One summary row per attempt, with status, counts and expected totals |
| `RUN_STATE` | Attempt state and output fingerprints for integration verification |

CSV exports are summaries; descriptions and package details are in the JSON. Formula-like user text is prefixed with an apostrophe in CSV. Validator-generated numeric columns retain numeric signs. This is a defensive export measure, not a guarantee for every spreadsheet application.

### Input rules and common fixes

| Problem | Fix |
| --- | --- |
| Numbers rejected | Use decimal strings such as `"12.50"`; `package_count` is an integer |
| Unknown fields or nested wrapper | Use the documented keys; Form takes the inner quote, full JSON takes `{ "quote": ... }` |
| Mixed currencies | Submit a consistently denominated quote; no automatic FX conversion |
| Missing package/MOQ values | Add actual values or retain `needs_review`; never invent zero values |
| Carton/piece conversion unavailable | Supply `units_per_carton`; other cross-unit conversions are unsupported |
| Unexpected grand total | Supply explicit freight/tax/other/discount amounts; use `charges: []` for none |

Amounts, quantities, dimensions and weights allow at most 18 digits total and 6 decimal places. No thousands separators, currency symbols or exponent notation. Quantity/price units: `piece`, `carton`, `kg`, `m`; dimensions: `mm`, `cm`, `m`; weights: `g`, `kg`. Supported charge types are `freight`, `tax`, `discount`, `other`; tax percentages are not calculated.

The schema permits 1–1,000 items, up to 1,000 charges and package groups, within 1 MiB raw input. These are validation limits, not a benchmarked cloud performance guarantee. Initial demonstrations cover small quotations.

Money uses decimal arithmetic and half-up rounding to cents, with one-cent comparison tolerance. CBM tolerance is 0.000001 m³. Gross weight must be at least net weight. Missing data is not assumed to be zero. Unknown fields and non-finite JSON values are rejected. Duplicate keys are rejected when present in the raw input available to the Actor; duplicates removed by an upstream editor cannot be recovered.

### Pricing and support

Check the Actor's current Pricing section before every run. Platform usage and post-run storage/download operations can incur charges; this example is not a promise of a free trial. A reported runtime cost of `null` means unknown, not zero. Any paid release must state its exact chargeable events and handling of invalid or incomplete results before activation.

For support, use the Actor's Issues tab. Include the run ID, error code and a redacted field example. Do not post quotation contents, tokens, bank information or signed output links publicly. Billing or credit compensation requests are reviewed through Apify's support process; compensation is not guaranteed. Support availability and ownership must be confirmed by the maintainer before launch.

### Privacy and limitations

Submit only data you are authorized to process. Remove personal details and commercial secrets that are unnecessary for validation. Input and detailed output are stored on Apify, and the JSON output echoes supplied fields within documented bounds. The validator does not intentionally log quotation contents or call external AI/supplier services. This is not a claim of end-to-end encryption or zero retention.

Apify account permissions and storage retention govern access and persistence. The Actor does not automatically delete records or provide its own retention guarantee; unnamed and named storage have different lifetimes. Review your account's actual retention settings before using real quotations. Never publish real quote outputs as listing samples.

No PDF/OCR/Excel ingestion, live supplier verification, FX conversion, legal/tax assessment, freight estimation, Incoterms interpretation or payable approval is provided. Historical bounded tests support the demonstrated cases; production reliability, restarts and maximum-size performance are not comprehensively established.

#### Integration guide

The technical guide below contains the complete schema policy and completion-verification contract. Integrations must retain the independently known run ID, confirm terminal `SUCCEEDED`, and check completed `RUN_STATE`, matching attempt IDs and artifact hashes with the completion consumer. Storage contents alone do not prove freshness.

**Start with the synthetic quotation above, inspect its seven checks, and decide whether the structured JSON workflow fits your purchasing process.**

### Technical guide

Checks one structured supplier quotation for internal consistency and returns a traceable report: line arithmetic, subtotal and grand total, carton/piece conversions, currency consistency, minimum order quantity (MOQ), package volume (CBM) and gross/net weights.

The Actor is a finite batch job: it validates one quotation, writes its results and exits. It makes no network or AI calls during validation.

> A `pass` means the supplied data is consistent under the documented policy. It does not verify the supplier, legal or tax correctness, or approve a payable amount.

### What it checks

| Check | Rule |
| --- | --- |
| Line total | quantity (converted to the price unit) x unit price, rounded half-up to the currency's minor unit, compared with `quoted_line_total` within 1 minor unit |
| Subtotal | Sum of the *expected* line totals compared with `quoted_subtotal` |
| Grand total | Expected subtotal + freight/tax/other charges - discounts, compared with `quoted_grand_total` |
| MOQ | Ordered quantity >= `moq_quantity`, in a common unit |
| Package volume | length x width x height x package_count per group, summed, compared with `quoted_cbm` within 0.000001 m3 |
| Weights | Gross weight >= net weight per package group; totals in kg |

Missing data is never treated as zero. Omitted `charges` means "charges unknown", so the grand total cannot be checked; use `"charges": []` for "no charges". A quotation without MOQ or package data gets `needs_review`, not `pass`.

### Input

One field, `quote`, holding a schema 1.0 quotation:

```json
{
  "quote": {
    "schema_version": "1.0",
    "quote_id": "SQ-001",
    "currency": "USD",
    "items": [{
      "line_id": "A",
      "quantity": "3",
      "quantity_unit": "carton",
      "units_per_carton": "24",
      "unit_price": "1.20",
      "price_unit": "piece",
      "quoted_line_total": "86.40",
      "moq_quantity": "48",
      "moq_unit": "piece"
    }],
    "quoted_subtotal": "86.40",
    "charges": [{"id": "F", "type": "freight", "amount": "20.00", "currency": "USD"}],
    "quoted_grand_total": "106.40"
  }
}
```

Rules:

- Amounts, quantities, dimensions and weights are decimal strings (`"12.50"`): no currency symbols, thousands separators, exponents or JSON numbers. At most 18 digits, 6 after the point. `package_count` is a JSON integer.
- Currencies: `USD`, `EUR`. No FX conversion; lines or charges in a different currency block the aggregate totals.
- Quantity and price units: `piece`, `carton`, `kg`, `m`. Only carton/piece conversion is supported, and it needs `units_per_carton`.
- Dimension units: `mm`, `cm`, `m`. Weight units: `g`, `kg` (one `weight_unit` per package group).
- Charge types: `freight`, `tax`, `discount`, `other`. Tax must be an explicit amount; percentages are not interpreted.
- Limits: 1-1000 items, 1000 charges, 1000 package groups, 1 MiB for the whole raw input record. Unknown fields are rejected.
- Strict JSON: duplicate object keys (anywhere in the input) and `NaN`/`Infinity` are rejected. The Actor checks the raw bytes of the input record, because the SDK's parsed input silently keeps only the last duplicate. If the raw record cannot be read, or differs from what the SDK delivered, the result is `invalid_input` with `INPUT_INTEGRITY_UNVERIFIED`, never a pass. Duplicates that were already removed before the input reached the Actor (for example by a browser JSON editor) cannot be detected.

### Output

| Location | Content |
| --- | --- |
| Key-value store `result.json` | Canonical result (see below) |
| Key-value store `checks.csv` | One row per check, including passes and uncheckable checks |
| Key-value store `items.csv` | One row per line with normalized quantity and expected total |
| Dataset (one item per attempt) | Summary: `invocation_id`, `attempt_id`, status, counts and expected totals |
| Key-value store `RUN_STATE` | Current attempt marker with `invocation_id`: `running`, then `completed`, `failed` or `interrupted` |

`result.json` contains:

- `input_reference`: SHA-256 and size of the raw input record, and whether strict parsing and the duplicate-key check were performed.
- `supplied_quote`, `normalized_items`, `normalized_charges`, `normalized_packages`, each with three parts:
  - `supplied`: the original input values, verbatim, including descriptions, money strings, units, `units_per_carton`, dimensions, weights and `package_count`.
  - `interpretation`: how the validator read them (effective currency and its source, unit conversion and factor, metres/kilograms).
  - `calculated`: the validator's own results.
- `totals`, every check with evidence (supplied, expected, delta, tolerance, dependencies), issues, `attempt` and `execution_metrics`.

Supplied strings are kept up to 200 characters, and descriptions up to 2000 characters. Anything cut is listed in `supplied_truncated` with its original length. Unknown fields are not echoed; they are reported as issues.

#### Execution identity and completion rule

Records in storage cannot prove by themselves that they belong to the run you started. If a run fails before it can write anything, an earlier run's records are still there and still consistent. Verification therefore needs an **invocation ID you know before you read storage**:

- **On Apify:** the run ID returned when you start the run (`APIFY_ACTOR_RUN_ID` inside the run).
- **Locally:** set `SQV_INVOCATION_ID` to a new unique value for every invocation (1-128 characters `A-Z a-z 0-9 . _ : -`, starting with a letter or digit).
- **Otherwise:** the Actor generates an ID and marks it `generated`. Such outputs can never be verified as a successful run, even if you copy the ID out of storage.

**Accept outputs only if all of these hold.** `my_actor.completion.verify_completion` and `verify_local_storage` implement this rule.

1. You supply the expected invocation ID. A missing ID means not successful.
2. The independently observed outcome is not a failure. Pass it as `invocation_succeeded`: exit code 0 locally, or the run's terminal status `SUCCEEDED` on the platform.
   - **Platform run IDs:** the outcome is **required**. One run ID can span several attempts (restart, migration, resurrection), and the platform gives you no per-attempt ID. If a later attempt fails before writing anything, the earlier attempt's records still carry the same run ID and are consistent. Only the run's final status can reveal that failure, so an unknown outcome is rejected (`latest_attempt_outcome_unknown`). This relies on the platform's terminal run status reflecting the run's latest attempt; this project has not tested that on Apify.
   - **Caller-supplied local IDs:** the outcome is optional, because a fresh ID identifies one attempt. Pass the exit code anyway; it is the only protection if an ID was ever reused.
3. `RUN_STATE.invocation_id` equals the expected ID, and its source is `platform_run_id` or `caller_supplied`.
4. `RUN_STATE.status` is `completed`. `running`, `failed` and `interrupted` are not successful.
5. `result.json` `attempt` and exactly one dataset item carry the same `invocation_id` and `attempt_id`.
6. The SHA-256 hashes in `RUN_STATE.outputs` match `checks.csv` and `items.csv` (exact bytes) and `result.json` (canonical JSON: sorted keys, compact, UTF-8).

An accepted verdict states its basis in `details['basis']`. Verification confirms completion and freshness under these assumptions only. It is not authenticated tamper evidence, it does not judge the quotation (an accepted run can have `overall_status` `fail` or `invalid_input`), and it cannot detect a failure that left no record and was not reported to you.

**Permitted storage reuse:**

- **Platform runs** use their own fresh default storages. The Actor uses only the default stores.
- **Locally**, reusing a storage directory is permitted only with a new `SQV_INVOCATION_ID` per invocation.
  - The Actor never deletes or purges records. Older records stay, but they carry another invocation ID and are rejected for the current one.
  - The dataset is append-only, so select items by invocation and attempt ID.
  - Local crawlee may purge default stores itself when they are opened (`purge_on_start`, default on). That is SDK behavior, not the Actor's.
- **Reusing an invocation ID in the same store is a caller error.** The Actor detects it, marks the attempt `failed` (`invocation_id_reused`) and does not validate.

`overall_status` is one of:

- `invalid_input`: structural or value errors in the quotation (independent checks are still reported).
- `fail`: at least one completed check failed.
- `needs_review`: no failures, but some checks could not be completed or warnings remain.
- `pass`: every check was completed and passed.
- `execution_failed`: an unexpected internal error; the run ends as failed with a safe error ID.

CSV text that a spreadsheet could interpret as a formula (starting with `=`, `+`, `-`, `@` or control whitespace) is prefixed with `'`. The `supplied` blocks in `result.json` keep the original text (within the limits above). The CSVs are a summary view and omit descriptions and package details.

### Cost

Validation is CPU-light and needs no paid APIs. Historical small-run charges have been measured, but are not a future cost guarantee. Runtime `execution_metrics.cost` remains `null` (unknown, not zero). Review current pricing and storage/download charges before use.

### Limitations

Structured JSON only. PDF, scanned documents, Excel files, FX rates, tax rules, Incoterms, freight estimation and supplier risk scoring are out of scope.

### Development

```bash
python -m unittest discover -s tests -t . -v
```

Tests are offline. The core uses only the standard library. `tests/test_actor_adapter.py` uses a stub `apify` module that simulates the platform raw-input path. `tests/test_real_sdk_local.py` runs `my_actor` end-to-end with the real Apify SDK in isolated local storage (no token, no network), including duplicate-key input and reused storage; it is skipped when `apify` is not installed. pytest also works: `python -m pytest tests`. The original Apify Standby template is preserved in Git history at commit `0df09c6`.

# Actor input Schema

## `quote` (type: `object`):

One structured quotation. Required: schema_version "1.0", quote_id, currency (USD or EUR) and 1-1000 items. All amounts, quantities and dimensions are decimal strings such as "12.50". Optional: quoted_subtotal, charges (use \[] for none; omitted means unknown), quoted_grand_total, packages and quoted_cbm. Unknown fields and duplicate JSON keys are rejected. Maximum 1 MiB.

## Actor input object example

```json
{
  "quote": {
    "schema_version": "1.0",
    "quote_id": "SQ-001",
    "currency": "USD",
    "items": [
      {
        "line_id": "A",
        "quantity": "3",
        "quantity_unit": "carton",
        "units_per_carton": "24",
        "unit_price": "1.20",
        "price_unit": "piece",
        "quoted_line_total": "86.40",
        "moq_quantity": "48",
        "moq_unit": "piece"
      }
    ],
    "quoted_subtotal": "86.40",
    "charges": [
      {
        "id": "F",
        "type": "freight",
        "amount": "20.00",
        "currency": "USD"
      }
    ],
    "quoted_grand_total": "106.40",
    "packages": [
      {
        "package_id": "P1",
        "package_count": 3,
        "length": "40",
        "width": "30",
        "height": "25",
        "dimension_unit": "cm",
        "gross_weight": "9",
        "net_weight": "8",
        "weight_unit": "kg",
        "quoted_cbm": "0.090000"
      }
    ],
    "quoted_cbm": "0.09"
  }
}
```

# Actor output Schema

## `result` (type: `string`):

No description

## `checks` (type: `string`):

No description

## `items` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "quote": {
        "schema_version": "1.0",
        "quote_id": "SQ-001",
        "currency": "USD",
        "items": [
            {
                "line_id": "A",
                "quantity": "3",
                "quantity_unit": "carton",
                "units_per_carton": "24",
                "unit_price": "1.20",
                "price_unit": "piece",
                "quoted_line_total": "86.40",
                "moq_quantity": "48",
                "moq_unit": "piece"
            }
        ],
        "quoted_subtotal": "86.40",
        "charges": [
            {
                "id": "F",
                "type": "freight",
                "amount": "20.00",
                "currency": "USD"
            }
        ],
        "quoted_grand_total": "106.40",
        "packages": [
            {
                "package_id": "P1",
                "package_count": 3,
                "length": "40",
                "width": "30",
                "height": "25",
                "dimension_unit": "cm",
                "gross_weight": "9",
                "net_weight": "8",
                "weight_unit": "kg",
                "quoted_cbm": "0.090000"
            }
        ],
        "quoted_cbm": "0.09"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bewildering_tapestry/supplier-quote-validator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "quote": {
        "schema_version": "1.0",
        "quote_id": "SQ-001",
        "currency": "USD",
        "items": [{
                "line_id": "A",
                "quantity": "3",
                "quantity_unit": "carton",
                "units_per_carton": "24",
                "unit_price": "1.20",
                "price_unit": "piece",
                "quoted_line_total": "86.40",
                "moq_quantity": "48",
                "moq_unit": "piece",
            }],
        "quoted_subtotal": "86.40",
        "charges": [{
                "id": "F",
                "type": "freight",
                "amount": "20.00",
                "currency": "USD",
            }],
        "quoted_grand_total": "106.40",
        "packages": [{
                "package_id": "P1",
                "package_count": 3,
                "length": "40",
                "width": "30",
                "height": "25",
                "dimension_unit": "cm",
                "gross_weight": "9",
                "net_weight": "8",
                "weight_unit": "kg",
                "quoted_cbm": "0.090000",
            }],
        "quoted_cbm": "0.09",
    } }

# Run the Actor and wait for it to finish
run = client.actor("bewildering_tapestry/supplier-quote-validator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "quote": {
    "schema_version": "1.0",
    "quote_id": "SQ-001",
    "currency": "USD",
    "items": [
      {
        "line_id": "A",
        "quantity": "3",
        "quantity_unit": "carton",
        "units_per_carton": "24",
        "unit_price": "1.20",
        "price_unit": "piece",
        "quoted_line_total": "86.40",
        "moq_quantity": "48",
        "moq_unit": "piece"
      }
    ],
    "quoted_subtotal": "86.40",
    "charges": [
      {
        "id": "F",
        "type": "freight",
        "amount": "20.00",
        "currency": "USD"
      }
    ],
    "quoted_grand_total": "106.40",
    "packages": [
      {
        "package_id": "P1",
        "package_count": 3,
        "length": "40",
        "width": "30",
        "height": "25",
        "dimension_unit": "cm",
        "gross_weight": "9",
        "net_weight": "8",
        "weight_unit": "kg",
        "quoted_cbm": "0.090000"
      }
    ],
    "quoted_cbm": "0.09"
  }
}' |
apify call bewildering_tapestry/supplier-quote-validator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bewildering_tapestry/supplier-quote-validator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/GxiTyw1zEm9KwO1Mj/builds/KLPXFC7vq8jroBRXi/openapi.json
