# Polish Company & VAT Checker (Biala lista) (`ivoried_quickness/polish-company-vat-checker`) Actor

Batch-verify Polish companies by NIP against official government APIs: VAT status, addresses, REGON, KRS and registered bank accounts. Legal-grade Biala lista compliance data.

- **URL**: https://apify.com/ivoried\_quickness/polish-company-vat-checker.md
- **Developed by:** [Stanislau](https://apify.com/ivoried_quickness) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Polish Company & VAT Checker (Biala lista)

Batch-verify Polish companies by NIP against official government registries — VAT status, addresses, REGON, KRS, and registered bank accounts.

### What it does

Input a list of Polish NIP (tax ID) numbers. For each one, the Actor returns:

- **VAT status** — Czynny (active) / Zwolniony (exempt) / not registered — from the Biała lista podatników VAT.
- Legal name and addresses (registered office and correspondence).
- **REGON** and **KRS** registry numbers.
- **Registered bank accounts** — the account numbers officially assigned to the company on the white list.
- VAT registration and removal dates.
- Optional: a full KRS extract (Odpis Aktualny) when the company has a KRS number.

Invalid NIPs (bad checksum, wrong length) are returned as a row with an `error` field instead of being silently dropped, so every input NIP is accounted for in the output.

### Why it matters

Under Polish law, when paying a business counterparty more than **15,000 PLN**, a company is required to verify that counterparty's VAT status and bank account on the "white list" (biała lista) — failing to do so puts deductible costs and VAT liability at risk. Accounting firms (biura rachunkowe) and finance/compliance teams run this check routinely, often for large batches of suppliers at once. This Actor automates that check instead of looking up each NIP by hand.

### Data sources

- **Biała lista podatników VAT** — `wl-api.mf.gov.pl`, operated by the Polish Ministry of Finance (KAS). Official, free, no API key required.
- **KRS (Krajowy Rejestr Sądowy)** — `api-krs.ms.gov.pl`, operated by the Ministry of Justice. Official, free, no API key required.

Both are public government APIs — no scraping, no anti-bot workarounds, no third-party data. That means the results are authoritative and the Actor won't break due to site changes or blocking.

### Input

| Field | Type | Description |
|---|---|---|
| `nips` | array of strings | List of Polish NIP numbers (10 digits). Dashes and spaces are stripped automatically. |
| `checkDate` | string (optional) | Date for the VAT status check, `YYYY-MM-DD`. Defaults to today. Up to 5 years in the past. |
| `enrichKRS` | boolean (optional) | If set, also fetches the full KRS extract for companies that have a KRS number. Default: off. |

### Output

One row per input NIP in the dataset, for example:

```json
{
  "inputNip": "5260250274",
  "found": true,
  "vatStatus": "Czynny",
  "name": "MINISTERSTWO FINANSÓW",
  "nip": "5260250274",
  "regon": "000002217",
  "krs": null,
  "workingAddress": "ŚWIĘTOKRZYSKA 12, 00-916 WARSZAWA",
  "bankAccounts": ["18101014690032611391200000", "..."],
  "registrationLegalDate": "1996-01-01",
  "checkDate": "2026-08-04",
  "error": null
}
```

Verified with a live run against the Biała lista API — results confirmed correct against the official registry.

### Pricing

From **$5.00 per 1,000 results** (pay-per-result).

### Who it's for

Accounting firms, B2B finance and compliance teams, and anyone doing supplier due diligence in Poland who needs to check counterparties in bulk before making payments.

# Actor input Schema

## `nips` (type: `array`):

List of Polish NIP numbers to verify (10 digits). Dashes and spaces are allowed, they are stripped automatically.

## `checkDate` (type: `string`):

Date for the VAT status check. Defaults to today (Europe/Warsaw). Cannot be in the future; Biala lista supports up to 5 years back.

## `enrichKRS` (type: `boolean`):

If the company has a KRS number, also fetch its current KRS register extract (OdpisAktualny). Slower, more data.

## Actor input object example

```json
{
  "nips": [
    "5260250274",
    "5250007738"
  ],
  "enrichKRS": false
}
```

# 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 = {
    "nips": [
        "5260250274",
        "5250007738"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ivoried_quickness/polish-company-vat-checker").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 = { "nips": [
        "5260250274",
        "5250007738",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ivoried_quickness/polish-company-vat-checker").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 '{
  "nips": [
    "5260250274",
    "5250007738"
  ]
}' |
apify call ivoried_quickness/polish-company-vat-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ivoried_quickness/polish-company-vat-checker"
        }
    }
}

```

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/SSoyP0nZMK1vBfcua/builds/t7R1ZbJ6FInuvOfoC/openapi.json
