IBAN & EU VAT Validator: VIES, Peppol, Invoice Fraud Check avatar

IBAN & EU VAT Validator: VIES, Peppol, Invoice Fraud Check

Pricing

from $1.00 / 1,000 payee checks

Go to Apify Store
IBAN & EU VAT Validator: VIES, Peppol, Invoice Fraud Check

IBAN & EU VAT Validator: VIES, Peppol, Invoice Fraud Check

Validate IBANs and EU VAT numbers (live VIES) and catch bank-change invoice fraud before you pay a supplier. Adds Peppol lookup, invoice VAT maths and SEPA date. ALLOW / REVIEW / BLOCK verdict with reasons, for AP automation and AI payment agents.

Pricing

from $1.00 / 1,000 payee checks

Rating

0.0

(0)

Developer

Lerider Technologies

Lerider Technologies

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

22 days ago

Last modified

Features

Limited permissions

Share

Closed source, on purpose: this is a fraud check, so its exact rules stay private. Our other EU compliance Actors and the parts this one shares with them are open source on GitHub; see Why this Actor isn't open source below.

Validate IBANs and EU VAT numbers (live VIES) and catch bank-change invoice fraud before you pay a supplier. Built for accounts-payable automation and AI payment agents. Each check returns one verdict, ALLOW, REVIEW or BLOCK, together with the reasons for it.

Typical uses: IBAN validation, EU VAT number validation (VIES), Peppol participant lookup, supplier verification before onboarding, and spotting business email compromise (BEC) where a known supplier suddenly sends a new IBAN.

EventPriceWhat it does
payee-check$0.001Offline IBAN check: checksum, Dutch bank code, a known payee asking for a new IBAN, invoice IBAN mismatch, pressure and bank-change language
supplier-preflight$0.03Everything payee-check does, plus a live EU VAT id check (VIES), a Peppol Directory lookup, invoice VAT arithmetic with reverse-charge checks, and the SEPA settlement date
attested-check$0.02Optional add-on ("attest": true) for either check: a timestamped evidence record of the input, verdict and rule version, so you can later prove the check was done before you paid

The input picks the event. A request with iban or payments runs payee-check. A request with payee or preflights runs supplier-preflight. Don't mix the two in one run. Add "attest": true to either one to get an attested verdict.

Supplier pre-flight: "before I pay or onboard this supplier, is anything wrong?"

Input

Only payee.iban is required. Every other field you add switches on more checks.

{
"payee": {"name": "Jansen Bouw B.V.", "iban": "NL91ABNA0417164300",
"vat_id": "NL123456789B01", "peppol_id": "0106:12345678", "lei": "724500AB12CD34EF5679"},
"invoice": {"text": "Factuur 2026-118 Jansen Bouw B.V., btw-id NL123456789B01. Totaal EUR 121,00. IBAN NL91 ABNA 0417 1643 00.",
"lines": [{"net": 100.0, "vat_rate": 21}],
"total_net": 100.0, "total_vat": 21.0, "total_gross": 121.0,
"buyer_vat_id": "BE0123456789", "issue_date": "2026-10-20"},
"known_payees": [{"name": "Jansen Bouw BV", "iban": "NL02RABO0123456789"}],
"pay_on": "2026-12-25"
}
  • Amounts can be JSON numbers or decimal strings, with at most 2 decimals. Negative amounts are allowed for credit notes. vat_rate is a percentage. Lines may also carry their own vat amount, which is then checked too.
  • peppol_id is ICD:identifier, for example 0106:12345678 (Dutch KvK), 0208:0123456789 (Belgian enterprise number) or 9944:NL123456789B01. The iso6523-actorid-upis:: prefix is optional. Identifiers are compared case-insensitively. A Dutch Peppol id that carries a KVK number (0106: + 8 digits, or a 0190: OIN of the form 00000003 + KVK number + 0000) also counts as a kvk when you send no kvk (see below).
  • pay_on is the date you will order the payment. It defaults to today (UTC).
  • lei (optional) is the supplier's 20-character Legal Entity Identifier. It adds an advisory parent profile (see below). parent_change_days (1–365, default 90) sets how far back a parent change is flagged.
  • kvk (optional) is a Dutch KVK number (Chamber of Commerce, 8 digits), as a string: "01234567". Without a lei, the Actor looks up the LEI that GLEIF holds for that KVK number and builds the parent profile for it (checks.parent_profile.lei_from: "kvk"). With a lei too, the LEI you gave is profiled and the two are compared: if they belong to different entities, advisory G4 says so. Spaces, dots and a KVK prefix are ignored, and a 7-digit old number gets its leading zero back. A JSON number (34153487) is rejected as an error for that item and not charged, because numbers lose leading zeros. Most small Dutch firms have no LEI; then advisory G5 (info) says so and no parent profile is made. If the LEI found for the KVK number has lapsed or been retired, advisory G6 says so.
  • No kvk but a Dutch peppol_id with a KVK number in it: that KVK number is used the same way (checks.parent_profile.lei_from: "peppol_kvk", kvk.kvk_from: "peppol_id", and the G4/G5 text names the Peppol id). A 0106 id that is not 8 digits (7 for an old number), other 0190 OINs (for example government bodies, prefix 00000001) and other countries' ids are not used. If you send both a kvk and such a peppol_id and the two KVK numbers differ, advisory G7 (warn) says so and your kvk is the one used.
  • Batch: {"preflights": [ {...}, {...} ], "known_payees": [...], "pay_on": "..."}, up to 200 per run. The top-level known_payees and pay_on apply to every item that doesn't set its own.

