Bulk Email, Phone, IBAN, BIC & E-Invoice Validator avatar

Bulk Email, Phone, IBAN, BIC & E-Invoice Validator

Pricing

from $0.52 / 1,000 apify-default-dataset-items

Go to Apify Store
Bulk Email, Phone, IBAN, BIC & E-Invoice Validator

Bulk Email, Phone, IBAN, BIC & E-Invoice Validator

Validate mixed lists of emails, phone numbers, IBANs, BICs and e-invoices (XRechnung, Factur-X, Peppol BIS, CIUS-RO, HR-CIUS, Facturae, KSeF, FatturaPA) in one run: valid flag, normalized value and details per item. IBAN and BIC checks are offline format checks.

Pricing

from $0.52 / 1,000 apify-default-dataset-items

Rating

0.0

(0)

Developer

bite-sized-insights

bite-sized-insights

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Validate emails, phone numbers, IBANs, BICs and e-invoices in one bulk run - mix all five types in a single list and get one uniform result per item: valid or not, a clean normalized value, and the type-specific details.

Send a list of items, each with a type and a value, and get back a result for every one in the same order. Email addresses are syntax-checked, normalized and tested for a mail server and disposable domains. Phone numbers are parsed and checked against their country's numbering plan. IBANs and BICs are checked for structure, country and check digits. E-invoices are checked against EN 16931 and the KoSIT rules (XRechnung, ZUGFeRD, Factur-X), against the OpenPeppol rules (Peppol BIS Billing 3.0) against the Romanian CIUS-RO and Croatian HR-CIUS rules, or against the official schemas (Spanish Facturae, Polish KSeF FA(3), Italian FatturaPA). Use one actor and one dataset instead of five separate cleanup jobs.

No login required. No cookies needed. Pay-per-event pricing.

Why Choose This Actor?

"One list, one run, one result format - for every kind of contact and payment data you need to clean"

Our Bulk Data Validator provides:

  • Five Types in One Run: email, phone, iban, bic and einvoice items can be mixed freely in the same input
  • Uniform Results: every item returns the same seven fields (type, value, valid, normalized_value, data, error, error_code), so you can filter on valid without knowing the type
  • Clean Normalized Values: the normalized email address, the international phone format, the compact upper-case IBAN or BIC - ready to import
  • Type-Specific Details: MX and disposable-domain checks for emails; formats, number type, carrier, location and time zones for phone numbers; country, check digits and bank parts for IBANs and BICs; syntax, kind, profile and the rule findings for e-invoices
  • Bad Items Never Stop the Run: an unknown type or a missing value comes back as a result with an error message, not as a failed run
  • Cost-Effective: Pay only for the items you validate: $0.80 / 1k items, e-invoices $4.00 / 1k
  • No Third-Party Dependency: no upstream service to fail or rate-limit you, and no API key to manage

Quick Start

{
"items": [
{ "type": "email", "value": "jane@example.com" },
{ "type": "phone", "value": "020 7946 0958", "options": { "region": "GB" } },
{ "type": "iban", "value": "DE89 3704 0044 0532 0130 00" },
{ "type": "bic", "value": "DEUTDEFF500" },
{ "type": "iban", "value": "DE00 1234" }
]
}

Usage Examples

Phone Numbers Without a Country Code

Set a default region for the whole run, and override it per item with options.region:

{
"items": [
{ "type": "phone", "value": "020 7946 0958" },
{ "type": "phone", "value": "030 123456", "options": { "region": "DE" } },
{ "type": "phone", "value": "+14155552671" }
],
"default_region": "GB"
}

A number that starts with + always uses its own country code.

Check E-Invoices Together With Supplier Data

An einvoice value is the invoice as XML text, base64 XML or a base64 ZUGFeRD / Factur-X PDF (at most 5 MB). Nothing else is needed:

{
"items": [
{ "type": "einvoice", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ubl:Invoice xmlns:ubl=\"urn:oasis:names:specification:ubl:schema:xsd:Invoice-2\"/>" },
{ "type": "einvoice", "value": "<base64 of your PDF file>" },
{ "type": "iban", "value": "DE89 3704 0044 0532 0130 00" }
]
}

