支持韩国、印度营业执照类型,提供包括证件类型、公司名称、注册号、法人姓名、签发日期等关键字段的识别能力。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ocr:RecognizeInternationalBusinessLicense |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Url |
string |
否 |
图片/PDF 链接(长度不超 2048 字节,不支持 base64) |
https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20241223/moiowf/%E5%9B%BD%E9%99%85%E4%BC%81%E4%B8%9A%E6%89%A7%E7%85%A7%E8%AF%86%E5%88%AB.png |
| body |
string |
否 |
图片/PDF 二进制字节流,最大 10M |
图片二进制文件 |
| Country |
string |
是 |
国家名称 枚举值:
|
India(India、Korea) |
支持的图片格式
PNG、JPG、JPEG、BMP、GIF、TIFF、WebP、OFD、PDF
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| Code |
string |
错误码(如果识别成功,不会返回此字段) |
unmatchedImageType |
| Data |
string |
返回数据 |
{"algo_version": "b16f86189b72c2d726865272c98e8e58156a41c7;b16f86189b72c2d726865272c98e8e58156a41c7", "data": {"certificateType": "간이과세자", "issuanceNo": "", "processingTime": "", "companyNameEn": "", "companyName": "", "registrationNo": "135-31-78773", "nameOfRepresentativeEn": "", "nameOfRepresentative": "테라", "residentRegistrationNo": "", "businessAddressEn": "", "businessAddress": "경기도 수원시 영통구 영통로 498, 143동 1806흐(영통동, 황골마을 주공아파트)", "businessCommencementDate": "1972-01-10", "businessRegistrationDate": "", "businessTypeEn": "", "businessType": "", "businessItemEn": "", "businessItem": "스매업 전자상거래업(의류)", "jointCompanyName": "", "jointCompanyRegistrationNo": "", "issueDate": "2015-10-28", "issuer": "동수원세무서장"}, "ftype": 0, "height": 2988, "orgHeight": 2988, "orgWidth": 5312, "prism_keyValueInfo": [{"key": "certificateType", "keyProb": 100, "value": "간이과세자", "valuePos": [{"x": 621, "y": 1768}, {"x": 615, "y": 1221}, {"x": 720, "y": 1220}, {"x": 726, "y": 1767}], "valueProb": 100}, {"key": "issuanceNo", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "processingTime", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "companyNameEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "companyName", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "registrationNo", "keyProb": 100, "value": "135-31-78773", "valuePos": [{"x": 773, "y": 1517}, {"x": 763, "y": 881}, {"x": 861, "y": 880}, {"x": 870, "y": 1515}], "valueProb": 100}, {"key": "nameOfRepresentativeEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "nameOfRepresentative", "keyProb": 90, "value": "테라", "valuePos": [{"x": 946, "y": 2201}, {"x": 946, "y": 2047}, {"x": 1022, "y": 2047}, {"x": 1022, "y": 2201}], "valueProb": 90}, {"key": "residentRegistrationNo", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessAddressEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessAddress", "keyProb": 96, "value": "경기도 수원시 영통구 영통로 498, 143동 1806흐(영통동, 황골마을 주공아파트)", "valuePos": [{"x": 1346, "y": 2200}, {"x": 1321, "y": 736}, {"x": 1499, "y": 733}, {"x": 1523, "y": 2197}], "valueProb": 96}, {"key": "businessCommencementDate", "keyProb": 100, "value": "1972-01-10", "valuePos": [{"x": 1055, "y": 788}, {"x": 1046, "y": 62}, {"x": 1127, "y": 62}, {"x": 1135, "y": 787}], "valueProb": 100}, {"key": "businessRegistrationDate", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessTypeEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessType", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessItemEn", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "businessItem", "keyProb": 100, "value": "스매업 전자상거래업(의류)", "valuePos": [{"x": 1590, "y": 1982}, {"x": 1561, "y": 293}, {"x": 1659, "y": 291}, {"x": 1688, "y": 1980}], "valueProb": 100}, {"key": "jointCompanyName", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "jointCompanyRegistrationNo", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "issueDate", "keyProb": 100, "value": "2015-10-28", "valuePos": [{"x": 3755, "y": 1938}, {"x": 3749, "y": 1057}, {"x": 3842, "y": 1056}, {"x": 3848, "y": 1937}], "valueProb": 100}, {"key": "issuer", "keyProb": 100, "value": "동수원세무서장", "valuePos": [{"x": 3978, "y": 1997}, {"x": 3970, "y": 982}, {"x": 4099, "y": 980}, {"x": 4107, "y": 1996}], "valueProb": 100}], "sliceRect": {"x0": 8, "y0": 0, "x1": 4695, "y1": 0, "x2": 4737, "y2": 2976, "x3": 12, "y3": 2988}, "width": 5312} |
| Message |
string |
错误提示(如果识别成功,不会返回此字段) |
The type of image didn't match the api. |
| RequestId |
string |
请求唯一 ID |
43A29C77-405E-4CC0-BC55-EE694AD00655 |
中英文字段映射
data 结构化信息,face(身份证正面)和 back(身份证反面)
prism_keyValueInfo 结构化信息的坐标信息
sliceRect 检测出的子图坐标信息
ftype 是否是复印件(1:是,0:否)
韩国商业登记证字段说明
certificateType 证件类型
issuanceNo 发行号
processingTime 处理时间
companyNameEn 英文公司名称
companyName 非英文公司名称
registrationNo 商业注册号
nameOfRepresentativeEn 英文法人姓名
nameOfRepresentative 非英文法人姓名
residentRegistrationNo 法人证件号
businessAddressEn 英文商业地址
businessAddress 非英文商业地址
businessCommencementDate 商业起始时间
businessRegistrationDate 商业注册时间
businessTypeEn 英文商业类型
businessType 非英文商业类型
businessItemEn 英文经营范围
businessItem 非英文经营范围
jointCompanyName 联合企业名称
jointCompanyRegistrationNo 联合企业注册号
issueDate 签发日期
issuer 签发人
印度公司注册证字段说明
certificateType 证件类型
registrationNo 注册号
legalName 法定名称
tradeName 商号
businessConstitution 商业类型
businessAddress 地址
liabilityDate 责任日期
validFromDate 有效起始日期
validToDate 有效终止日期
registrationType 注册类型
particularsOfApprovingAuthority 审批机关详情
name 姓名
designation 委任
jurisdictionalOffice 管辖办事处
issueDate 签发日期
prism_keyValueInfo 数组字段说明
key 识别出的字段名称
keyProb 字段名称置信度
value 识别出的字段名称对应的值
valueProb 字段名称对应值的置信度
valuePos 字段在原图中的四个点坐标(左上、右上、右下、左下)
示例
正常返回示例
JSON格式
{
"Code": "unmatchedImageType",
"Data": "{\"algo_version\": \"b16f86189b72c2d726865272c98e8e58156a41c7;b16f86189b72c2d726865272c98e8e58156a41c7\", \"data\": {\"certificateType\": \"간이과세자\", \"issuanceNo\": \"\", \"processingTime\": \"\", \"companyNameEn\": \"\", \"companyName\": \"\", \"registrationNo\": \"135-31-78773\", \"nameOfRepresentativeEn\": \"\", \"nameOfRepresentative\": \"테라\", \"residentRegistrationNo\": \"\", \"businessAddressEn\": \"\", \"businessAddress\": \"경기도 수원시 영통구 영통로 498, 143동 1806흐(영통동, 황골마을 주공아파트)\", \"businessCommencementDate\": \"1972-01-10\", \"businessRegistrationDate\": \"\", \"businessTypeEn\": \"\", \"businessType\": \"\", \"businessItemEn\": \"\", \"businessItem\": \"스매업 전자상거래업(의류)\", \"jointCompanyName\": \"\", \"jointCompanyRegistrationNo\": \"\", \"issueDate\": \"2015-10-28\", \"issuer\": \"동수원세무서장\"}, \"ftype\": 0, \"height\": 2988, \"orgHeight\": 2988, \"orgWidth\": 5312, \"prism_keyValueInfo\": [{\"key\": \"certificateType\", \"keyProb\": 100, \"value\": \"간이과세자\", \"valuePos\": [{\"x\": 621, \"y\": 1768}, {\"x\": 615, \"y\": 1221}, {\"x\": 720, \"y\": 1220}, {\"x\": 726, \"y\": 1767}], \"valueProb\": 100}, {\"key\": \"issuanceNo\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"processingTime\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"companyNameEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"companyName\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"registrationNo\", \"keyProb\": 100, \"value\": \"135-31-78773\", \"valuePos\": [{\"x\": 773, \"y\": 1517}, {\"x\": 763, \"y\": 881}, {\"x\": 861, \"y\": 880}, {\"x\": 870, \"y\": 1515}], \"valueProb\": 100}, {\"key\": \"nameOfRepresentativeEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"nameOfRepresentative\", \"keyProb\": 90, \"value\": \"테라\", \"valuePos\": [{\"x\": 946, \"y\": 2201}, {\"x\": 946, \"y\": 2047}, {\"x\": 1022, \"y\": 2047}, {\"x\": 1022, \"y\": 2201}], \"valueProb\": 90}, {\"key\": \"residentRegistrationNo\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessAddressEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessAddress\", \"keyProb\": 96, \"value\": \"경기도 수원시 영통구 영통로 498, 143동 1806흐(영통동, 황골마을 주공아파트)\", \"valuePos\": [{\"x\": 1346, \"y\": 2200}, {\"x\": 1321, \"y\": 736}, {\"x\": 1499, \"y\": 733}, {\"x\": 1523, \"y\": 2197}], \"valueProb\": 96}, {\"key\": \"businessCommencementDate\", \"keyProb\": 100, \"value\": \"1972-01-10\", \"valuePos\": [{\"x\": 1055, \"y\": 788}, {\"x\": 1046, \"y\": 62}, {\"x\": 1127, \"y\": 62}, {\"x\": 1135, \"y\": 787}], \"valueProb\": 100}, {\"key\": \"businessRegistrationDate\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessTypeEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessType\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessItemEn\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"businessItem\", \"keyProb\": 100, \"value\": \"스매업 전자상거래업(의류)\", \"valuePos\": [{\"x\": 1590, \"y\": 1982}, {\"x\": 1561, \"y\": 293}, {\"x\": 1659, \"y\": 291}, {\"x\": 1688, \"y\": 1980}], \"valueProb\": 100}, {\"key\": \"jointCompanyName\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"jointCompanyRegistrationNo\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"issueDate\", \"keyProb\": 100, \"value\": \"2015-10-28\", \"valuePos\": [{\"x\": 3755, \"y\": 1938}, {\"x\": 3749, \"y\": 1057}, {\"x\": 3842, \"y\": 1056}, {\"x\": 3848, \"y\": 1937}], \"valueProb\": 100}, {\"key\": \"issuer\", \"keyProb\": 100, \"value\": \"동수원세무서장\", \"valuePos\": [{\"x\": 3978, \"y\": 1997}, {\"x\": 3970, \"y\": 982}, {\"x\": 4099, \"y\": 980}, {\"x\": 4107, \"y\": 1996}], \"valueProb\": 100}], \"sliceRect\": {\"x0\": 8, \"y0\": 0, \"x1\": 4695, \"y1\": 0, \"x2\": 4737, \"y2\": 2976, \"x3\": 12, \"y3\": 2988}, \"width\": 5312}",
"Message": "The type of image didn't match the api.",
"RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | illegalCountryName | the country name is not supported. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。