{
 "name": "Unified Social Credit Code and SWIFT code layout used by the ChinaPayCheck browser pre-check",
 "version": "2026-11-15",
 "standard": "GB 32100-2015",
 "length": 18,
 "base31_alphabet": "0123456789ABCDEFGHJKLMNPQRTUWXY",
 "excluded_characters": [
  "I",
  "O",
  "Z",
  "S",
  "V"
 ],
 "position_weights_1_to_17": [
  1,
  3,
  9,
  27,
  19,
  26,
  16,
  17,
  20,
  29,
  25,
  13,
  8,
  24,
  10,
  30,
  28
 ],
 "check_character": "alphabet[(31 - (sum(index_of(c_i) * w_i for i in 1..17) % 31)) % 31]",
 "structure": {
  "1": "registration authority code",
  "2": "entity type code",
  "3-8": "administrative division code of the registering authority",
  "9-17": "organisation identifier",
  "18": "check character"
 },
 "registration_authority_codes": {
  "1": "institutional-establishment authority (public bodies)",
  "5": "civil-affairs authority (social organisations and foundations)",
  "9": "market regulator (companies and other market entities)"
 },
 "entity_type_codes_under_authority_9": {
  "1": "enterprise",
  "2": "individually-owned business",
  "3": "farmers' specialised cooperative"
 },
 "province_level_area_codes": {
  "10": "national level",
  "11": "Beijing",
  "12": "Tianjin",
  "13": "Hebei",
  "14": "Shanxi",
  "15": "Inner Mongolia",
  "21": "Liaoning",
  "22": "Jilin",
  "23": "Heilongjiang",
  "31": "Shanghai",
  "32": "Jiangsu",
  "33": "Zhejiang",
  "34": "Anhui",
  "35": "Fujian",
  "36": "Jiangxi",
  "37": "Shandong",
  "41": "Henan",
  "42": "Hubei",
  "43": "Hunan",
  "44": "Guangdong",
  "45": "Guangxi",
  "46": "Hainan",
  "50": "Chongqing",
  "51": "Sichuan",
  "52": "Guizhou",
  "53": "Yunnan",
  "54": "Tibet",
  "61": "Shaanxi",
  "62": "Gansu",
  "63": "Qinghai",
  "64": "Ningxia",
  "65": "Xinjiang"
 },
 "iso_9362_swift_layout": {
  "length": [
   8,
   11
  ],
  "1-4": "institution code",
  "5-6": "ISO 3166-1 alpha-2 country code",
  "7-8": "location code",
  "9-11": "optional branch code"
 },
 "limits": "Format checks only: a well-formed code does not show that a company is registered, active, or the owner of a bank account. The registry is gsxt.gov.cn.",
 "tool": "https://chinapaycheck.com/tools/uscc-swift-beneficiary-checker/",
 "service_boundaries": "https://chinapaycheck.com/service-boundaries/"
}