Output

The structure below is exact; the values depend on your input. Keys of checks you did not switch on (for example peppol without a peppol_id) may be missing. checks.iban_change summarises the K1/K2 known-payee result; checks.payee_check is the full Payee Check rule list (I*, K* and T* rules), so walk that array to see every IBAN, known-payee and invoice-text rule in one place.

{
"verdict": "BLOCK",
"score": 0.2,
"checks": {
"iban": {"ok": true, "iban": "NL91ABNA0417164300", "country": "NL", "bank": "ABN AMRO", "bic": "ABNANL2A"},
"iban_change": {"flag": true, "detail": "Jansen Bouw B.V. was paid before on NL02RABO0123456789; this payment goes to NL91ABNA0417164300. Confirm by phone on a number you already had"},
"vat": {"vat_id": "NL123456789B01", "country": "NL", "format_ok": true, "source": "VIES",
"status": "valid", "valid": true, "name": "JANSEN BOUW B.V.", "name_match": 1.0,
"checked_at": "2026-10-26T18:51:19Z", "cached": false, "in_invoice_text": true},
"peppol": {"registered": true, "status": "listed", "source": "Peppol Directory", "participant_id": "0106:12345678",
"country": "NL", "entity_name": "Jansen Bouw B.V.", "receives_invoices": true,
"checked_at": "2026-10-26T18:51:19Z", "cached": false},
"vat_math": {"ok": false, "rates_checked": "NL",
"computed": {"total_net": "100.00", "total_vat_line_rounding": "21.00",
"total_vat_total_rounding": "21.00", "total_gross": "121.00"},
"reverse_charge_expected": true, "reverse_charge_text_found": false, "vat_charged": true,
"issues": ["NL supplier to BE business buyer with VAT charged: usually 0 % with reverse charge (services) or as an intra-Community supply (goods); some supplies are exceptions",
"NL to BE B2B: no 'btw verlegd' / reverse-charge or intra-Community supply wording found in the invoice text"]},
"settlement": {"pay_on": "2026-12-25", "pay_on_is_target_day": false, "target_closed_reason": "Christmas Day",
"sepa_ct_value_date": "2026-12-28", "sepa_ct_latest_credit_date": "2026-12-29",
"instant_available": true,
"instant_basis": "payee bank is in the euro area: must accept SCT Inst under Regulation (EU) 2024/886",
"pay_on_in_past": false},
"parent_profile": {"lei": "724500AB12CD34EF5679", "lei_from": "input", "status": "checked", "parent_reported": true,
"direct_parents": [{"lei": "...", "name": "Jansen Holding B.V.", "country": "NL", "in_eea": true,
"registration_status": "ISSUED", "entity_status": "ACTIVE",
"successor_lei": null, "relationship_record_status": "PUBLISHED"}],
"ultimate_parents": [{"lei": "...", "name": "Example Group Inc.", "country": "US", "in_eea": false, "...": "..."}],
"recent_parent_events": [],
"no_parent_reason": null, "no_parent_reason_label": null,
"no_parent_reason_status": "not_applicable",
"change_window": {"days": 90, "from": "2026-10-30", "to": "2026-12-20", "complete": false},
"flags": [{"rule": "G1 ultimate parent outside the EEA", "ok": false, "severity": "info", "affects_verdict": false, "detail": "..."}],
"own_lei": {"lei": "724500AB12CD34EF5679", "status": "found", "legal_name": "Jansen Bouw B.V.",
"registration_status": "ISSUED", "entity_status": "ACTIVE", "successor_lei": null,
"source": "kvk_snapshot"},
"source": "GLEIF golden copy, Level 1 + Level 2 (CC0), via a dated offline snapshot",
"data_as_of": "2026-12-01T08:00:00+00:00", "history_start": "2026-10-30 00:00:00",
"basis": "Parent data is self-reported to GLEIF ...",
"change_note": "parent history is recorded only since 2026-10-30; changes before that are unknown"},
"payee_check": [{"rule": "I1 IBAN format and length", "ok": true, "severity": "block", "detail": "..."}]
},
"unavailable": [],
"advisories": ["G1 ultimate parent outside the EEA (info): Ultimate parent Example Group Inc. (...) has its legal address in US, outside the EEA (per GLEIF)"],
"reasons": [
"K2 known payee asks for a new IBAN: Jansen Bouw B.V. was paid before on NL02RABO0123456789; ...",
"M3 cross-border B2B VAT: NL supplier to BE business buyer with VAT charged: ...",
"M4 reverse-charge wording: NL to BE B2B: no 'btw verlegd' / reverse-charge or intra-Community supply wording found in the invoice text"
],
"engine": "supplier-preflight 0.5.0",
"data_as_of": {"bic_list_nl": "2026-10-27", "vat_rates_nl": "2026-10-26", "euro_area": "2026-10-26"},
"disclaimer": "Indicative checks, not tax or legal advice."
}

