China VAT Number Verification API
Compare the seller tax ID on a Chinese VAT invoice with verified company data before assigning the invoice to a supplier in your ERP.
Retrieve a company’s registered identity, business status, address, capital and business scope.

Two vendor records in an ERP carry the same English name. One was opened for a Mainland Chinese factory, and the other was opened later for a trading company that handles some orders. A verified invoice arrives under a third label, the seller's Chinese legal name. The company's full identifier can help determine which supplier record belongs to the seller. A useful China VAT number check starts with the label and the source of the number.
With ChinaValidate, read the invoice seller's tax ID from the verified invoice response and compare it with the Unified Social Credit Code in the confirmed company profile. Preserve the invoice and the company responses as evidence. The accounting system can use the comparison to assign the invoice to an approved seller or route it to the people who can resolve a mismatch. The distinction matters when a legitimate invoice is submitted for a purchase from a different legal entity. Company profile API · Invoice verification API
The number behind the VAT field
An overseas supplier form may ask for a VAT number, tax ID, TIN or business number. For a Mainland Chinese legal person or other organization that has obtained a Unified Social Credit Code, the State Taxation Administration says that its taxpayer identification number uses that 18-character code. This applies to the kind of company record used in the scenario. The same announcement describes other arrangements for taxpayers outside that category. Record the jurisdiction and the identifier label seen on the source instead of assuming all China-related tax numbers share the same length or format. State Taxation Administration taxpayer identification code standard
The National Development and Reform Commission's explanation describes a unified identifier for a legal person or other organization. In an ERP that supports suppliers worldwide, give the Mainland Chinese code its own documented identifier type. A taxpayer identification number identifies the taxpayer. Where a purchasing process needs separate evidence of VAT taxpayer status or a specific tax treatment on an invoice, store that evidence under its own field, with the authority, date and basis of the check. The company code alone establishes neither the tax treatment nor the payment arrangement for an order. NDRC explanation of the Unified Social Credit Code
Keep the value as text from the intake form through the API and database. Preserve the input from the supplier. If your system strips visual spaces or normalizes ordinary letter case for comparison, record the resulting comparison value separately. Flag spreadsheet values that have become scientific notation or OCR values that differ by a character. Ask for a source document or locate the correct record before editing a meaningful character. A well-formed string can belong to a different company.
Data from the invoice and the company
When you begin from the invoice, select the verification input appropriate to the available file or its fields. The State Taxation Administration identifies both the buyer and the seller as core components of a fully digital electronic invoice. In the ChinaValidate verification response, the buyer and seller have separate objects. Use the matched item's seller.tax_id and seller.name for the issuer comparison. The buyer's tax number can be checked against the legal entity that should receive the invoice. A buyer match leaves the seller check open. State Taxation Administration digital invoice announcement · Invoice verification response
A company profile request retrieves company information using the inputs documented for that endpoint. If the supplier's record is uncertain or you have only a name, treat company search as a way of finding candidates. Confirm the candidate against an actual company document or an identifier in the approved vendor record before using its profile. Use the original data values for the legal name and the unified_social_credit_code field. Display translated labels for readers as appropriate while retaining original values in the audit record. Store the company record only after confirming you have the entity whose invoice or vendor account you are investigating. Company search API · Company profile response
These two application response fragments show the values an integration reads. The company and tax identifier are illustrative.
{
"verification_status": "matched",
"seller": {
"name": "苏州示例精密制造有限公司",
"tax_id": "91320505MA00000005"
}
}
{
"company_name": "苏州示例精密制造有限公司",
"unified_social_credit_code": "91320505MA00000005"
}
In this case the two identifiers agree and the names agree. If that company is already the approved seller on the transaction, the identity check can be marked as complete and the invoice can advance to any remaining purchasing controls. Keep the authenticated application response and its outcome, including the invoice's verification status. HTTP success alone does not establish that a matched invoice or a company result is available.
A matching code on the wrong supplier account
Suppose the verified seller code matches a company record, but the company is not the supplier listed on the purchase order. The matched result gives the reviewer a useful fact: the seller on the invoice can be identified. It does not explain why that entity is billing your order. Show the invoice seller and the approved purchasing entity side by side. Keep the source of each identifier visible.
Start with the contract, order or other evidence of the agreed seller. A buying agent may have an agreed role, or the supplier may have sent an invoice associated with another order. In either case, the buyer needs the documentation for the arrangement before accepting the invoice under that order. If both suppliers use the same display name, search and compare the original registered names and codes. Avoid automatically merging accounts or moving open invoices when an invoice first introduces a new company.
When the codes are equal but the Chinese legal names differ, compare the issue date, the name shown on the original invoice and the current registry record. A supplier name could have changed, and a short label in the ERP could also explain the appearance of a mismatch. Use dated registration information or the document that supports the change. If the evidence establishes the relationship, record the decision and effective date. The name printed on a posted invoice should stay in its historical evidence.
An ERP decision for each result
| Evidence available | Identity decision | Next action |
|---|---|---|
| Matched invoice seller code equals the approved company code | Issuer identity supported | Continue with order and payment checks |
| Seller code identifies a different company from the approved vendor | Different entity identified | Ask the buyer to confirm the trading or billing arrangement |
| Code matches and recorded name differs | Name needs reconciliation | Compare original names and dated changes |
| Seller number absent or unreadable | Comparison incomplete | Retrieve a clearer invoice or complete a supported verification |
| Invoice verification mismatch or no result | Verified seller evidence unavailable | Review input and original document before assigning the invoice |
Implement these decisions in the purchasing system. Keep the raw code, role, source, timestamp and comparison value. The identifier you store from a historical invoice should remain traceable when you recheck a current profile. A record that simply says validated loses the distinction between an invoice found in verification and an invoice approved for this vendor.
First test with two approved suppliers that share the same English display name. Give each a separate company code and submit an illustrative matched invoice for one of them. Then repeat with a code missing, with the buyer code accidentally mapped into the seller field, and with the invoice seller present in company data but absent from your approved supplier list. Confirm that records move forward only when the required evidence for the specific order is available.
The verification can run again after the customer supplies a better PDF or corrects the input. Keep a record of which response drove the decision and why it changed. The operator should be able to trace the full path from the invoice seller field to the verified company profile and the ERP record without assigning a new identity solely from a familiar trade name.
A controlled supplier handoff
Decide which records can be changed by the person who handles an invoice. An accounts payable reviewer can correct a mistaken order association with evidence. Adding a seller, changing its approved paying entity or modifying its payment details should follow the organization's separate approval workflow. Store the relationship between the invoicing entity and the purchase when that relationship is approved. For example, a distributor that supplies two customers in the same corporate group may use one local tax identifier, while each customer receives invoices under its own buyer details.
When an integration imports records from a spreadsheet, report the blanks at the point of import. Values copied from “Tax no.”, “Company no.” and “VAT registration” columns are useful hints, but the original headers and source dates are just as important for interpreting them. Export a discrepancy list with the order reference and the masked value or internal record identifier that the reviewer can use to find the underlying evidence. Keep complete invoice images and API payloads in the authorized record store. Limit what goes into routine logs or supplier-facing notices.
Track the time of each check separately from the date printed on a source document. If a dispute concerns a previous period, make it possible to see what was verified when the invoice was received. A current company profile can refresh the vendor master, while the earlier invoice and its supporting record stay available for the period review.