文档中心
API调试

功能描述

海关进出口货物报关单识别

请求URL

https://api.textin.com/ai/service/v1/customs_declaration

HTTP请求方法(Method)

HTTP POST

请求头说明(Request Headers)

请在HTTP请求中添加以下自定义标头(Header)。

header 名
x-ti-app-id 请登录后前往 “工作台-账号设置-开发者信息” 查看 x-ti-app-id
x-ti-secret-code 请登录后前往 “工作台-账号设置-开发者信息” 查看 x-ti-secret-code

请求体说明(Request Body)

Content-Type: application/octet-stream

要上传的图片,目前支持jpg, png, bmp, pdf, tiff, 单帧gif等大部分格式.

请注意,请求体的数据格式为文件的二进制流,非 FormData 或其他格式。文件大小不超过 10M,图像宽高须介于 20 和 10000(像素)之间。

响应体说明(Response)

Content-Type: application/json

JSON结构说明如下:

字段名 类型 描述
code integer 错误码,详见“错误码说明”
message string

错误信息

result object
+ image_angle integer

图片角度,指原图需要经过顺时针旋转多少度,才能得到正方向的图片

+ rotated_image_width integer

正方向时图片的宽

+ rotated_image_height integer

正方向时图片高

+ type string

当前接口类型, 当为other的时候,代表无法识别的图片

  • customs_declaration_for_imported_goods:海关进口货物报关单
  • customs_declaration_for_export_goods:海关出口货物报关单
  • other:其他
+ details object

图片OCR识别结果

   ++ pre_entry_number object

预录入编号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ customs_number object

海关编号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ domestic_consignor object

境内发货人

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ domestic_consignee object

境内收货人

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ exit_customs object

出境关别

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ import_customs object

进境关别

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ export_date object

出口日期

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ import_date object

进口日期

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ declaration_date object

申报日期

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ record_number object

备案号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ overseas_consignee object

境外收货人

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ overseas_consignor object

境外发货人

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ transportation_mode object

运输方式

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ transport_name_and_voyage_number object

运输工具名称及航次号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ delivery_number object

提运单号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ storage_place object

货物存放地点

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ production_and_sales_company object

生产销售单位

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ consumption_and_use_company object

消费使用单位

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ supervision_way object

监管方式

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ taxation object

征免性质

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ license object

许可证号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ port_of_shipment object

启运港

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ contract_agreement_number object

合同协议号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ trading_country object

贸易国(地区)

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ destination_country object

抵运国(地区)

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ departure_country object

启运国(地区)

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ port_of_call object

经停港

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ port_of_destination object

指运港

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ port_of_departure object

离境口岸

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ port_of_entry object

入境口岸

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ packing_type object

包装种类

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ number_of_packages object

件数

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ gross_weight object

毛重

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ net_weight object

净重

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ terms_of_delivery object

成交方式

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ freight object

运费

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ premium object

保费

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ incidental object

杂费

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ attached_documents_and_serial_number object

随附单证及编号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ marking_marks_and_remarks object

标记唛码及备注

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ special_relationship_confirmation object

特殊关系确认

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ price_impact_confirmation object

价格影响确认

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ payment_of_royalty_confirmation object

支付特许权使用费确认

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ self_inspection_and_payment object

自报自缴

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ customs_broker object

报关人员

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ certificate_number_of_customs_broker object

报关人员证号

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ phone_number object

电话

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ applicant_company object

申报单位

    +++ value string

字段识别结果

    +++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
    +++ description string

中文描述

   ++ item_list array

海关进出口货物报关单明细

    +++ tax_exemption object

征免

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ domestic_destination object

境内目的地

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ domestic_place_of_delivered_goods object

境内货源地

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ country_of_final_destination object

最终目的国(地区)

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ country_of_origin object

原产国(地区)

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ unit_price_total_price_currency_value object

单价/总价/币值

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ quantity_and_unit object

数量及单位

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ product_name_and_specification_model object