How the verdict is decided

  • BLOCK: at least one block-level check failed. These are: an IBAN with the wrong length or check digits; a known payee name asking for a new IBAN; an invoice that lists IBANs but not the one being paid; or a VAT id that VIES says is invalid. A VAT id that is malformed while VIES is down also counts.
  • REVIEW: at least one other check failed, or a register did not answer. In that case unavailable lists "VIES" and/or "Peppol Directory". A lookup that could not be done never produces ALLOW.
  • ALLOW: every check that your input switched on passed.
  • score runs from 0 to 1 and summarises the result: 1.0 means nothing failed. Each block-level failure subtracts 0.5, each other failure 0.15 and each unavailable register 0.1. Act on verdict, not on score.

The severity column below is the literal severity value in each failed rule (in checks.payee_check and in the pre-flight rule results behind reasons). It has three values: block (verdict BLOCK, score −0.5), warn (verdict REVIEW, score −0.15) and unavailable (a register did not answer: verdict REVIEW, score −0.1, and the register is named in unavailable). One rule code can fail with different severities depending on the cause, so each cause has its own row.

RuleseverityCheck
V1blockVAT id not valid in VIES (also: VIES unavailable and the VAT id has an invalid format or Dutch checksum)
V2warnVAT id cannot be checked here: the prefix is not an EU VIES country (e.g. GB, CH, NO)
V2unavailableVIES did not answer for a well-formed VAT id; unavailable lists "VIES"
V3warnthe name VIES returns does not match payee.name (only when VIES returns a name; some countries, e.g. DE, never do)
V4warnthe VAT id does not appear in invoice.text
P1warnthe peppol_id you gave is malformed or not listed in the Peppol Directory
P2unavailablethe Peppol Directory did not answer; unavailable lists "Peppol Directory"
P3 / P4warnthe Peppol entity's country or name differs from the VAT id's country or the payee name
M1warnVAT arithmetic: line VAT, sum of the lines, total VAT (rounding per line or per rate on the totals both pass), gross = net + VAT
M2warna rate other than 21 / 9 / 0 % on an invoice from a Dutch supplier
M3 / M4warnB2B supply between two different EU countries: VAT charged anyway, or no reverse-charge / intra-Community wording in the text
D1warnissue_date is in the future
I*, K*, T*as in Payee Checkthe IBAN, known-payee and invoice-text checks listed below

Parent profile (advisory, with payee.lei, payee.kvk or a Dutch KVK payee.peppol_id)