Polish KSeF (FA(3)) and Italian FatturaPA invoices are items of the same type: the format is recognized from the document, there is no extra option. XML text, base64 and URLs work the same way:

{
"items": [
{ "type": "einvoice", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><Faktura xmlns=\"http://crd.gov.pl/wzor/2025/06/25/13775/\"/>" },
{ "type": "einvoice", "value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><p:FatturaElettronica xmlns:p=\"http://ivaservizi.agenziaentrate.gov.it/docs/xsd/fatture/v1.2\" versione=\"FPR12\"/>" }
]
}

These two empty documents come back with valid: false and the schema errors (syntax ksef and fatturapa). KSeF invoices are checked against the official XML Schema plus a few KSeF checks (UTF-8 without BOM, no processing instructions, NIP check digit, duplicate line numbers, issue date); FatturaPA (1.2 PA and private, simplified) only against the official XML Schema: no SDI business rules and no .p7m files (send the XML inside). A valid result means pre-flight, not acceptance by KSeF or SDI.

Spanish Facturae invoices (3.2.2, 3.2.1 and 3.2, syntax facturae) are checked against the official XML Schema only: a signature in the document is not verified, and there is no FACe check. Romanian CIUS-RO 1.0.1 and Croatian HR-CIUS 2025 invoices (UBL Invoice and CreditNote with their exact specification identifiers) are checked with the EN 16931 rules and the national rules (finding stages ciusro and hrcius); nothing is sent to ANAF, the Porezna uprava or any other authority.

Peppol BIS Billing 3.0 invoices (UBL Invoice and CreditNote with the specification identifier urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0) are recognized the same way and checked with the EN 16931 and OpenPeppol rules (finding stage peppol); profile is then the Peppol ProfileID, for example urn:fdc:peppol.eu:2017:poacc:billing:01:1.0. Other Peppol identifiers (extensions, self-billing) and Peppol on CII are not validated (is_valid: false with a reason). There is no Peppol network delivery and no participant lookup.

The XML above is only an empty skeleton (it comes back with valid: false) and <base64 of your PDF file> is a placeholder, not valid input: replace both with your own invoices.