商品名称及规格型号

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ product_id object

商品编号

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

    +++ item_number object

项号

     ++++ value string

字段识别结果

     ++++ position array

识别的value在转正后的图中的坐标,是个长度为8的数组 [0,1,2,3,4,5,6,7]

  • (0, 1) 左上角坐标
  • (2, 3) 右上角坐标
  • (4, 5) 右下角坐标
  • (6, 7) 左下角坐标
     ++++ description string

中文描述

+ category object
   ++ DETAILS_KEY1 string

details 下字段的类型,DETAILS_KEY1 为 details 下的同名字段, 其值有以下三种类型

  • one_to_one: 只有单个值
  • one_to_many: 有多个值
  • item_list: 表格类型
   ++ DETAILS_KEY2 string

说明见 DETAILS_KEY1

   ++ DETAILS_KEY3 string

说明见 DETAILS_KEY1

JSON结构示例

{
    "code": 200,
    "message": "success",
    "result": {
        "image_angle": 90,
        "rotated_image_width": 1920,
        "rotated_image_height": 1080,
        "type": "customs_declaration_for_imported_goods",
        "details": {
            "pre_entry_number": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "customs_number": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "domestic_consignor": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "domestic_consignee": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "exit_customs": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "import_customs": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "export_date": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "import_date": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "declaration_date": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "record_number": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "overseas_consignee": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "overseas_consignor": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "transportation_mode": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "transport_name_and_voyage_number": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "delivery_number": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "storage_place": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "production_and_sales_company": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "consumption_and_use_company": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "supervision_way": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "taxation": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "license": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "port_of_shipment": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "contract_agreement_number": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "trading_country": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "destination_country": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "departure_country": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "port_of_call": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "port_of_destination": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "port_of_departure": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "port_of_entry": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "packing_type": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "number_of_packages": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "gross_weight": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "net_weight": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "terms_of_delivery": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "freight": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "premium": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "incidental": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "attached_documents_and_serial_number": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "marking_marks_and_remarks": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "special_relationship_confirmation": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "price_impact_confirmation": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "payment_of_royalty_confirmation": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "self_inspection_and_payment": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "customs_broker": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "certificate_number_of_customs_broker": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "phone_number": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "applicant_company": {
                "value": "字段识别结果",
                "position": [
                    0,
                    0,
                    50,
                    0,
                    50,
                    30,
                    0,
                    30
                ],
                "description": "中文描述"
            },
            "item_list": [
                {
                    "item_number": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "product_id": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "product_name_and_specification_model": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "quantity_and_unit": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "unit_price_total_price_currency_value": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "country_of_origin": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "country_of_final_destination": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "domestic_place_of_delivered_goods": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "domestic_destination": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    },
                    "tax_exemption": {
                        "value": "字段识别结果",
                        "position": [
                            0,
                            0,
                            50,
                            0,
                            50,
                            30,
                            0,
                            30
                        ],
                        "description": "中文描述"
                    }
                }
            ]
        },
        "category": {
            "DETAILS_KEY1": "one_to_one",
            "DETAILS_KEY2": "one_to_many",
            "DETAILS_KEY3": "item_list"
        }
    },
    "duration": 100
}

错误码说明

错误码 描述
40101 x-ti-app-id 或 x-ti-secret-code 为空
40102 x-ti-app-id 或 x-ti-secret-code 无效,验证失败
40103 客户端IP不在白名单
40003 余额不足,请充值后再使用
40004 参数错误,请查看技术文档,检查传参
40007 机器人不存在或未发布
40008 机器人未开通,请至市场开通后重试
40301 图片类型不支持
40302 上传文件大小不符,文件大小不超过 10M
40303 文件类型不支持
40304 图片尺寸不符,图像宽高须介于 20 和 10000(像素)之间
40305 识别文件未上传
30203 基础服务故障,请稍后重试
500 服务器内部错误
版本
v2.0
官方社群
体验中心

联系我们