checks.parent_profile shows the supplier's direct and ultimate parent as reported to GLEIF (name, LEI, country, LEI status), and advisories lists what stands out. These notes are advisory only: they never change verdict or score, and there is no extra charge.

checks.parent_profile.status is one of:

statusMeaning
checkedthe LEI was looked up in the GLEIF snapshot; the parent fields and flags are filled (an LEI that GLEIF does not hold also ends here, with no parents)
not_givenno payee.lei, no payee.kvk and no Peppol id with a KVK number in the input; the block is just {"status": "not_given", "flags": []} and advisories is empty
invalid_leithe lei fails the ISO 17442 check digits; G0 is flagged and nothing is looked up
kvk_not_foundonly a kvk (or a Peppol id with a KVK number) was given and GLEIF holds no LEI for it; G5 (info) is flagged, there is no parent profile
invalid_kvkonly a kvk was given and it is not an 8-digit KVK number; G5 (info) is flagged, nothing is looked up
unavailablethe GLEIF snapshot (parent data, or for a kvk alone the KVK-to-LEI data) could not be read in this run; nothing is looked up, and advisories says so. Never read as "no parent" or "no LEI"

checks.parent_profile.lei_from says where the profiled LEI came from: "input" (your lei), "kvk" (looked up from your kvk) or "peppol_kvk" (looked up from the KVK number in your peppol_id), null when no LEI was found. With a kvk (or a Peppol id with a KVK number), checks.parent_profile.kvk shows the look-up; kvk.kvk_from is "input" or "peppol_id" (then kvk.peppol_id is the id it came from). For example, {"payee": {"iban": "NL91ABNA0417164300", "kvk": "33031431"}} gives:

"parent_profile": {"lei": "3TK20IVIUJ8J3ZU0QE75", "lei_from": "kvk", "status": "checked", "...": "...",
"kvk": {"kvk": "33031431", "status": "found", "lei": "3TK20IVIUJ8J3ZU0QE75",
"legal_name": "ING BANK N.V.", "registration_status": "ISSUED", "successor_lei": null,
"other_leis": [], "kvk_from": "input",
"source": "GLEIF golden copy, Level 1 (CC0): LEIs registered with the KVK (RA000463), dated offline snapshot",
"data_as_of": "2026-10-30T00:00:00+00:00"}}