An einvoice item can also point to a document that is online: use a URL as its value (text starting with http:// or https://) or as url. The actor downloads the XML or PDF itself (at most 5 MB) and validates what it received:

{
"items": [
{ "type": "einvoice", "value": "https://example.com/invoices/2026-001.xml" },
{ "type": "einvoice", "url": "https://example.com/invoices/2026-002.pdf" }
]
}

Only public http and https URLs on the default ports (80 and 443) are fetched, with up to 5 redirects. Addresses on private or internal networks (loopback, private ranges, link-local and cloud metadata addresses) are blocked, also after a redirect, and no cookies, logins or credentials are sent, so documents behind a login cannot be fetched: pass their content instead. A URL that cannot be fetched (HTTP error, timeout, larger than 5 MB, not XML or PDF, blocked address) comes back like any item that could not be processed: valid: false, empty data, error with a short reason and error_code: "fetch_failed". Such results are listed before the other results of the run, identified by their value. Only einvoice items are fetched; the value of any other type is always taken as text.

For invoice-only runs with a flatter result per invoice, use the dedicated e-invoice validator.

Clean Up a Supplier List

{
"items": [
{ "type": "email", "value": "accounts@supplier.example" },
{ "type": "iban", "value": "GB82 WEST 1234 5698 7654 32" },
{ "type": "bic", "value": "NWBKGB2L" }
]
}

Output Example

Each item produces one dataset record. data depends on the type.

{
"type": "email",
"value": "jane@example.com",
"valid": true,
"normalized_value": "jane@example.com",
"data": {
"email": "jane@example.com",
"normalized_email": "jane@example.com",
"syntax_valid": true,
"domain_has_mx": true,
"is_disposable": false,
"is_role_account": false,
"is_free_provider": false,
"did_you_mean": null,
"deliverable_likely": true,
"reason": null
},
"error": null,
"error_code": null
}
{
"type": "phone",
"value": "020 7946 0958",
"valid": true,
"normalized_value": "+44 20 7946 0958",
"data": {
"phone_number": "020 7946 0958",
"e164": "+442079460958",
"international": "+44 20 7946 0958",
"national": "020 7946 0958",
"rfc3966": "tel:+44-20-7946-0958",
"country_code": 44,
"region_code": "GB",
"is_possible": true,
"possibility": "is_possible",
"is_valid": true,
"number_type": "fixed_line",
"carrier": null,
"location": "London",
"time_zones": ["Europe/London"],
"reason": null
},
"error": null,
"error_code": null
}
{
"type": "iban",
"value": "DE89 3704 0044 0532 0130 00",
"valid": true,
"normalized_value": "DE89370400440532013000",
"data": {
"iban": "DE89 3704 0044 0532 0130 00",
"normalized_iban": "DE89370400440532013000",
"formatted_iban": "DE89 3704 0044 0532 0130 00",
"country_code": "DE",
"check_digits": "89",
"bban": "370400440532013000",
"is_valid": true,
"reason": null
},
"error": null,
"error_code": null
}
{
"type": "bic",
"value": "DEUTDEFF500",
"valid": true,
"normalized_value": "DEUTDEFF500",
"data": {
"bic": "DEUTDEFF500",
"normalized_bic": "DEUTDEFF500",
"institution_code": "DEUT",
"country_code": "DE",
"location_code": "FF",
"branch_code": "500",
"is_valid": true,
"reason": null
},
"error": null,
"error_code": null
}

An item that is processed but fails validation has valid: false and the explanation in data.reason:

{
"type": "iban",
"value": "DE00 1234",
"valid": false,
"normalized_value": "DE001234",
"data": {
"iban": "DE00 1234",
"normalized_iban": "DE001234",
"formatted_iban": null,
"country_code": null,
"check_digits": null,
"bban": null,
"is_valid": false,
"reason": "The number's checksum or check digit is invalid."
},
"error": null,
"error_code": null
}
{
"type": "einvoice",
"value": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ubl:Invoice xmlns:ubl=\"urn:oasis:na…",
"valid": false,
"normalized_value": null,
"data": {
"source": "xml",
"syntax": "ubl",
"kind": "invoice",
"customization_id": "urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0",
"profile": null,
"scenario": "XRechnung (UBL Invoice)",
"embedded_filename": null,
"errors": [
{
"stage": "en16931",
"rule": "BR-CO-16",
"level": "fatal",
"location": "/Q{urn:oasis:names:specification:ubl:schema:xsd:Invoice-2}Invoice[1]/...",
"message": "[BR-CO-16]-Amount due for payment (BT-115) = ..."
}
],
"warnings": [],
"findings_truncated": false,
"normalized_einvoice": null,
"is_valid": false,
"reason": "1 validation error(s), first: [BR-CO-16]-Amount due ..."
},
"error": null,
"error_code": null
}

Input Parameters

ParameterTypeRequiredDescription
itemsarrayYes1-100,000 objects {type, value, options?}; type is email, phone, iban, bic or einvoice; an einvoice item can be given as a URL (value or url)
default_regionstringNoTwo-letter country code (e.g. US, GB) for phone numbers written without a + prefix

options is optional. Phone items accept {"region": "DE"}, which overrides default_region for that item. Email, IBAN, BIC and e-invoice items ignore options.

Output Fields

FieldTypeDescription
typestringThe item type as provided
valuestringThe value exactly as provided in the input (an einvoice value is cut to its first 100 characters; for an einvoice URL it is the URL)
urlstringOnly on einvoice items given as a URL: the URL the document was fetched from
validbooleanEmail: likely deliverable. Phone, IBAN, BIC, e-invoice: passes validation. Always false when error is set
normalized_valuenull/stringEmail: normalized address. Phone: international format. IBAN, BIC: compact upper-case form. E-invoice: always null. Null when it could not be parsed
dataobjectThe type-specific details below. Empty when error is set
errornull/stringSet only when the item could not be processed at all (unknown type, missing or non-text value, bad options, e-invoice over 5 MB, e-invoice URL that could not be fetched)
error_codenull/stringSet together with error: invalid_task (unknown type, missing or non-text value, bad options), too_large (e-invoice over 5 MB), engine_error (the e-invoice rule engine failed on the document) or fetch_failed (an e-invoice URL that could not be fetched); otherwise null

data for email

email, normalized_email, syntax_valid, domain_has_mx, is_disposable, is_role_account, is_free_provider, did_you_mean, deliverable_likely (syntax valid, mail server found and not a disposable domain) and reason. is_disposable is the disposable-email flag and feeds deliverable_likely. Role accounts such as support@ and free providers such as Gmail are flagged but do not affect deliverable_likely. did_you_mean is a corrected full address when the domain looks like a typo of a popular provider (john@gmial.com -> john@gmail.com), otherwise null.

data for phone

phone_number, e164, international, national, rfc3966, country_code, region_code, is_possible, possibility, is_valid, number_type, carrier, location, time_zones and reason. Number type, carrier, location and time zones are filled for valid numbers only.

data for iban

iban, normalized_iban, formatted_iban (groups of four), country_code, check_digits, bban, is_valid and reason. The parts are filled for valid IBANs only.

data for einvoice

source (xml or pdf), syntax (ubl, cii, ksef for Polish KSeF FA(3), fatturapa for Italian FatturaPA or facturae for Spanish Facturae), kind (invoice, credit_note or corrective_invoice), customization_id (the BT-24 specification identifier, for KSeF the form code such as FA (3) 1-0E, for FatturaPA the versione such as FPA12, for Facturae the SchemaVersion such as 3.2.2), profile (PDFs: the ZUGFeRD / Factur-X profile; Peppol BIS invoices: the ProfileID), scenario (the KoSIT scenario applied, Peppol BIS Billing 3.0 (UBL Invoice) or (UBL CreditNote), CIUS-RO 1.0.1 (UBL Invoice), HR-CIUS 2025 (UBL Invoice), Facturae 3.2.2, KSeF FA(3), FatturaPA 1.2 (PA), FatturaPA 1.2 (private), FatturaPA Semplificata 1.0), embedded_filename (PDFs only), errors and warnings (findings {stage, rule, level, location, message}, at most 100 each), findings_truncated, normalized_einvoice (always null), is_valid (true when there are no errors) and reason. XML Schema, EN 16931 and XRechnung rules follow the KoSIT validator configuration (XRechnung 3.0.2, EN 16931 1.3.16), the Peppol rules are the OpenPeppol release 3.0.22; ZUGFeRD / Factur-X profile-specific rules are not checked, and the MINIMUM and BASIC WL profiles are not validated (is_valid: false with a reason). At most 5 MB per invoice; a larger one comes back with error set. The dedicated e-invoice validator documents all details.

data for bic

bic, normalized_bic, institution_code, country_code, location_code, branch_code (null for 8-character codes), is_valid and reason. The parts are filled for valid BICs only.

Pricing

CostDescription
$0.0001 / startCharged per actor run
$0.80 / 1,000 itemsCharged per item validated, whatever its type
$3.20 / 1,000 e-invoicesExtra event for every einvoice item that was processed (total $4.00 / 1,000 e-invoices with the item price)
DescriptionFreeBronzeSilverGold+
Charged per item validated, whatever its type$0.80 / 1,000 items$0.76 / 1,000 items$0.68 / 1,000 items$0.52 / 1,000 items
DescriptionFreeBronzeSilverGold+
Extra charge per e-invoice processed (on top of the item price)$3.20 / 1,000$3.04 / 1,000$2.72 / 1,000$2.08 / 1,000

Gold, Platinum and Diamond share one price. The price depends on your Apify subscription plan and applies automatically.

An e-invoice that could not be processed at all (error set, for example over the size limit or a URL that could not be fetched) is not charged the extra event (it still pays the normal item price, as it is a record in the dataset). Items that could not be checked are not charged: they are left out of the dataset and listed in the FAILED_RECORDS record of the run's key-value store, and the run ends with a message so you can retry them.

API Integration

cURL

curl -X POST "https://api.apify.com/v2/acts/bite-sized-insights~bulk-email-phone-iban-bic-validator/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"items": [
{"type": "email", "value": "jane@example.com"},
{"type": "iban", "value": "DE89 3704 0044 0532 0130 00"}
]
}'

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("bite-sized-insights/bulk-email-phone-iban-bic-validator").call(
run_input={
"items": [
{"type": "email", "value": "jane@example.com"},
{"type": "phone", "value": "020 7946 0958", "options": {"region": "GB"}},
{"type": "iban", "value": "DE89 3704 0044 0532 0130 00"},
]
}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(f"{item['type']} {item['value']}: valid={item['valid']} -> {item['normalized_value']}")

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('bite-sized-insights/bulk-email-phone-iban-bic-validator').call({
items: [
{ type: 'email', value: 'jane@example.com' },
{ type: 'phone', value: '020 7946 0958', options: { region: 'GB' } },
{ type: 'iban', value: 'DE89 3704 0044 0532 0130 00' },
],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(item => {
console.log(`${item.type} ${item.value}: valid=${item.valid} -> ${item.normalized_value}`);
});

Use Cases

  • CRM and Lead Cleanup: Check emails and phone numbers of an imported list in one pass
  • Supplier and Payee Onboarding: Catch mistyped IBANs and BICs before a payment run bounces
  • Form and Signup Checks: Batch-validate mixed contact and bank details collected through forms
  • Data Migration: Normalize contact and bank fields to one clean format before loading them into a new system
  • Fraud Signals: Flag disposable email domains, VoIP numbers or mismatched countries as a low-cost first pass

FAQ

Does this check that a bank account or a phone number really exists?

No. IBANs and BICs are checked for length, country, structure and check digits, which catches typos and invented numbers, but there is no bank or account lookup, so a well-formed IBAN may still belong to no account. Phone numbers are checked against the numbering plan of their country; whether a number is currently assigned or reachable cannot be known from that data. Emails are the one type with a live check: the domain is looked up for a mail server.

What makes an email "valid"?

valid is true when the address has correct syntax, its domain has a mail server and it is not a known disposable or temporary email domain. Role accounts such as info@ or support@ are flagged in data.is_role_account but stay valid, since they are often perfectly deliverable. The check does not contact the mailbox, so it cannot confirm that a specific mailbox exists.

How are phone numbers without a country code handled?

A number starting with + always uses its own country code. For other numbers, the region in the item's options is used, then the run's default_region. Without either, the number cannot be interpreted and data.reason explains why.

How are e-invoices billed here?

An einvoice item pays the normal item price plus the einvoice-validated event, which together equal the price of the dedicated e-invoice validator ($4.00 / 1,000 on the Free plan).

Which e-invoice URLs can I pass, and what happens when one cannot be fetched?

Public http:// and https:// URLs (ports 80 and 443, up to 5 redirects, at most 5 MB per document, no login or cookies). The document must be XML or a PDF. Addresses on private or internal networks are blocked for safety. The actor fetches all URLs first and then validates the content, so very slow servers can cost time: a URL that does not fit into the time left of the run counts as not fetched. A URL that cannot be fetched returns a result with valid: false, an error and error_code: "fetch_failed" (item price, no extra e-invoice event). Run it again once the document is reachable.

What happens to an item with an unknown type or no value?

The run continues. That item gets a result with valid: false, empty data and an error message such as Unknown task type 'vat', expected one of: email, phone, iban, bic, einvoice, and it is counted like any other item.

Are the results in the same order as my input?

Yes. Result number N always belongs to item number N of the input, including items that returned an error.

Is my data stored or shared anywhere?

No. Input is processed for the duration of the run only and results are written to your own private run dataset, same as any other Apify actor.

Free plan

Free-plan users get 5 runs in total. Each free run validates only the first 10 entries of your input (the rest is ignored without an error) and returns at most 10 results. Console test runs have the same cap.

Disclaimer

This actor validates values against format and structure rules (for e-invoices also the EN 16931, XRechnung and Peppol BIS rule sets) and, for email, a mail-server lookup. It does not contact people, banks or carriers and cannot guarantee that an email, number or account is in use. Rules and data change over time; results reflect the version of the actor you run.

Attribution: the Peppol BIS Billing 3.0 validation rules are published by OpenPeppol AISBL (copyright OpenPeppol AISBL) and are built on the CEN EN 16931 validation artefacts (EUPL-1.2). Not affiliated with, endorsed by or certified by OpenPeppol AISBL. Peppol is a name of OpenPeppol AISBL; it is used here only to describe the format this actor validates. This actor is not a Peppol Access Point or Service Provider and does not send or receive documents over the Peppol network.


Need help? Open an issue on the actor's repository or contact support through Apify Console.