API reference, eKYB

KYB Pre-fill (enrichment)

POSThttps://demo-api.incodesmile.com/omni/externalVerification/ekyb-prefill

Fetches business enrichment data from a third-party source using the provided tax identifier (e.g. RFC for Mexico) and returns it as a typed response with the core fields tin, name, entityType and registrationStatus, plus source-dependent enrichment fields (address, credit rating, turnover, shareholders, directors, beneficial owners, per-state registrations, ... see the EkybPrefillResponse schema). incorporationDate and email are reported by the ID Merit and TheKYB sources, and taxIdEffectiveDate only by ID Merit Mexico. When the lookup finds no business every source returns all three as the literal "Unknown", and TheKYB sources also return that literal for a business they did find but hold no date for, so "Unknown" is not a not-found marker. Fields absent in the vendor response are omitted (null-excluded).

The mandatory source field selects the vendor and the credentials used. The country field selects the country whose rules apply. The two are not checked against each other. The accepted source values are listed on the source field of the request schema, which is where that list is kept up to date; each one names its vendor and country. One source behaves differently from the rest: "US_KYB_PREFILL" (Baselayer) resolves the business from businessName plus address rather than from the tax identifier, so taxId is optional there, and a US taxId may be either an IRS-issued EIN or a state Secretary-of-State registration number, both of which are checked. Every source returns tinMatch (Verified or Unverified) when taxId was supplied, comparing it against the tax identifiers the vendor returned. Beyond the input-match fields (tinMatch, nameMatch, addressMatch) this endpoint makes no Verified/Unverified assessment. It returns the data fetched from the source of truth.

Headers

api-versionstringrequiredDefaults to 1.0

Request body

application/json

pluginsarray[string]required

Plugin identifiers — must contain "ekyb-prefill".

countrystringrequired≥ 1 chars

Two-letter ISO-3166 country code of the entity to look up ("UK" is accepted as an alias for "GB").

sourcestringrequired≥ 1 chars

Identifies the data source / vendor that will service the lookup. Must match one of the registered pre-fill sources. Currently supported: "MX_KYB_PREFILL" (ID Merit, Mexico), "SA_KYB_PREFILL" (TheKYB, Saudi Arabia), "AE_KYB_PREFILL" (TheKYB, UAE), "AU_KYB_PREFILL" (CreditSafe, Australia), "GB_KYB_PREFILL" (CreditSafe, United Kingdom), "US_KYB_PREFILL" (Baselayer, United States), "IN_KYB_PREFILL" (CreditSafe, India), "DE_KYB_PREFILL" (CreditSafe, Germany), "ES_KYB_PREFILL" (CreditSafe, Spain), "FR_KYB_PREFILL" (CreditSafe, France), "IT_KYB_PREFILL" (CreditSafe, Italy), "NL_KYB_PREFILL" (CreditSafe, the Netherlands), "GR_KYB_PREFILL" (CreditSafe, Greece), "PT_KYB_PREFILL" (CreditSafe, Portugal), "BE_KYB_PREFILL" (CreditSafe, Belgium), "AT_KYB_PREFILL" (CreditSafe, Austria) and "IE_KYB_PREFILL" (CreditSafe, Ireland).

taxIdstring

Tax identification number of the entity to look up (e.g. RFC for Mexico, 10-digit CR number for Saudi Arabia, registration number for UAE, 9-digit ACN or 11-digit ABN for Australia, 7/8-digit company registration number or 9-digit VAT number optionally prefixed with GB for the United Kingdom, TIN for the United States, 21-character CIN or 15-character GSTIN for India — an Indian PAN is not searchable, HRB/HRA commercial-register number or DE-prefixed 9-digit USt-IdNr for Germany, CIF or ES-prefixed VAT number for Spain, 9-digit SIREN / 14-digit SIRET / RCS or RC registration / VAT number (FR + 11 characters) for France, CCIAA/NREA, 11-digit Partita IVA or 16-character Codice Fiscale optionally prefixed with IT for Italy, 8-digit KvK number, 9-digit RSIN or a BTW VAT number in the NL999999999B99 form for the Netherlands, 9-digit AFM optionally prefixed with EL or 11 to 12-digit GEMI number for Greece, 9-digit NIF optionally prefixed with PT for Portugal, 9 or 10-digit enterprise number (BCE/KBO) optionally prefixed with BE and optionally grouped in threes with dots or spaces for Belgium, FN commercial-register number for Austria (FN, up to 6 digits and an optional check letter, with optional spaces between those three parts but not inside the digits) or an ATU-prefixed 8-digit VAT number for Austria, 5 to 8-digit CRO registration number, IE-prefixed 5 or 6-digit CRO registration number or VAT number of 7 digits and 1 or 2 letters optionally prefixed with IE for Ireland, whitespace ignored). The provider search caps the registration number at 8 characters, counting the IE prefix, so a bare CRO number of 9 digits or more is rejected and an IE-prefixed one is limited to 6 digits. An Irish registration number is held in two registers, one for limited companies and one for business names, and the same digits can be two different companies. A bare 5 or 6-digit number searches both registers and picks one, in this order: the company a supplied businessName matches, when it matches exactly one of them; then the active company, when exactly one is active; then the business-names register. Supplying the number with the IE prefix searches the limited-company register only, which is how to reach a dissolved company. Required for every source except US_KYB_PREFILL (Baselayer resolves the business from businessName + address); when supplied the response includes `tinMatch`. For the United States either an IRS-issued EIN/TIN or a state Secretary-of-State registration number is accepted — both are checked, as in the standard KYB verification.

businessNamestring

Business name. Optional for most sources — when supplied it is forwarded to the vendor search to improve match accuracy (used by TheKYB-backed sources). Mandatory for US_KYB_PREFILL: Baselayer resolves the business from name + address. Where one registration number resolves a company in each of two registers, as it does in Ireland, a supplied businessName that matches only one of them selects that company, so sending it is the way to reach a specific one.

addressstring

Single-line business address. Optional for most sources — when supplied, it is fuzzy-matched against the vendor's registered address and the result is returned as `addressMatch` (used by CreditSafe-backed sources). Mandatory for US_KYB_PREFILL and must contain at least a city and a US state (e.g. "San Francisco, CA").

Responses