kvk.status is found, not_found, invalid_kvk or unavailable. When one KVK number has several LEIs (a re-registration, about 70 cases), the ISSUED one is used and the others are in other_leis. When you give both lei and kvk, kvk.matches_lei is true (the LEI is one of the KVK number's LEIs), false (G4) or null (the snapshot knows neither, e.g. a non-Dutch LEI: nothing is concluded). When you give a kvk and a Peppol id with a KVK number, kvk.peppol_kvk is the number in the Peppol id and kvk.matches_peppol_kvk is true, false (G7) or null (your kvk is not a valid KVK number). The KVK-to-LEI data covers every LEI GLEIF holds with the Dutch KVK as registration authority (about 198,000 KVK numbers); it is not the KVK register itself.

Why no parent is reported. When GLEIF holds no parent for a level (direct or ultimate), companies report a reason instead. checks.parent_profile.no_parent_reason gives it per level, as the GLEIF code, with a plain-English no_parent_reason_label. For example, a Dutch B.V. owned by its founders:

"no_parent_reason": {"direct": "NATURAL_PERSONS", "ultimate": "NATURAL_PERSONS"},
"no_parent_reason_label": {"direct": "Self-reported to GLEIF: controlled by one or more natural persons, with no parent company that consolidates it", "ultimate": "..."},
"no_parent_reason_status": "reported"

A level that has a parent shows null. If a company reported more than one reason for a level, the codes are joined with + (for example NATURAL_PERSONS+NO_KNOWN_PERSON), and the label lists each one, separated by ; . A code this version has no label for is still shown exactly as the company reported it, and its label says so. These reasons are information only: they add no flag, and they never change verdict or score.

CodePlain English (as self-reported to GLEIF)
NATURAL_PERSONScontrolled by one or more natural persons, with no parent company that consolidates it
NON_CONSOLIDATINGwhoever controls it is not required to prepare consolidated accounts that include it
NO_KNOWN_PERSONno known person controls it (e.g. widely held shares)
NO_LEIit has a parent, but the parent has no LEI (does not consent to get one), so GLEIF cannot link it
NON_PUBLICthe parent information is not public (GLEIF's current code since 2022; it replaced the detailed reasons below)
BINDING_LEGAL_COMMITMENTS, LEGAL_OBSTACLESdisclosure is prevented by binding legal commitments, or by legal obstacles in the law of a jurisdiction
DISCLOSURE_DETRIMENTAL, DETRIMENT_NOT_EXCLUDEDdisclosing the parent would be (or could not be ruled out to be) detrimental to the entity or the parent
CONSENT_NOT_OBTAINEDthe parent did not consent to its publication

checks.parent_profile.no_parent_reason_status (only when status is checked) is one of:

no_parent_reason_statusMeaning
reportedthe reason(s) above are filled from the snapshot
not_applicableGLEIF holds both a direct and an ultimate parent, so there is no reason to give
none_reportedGLEIF holds a parent for one level and no reason for the other
not_coveredthe snapshot carries reasons only for companies with a parent link and for active, non-fund companies with an issued LEI and a legal address in the Netherlands, Germany, France or Belgium (to keep the Actor small); this LEI is outside that set, or GLEIF holds no reason for it. no_parent_reason_note says so
unknown_codethe snapshot has a reason entry this version cannot read; nothing is guessed
unavailablethis build's snapshot carries no reasons at all

G-flags are advisory: their warn is not the warn of the rules above. The Level below is the severity of each entry in checks.parent_profile.flags (warn or info) on the advisories' own scale. Every G-flag also carries "affects_verdict": false in the JSON, and none is ever counted in verdict, score or reasons. If your code reads severity across the whole result, skip entries with affects_verdict: false (or read only reasons for what drives the verdict).

RuleLevel (advisory, no verdict effect)Note
G0warn (advisory, no verdict effect)the lei you gave fails the LEI check digits; nothing else is looked up
G1info (advisory, no verdict effect)the ultimate parent (or, if none is reported, the direct parent) has its legal address outside the EEA
G2info / warn (advisory, no verdict effect)a parent's own LEI has lapsed (not renewed: info) or is retired, annulled, merged, a duplicate, or the parent entity is inactive (warn)
G3warn / info (advisory, no verdict effect)GLEIF's parent data for the supplier changed in the last parent_change_days days: a parent link removed, replaced or changed status (warn); parent data reported for the first time, or only the reason for "no parent reported" changed (info)
G4warn (advisory, no verdict effect)KVK and LEI point to different entities: the kvk you gave is registered at GLEIF to another LEI than your lei (or your lei is registered with another KVK number). The parent profile is for your lei
G5info (advisory, no verdict effect)the kvk you gave (without a lei) has no LEI at GLEIF, or is not an 8-digit KVK number; no parent profile is made
G6info / warn (advisory, no verdict effect)the supplier's own LEI (the one profiled, from your lei or looked up from your kvk) has lapsed (not renewed: info) or is retired, annulled, merged, a duplicate, or the entity is inactive (warn). Details in checks.parent_profile.own_lei
G7warn (advisory, no verdict effect)KVK number and Peppol id differ: the kvk you gave is not the KVK number in your peppol_id (0106: or a 0190: OIN with prefix 00000003). Your kvk is used for the parent profile; invoices may come from another group company

checks.parent_profile.own_lei gives the profiled LEI's own GLEIF status (registration_status, entity_status, successor_lei). It is in the snapshot for every LEI registered with the Dutch KVK and for every LEI that is another company's parent (source: kvk_snapshot or parent_snapshot). For other LEIs own_lei.status is not_in_snapshot: the status is not checked and G6 cannot fire, which says nothing about the LEI. A lapsed LEI means the company did not renew its GLEIF registration; it says nothing about whether the company itself still trades.

Read these notes for what they are. The parent data is reported to GLEIF by the company itself and checked by its LEI issuer, so it can be incomplete or out of date. It is not an ownership, beneficial-owner (UBO) or sanctions check. "No parent" means GLEIF holds no parent relationship for that LEI (many companies report a reason instead, such as "owned by natural persons", shown in no_parent_reason); it does not mean the company has no owner, and a NATURAL_PERSONS reason does not say who those persons are. The data comes from a dated GLEIF snapshot built into the Actor (checks.parent_profile.data_as_of, the snapshot's ISO date-time; not the top-level data_as_of, which dates the other built-in tables), not a live lookup, and change history starts on 2026-10-30 (history_start): changes before that date are unknown, which change_window.complete: false tells you.

The settlement block is information only and never changes the verdict. sepa_ct_value_date is the first TARGET business day on or after pay_on. TARGET is closed on weekends, 1 January, Good Friday, Easter Monday, 1 May, 25 December and 26 December. sepa_ct_latest_credit_date is the next business day after that (the D+1 rule). instant_available is true for payee banks in the euro area, where SEPA Instant reception is mandatory. It is null elsewhere, because there it depends on the bank.

Payee check ($0.001): offline, stateless

{
"iban": "NL91ABNA0417164300",
"payee_name": "Jansen Bouw B.V.",
"amount": "1234.56",
"message_text": "Invoice 2026-118, amount EUR 1,234.56, to be paid to NL91 ABNA 0417 1643 00.",
"known_payees": [{"iban": "NL91ABNA0417164300", "name": "Jansen Bouw BV"}]
}

Only iban is required. Here amount must be a decimal string (unlike the pre-flight invoice amounts, which also accept JSON numbers). For a batch, send {"payments": [ {...}, ... ], "known_payees": [...]} with up to 1000 payments; a payment that sets its own known_payees uses that list instead of the top-level one.

{
"verdict": "ALLOW",
"iban": "NL91ABNA0417164300",
"country": "NL",
"bank": {"name": "ABN AMRO", "bic": "ABNANL2A"},
"reasons": [],
"checks": [{"rule": "I2 IBAN check digits (mod 97)", "ok": true, "severity": "block", "detail": "check digits valid"}],
"note": "Offline heuristic check, not a bank Verification of Payee. BLOCK/REVIEW means: a human confirms with the payee on a known phone number before paying."
}

Rules (the literal severity is in brackets; warn leads to REVIEW): I1/I2 IBAN length and mod-97 (block). I3/I4 a non-SEPA country, or a Dutch bank code that is not on the official Dutch list (warn). K1 a known IBAN under a different name (warn). K2 a known payee name with a new IBAN (block). K3 a new payee (warn). K4 a payee name that mixes Latin with Cyrillic or Greek look-alike letters (warn). T1 the IBAN being paid is not among the IBANs in the message (block). T2 to T6 (warn): several IBANs in the message, pressure language, bank-change language (Dutch, English, German, French, Spanish, Italian), or the amount or payee name missing from the message. Names and message text are compared as a reader sees them: full-width characters, invisible zero-width characters and Cyrillic/Greek look-alike letters can't be used to dodge a rule.

Attested verdicts: proof that you checked before you paid

When a payment goes wrong, the question is often "did you check before you paid?". A bank, an auditor, an insurer or a financial dispute body (for example the ombudsman for financial services in your EU country) may ask for that proof. A log line in your own system is weak evidence, because you could have written it afterwards. With "attest": true, each checked item gets an evidence record that cannot be back-dated or changed afterwards without it showing, not by you and not by us. Two independent witnesses date it: a Time-Stamp Authority signs it at once, and a Bitcoin anchor follows within hours that does not depend on trusting anyone:

{"iban": "NL91ABNA0417164300", "payee_name": "Jansen Bouw B.V.", "attest": true}

Each result item then has an attestation object:

FieldWhat it is
statusok (timestamped, charged as attested-check) or unavailable (the timestamp service did not answer: you still get the verdict, and the attestation is not charged)
documentCanonical JSON (sorted keys, no spaces, UTF-8) of what was checked: the input, the full result (verdict, reasons, every rule), engine (rule version), data_as_of, the Actor build and run id, the check time and a random salt
sha256SHA-256 of document
merkleAll items of one run share one timestamp. path leads from your item's sha256 to the root that was timestamped (R: sha256(hash + x), L: sha256(x + hash)). For a single item, root = sha256
rfc3161An RFC 3161 timestamp token from FreeTSA (freetsa.org, a free public Time-Stamp Authority) over merkle.root: gen_time, serial, and the full signed response as tsr_b64
opentimestampsAn OpenTimestamps proof (ots_b64, a standard .ots file for your item's sha256), submitted to four public calendars. It starts as pending and can be anchored in the Bitcoin blockchain a few hours later with ots upgrade

The long text fields (message_text, invoice.text) and your known_payees list are recorded in document as {"sha256", "length"} only. Keep the original e-mail or invoice: its SHA-256 proves which text was checked.

Verify an attestation, free. Run the Actor with {"verify": [<attestation>, ...]} (the attestation object or the whole result item). It checks offline, without calling any service, that the document still matches its hash, that the Merkle path reaches the timestamped root, and that the RFC 3161 token is signed by the FreeTSA key (certificate chain pinned to the FreeTSA root, timeStamping key usage, nonce). It returns valid and the list of problems. Verification is not charged. You can also check it with standard tools and without us:

echo '<rfc3161.tsr_b64>' | base64 -d > t.tsr
curl -sO https://freetsa.org/files/cacert.pem
openssl ts -verify -in t.tsr -digest <merkle.root> -CAfile cacert.pem # "Verification: OK"
echo '<opentimestamps.ots_b64>' | base64 -d > p.ots
ots upgrade p.ots && ots verify -d <sha256> p.ots # after a few hours: Bitcoin block

What this proves: the exact document (and so this verdict, rule version and data dates for this input) existed no later than gen_time, as signed by an independent TSA, and, once anchored, no later than the Bitcoin block time. What it does not prove: it is not an eIDAS qualified electronic time stamp (FreeTSA is not a qualified trust service), so courts weigh it like other electronic evidence rather than presuming its accuracy. It does not prove that the payment was made, or what you did with the verdict.

Calling it from an agent (MCP)

Add the Apify MCP server with this Actor to your MCP client, then call the Actor's tool with the JSON input above:

{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=lerider/payee-check",
"headers": {"Authorization": "Bearer <your Apify token>"}}}}

You can also call it from the Apify API (run-sync-get-dataset-items) or from the Apify client libraries. Results come back as dataset items, one per payment or pre-flight. Each item has an index, and bad items carry an error instead of a verdict and are not charged, for example {"index": 0, "error": "payee.iban is required"}. Required fields are checked by the Actor at run time; the input schema itself is deliberately permissive because one Actor serves two input shapes. The payee check's note and the pre-flight's disclaimer carry the same kind of text. engine is the version of the check logic and changes independently of the Actor build version.

What engine means. engine names the rule set that produced the verdict: payee-check X.Y.Z for a payee check, supplier-preflight X.Y.Z for a pre-flight (which includes the payee check). The minor number goes up when a build changes what a rule decides or flags (a new rule, a new wording list, a changed threshold or data table), the patch number for a fix that changes an outcome; builds that change neither keep it. It is recorded in every result and in the attested document, so you can tell later which rules made a verdict. Verifying an older attestation checks it against its own recorded engine, never against the current one, so old records stay valid. Current: payee-check 0.2.0 and supplier-preflight 0.5.0 (build 0.4.3; builds 0.4.1 and 0.4.2 reported supplier-preflight 0.3.0). Builds 0.2 to 0.3.9 all reported payee-check 0.1.0 / supplier-preflight 0.2.0; for those records, the Actor build in the attested document (and the CHANGELOG) tells the rule sets apart.

Pricing and charging

  • payee-check: $0.001 per checked payment (about $1 per 1,000). supplier-preflight: $0.03 per pre-flight.
  • attested-check: $0.02 per item, on top of the check, only with "attest": true and only when the RFC 3161 timestamp was obtained. If the timestamp service is down, the verdict is returned with "attestation": {"status": "unavailable"} and only the check itself is charged. verify runs are free.
  • A malformed item, such as a missing IBAN, a bad date, an amount with more than 2 decimals or a wrong field type, returns an error and is not charged. A batch is charged per item checked, not per run.
  • A pre-flight whose register lookup was unavailable still returns a verdict and is charged. Its verdict is never ALLOW, and unavailable names the source, so you can re-run it later.

What it does NOT do

  • It does not pay anything or move money. It is a read-only check.
  • It is not your bank's Verification of Payee (VoP). It runs earlier, on the invoice text and your own payment history, which your bank's VoP never sees. VoP only warns, and a warning can be clicked through: the Dutch financial ombudsman Kifid holds that whoever pays despite a name-mismatch warning carries the loss (Kifid 2026-0901: €1,420 paid to a tampered address-book payee after the bank showed "name does not match", claim rejected). An agent paying on its own cannot weigh a warning; it needs the verdict before it pays.
  • It gives no tax or legal advice. The VAT checks are arithmetic and pattern checks that flag what a person should look at. Reverse-charge rules have exceptions (for example some property, event and passenger-transport services), and only you or your adviser can apply them.
  • It checks VAT rates only for Dutch suppliers. Other countries' rates are reported as "rates_checked": null, never guessed.

Data sources

  • VIES (European Commission VAT Information Exchange System, public REST service). It is retried with backoff, and answers are cached in memory for at most 24 h, keyed on the VAT id.

  • Peppol Directory (OpenPeppol, public search API). The Directory lists participants that chose to publish their details, so "not listed" does not prove a company is not on the Peppol network.

  • TARGET calendar (European Central Bank), Dutch VAT rates (Belastingdienst), Dutch bank codes (Betaalvereniging Nederland BIC list) and the euro-area country list (European Union). These are built in. An automated check compares them with the official sources every month and flags any difference for an update. Every result carries a top-level data_as_of, the date each built-in table was last verified, e.g. {"bic_list_nl": "2026-10-27", "vat_rates_nl": "2026-10-26", "euro_area": "2026-10-26"}.

  • Two different data_as_of fields. The top-level data_as_of (an object of dates, in every result) dates the built-in BIC, VAT-rate and euro-area tables above. checks.parent_profile.data_as_of (one ISO date-time string, pre-flight with lei or kvk only, null when status is unavailable) is the time of the GLEIF snapshot behind the parent profile, and checks.parent_profile.kvk.data_as_of (with kvk only) that of the KVK-to-LEI snapshot. To see how fresh the GLEIF data is, read those.

  • GLEIF (Global Legal Entity Identifier Foundation) golden copy, Level 1 and Level 2 (relationship records and reporting exceptions), licence CC0. Source: GLEIF. Used for the parent profile and the KVK-to-LEI look-up only (the LEIs GLEIF holds with the Dutch KVK, RA000463, as registration authority), from dated snapshots refreshed with each Actor build.

  • FreeTSA (freetsa.org), RFC 3161 Time-Stamp Authority, used for attest only. Its usage policy allows commercial use, at most one request per second per IP, best effort without an SLA. One request per run, whatever the batch size.

  • OpenTimestamps public calendars (opentimestamps.org, eternitywall.com, catallaxy.com), used for attest only.

Why this Actor isn't open source

Our other EU compliance Actors are open source (github.com/LeriderTechnologies/eu-compliance-actors). Payee Check is not, on purpose: it looks for the signs of invoice and CEO fraud, and publishing the exact rules would show fraudsters what to avoid. The parts it shares with the EU VAT Validator are open (VAT number formats, VIES and Peppol Directory lookups, name matching, in eu-vat-validator/eu_common), so you can check there how we build and how we handle your data.

Privacy

Nothing is stored. Each run keeps lookup answers in memory only for its own lifetime, so a batch doesn't ask VIES twice for the same VAT id. Nothing is written to disk or logged. For sole traders, the trader name that VIES returns can be personal data. It is passed through to your result only and kept nowhere else. Apify keeps your run's dataset for your own account, under Apify's own retention rules. Send only what the checks need.

With attest, only one 32-byte SHA-256 per run (the Merkle root) goes to FreeTSA, and a hash of it with a random nonce goes to each OpenTimestamps calendar. Every record contains a random salt, so the hash cannot be used to guess an IBAN or a name. The evidence record itself is returned only to you, in your dataset.

Limits

  • VIES and member-state registers go down at times. When that happens the verdict is REVIEW with "unavailable": ["VIES"]. Re-run it later.
  • Dutch bank-code recognition covers the main Dutch retail and business banks only.
  • A batch of pre-flights makes live lookups, so it takes longer than a payee-check batch: allow about 1 s per new VAT or Peppol id, and more when VIES retries.
  • attest depends on FreeTSA, a free service without an SLA. When it does not answer within about 25 s (one retry), the item is returned unattested and the attestation is not charged.
  • These are heuristic checks, not a guarantee. On REVIEW or BLOCK, a person should confirm with the payee on a phone number they already had, not one taken from the invoice in question.

Published by Lerider Technologies.