# Global IBAN, SWIFT/BIC & EU VAT FinTech Validator (`vieiracorpori/global-iban-swift-vat-fintech`) Actor

Validate international IBAN bank accounts across 70+ countries (ISO 13616 Mod-97 + SEPA detection), parse ISO 9362 BIC/SWIFT codes, and calculate EU VAT & B2B cross-border Reverse-Charge invoices. Supports Batch, Standby API & MCP.

- **URL**: https://apify.com/vieiracorpori/global-iban-swift-vat-fintech.md
- **Developed by:** [Danilo BRUNO Vieira VIANA](https://apify.com/vieiracorpori) (community)
- **Categories:** Business, Developer tools, Automation
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## Global IBAN, SWIFT/BIC & EU VAT FinTech Validator

Validate **International Bank Account Numbers (IBAN)** across **70+ countries** using official **ISO 13616 Mod-97-10 checksum rules**, verify **ISO 9362 BIC/SWIFT codes**, check **SEPA zone eligibility**, and calculate **European Union VAT & B2B Cross-Border Reverse-Charge invoices (Article 196)** in batch or Standby API mode.

### Key Features

- **70+ Countries IBAN Validation (ISO 13616 Mod-97):** Instant verification of length, check digits, country format, SEPA zone status, and bank identifier extraction.
- **BIC / SWIFT Verification (ISO 9362):** Decomposes bank code, country code, location code, and branch identifier, cross-checking country match against the IBAN.
- **EU VAT & Reverse-Charge Invoice Calculator:** Calculates Net-to-Gross and Gross-to-Net VAT across all 27 EU member states + XI and applies automatic 0% cross-border B2B Reverse Charge.
- **Dual Mode:** Runs as a Batch Dataset processor OR synchronous Standby API (`/validate-iban`, `/calculate-vat`).

# Actor input Schema

## `mode` (type: `string`):

Choose whether to validate a batch of IBAN/BIC accounts or calculate EU VAT & Reverse Charge invoices.

## `ibans` (type: `array`):

List of international IBAN bank account numbers across 70+ countries (e.g. DE89370400440532013000, GB29NWBK60161331926819).

## `bic` (type: `string`):

Optional ISO 9362 BIC/SWIFT code to validate and cross-check against the IBAN country.

## `invoices` (type: `array`):

List of invoice objects with amount, country_code, seller_country_code, and buyer_has_valid_eu_vat.

## Actor input object example

```json
{
  "mode": "validate_ibans",
  "ibans": [
    "DE89370400440532013000",
    "GB29NWBK60161331926819"
  ],
  "bic": "COBADEFFXXX",
  "invoices": [
    {
      "amount": 1000,
      "country_code": "DE",
      "seller_country_code": "IE",
      "buyer_has_valid_eu_vat": true
    }
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

JSON dataset containing all validated IBANs, BIC details, and EU VAT calculations.

## `csvExport` (type: `string`):

CSV export for accounting, ERP, and payout reconciliation.

# 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 = {
    "ibans": [
        "DE89370400440532013000",
        "GB29NWBK60161331926819"
    ],
    "bic": "COBADEFFXXX",
    "invoices": [
        {
            "amount": 1000,
            "country_code": "DE",
            "seller_country_code": "IE",
            "buyer_has_valid_eu_vat": true
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("vieiracorpori/global-iban-swift-vat-fintech").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 = {
    "ibans": [
        "DE89370400440532013000",
        "GB29NWBK60161331926819",
    ],
    "bic": "COBADEFFXXX",
    "invoices": [{
            "amount": 1000,
            "country_code": "DE",
            "seller_country_code": "IE",
            "buyer_has_valid_eu_vat": True,
        }],
}

# Run the Actor and wait for it to finish
run = client.actor("vieiracorpori/global-iban-swift-vat-fintech").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 '{
  "ibans": [
    "DE89370400440532013000",
    "GB29NWBK60161331926819"
  ],
  "bic": "COBADEFFXXX",
  "invoices": [
    {
      "amount": 1000,
      "country_code": "DE",
      "seller_country_code": "IE",
      "buyer_has_valid_eu_vat": true
    }
  ]
}' |
apify call vieiracorpori/global-iban-swift-vat-fintech --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vieiracorpori/global-iban-swift-vat-fintech"
        }
    }
}
```

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/gOTHWKMhE9LXE0tQA/builds/T2rnKoQ2JdXZ4IX2l/openapi.json
