# EU DORA Supplier ID Checker (RT.02 LEI Gate) (`recoupiq/eu-dora-vendor-lei-gate`) Actor

Checks 20-letter company LEI codes in the live GLEIF register and labels each supplier APPROVE, DENY, or ABSTAIN for EU DORA RT.02 reports.

- **URL**: https://apify.com/recoupiq/eu-dora-vendor-lei-gate.md
- **Developed by:** [Recoup-IQ](https://apify.com/recoupiq) (community)
- **Categories:** Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$50.00 / 1,000 ict supplier lei auditeds

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 If Supplier Company IDs Are Real and Active (`LEI` and `EU DORA`)

This tool checks 20-letter company IDs (`LEI` codes) for bank and risk teams. It helps you check EU DORA (`RT.02`) vendor lists fast.

### What This Tool Does

1. Checks the 20-letter ID and its check digits right away.
2. Reads live firm status and end dates from the public global ID list (GLEIF).
3. Gives each vendor one clear tag:
   - `APPROVE`: Good ID, open firm, live record, and zero debt flags.
   - `DENY`: Good ID, but the firm is closed, past due, or flagged.
   - `ABSTAIN`: Wrong 20-letter ID or bad check digits, or the GLEIF registry could not be reached.
4. Gives each row a `decision_reason`, for example `VALID_CHECK_DIGIT_BUT_NO_GLEIF_RECORD` (DENY) or `REGISTRY_UNAVAILABLE` (ABSTAIN).

### How to Run It

1. Click **Start** with the sample list to see live rows. The three sample IDs are a free demo (no charge).
2. If you have your own IDs, paste them into `leis`. Each checked row costs one event.
3. If you have offline rows, put them in `rows` instead.
4. If GLEIF cannot be reached after one retry, the row gets `ABSTAIN` with `REGISTRY_UNAVAILABLE`. That row is not charged. Run it again later.

### Output Fields

Each vendor writes one row to the Dataset and full JSON to `OUTPUT`:

- `lei`, `dora_rt02_decision`, `decision_reason`, `iso17442_mod97_valid`, `charged`
- `legal_name`, `jurisdiction`, `entity_status`, `registration_status`, `next_renewal_date`, `registry_source`

### Plain Limits to Know First

- This tool gives analytical help only.
- A trained risk lead must check all `DENY` and `ABSTAIN` rows before you file.

### Offline Tool and Contact

- **Maker:** RecoupIQ Ltd (Company No. `16947526`, 410 High Street, Flat 1, Lincoln, LN5 7TE, United Kingdom)
- **Offline Desktop Tool (£395 per year):** https://recoupiq.github.io/bytesdk/
- **Email:** contact@recoup-iq.tech

# Actor input Schema

## `leis` (type: `array`):

List of 20-letter company LEI codes. Click Start with the sample list to see live results in 2 seconds.

## `rows` (type: `array`):

Optional list of offline supplier rows when you do not want live global ID list (GLEIF) lookups.

## Actor input object example

```json
{
  "leis": [
    "5493006MHB84DD0ZWV18",
    "254900QYP1OF1YGTHC23",
    "254900QYP1OF1YGTHC24"
  ]
}
```

# Actor output Schema

## `dataset_items` (type: `string`):

No description

## `summary_json` (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 = {
    "leis": [
        "5493006MHB84DD0ZWV18",
        "254900QYP1OF1YGTHC23",
        "254900QYP1OF1YGTHC24"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("recoupiq/eu-dora-vendor-lei-gate").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 = { "leis": [
        "5493006MHB84DD0ZWV18",
        "254900QYP1OF1YGTHC23",
        "254900QYP1OF1YGTHC24",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("recoupiq/eu-dora-vendor-lei-gate").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 '{
  "leis": [
    "5493006MHB84DD0ZWV18",
    "254900QYP1OF1YGTHC23",
    "254900QYP1OF1YGTHC24"
  ]
}' |
apify call recoupiq/eu-dora-vendor-lei-gate --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,recoupiq/eu-dora-vendor-lei-gate"
        }
    }
}
```

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/neGMCDpWjWihxwWoB/builds/U0Mq9p5Ugbta0DAq7/openapi.json
