China Company Registration Number Matching API

Match legacy Chinese company registration numbers to current Unified Social Credit Codes during a supplier data migration.

ArticlesPublished by ChinaValidatePublished December 3, 2026Last updated December 3, 2026

Find Chinese companies by name or keyword. Use a matching record’s legal name or Unified Social Credit Code for a profile lookup.

View API documentationAPI workspace
China Company Registration Number Matching API

A supplier migration can look simple until you find that the old spreadsheet has three columns called Company No., Registration No. and Tax No. Some rows have 15 digits, some have 18 characters and some contain a number that has been rounded by spreadsheet software. The same supplier may also appear twice under different names. Build the migration around evidence that connects the original record to a current registered company.

ChinaValidate company search can return a candidate's registration_number and unified_social_credit_code in the same result. Once you have substantial evidence for the candidate, request the company profile by its current code and compare the original Chinese legal name and identifiers. Keep the legacy number alongside the current code so a previously signed contract or old purchase remains traceable. Company search API · Company profile API

A snapshot of the old register

Start by taking an immutable copy of the system being migrated. Export the vendor key, identifier value and identifier label as recorded, original name, document references and last recorded review date. An invoice header and a business licence are different documents. A number labelled as an old taxpayer identifier should stay in that role until you have evidence identifying it, even if it looks like an older company registration number.

The National Development and Reform Commission explains that before the reform, organizations could hold several codes assigned by different departments. The unified-code system provides a nationally consistent identifier and was introduced with a transition period. The State Taxation Administration also sets distinct rules for taxpayers without a Unified Social Credit Code. Neither a field length nor a shared run of digits determines that two earlier numbers refer to the same identifier type. NDRC explanation of unified organization identifiers · State Taxation Administration taxpayer identifier rules

Read all identifiers as strings. Keep the raw input even when creating a normalized form for comparison. Spreadsheet formatting may already have removed trailing digits or leading zeros before the export. Recover the original document or the value from the system that captured it if the identifier was truncated. Record the file, field label and capture date for recovered values. Otherwise keep the row open for review with the other available evidence. A migration should never create a plausible-looking registration number to fill a blank.

A candidate and a confirmed company

For a row with an older registration number and a Chinese legal name, send the name as the company search keyword. Collect candidate results from the relevant pages. In the current documented response, each candidate can carry a registered company name, older registration number, unified code, location and status. Review the complete names and available number fields. The top result is convenient for presentation, while the decision depends on evidence that identifies one company. Search request and result fields

The following fragment uses a company and pair of numbers shown in ChinaValidate's published sample response. The numbers are kept as strings.

{
  "company_name": "北京百度网讯科技有限公司",
  "registration_number": "110108002734659",
  "unified_social_credit_code": "91110000802100433B"
}

If the old registration number on your original business licence agrees with registration_number and the name and context agree, you have a basis for a link. Confirm the candidate in the profile endpoint by passing the current code in company_name_or_credit_code. The profile returns its documented identity fields in the original data object. Have the importer store the field names and their observed values separately. A row already backed by a well-sourced current code can start with the profile; a row containing only an old number needs independent evidence or a company name to locate candidates.

The State Administration for Market Regulation's implementing rules distinguish market entity types and their registered information, including companies and branches. The registration name and other fields should be read in that context. If the old record represents a branch and the profile represents a head office, investigate which entity the vendor record actually represented before linking them. A district or registered address can help narrow candidates, but neither should be assumed permanent. SAMR market entity registration rules

Decisions that survive a migration

Keep legacy and current identifiers in separate fields. For each proposed migration link, store the old system and record ID, the old number as recorded, the source document, matched legal name, verified code, and when the API evidence was captured. A third party reading the record should be able to see why it was accepted. The State Administration for Market Regulation's enterprise information disclosure rules explain which registration and filing information is published. If the history in your available data is incomplete, request the actual evidence from the supplier or consult the appropriate public record. Enterprise information disclosure regulations

Legacy row What the integration can do Evidence still needed
Verified current code with original registered name Retrieve the current company profile and preserve the legacy reference Review any material name or entity discrepancy
Old registration number and legal name both agree with one candidate Propose the link to its current code and confirm the profile Preserve the original legacy document and the current result
Same or similar legal name but the legacy number does not agree Keep all plausible candidates for review Evidence that connects the old record to the intended entity
Two old rows point to one current company Record a potential duplicate separately Decide whether to combine vendor accounts, active contracts and open orders
Current code absent or old number unreadable Record the evidence you have and keep the row open A clearer source or a documented registration link

Consider the case of two old vendor rows with different internal IDs and the same verified company code. Both may genuinely represent the same legal company. One vendor record may nevertheless have a separate currency account, approved buying arrangement or business-unit relationship. Record the legal-entity link first. The operational decision to retire a vendor account or move a contract belongs in the ERP or purchasing workflow with its own evidence.

When a candidate shares only a current short name, leave the result unconfirmed. If the documents show an actual rename, retain the dated link to the earlier name. If the entity was dissolved or a new entity took over its business, compare the actual registered identities and supporting transaction records. Similar names and offices may persist across a business transfer. Your entity history should be able to show a change without rewriting the identity on earlier records.

Links for split and retired accounts

Give legacy links an effective date and preserve any end date recorded in the original system. A former purchasing account can retain a reference to the company that fulfilled the orders even after the new system stops offering that account for new purchases. With that history, a credit or adjustment received after migration can still reference the original order. If a purchasing department needs a fresh vendor account for the same company, connect both accounts to the confirmed entity without reassigning the original orders.

Build the review screen around the original row and its proposed link. Show the observed old number, candidate legal name and current code together. Include a way for a reviewer to record the document that resolved a discrepancy. If two reviewers work on the same migration batch, require the approval to apply to the evidence version reviewed. An updated candidate should return to review before it can move open transactions.

A dry run before changing vendor IDs

Begin with a small migration sample that has real variation. Include a known code-and-name match, an old company with an older registration number and no current code in the source file, a branch listed under the head office's trade name, an incomplete spreadsheet number and two vendor IDs now associated with the same entity. For each item verify that the evidence displayed in the dry run supports the proposed decision. A preview table should offer enough detail for a reviewer to locate original documents, even when routine logs mask identifier values.

In the first import, save a proposed entity link under the old system's record ID. Retry the import and confirm that it updates the same proposal or adds a new evidence version without duplicating the vendor. Mark approved and deferred rows explicitly. Keep the previous mapping if an API call fails in part of the batch. The responsible reviewer needs to see exactly which rows were resolved and what remains to be verified instead of inheriting a generic completion flag.

Check missing-result handling with the same care as matching. An unavailable search response and a completed search returning zero candidates imply different follow-up work. A company that is hard to locate under an old name may require a stronger identifier or historical record. Retain the search input, response outcome and reason for deferral. Do not produce a new legal entity record solely because an earlier row could not be linked automatically.

Finally, run a readback against a few contracts, orders and invoice archives using their old vendor IDs. Confirm that users can find the current legal entity, the pre-migration number and the recorded basis for the link. A successful migration lets a buyer answer which company did business under the original record and lookup its current data without losing the earlier evidence.