出口报关单识别

文档介绍了调用方式,调用前,请先阅读API概览

步骤一:调用异步提交服务

异步提交服务支持本地文件和URL文件两种方式:

URL上传的异步提交服务接口为:SubmitExportDeclarationSheetExtractJob接口。

本地文件上传的异步提交服务接口为:SubmitExportDeclarationSheetExtractJobAdvance接口。

请求参数

名称

类型

必填

描述

示例值

FileUrl

string

以文档URL方式时使用。

单个文档的URL(支持100页以内、100 MB以内的PDF、Word、Excel文档,支持20 MB以内的单张图片)。

https://example.com/example.pdf

FileUrlObject

stream

以本地文件上传方式调用接口时使用。

单个文档(支持100页以内、100 MB以内的PDF、Word、Excel文档,支持20 MB以内的单张图片)。

本地文件生成的FileInputStream

FileName

string

文件名需带文件类型后缀,与fileNameExtension二选一。

example.pdf

FileNameExtension

string

文件类型与fileName二选一。

pdf

说明

支持的文档格式:pdf、word、excel和图片(jpg、jpeg、png、bmp、gif)。

返回参数

名称

类型

描述

示例值

RequestId

string

请求唯一ID。

43A29C77-405E-4CC0-BC55-EE694AD0****

Data

object

返回数据。

{"Id": "docmind-20220712-b15f****"}

+id

string

业务订单号,用于后续查询接口进行查询的唯一标识。

docmind-20220712-ExportDeclarationSheet-b15f****

Code

string

状态码。

200

Message

string

状态详细信息。

message

示例

本接口支持本地文档上传和传入文档URL这两种调用方式。

本地文档上传调用方式的请求示例代码如下,调用SubmitExportDeclarationSheetExtractJobAdvance接口,通过fileUrlObject参数实现本地文档上传。

说明

获取并使用AccessKey信息的方式,可参考SDK概述中不同语言的SDK使用指南。

import com.aliyun.docmind_api20220729.Client;
import com.aliyun.docmind_api20220729.models.*;
import com.aliyun.teaopenapi.models.Config;
import com.aliyun.teautil.models.RuntimeOptions;
import java.io.File;
import java.io.FileInputStream;  

public static void submit() throws Exception {
    // 使用默认凭证初始化Credentials Client。
    com.aliyun.credentials.Client credentialClient = new com.aliyun.credentials.Client();
    Config config = new Config()
        // 通过credentials获取配置中的AccessKey ID
        .setAccessKeyId(credentialClient.getAccessKeyId())
        // 通过credentials获取配置中的AccessKey Secret
        .setAccessKeySecret(credentialClient.getAccessKeySecret());
    // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
    config.endpoint = "docmind-api.cn-hangzhou.aliyuncs.com";
    Client client = new Client(config);
    // 创建RuntimeObject实例并设置运行参数
    RuntimeOptions runtime = new RuntimeOptions();
    SubmitExportDeclarationSheetExtractJobAdvanceRequest advanceRequest = new SubmitExportDeclarationSheetExtractJobAdvanceRequest();
    File file = new File("D:\\example.pdf");
    advanceRequest.fileUrlObject = new FileInputStream(file);
    advanceRequest.fileName = "example.pdf";
    // 发起请求并处理应答或异常。
    SubmitExportDeclarationSheetExtractJobResponse response = client.submitExportDeclarationSheetExtractJobAdvance(advanceRequest, runtime);
}
const Client = require('@alicloud/docmind-api20220729');
const Credential = require('@alicloud/credentials');
const Util = require('@alicloud/tea-util');
const fs = require('fs');

const getResult = async () => {
  // 使用默认凭证初始化Credentials Client
  const cred = new Credential.default();
  const client = new Client.default({
    // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
    endpoint: 'docmind-api.cn-hangzhou.aliyuncs.com',
    // 通过credentials获取配置中的AccessKey ID
    accessKeyId: cred.credential.accessKeyId,
    // 通过credentials获取配置中的AccessKey Secret
    accessKeySecret: cred.credential.accessKeySecret,
    type: 'access_key',
    regionId: 'cn-hangzhou'
  });
  
  const advanceRequest = new Client.SubmitExportDeclarationSheetExtractJobAdvanceRequest();
  const file = fs.createReadStream('./example.pdf');
  advanceRequest.fileUrlObject = file;
  advanceRequest.fileName = 'example.pdf';
  const runtimeObject = new Util.RuntimeOptions({});
  const response = await client.submitExportDeclarationSheetExtractJobAdvance(advanceRequest, runtimeObject);
	return response.body;
}
from alibabacloud_docmind_api20220729.client import Client as docmind_api20220729Client
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_tea_util import models as util_models
from alibabacloud_docmind_api20220729 import models as docmind_api20220729_models
from alibabacloud_tea_util.client import Client as UtilClient
from alibabacloud_credentials.client import Client as CredClient

def submit_file():
  	# 使用默认凭证初始化Credentials Client。
    cred=CredClient()
    config = open_api_models.Config(
        # 通过credentials获取配置中的AccessKey ID
        access_key_id=cred.get_access_key_id(),
        # 通过credentials获取配置中的AccessKey Secret
        access_key_secret=cred.get_access_key_secret()
    )
    # 访问的域名
    config.endpoint = f'docmind-api.cn-hangzhou.aliyuncs.com'
    client = docmind_api20220729Client(config)
    request = docmind_api20220729_models.SubmitExportDeclarationSheetExtractJobAdvanceRequest(
        # file_url_object : 本地文件流
        file_url_object=open("D:\example.pdf", "rb"),
        # file_name :文件名称。名称必须包含文件类型
        file_name='123.pdf',
        # file_name_extension : 文件后缀格式。与文件名二选一
        file_name_extension='pdf'
    )
    runtime = util_models.RuntimeOptions()
    try:
        # 复制代码运行请自行打印 API 的返回值
        response = client.submit_export_declaration_sheet_extract_job_advance(request, runtime)
        # API返回值格式层级为 body -> data -> 具体属性。可根据业务需要打印相应的结果。如下示例为打印返回的业务id格式
        # 获取属性值均以小写开头,
        print(response.body.data.id)
    except Exception as error:
        # 如有需要,请打印 error
        UtilClient.assert_as_string(error.message)
import (
	"fmt"
	"os"

	openClient "github.com/alibabacloud-go/darabonba-openapi/v2/client"
  "github.com/alibabacloud-go/docmind-api-20220729/client"
	"github.com/alibabacloud-go/tea-utils/v2/service"
  "github.com/aliyun/credentials-go/credentials"
)

func submit() {
	// 使用默认凭证初始化Credentials Client。
	credential, err := credentials.NewCredential(nil)
	// 通过credentials获取配置中的AccessKey ID
	accessKeyId, err := credential.GetAccessKeyId()
	// 通过credentials获取配置中的AccessKey Secret
	accessKeySecret, err := credential.GetAccessKeySecret()
  // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
  var endpoint string = "docmind-api.cn-hangzhou.aliyuncs.com"
	config := openClient.Config{AccessKeyId: accessKeyId, AccessKeySecret: accessKeySecret, Endpoint: &endpoint}
	// 初始化client
	cli, err := client.NewClient(&config)
	if err != nil {
		panic(err)
	}
	// 创建RuntimeObject实例并设置运行参数
	options := service.RuntimeOptions{}

	// 上传本地文档调用接口
	filename := "example.pdf"
	f, err := os.Open(filename)
	if err != nil {
		panic(err)
	}

	// 初始化接口request
	request := client.SubmitExportDeclarationSheetExtractJobAdvanceRequest{
		FileName:      &filename,
		FileUrlObject: f,
	}

	// 替换成具体异步任务提交类API接口的入参和方法,示例方法是出口报关单识别接口
	response, err := cli.SubmitExportDeclarationSheetExtractJobAdvance(&request, &options)
	if err != nil {
		panic(err)
	}
	fmt.Println(response.Body.GoString())
}
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;

using Tea;
using Tea.Utils;

  public static void SubmitFile()
        {
            // 使用默认凭证初始化Credentials Client。
          	var akCredential = new Aliyun.Credentials.Client(null);
            AlibabaCloud.OpenApiClient.Models.Config config = new AlibabaCloud.OpenApiClient.Models.Config
            {
                // 通过credentials获取配置中的AccessKey Secret
                AccessKeyId = akCredential.GetAccessKeyId(),
                // 通过credentials获取配置中的AccessKey Secret
                AccessKeySecret = akCredential.GetAccessKeySecret(),
            };
            // 访问的域名
            config.Endpoint = "docmind-api.cn-hangzhou.aliyuncs.com";
            AlibabaCloud.SDK.Docmind_api20220729.Client client = new AlibabaCloud.SDK.Docmind_api20220729.Client(config);
               //需要安装额外的依赖库--> AlibabaCloud.DarabonbaStream        
    				Stream bodySyream = AlibabaCloud.DarabonbaStream.StreamUtil.ReadFromFilePath("<your-file-path>");
            AlibabaCloud.SDK.Docmind_api20220729.Models.SubmitExportDeclarationSheetExtractJobAdvanceRequest request = new AlibabaCloud.SDK.Docmind_api20220729.Models.SubmitExportDeclarationSheetExtractJobAdvanceRequest
            {
                FileUrlObject = bodySyream,
                FileNameExtension = "pdf"
            };
            AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
            try
            {
                // 复制代码运行请自行打印 API 的返回值
                client.SubmitExportDeclarationSheetExtractJobAdvance(request, runtime);
            }
            catch (TeaException error)
            {
                // 如有需要,请打印 error
                AlibabaCloud.TeaUtil.Common.AssertAsString(error.Message);
            }
            catch (Exception _error)
            {
                TeaException error = new TeaException(new Dictionary<string, object>
                {
                    { "message", _error.Message }
                });
                // 如有需要,请打印 error
                AlibabaCloud.TeaUtil.Common.AssertAsString(error.Message);
            }
        }

传入文档URL调用方式的请求示例代码如下,调用SubmitExportDeclarationSheetExtractJob接口,通过fileUrl参数实现传入文档URL。请注意,您传入的文档URL必须为公网可访问下载的公网URL地址,无跨域限制,URL不带特殊转义字符。

说明

获取并使用AccessKey信息的方式,可参考SDK概述中不同语言的SDK使用指南。

import com.aliyun.docmind_api20220729.Client;
import com.aliyun.docmind_api20220729.models.*;
import com.aliyun.teaopenapi.models.Config;

public static void submit() throws Exception {
    // 使用默认凭证初始化Credentials Client。
    com.aliyun.credentials.Client credentialClient = new com.aliyun.credentials.Client();
    Config config = new Config()
        // 通过credentials获取配置中的AccessKey ID
        .setAccessKeyId(credentialClient.getAccessKeyId())
        // 通过credentials获取配置中的AccessKey Secret
        .setAccessKeySecret(credentialClient.getAccessKeySecret());
    // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
    config.endpoint = "docmind-api.cn-hangzhou.aliyuncs.com";
    Client client = new Client(config);
    SubmitExportDeclarationSheetExtractJobRequest request  = new SubmitExportDeclarationSheetExtractJobRequest();
    request.fileName = "example.pdf";
    request.fileUrl = "https://example.com/example.pdf";
    SubmitExportDeclarationSheetExtractJobResponse response = client.submitExportDeclarationSheetExtractJob(sb);
}
const Client = require('@alicloud/docmind-api20220729');
const Credential = require('@alicloud/credentials');

const getResult = async () => {
  // 使用默认凭证初始化Credentials Client
  const cred = new Credential.default();
  const client = new Client.default({
    // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
    endpoint: 'docmind-api.cn-hangzhou.aliyuncs.com',
    // 通过credentials获取配置中的AccessKey ID
    accessKeyId: cred.credential.accessKeyId,
    // 通过credentials获取配置中的AccessKey Secret
    accessKeySecret: cred.credential.accessKeySecret,
    type: 'access_key',
    regionId: 'cn-hangzhou'
  });
  
  const request = new Client.SubmitExportDeclarationSheetExtractJobRequest();
  request.fileName = 'example.pdf';
  request.fileUrl = 'https://example.com/example.pdf';
  const response = await client.submitExportDeclarationSheetExtractJob(request);
  
  return response.body;
}
from alibabacloud_docmind_api20220729.client import Client as docmind_api20220729Client
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_docmind_api20220729 import models as docmind_api20220729_models
from alibabacloud_tea_util.client import Client as UtilClient
from alibabacloud_credentials.client import Client as CredClient

def submit_url():
    # 使用默认凭证初始化Credentials Client。
    cred=CredClient()
    config = open_api_models.Config(
        # 通过credentials获取配置中的AccessKey ID
        access_key_id=cred.get_access_key_id(),
        # 通过credentials获取配置中的AccessKey Secret
        access_key_secret=cred.get_access_key_secret()
    )
    # 访问的域名
    config.endpoint = f'docmind-api.cn-hangzhou.aliyuncs.com'
    client = docmind_api20220729Client(config)
    request = docmind_api20220729_models.SubmitExportDeclarationSheetExtractJobRequest(
        # file_url : 文件url地址
        file_url='https://example.pdf',
        # file_name :文件名称。名称必须包含文件类型
        file_name='example.pdf',
        # file_name_extension : 文件后缀格式。与文件名二选一
        file_name_extension='pdf'
    )
    try:
        # 复制代码运行请自行打印 API 的返回值
        response = client.submit_export_declaration_sheet_extract_job(request)
        # API返回值格式层级为 body -> data -> 具体属性。可根据业务需要打印相应的结果。如下示例为打印返回的业务id格式
        # 获取属性值均以小写开头,
        print(response.body.data.id)
    except Exception as error:
        # 如有需要,请打印 error
        UtilClient.assert_as_string(error.message)
import (
	"fmt"

  openClient "github.com/alibabacloud-go/darabonba-openapi/v2/client"
	"github.com/alibabacloud-go/docmind-api-20220729/client"
	"github.com/aliyun/credentials-go/credentials"
)


func submit() {
	// 使用默认凭证初始化Credentials Client。
	credential, err := credentials.NewCredential(nil)
	// 通过credentials获取配置中的AccessKey ID
	accessKeyId, err := credential.GetAccessKeyId()
	// 通过credentials获取配置中的AccessKey Secret
	accessKeySecret, err := credential.GetAccessKeySecret()
  // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
  var endpoint string = "docmind-api.cn-hangzhou.aliyuncs.com"
	config := openClient.Config{AccessKeyId: accessKeyId, AccessKeySecret: accessKeySecret, Endpoint: &endpoint}
	// 初始化client
	cli, err := client.NewClient(&config)
	if err != nil {
		panic(err)
	}

	// 上传本地文档调用接口
	fileUrl := "https://example.com/example.pdf"
	filename := "example.pdf"
	// 初始化接口request
	request := client.SubmitExportDeclarationSheetExtractJobRequest{
		FileName: &filename,
		FileUrl:  &fileUrl,
	}

	// 替换成具体异步任务提交类API接口的入参和方法,示例方法是出口报关单识别接口
	response, err := cli.SubmitExportDeclarationSheetExtractJob(&request)
	if err != nil {
		panic(err)
	}
	fmt.Println(response.Body.GoString())
}
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;

using Tea;
using Tea.Utils;

public static void SubmitUrl()
        {
            // 使用默认凭证初始化Credentials Client。
          	var akCredential = new Aliyun.Credentials.Client(null);
            AlibabaCloud.OpenApiClient.Models.Config config = new AlibabaCloud.OpenApiClient.Models.Config
            {
                // 通过credentials获取配置中的AccessKey Secret
                AccessKeyId = akCredential.GetAccessKeyId(),
                // 通过credentials获取配置中的AccessKey Secret
                AccessKeySecret = akCredential.GetAccessKeySecret(),
            };
            // 访问的域名
            config.Endpoint = "docmind-api.cn-hangzhou.aliyuncs.com";
            AlibabaCloud.SDK.Docmind_api20220729.Client client = new AlibabaCloud.SDK.Docmind_api20220729.Client(config);
            AlibabaCloud.SDK.Docmind_api20220729.Models.SubmitExportDeclarationSheetExtractJobRequest request = new AlibabaCloud.SDK.Docmind_api20220729.Models.SubmitExportDeclarationSheetExtractJobRequest
            {
                FileUrl = "https://example.pdf",
                FileNameExtension = "pdf"
            };
            try
            {
                // 复制代码运行请自行打印 API 的返回值
                client.SubmitExportDeclarationSheetExtractJob(request);
            }
            catch (TeaException error)
            {
                // 如有需要,请打印 error
                AlibabaCloud.TeaUtil.Common.AssertAsString(error.Message);
            }
            catch (Exception _error)
            {
                TeaException error = new TeaException(new Dictionary<string, object>
                {
                    { "message", _error.Message }
                });
                // 如有需要,请打印 error
                AlibabaCloud.TeaUtil.Common.AssertAsString(error.Message);
            }
        }
use AlibabaCloud\SDK\Docmindapi\V20220729\Docmindapi;
use AlibabaCloud\SDK\Docmindapi\V20220729\Models\SubmitExportDeclarationSheetExtractJobRequest;
use Darabonba\OpenApi\Models\Config;
use AlibabaCloud\Tea\Utils\Utils\RuntimeOptions;
use AlibabaCloud\Tea\Exception\TeaUnableRetryError;
use AlibabaCloud\Credentials\Credential;

// 使用默认凭证初始化Credentials Client。
$bearerToken = new Credential();    
$config = new Config();
// 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
$config->endpoint = "docmind-api.cn-hangzhou.aliyuncs.com";
// 通过credentials获取配置中的AccessKey ID
$config->accessKeyId = $bearerToken->getCredential()->getAccessKeyId();
// 通过credentials获取配置中的AccessKey Secret
$config->accessKeySecret = $bearerToken->getCredential()->getAccessKeySecret();
$config->type = "access_key";
$config->regionId = "cn-hangzhou";
$client = new Docmindapi($config);
$request = new SubmitExportDeclarationSheetExtractJobRequest();

$runtime = new RuntimeOptions();
$runtime->maxIdleConns = 3;
$runtime->connectTimeout = 10000;
$runtime->readTimeout = 10000;

$request->fileName = "example.pdf";
$request->fileUrl = "https://example.com/example.pdf";

try {
  $response = $client->submitExportDeclarationSheetExtractJob($request, $runtime);
  var_dump($response->toMap());
} catch (TeaUnableRetryError $e) {
  var_dump($e->getMessage());
  var_dump($e->getErrorInfo());
  var_dump($e->getLastException());
  var_dump($e->getLastRequest());
}

正常返回示例

JSON格式

{
  "RequestId": "43A29C77-405E-4CC0-BC55-EE694AD0****",
  "Data": {
    "Id": "docmind-20220712-ExportDeclarationSheet-b15f****"
  }  
}

步骤二:轮询结果查询服务GetSingleDocumentExtractResult接口

调用查询接口的入参ID就是前面异步任务提交接口返回的出参ID,查询结果有处理中、处理成功、处理失败三种情况。建议每10秒轮询一次,最多轮询10分钟。若明确返回Completed为true或者超过轮询最大时间,则终止轮询。

请求参数

名称

类型

必填

描述

示例值

Id

string

需要查询的业务订单号,订单号从提交接口的返回结果中获取。

docmind-20220712-ExportDeclarationSheet-b15f****

返回参数

名称

类型

描述

示例值

RequestId

string

请求唯一ID。

43A29C77-405E-4CC0-BC55-EE694AD0****

Completed

boolean

异步任务是否处理完成,false表示任务仍在处理中,true代表任务处理完成,有处理成功或处理失败的明确结果。

true

Status

String

异步任务处理完成的状态,最终处理结束后的状态。Success为处理成功,Fail为处理失败。

Success

Data

string

返回数据,文档智能解析的解析结果,输出包括文档内容及样式、文档版面信息以及文档逻辑信息(层级树、表格理解、表格及段落KV)的JSON数据结构返回。

Code

string

状态码。

200

Message

string

详细信息。

message

示例

调用出口报关单识别接口的结果查询类API示例代码如下,调用getSingleDocumentExtractResult接口,通过ID参数传入查询流水号。

说明

获取并使用AccessKey信息的方式,可参考SDK概述中不同语言的SDK使用指南。

import com.aliyun.docmind_api20220729.Client;
import com.aliyun.docmind_api20220729.models.*;
import com.aliyun.teaopenapi.models.Config;

public static void submit() throws Exception {
    // 使用默认凭证初始化Credentials Client。
    com.aliyun.credentials.Client credentialClient = new com.aliyun.credentials.Client();
    Config config = new Config()
        // 通过credentials获取配置中的AccessKey ID
        .setAccessKeyId(credentialClient.getAccessKeyId())
        // 通过credentials获取配置中的AccessKey Secret
        .setAccessKeySecret(credentialClient.getAccessKeySecret());
    // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
    config.endpoint = "docmind-api.cn-hangzhou.aliyuncs.com";
    Client client = new Client(config);
    GetSingleDocumentExtractResultRequest resultRequest  = new GetSingleDocumentExtractResultRequest();
    resultRequest.id = "docmind-20220902-ExportDeclarationSheet-824b****";
    GetSingleDocumentExtractResultResponse response = client.getSingleDocumentExtractResult(request);
    System.out.println(response.getBody().getData());
}
const Client = require('@alicloud/docmind-api20220729');
const Credential = require('@alicloud/credentials');

const getResult = async () => {
  // 使用默认凭证初始化Credentials Client
  const cred = new Credential.default();
  const client = new Client.default({
    // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
    endpoint: 'docmind-api.cn-hangzhou.aliyuncs.com',
    // 通过credentials获取配置中的AccessKey ID
    accessKeyId: cred.credential.accessKeyId,
    // 通过credentials获取配置中的AccessKey Secret
    accessKeySecret: cred.credential.accessKeySecret,
    type: 'access_key',
    regionId: 'cn-hangzhou'
  });
  
  const resultRequest = new Client.GetSingleDocumentExtractResultRequest();
  resultRequest.id = "docmind-20220902-824b****";
  const response = await client.getSingleDocumentExtractResult(resultRequest);
  
  return response.body;
}
from alibabacloud_docmind_api20220729.client import Client as docmind_api20220729Client
from alibabacloud_tea_openapi import models as open_api_models
from alibabacloud_docmind_api20220729 import models as docmind_api20220729_models
from alibabacloud_tea_util.client import Client as UtilClient
from alibabacloud_credentials.client import Client as CredClient


def query():
    # 使用默认凭证初始化Credentials Client。
    cred=CredClient()
    config = open_api_models.Config(
        # 通过credentials获取配置中的AccessKey ID
        access_key_id=cred.get_access_key_id(),
        # 通过credentials获取配置中的AccessKey Secret
        access_key_secret=cred.get_access_key_secret()
    )
    # 访问的域名
    config.endpoint = f'docmind-api.cn-hangzhou.aliyuncs.com'
    client = docmind_api20220729Client(config)
    request = docmind_api20220729_models.GetSingleDocumentExtractResultRequest(
        # id :  任务提交接口返回的id
        id='docmind-20220902-ExportDeclarationSheet-824b****'
    )
    try:
        # 复制代码运行请自行打印 API 的返回值
        response = client.get_single_document_extract_result(request)
        # API返回值格式层级为 body -> data -> 具体属性。可根据业务需要打印相应的结果。获取属性值均以小写开头
        # 获取异步任务处理情况,可根据response.body.completed判断是否需要继续轮询结果
        print(response.body.completed)
        # 获取返回结果。建议先把response.body.data转成json,然后再从json里面取具体需要的值。
        print(response.body.data)
    except Exception as error:
        # 如有需要,请打印 error
        UtilClient.assert_as_string(error.message)
import (
	"fmt"

	openClient "github.com/alibabacloud-go/darabonba-openapi/v2/client"
	"github.com/alibabacloud-go/docmind-api-20220729/client"
	"github.com/aliyun/credentials-go/credentials"
)

func query() {
	// 使用默认凭证初始化Credentials Client。
	credential, err := credentials.NewCredential(nil)
	// 通过credentials获取配置中的AccessKey ID
	accessKeyId, err := credential.GetAccessKeyId()
	// 通过credentials获取配置中的AccessKey Secret
	accessKeySecret, err := credential.GetAccessKeySecret()
  // 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
  var endpoint string = "docmind-api.cn-hangzhou.aliyuncs.com"
	config := openClient.Config{AccessKeyId: accessKeyId, AccessKeySecret: accessKeySecret, Endpoint: &endpoint}
	// 初始化client
	cli, err := client.NewClient(&config)
	if err != nil {
		panic(err)
	}
  
	id := "docmind-20230201-ExportDeclarationSheet-********"
	request := client.GetSingleDocumentExtractResultRequest{
		Id: &id,
	}
  // 替换成具体结果查询类API接口的方法,示例方法是出口报关单识别接口
	response, err := cli.GetSingleDocumentExtractResult(&request)
	if err != nil {
		panic(err)
	}
	fmt.Println(response.Body.GoString())
}
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;

using Tea;
using Tea.Utils;

 public static void GetResult() 
        {
            // 使用默认凭证初始化Credentials Client。
          	var akCredential = new Aliyun.Credentials.Client(null);
            AlibabaCloud.OpenApiClient.Models.Config config = new AlibabaCloud.OpenApiClient.Models.Config
            {
                // 通过credentials获取配置中的AccessKey Secret
                AccessKeyId = akCredential.GetAccessKeyId(),
                // 通过credentials获取配置中的AccessKey Secret
                AccessKeySecret = akCredential.GetAccessKeySecret(),
            };
            // 访问的域名
            config.Endpoint = "docmind-api.cn-hangzhou.aliyuncs.com";
            AlibabaCloud.SDK.Docmind_api20220729.Client client = new AlibabaCloud.SDK.Docmind_api20220729.Client(config);
            AlibabaCloud.SDK.Docmind_api20220729.Models.GetSingleDocumentExtractResultRequest request = new AlibabaCloud.SDK.Docmind_api20220729.Models.GetSingleDocumentExtractResultRequest
            {
                Id = "docmind-20220712-ExportDeclarationSheet-b15f****"
            };
            AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
            try
            {
                // 复制代码运行请自行打印 API 的返回值
                client.GetSingleDocumentExtractResult(request);
            }
            catch (TeaException error)
            {
                // 如有需要,请打印 error
                AlibabaCloud.TeaUtil.Common.AssertAsString(error.Message);
            }
            catch (Exception _error)
            {
                TeaException error = new TeaException(new Dictionary<string, object>
                {
                    { "message", _error.Message }
                });
                // 如有需要,请打印 error
                AlibabaCloud.TeaUtil.Common.AssertAsString(error.Message);
            }
        }
use AlibabaCloud\SDK\Docmindapi\V20220729\Docmindapi;
use AlibabaCloud\SDK\Docmindapi\V20220729\Models\GetSingleDocumentExtractResultRequest;
use Darabonba\OpenApi\Models\Config;
use AlibabaCloud\Tea\Exception\TeaUnableRetryError;
use AlibabaCloud\Credentials\Credential;

// 使用默认凭证初始化Credentials Client。
$bearerToken = new Credential();    
$config = new Config();
// 访问的域名,支持ipv4和ipv6两种方式,ipv6请使用docmind-api-dualstack.cn-hangzhou.aliyuncs.com
$config->endpoint = "docmind-api.cn-hangzhou.aliyuncs.com";
// 通过credentials获取配置中的AccessKey ID
$config->accessKeyId = $bearerToken->getCredential()->getAccessKeyId();
// 通过credentials获取配置中的AccessKey Secret
$config->accessKeySecret = $bearerToken->getCredential()->getAccessKeySecret();
$config->type = "access_key";
$config->regionId = "cn-hangzhou";
$client = new Docmindapi($config);
$request = new GetSingleDocumentExtractResultRequest();   
$request->id = "docmind-20220902-824b****";

$runtime = new RuntimeOptions();
$runtime->maxIdleConns = 3;
$runtime->connectTimeout = 10000;
$runtime->readTimeout = 10000; 

try {
  $response = $client->getSingleDocumentExtractResult($request, $runtime);
  var_dump($response->toMap());
} catch (TeaUnableRetryError $e) {
  var_dump($e->getMessage());
  var_dump($e->getErrorInfo());
  var_dump($e->getLastException());
  var_dump($e->getLastRequest());
}

查询结果有处理中、处理成功、处理失败三种情况,分别说明每种情况的返回结果示例。

  • 处理中的返回结果

{
  "RequestId": "2AABD2C2-D24F-12F7-875D-683A27C3****",
  "Completed": false,
  "Code": "DocProcessing",
  "Message": "Document processing",
  "HostId": "ocr-api.cn-hangzhou.aliyuncs.com",
  "Recommend": "https://next.api.aliyun.com/troubleshoot?q=DocProcessing&product=docmind-api"
}

处理中:Completed会返回false,表示任务没有处理结束,仍在处理中。这种情况需要继续轮询,直到明确返回Completed为true或者超过轮询最大时间。

  • 处理失败的返回结果

{
  "RequestId": "A8EF3A36-1380-1116-A39E-B377BE27****",
  "Completed": true,
  "Status": "Fail",
  "Code": "UrlNotLegal",
  "Message": "Failed to process the document.  The document url you provided is not legal.",
  "HostId": "docmind-api.cn-hangzhou.aliyuncs.com",
  "Recommend": "https://next.api.aliyun.com/troubleshoot?q=IDP.UrlNotLegal&product=docmind-api"
}

处理失败时:Completed会返回true,表示任务处理结束;Status会返回“Fail”,表示处理失败;同时会返回失败Code和详细原因Message。访问错误码可以查看错误码详细介绍。

  • 处理成功的返回结果

{
  "Status": "Success",
  "RequestId": "73134E1A-E281-1B2C-A105-D0ECFE2D****",
  "Completed": true,
  "Data": {
		"result": {
			"kvListInfo": [
				[
					[{
						"valuePos": [{
							"width": 148,
							"x": 59,
							"y": 848,
							"pageId": 1,
							"height": 18
						}, {
							"width": 279,
							"x": 59,
							"y": 907,
							"pageId": 1,
							"height": 19
						}],
						"parsedValue": ["HOUSEHOLD PRODUCTS LION ZACT TOOTH PASTE FRESH MINT 150G"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 148,
							"x": 59,
							"originalValue": "HOUSEHOLD PRODUCTS",
							"y": 848,
							"pageId": 1,
							"value": "HOUSEHOLD PRODUCTS LION ZACT TOOTH PASTE FRESH MINT 150G",
							"height": 18
						}, {
							"documentType": "Declaration",
							"width": 279,
							"x": 59,
							"originalValue": "LION ZACT TOOTH PASTE FRESH MINT 150G",
							"y": 907,
							"pageId": 1,
							"value": "HOUSEHOLD PRODUCTS LION ZACT TOOTH PASTE FRESH MINT 150G",
							"height": 19
						}],
						"extractedValue": ["HOUSEHOLD PRODUCTS LION ZACT TOOTH PASTE FRESH MINT 150G"],
						"keyDesc": ["商品名称"],
						"value": ["HOUSEHOLD PRODUCTS LION ZACT TOOTH PASTE FRESH MINT 150G"],
						"key": ["GName"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 49,
							"x": 1213,
							"y": 930,
							"pageId": 1,
							"height": 19
						}, {
							"width": 49,
							"x": 1214,
							"y": 990,
							"pageId": 1,
							"height": 19
						}, {
							"width": 24,
							"x": 391,
							"y": 1069,
							"pageId": 1,
							"height": 18
						}, {
							"width": 57,
							"x": 1206,
							"y": 1069,
							"pageId": 1,
							"height": 19
						}, {
							"width": 336,
							"x": 60,
							"y": 1107,
							"pageId": 1,
							"height": 21
						}, {
							"width": 65,
							"x": 1206,
							"y": 1109,
							"pageId": 1,
							"height": 19
						}, {
							"width": 64,
							"x": 1207,
							"y": 1188,
							"pageId": 1,
							"height": 19
						}, {
							"width": 63,
							"x": 1206,
							"y": 1208,
							"pageId": 1,
							"height": 18
						}, {
							"width": 57,
							"x": 1205,
							"y": 1267,
							"pageId": 1,
							"height": 19
						}, {
							"width": 64,
							"x": 1207,
							"y": 1286,
							"pageId": 1,
							"height": 19
						}],
						"parsedValue": ["¥31,500¥27,000(TH)¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML¥106,800¥504,000¥343,800¥129,600¥420,000"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 49,
							"x": 1213,
							"originalValue": "¥31,500",
							"y": 930,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 19
						}, {
							"documentType": "Declaration",
							"width": 49,
							"x": 1214,
							"originalValue": "¥27,000",
							"y": 990,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 19
						}, {
							"documentType": "Declaration",
							"width": 24,
							"x": 391,
							"originalValue": "(TH)",
							"y": 1069,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 18
						}, {
							"documentType": "Declaration",
							"width": 57,
							"x": 1206,
							"originalValue": "¥444,000",
							"y": 1069,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 19
						}, {
							"documentType": "Declaration",
							"width": 336,
							"x": 60,
							"originalValue": "KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML",
							"y": 1107,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 21
						}, {
							"documentType": "Declaration",
							"width": 65,
							"x": 1206,
							"originalValue": "¥106,800",
							"y": 1109,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 19
						}, {
							"documentType": "Declaration",
							"width": 64,
							"x": 1207,
							"originalValue": "¥504,000",
							"y": 1188,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 19
						}, {
							"documentType": "Declaration",
							"width": 63,
							"x": 1206,
							"originalValue": "¥343,800",
							"y": 1208,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 18
						}, {
							"documentType": "Declaration",
							"width": 57,
							"x": 1205,
							"originalValue": "¥129,600",
							"y": 1267,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 19
						}, {
							"documentType": "Declaration",
							"width": 64,
							"x": 1207,
							"originalValue": "¥420,000",
							"y": 1286,
							"pageId": 1,
							"value": "¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000",
							"height": 19
						}],
						"extractedValue": ["¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000"],
						"keyDesc": ["规格型号"],
						"value": ["¥31,500 ¥27,000 (TH) ¥444,000 KAO POWERFUL MOLD HAITER HANDY SPRAY 400 ML ¥106,800 ¥504,000 ¥343,800 ¥129,600 ¥420,000"],
						"key": ["GModel"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 36,
							"x": 761,
							"y": 909,
							"pageId": 1,
							"height": 16
						}],
						"parsedValue": ["1,200"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 36,
							"x": 761,
							"originalValue": "1,200",
							"y": 909,
							"pageId": 1,
							"value": "1200",
							"height": 16
						}],
						"extractedValue": ["1200"],
						"keyDesc": ["第一数量"],
						"value": ["1200"],
						"key": ["FirstQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 29,
							"x": 823,
							"y": 909,
							"pageId": 1,
							"height": 15
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 29,
							"x": 823,
							"originalValue": "PCS.",
							"y": 909,
							"pageId": 1,
							"value": "PCS",
							"height": 15
						}],
						"extractedValue": ["PCS"],
						"keyDesc": ["法定第一计量单位"],
						"value": ["PCS"],
						"key": ["FirstUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 25,
							"x": 765,
							"y": 932,
							"pageId": 1,
							"height": 16
						}],
						"parsedValue": ["300"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 25,
							"x": 765,
							"originalValue": "300",
							"y": 932,
							"pageId": 1,
							"value": "300",
							"height": 16
						}],
						"extractedValue": ["300"],
						"keyDesc": ["第二数量"],
						"value": ["300"],
						"key": ["SecondQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"height": 0
						}],
						"parsedValue": [""],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"value": "",
							"height": 0
						}],
						"extractedValue": [""],
						"keyDesc": ["法定第二计量单位"],
						"value": [""],
						"key": ["SecondUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 25,
							"x": 764,
							"y": 951,
							"pageId": 1,
							"height": 16
						}],
						"parsedValue": ["480"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 25,
							"x": 764,
							"originalValue": "480",
							"y": 951,
							"pageId": 1,
							"value": "480",
							"height": 16
						}],
						"extractedValue": ["480"],
						"keyDesc": ["成交数量"],
						"value": ["480"],
						"key": ["GQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"height": 0
						}],
						"parsedValue": [""],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"value": "",
							"height": 0
						}],
						"extractedValue": [""],
						"keyDesc": ["成交计量单位"],
						"value": [""],
						"key": ["GUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 33,
							"x": 1021,
							"y": 909,
							"pageId": 1,
							"height": 16
						}],
						"parsedValue": ["¥220"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 33,
							"x": 1021,
							"originalValue": "¥220",
							"y": 909,
							"pageId": 1,
							"value": "220",
							"height": 16
						}],
						"extractedValue": ["220"],
						"keyDesc": ["单价"],
						"value": ["220"],
						"key": ["DeclPrice"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 58,
							"x": 1205,
							"y": 908,
							"pageId": 1,
							"height": 18
						}],
						"parsedValue": ["¥264,000"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 58,
							"x": 1205,
							"originalValue": "¥264,000",
							"y": 908,
							"pageId": 1,
							"value": "264000",
							"height": 18
						}],
						"extractedValue": ["264000"],
						"keyDesc": ["总价"],
						"value": ["264000"],
						"key": ["DeclTotal"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 29,
							"x": 1024,
							"y": 797,
							"pageId": 1,
							"height": 18
						}],
						"parsedValue": ["(JPY)"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 29,
							"x": 1024,
							"originalValue": "(JPY)",
							"y": 797,
							"pageId": 1,
							"value": "JPY",
							"height": 18
						}],
						"extractedValue": ["JPY"],
						"keyDesc": ["币制"],
						"value": ["JPY"],
						"key": ["TradeCurr"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 121,
							"x": 733,
							"y": 379,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["JAPAN THAILAND"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 121,
							"x": 733,
							"originalValue": "JAPAN THAILAND",
							"y": 379,
							"pageId": 1,
							"value": "JAPAN THAILAND",
							"height": 17
						}],
						"extractedValue": ["JAPAN THAILAND"],
						"keyDesc": ["原产国(地区)"],
						"value": ["JAPAN THAILAND"],
						"key": ["OriginCountry"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 121,
							"x": 733,
							"y": 379,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["JAPAN THAILAND"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 121,
							"x": 733,
							"originalValue": "JAPAN THAILAND",
							"y": 379,
							"pageId": 1,
							"value": "JAPAN THAILAND",
							"height": 17
						}],
						"extractedValue": ["JAPAN THAILAND"],
						"keyDesc": ["最终目的国(地区)"],
						"value": ["JAPAN THAILAND"],
						"key": ["DestinationCountry"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}],
					[{
						"valuePos": [{
							"width": 319,
							"x": 59,
							"y": 1303,
							"pageId": 1,
							"height": 20
						}],
						"parsedValue": ["LION KIREI KIREI HAND SOAP FLORAL SCENT 250ML"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 319,
							"x": 59,
							"originalValue": "LION KIREI KIREI HAND SOAP FLORAL SCENT 250ML",
							"y": 1303,
							"pageId": 1,
							"value": "LION KIREI KIREI HAND SOAP FLORAL SCENT 250ML",
							"height": 20
						}],
						"extractedValue": ["LION KIREI KIREI HAND SOAP FLORAL SCENT 250ML"],
						"keyDesc": ["商品名称"],
						"value": ["LION KIREI KIREI HAND SOAP FLORAL SCENT 250ML"],
						"key": ["GName"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["规格型号"],
						"value": [""],
						"key": ["GModel"],
						"extInfo": {}
					}, {
						"valuePos": [{
							"width": 30,
							"x": 760,
							"y": 1306,
							"pageId": 1,
							"height": 18
						}],
						"parsedValue": ["7,340"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 30,
							"x": 760,
							"originalValue": "7,340",
							"y": 1306,
							"pageId": 1,
							"value": "7340",
							"height": 18
						}],
						"extractedValue": ["7340"],
						"keyDesc": ["第一数量"],
						"value": ["7340"],
						"key": ["FirstQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 28,
							"x": 824,
							"y": 1307,
							"pageId": 1,
							"height": 15
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 28,
							"x": 824,
							"originalValue": "PCS.",
							"y": 1307,
							"pageId": 1,
							"value": "PCS",
							"height": 15
						}],
						"extractedValue": ["PCS"],
						"keyDesc": ["法定第一计量单位"],
						"value": ["PCS"],
						"key": ["FirstUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"height": 0
						}],
						"parsedValue": [""],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"value": "",
							"height": 0
						}],
						"extractedValue": [""],
						"keyDesc": ["第二数量"],
						"value": [""],
						"key": ["SecondQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 28,
							"x": 824,
							"y": 1307,
							"pageId": 1,
							"height": 15
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 28,
							"x": 824,
							"originalValue": "PCS.",
							"y": 1307,
							"pageId": 1,
							"value": ".",
							"height": 15
						}],
						"extractedValue": ["."],
						"keyDesc": ["法定第二计量单位"],
						"value": ["."],
						"key": ["SecondUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["成交数量"],
						"value": [""],
						"key": ["GQty"],
						"extInfo": {}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["成交计量单位"],
						"value": [""],
						"key": ["GUnit"],
						"extInfo": {}
					}, {
						"valuePos": [{
							"width": 32,
							"x": 1021,
							"y": 1307,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["¥179"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 32,
							"x": 1021,
							"originalValue": "¥179",
							"y": 1307,
							"pageId": 1,
							"value": "179",
							"height": 17
						}],
						"extractedValue": ["179"],
						"keyDesc": ["单价"],
						"value": ["179"],
						"key": ["DeclPrice"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 69,
							"x": 1194,
							"y": 1306,
							"pageId": 1,
							"height": 19
						}],
						"parsedValue": ["¥1,313,860"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 69,
							"x": 1194,
							"originalValue": "¥1,313,860",
							"y": 1306,
							"pageId": 1,
							"value": "1313860",
							"height": 19
						}],
						"extractedValue": ["1313860"],
						"keyDesc": ["总价"],
						"value": ["1313860"],
						"key": ["DeclTotal"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 32,
							"x": 1021,
							"y": 1307,
							"pageId": 1,
							"height": 17
						}, {
							"width": 69,
							"x": 1194,
							"y": 1306,
							"pageId": 1,
							"height": 19
						}],
						"parsedValue": ["¥179¥1,313,860"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 32,
							"x": 1021,
							"originalValue": "¥179",
							"y": 1307,
							"pageId": 1,
							"value": "¥ ¥",
							"height": 17
						}, {
							"documentType": "Declaration",
							"width": 69,
							"x": 1194,
							"originalValue": "¥1,313,860",
							"y": 1306,
							"pageId": 1,
							"value": "¥ ¥",
							"height": 19
						}],
						"extractedValue": ["¥ ¥"],
						"keyDesc": ["币制"],
						"value": ["¥ ¥"],
						"key": ["TradeCurr"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 121,
							"x": 733,
							"y": 379,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["JAPAN THAILAND"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 121,
							"x": 733,
							"originalValue": "JAPAN THAILAND",
							"y": 379,
							"pageId": 1,
							"value": "JAPAN THAILAND",
							"height": 17
						}],
						"extractedValue": ["JAPAN THAILAND"],
						"keyDesc": ["原产国(地区)"],
						"value": ["JAPAN THAILAND"],
						"key": ["OriginCountry"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["最终目的国(地区)"],
						"value": [""],
						"key": ["DestinationCountry"],
						"extInfo": {}
					}],
					[{
						"valuePos": [{
							"width": 337,
							"x": 59,
							"y": 1323,
							"pageId": 1,
							"height": 20
						}],
						"parsedValue": ["LION KIREI KIREI HAND SOAP FRUIT MIX SCENT 250ML"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 337,
							"x": 59,
							"originalValue": "LION KIREI KIREI HAND SOAP FRUIT MIX SCENT 250ML",
							"y": 1323,
							"pageId": 1,
							"value": "LION KIREI KIREI HAND SOAP FRUIT MIX SCENT 250ML",
							"height": 20
						}],
						"extractedValue": ["LION KIREI KIREI HAND SOAP FRUIT MIX SCENT 250ML"],
						"keyDesc": ["商品名称"],
						"value": ["LION KIREI KIREI HAND SOAP FRUIT MIX SCENT 250ML"],
						"key": ["GName"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["规格型号"],
						"value": [""],
						"key": ["GModel"],
						"extInfo": {}
					}, {
						"valuePos": [{
							"width": 36,
							"x": 760,
							"y": 1326,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["7,340"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 36,
							"x": 760,
							"originalValue": "7,340",
							"y": 1326,
							"pageId": 1,
							"value": "7340",
							"height": 17
						}],
						"extractedValue": ["7340"],
						"keyDesc": ["第一数量"],
						"value": ["7340"],
						"key": ["FirstQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 27,
							"x": 822,
							"y": 1327,
							"pageId": 1,
							"height": 14
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 27,
							"x": 822,
							"originalValue": "PCS.",
							"y": 1327,
							"pageId": 1,
							"value": "PCS",
							"height": 14
						}],
						"extractedValue": ["PCS"],
						"keyDesc": ["法定第一计量单位"],
						"value": ["PCS"],
						"key": ["FirstUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"height": 0
						}],
						"parsedValue": [""],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"value": "",
							"height": 0
						}],
						"extractedValue": [""],
						"keyDesc": ["第二数量"],
						"value": [""],
						"key": ["SecondQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 27,
							"x": 822,
							"y": 1327,
							"pageId": 1,
							"height": 14
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 27,
							"x": 822,
							"originalValue": "PCS.",
							"y": 1327,
							"pageId": 1,
							"value": ".",
							"height": 14
						}],
						"extractedValue": ["."],
						"keyDesc": ["法定第二计量单位"],
						"value": ["."],
						"key": ["SecondUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["成交数量"],
						"value": [""],
						"key": ["GQty"],
						"extInfo": {}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["成交计量单位"],
						"value": [""],
						"key": ["GUnit"],
						"extInfo": {}
					}, {
						"valuePos": [{
							"width": 32,
							"x": 1022,
							"y": 1326,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["¥179"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 32,
							"x": 1022,
							"originalValue": "¥179",
							"y": 1326,
							"pageId": 1,
							"value": "179",
							"height": 17
						}],
						"extractedValue": ["179"],
						"keyDesc": ["单价"],
						"value": ["179"],
						"key": ["DeclPrice"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 56,
							"x": 1206,
							"y": 1248,
							"pageId": 1,
							"height": 19
						}],
						"parsedValue": ["¥129,600"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 56,
							"x": 1206,
							"originalValue": "¥129,600",
							"y": 1248,
							"pageId": 1,
							"value": "129600",
							"height": 19
						}],
						"extractedValue": ["129600"],
						"keyDesc": ["总价"],
						"value": ["129600"],
						"key": ["DeclTotal"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 32,
							"x": 1022,
							"y": 1326,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["¥179"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 32,
							"x": 1022,
							"originalValue": "¥179",
							"y": 1326,
							"pageId": 1,
							"value": "¥",
							"height": 17
						}],
						"extractedValue": ["¥"],
						"keyDesc": ["币制"],
						"value": ["¥"],
						"key": ["TradeCurr"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 121,
							"x": 733,
							"y": 379,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["JAPAN THAILAND"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 121,
							"x": 733,
							"originalValue": "JAPAN THAILAND",
							"y": 379,
							"pageId": 1,
							"value": "JAPAN THAILAND",
							"height": 17
						}],
						"extractedValue": ["JAPAN THAILAND"],
						"keyDesc": ["原产国(地区)"],
						"value": ["JAPAN THAILAND"],
						"key": ["OriginCountry"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["最终目的国(地区)"],
						"value": [""],
						"key": ["DestinationCountry"],
						"extInfo": {}
					}],
					[{
						"valuePos": [{
							"width": 323,
							"x": 59,
							"y": 1342,
							"pageId": 1,
							"height": 19
						}],
						"parsedValue": ["LION KIREI KIREI HAND SOAP WHITE BOTTLE250ML"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 323,
							"x": 59,
							"originalValue": "LION KIREI KIREI HAND SOAP WHITE BOTTLE250ML",
							"y": 1342,
							"pageId": 1,
							"value": "LION KIREI KIREI HAND SOAP WHITE BOTTLE250ML",
							"height": 19
						}],
						"extractedValue": ["LION KIREI KIREI HAND SOAP WHITE BOTTLE250ML"],
						"keyDesc": ["商品名称"],
						"value": ["LION KIREI KIREI HAND SOAP WHITE BOTTLE250ML"],
						"key": ["GName"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["规格型号"],
						"value": [""],
						"key": ["GModel"],
						"extInfo": {}
					}, {
						"valuePos": [{
							"width": 30,
							"x": 760,
							"y": 1345,
							"pageId": 1,
							"height": 18
						}],
						"parsedValue": ["7,340"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 30,
							"x": 760,
							"originalValue": "7,340",
							"y": 1345,
							"pageId": 1,
							"value": "7340",
							"height": 18
						}],
						"extractedValue": ["7340"],
						"keyDesc": ["第一数量"],
						"value": ["7340"],
						"key": ["FirstQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 29,
							"x": 823,
							"y": 1346,
							"pageId": 1,
							"height": 14
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 29,
							"x": 823,
							"originalValue": "PCS.",
							"y": 1346,
							"pageId": 1,
							"value": "PCS",
							"height": 14
						}],
						"extractedValue": ["PCS"],
						"keyDesc": ["法定第一计量单位"],
						"value": ["PCS"],
						"key": ["FirstUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"height": 0
						}],
						"parsedValue": [""],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"value": "",
							"height": 0
						}],
						"extractedValue": [""],
						"keyDesc": ["第二数量"],
						"value": [""],
						"key": ["SecondQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 29,
							"x": 823,
							"y": 1346,
							"pageId": 1,
							"height": 14
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 29,
							"x": 823,
							"originalValue": "PCS.",
							"y": 1346,
							"pageId": 1,
							"value": ".",
							"height": 14
						}],
						"extractedValue": ["."],
						"keyDesc": ["法定第二计量单位"],
						"value": ["."],
						"key": ["SecondUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["成交数量"],
						"value": [""],
						"key": ["GQty"],
						"extInfo": {}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["成交计量单位"],
						"value": [""],
						"key": ["GUnit"],
						"extInfo": {}
					}, {
						"valuePos": [{
							"width": 32,
							"x": 1023,
							"y": 1346,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["¥179"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 32,
							"x": 1023,
							"originalValue": "¥179",
							"y": 1346,
							"pageId": 1,
							"value": "179",
							"height": 17
						}],
						"extractedValue": ["179"],
						"keyDesc": ["单价"],
						"value": ["179"],
						"key": ["DeclPrice"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 76,
							"x": 1195,
							"y": 1346,
							"pageId": 1,
							"height": 19
						}],
						"parsedValue": ["¥1,313,860"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 76,
							"x": 1195,
							"originalValue": "¥1,313,860",
							"y": 1346,
							"pageId": 1,
							"value": "1313860",
							"height": 19
						}],
						"extractedValue": ["1313860"],
						"keyDesc": ["总价"],
						"value": ["1313860"],
						"key": ["DeclTotal"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 32,
							"x": 1023,
							"y": 1346,
							"pageId": 1,
							"height": 17
						}, {
							"width": 76,
							"x": 1195,
							"y": 1346,
							"pageId": 1,
							"height": 19
						}],
						"parsedValue": ["¥179¥1,313,860"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 32,
							"x": 1023,
							"originalValue": "¥179",
							"y": 1346,
							"pageId": 1,
							"value": "¥ ¥",
							"height": 17
						}, {
							"documentType": "Declaration",
							"width": 76,
							"x": 1195,
							"originalValue": "¥1,313,860",
							"y": 1346,
							"pageId": 1,
							"value": "¥ ¥",
							"height": 19
						}],
						"extractedValue": ["¥ ¥"],
						"keyDesc": ["币制"],
						"value": ["¥ ¥"],
						"key": ["TradeCurr"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 121,
							"x": 733,
							"y": 379,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["JAPAN THAILAND"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 121,
							"x": 733,
							"originalValue": "JAPAN THAILAND",
							"y": 379,
							"pageId": 1,
							"value": "JAPAN THAILAND",
							"height": 17
						}],
						"extractedValue": ["JAPAN THAILAND"],
						"keyDesc": ["原产国(地区)"],
						"value": ["JAPAN THAILAND"],
						"key": ["OriginCountry"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["最终目的国(地区)"],
						"value": [""],
						"key": ["DestinationCountry"],
						"extInfo": {}
					}],
					[{
						"valuePos": [{
							"width": 395,
							"x": 58,
							"y": 1361,
							"pageId": 1,
							"height": 21
						}],
						"parsedValue": ["KAO GUARD HALO STANDING TUBE MINT TOOTH PASTE 165G"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 395,
							"x": 58,
							"originalValue": "KAO GUARD HALO STANDING TUBE MINT TOOTH PASTE 165G",
							"y": 1361,
							"pageId": 1,
							"value": "KAO GUARD HALO STANDING TUBE MINT TOOTH PASTE 165G",
							"height": 21
						}],
						"extractedValue": ["KAO GUARD HALO STANDING TUBE MINT TOOTH PASTE 165G"],
						"keyDesc": ["商品名称"],
						"value": ["KAO GUARD HALO STANDING TUBE MINT TOOTH PASTE 165G"],
						"key": ["GName"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["规格型号"],
						"value": [""],
						"key": ["GModel"],
						"extInfo": {}
					}, {
						"valuePos": [{
							"width": 36,
							"x": 760,
							"y": 1365,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["7,200"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 36,
							"x": 760,
							"originalValue": "7,200",
							"y": 1365,
							"pageId": 1,
							"value": "7200",
							"height": 17
						}],
						"extractedValue": ["7200"],
						"keyDesc": ["第一数量"],
						"value": ["7200"],
						"key": ["FirstQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 29,
							"x": 823,
							"y": 1366,
							"pageId": 1,
							"height": 15
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 29,
							"x": 823,
							"originalValue": "PCS.",
							"y": 1366,
							"pageId": 1,
							"value": "PCS",
							"height": 15
						}],
						"extractedValue": ["PCS"],
						"keyDesc": ["法定第一计量单位"],
						"value": ["PCS"],
						"key": ["FirstUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"height": 0
						}],
						"parsedValue": [""],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 0,
							"x": 0,
							"y": 0,
							"pageId": 1,
							"value": "",
							"height": 0
						}],
						"extractedValue": [""],
						"keyDesc": ["第二数量"],
						"value": [""],
						"key": ["SecondQty"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 29,
							"x": 823,
							"y": 1366,
							"pageId": 1,
							"height": 15
						}],
						"parsedValue": ["PCS."],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 29,
							"x": 823,
							"originalValue": "PCS.",
							"y": 1366,
							"pageId": 1,
							"value": ".",
							"height": 15
						}],
						"extractedValue": ["."],
						"keyDesc": ["法定第二计量单位"],
						"value": ["."],
						"key": ["SecondUnit"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["成交数量"],
						"value": [""],
						"key": ["GQty"],
						"extInfo": {}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["成交计量单位"],
						"value": [""],
						"key": ["GUnit"],
						"extInfo": {}
					}, {
						"valuePos": [{
							"width": 26,
							"x": 1024,
							"y": 1366,
							"pageId": 1,
							"height": 16
						}],
						"parsedValue": ["¥72"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 26,
							"x": 1024,
							"originalValue": "¥72",
							"y": 1366,
							"pageId": 1,
							"value": "72",
							"height": 16
						}],
						"extractedValue": ["72"],
						"keyDesc": ["单价"],
						"value": ["72"],
						"key": ["DeclPrice"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 69,
							"x": 1202,
							"y": 1366,
							"pageId": 1,
							"height": 18
						}],
						"parsedValue": ["¥518,400"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 69,
							"x": 1202,
							"originalValue": "¥518,400",
							"y": 1366,
							"pageId": 1,
							"value": "518400",
							"height": 18
						}],
						"extractedValue": ["518400"],
						"keyDesc": ["总价"],
						"value": ["518400"],
						"key": ["DeclTotal"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 26,
							"x": 1024,
							"y": 1366,
							"pageId": 1,
							"height": 16
						}, {
							"width": 69,
							"x": 1202,
							"y": 1366,
							"pageId": 1,
							"height": 18
						}],
						"parsedValue": ["¥72¥518,400"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 26,
							"x": 1024,
							"originalValue": "¥72",
							"y": 1366,
							"pageId": 1,
							"value": "¥ ¥",
							"height": 16
						}, {
							"documentType": "Declaration",
							"width": 69,
							"x": 1202,
							"originalValue": "¥518,400",
							"y": 1366,
							"pageId": 1,
							"value": "¥ ¥",
							"height": 18
						}],
						"extractedValue": ["¥ ¥"],
						"keyDesc": ["币制"],
						"value": ["¥ ¥"],
						"key": ["TradeCurr"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [{
							"width": 121,
							"x": 733,
							"y": 379,
							"pageId": 1,
							"height": 17
						}],
						"parsedValue": ["JAPAN THAILAND"],
						"valueSourceList": [{
							"documentType": "Declaration",
							"width": 121,
							"x": 733,
							"originalValue": "JAPAN THAILAND",
							"y": 379,
							"pageId": 1,
							"value": "JAPAN THAILAND",
							"height": 17
						}],
						"extractedValue": ["JAPAN THAILAND"],
						"keyDesc": ["原产国(地区)"],
						"value": ["JAPAN THAILAND"],
						"key": ["OriginCountry"],
						"extInfo": {
							"recognizeFrom": "OCR",
							"extractFrom": "NLP"
						}
					}, {
						"valuePos": [],
						"parsedValue": [""],
						"valueSourceList": [],
						"extractedValue": [null],
						"keyDesc": ["最终目的国(地区)"],
						"value": [""],
						"key": ["DestinationCountry"],
						"extInfo": {}
					}]
				]
			],
			"pageInfo": [{
				"documentFileName": "0bcbeee7",
				"documentType": "Declaration",
				"filePageId": 1,
				"imageUrl": "http://docmind-api-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/publicIndustryExtract/docmind-20230131-ExportDeclarationSheet-1772521e/00000.png?Expires=1675172174&OSSAccessKeyId=LTAI5tQL9bqLHC5HYKV6****&Signature=e2Oc0UTHNIfck5EP3tmbNLZmBJg%3D",
				"width": 1391,
				"angle": 0,
				"originalFileUrl": "https://doc-mind-pre.oss-cn-hangzhou.aliyuncs.com/test/%E4%B8%80%E6%9C%9F/%E5%8F%91%E7%A5%A8/%E5%8F%91%E7%A5%A8.pdf",
				"source": "OCR",
				"pageId": 1,
				"pdfParseResult": "http://docmind-api-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/publicIndustryExtract/docmind-20230131-ExportDeclarationSheet-1772521e/EasyPDF/0.txt?Expires=1675172174&OSSAccessKeyId=LTAI5tQL9bqLHC5HYKV6****&Signature=IjZ4J%2BSuaNima5vrLAI08sFDOoQ%3D",
				"fileType": "pdf",
				"height": 1915
			}],
			"kvInfo": [{
				"valuePos": [{
					"width": 167,
					"x": 60,
					"y": 495,
					"pageId": 1,
					"height": 18
				}, {
					"width": 333,
					"x": 59,
					"y": 515,
					"pageId": 1,
					"height": 20
				}, {
					"width": 170,
					"x": 60,
					"y": 577,
					"pageId": 1,
					"height": 18
				}],
				"parsedValue": ["USCI+91330201MA2J4GL66P LANFA (NINGBO) SUPPLY CHAIN MANAGEMENT CO., LTD.ZHEJIANG PROVINCE,CHINA"],
				"valueSourceList": [{
					"documentType": "Declaration",
					"width": 167,
					"x": 60,
					"originalValue": "USCI+91330201MA2J4GL66P",
					"y": 495,
					"pageId": 1,
					"value": "USCI+ LANFA (NINGBO) SUPPLY CHAIN MANAGEMENT CO., LTD. ZHEJIANG PROVINCE,CHINA",
					"height": 18
				}, {
					"documentType": "Declaration",
					"width": 333,
					"x": 59,
					"originalValue": "LANFA (NINGBO) SUPPLY CHAIN MANAGEMENT CO., LTD.",
					"y": 515,
					"pageId": 1,
					"value": "USCI+ LANFA (NINGBO) SUPPLY CHAIN MANAGEMENT CO., LTD. ZHEJIANG PROVINCE,CHINA",
					"height": 20
				}, {
					"documentType": "Declaration",
					"width": 170,
					"x": 60,
					"originalValue": "ZHEJIANG PROVINCE,CHINA",
					"y": 577,
					"pageId": 1,
					"value": "USCI+ LANFA (NINGBO) SUPPLY CHAIN MANAGEMENT CO., LTD. ZHEJIANG PROVINCE,CHINA",
					"height": 18
				}],
				"extractedValue": ["USCI+ LANFA (NINGBO) SUPPLY CHAIN MANAGEMENT CO., LTD. ZHEJIANG PROVINCE,CHINA"],
				"keySourceList": [],
				"keyPos": [],
				"keyDesc": ["境内发货人名称"],
				"value": ["USCI+ LANFA (NINGBO) SUPPLY CHAIN MANAGEMENT CO., LTD. ZHEJIANG PROVINCE,CHINA"],
				"key": ["TradeName"],
				"extInfo": {
					"recognizeFrom": "OCR",
					"extractFrom": "NLP"
				}
			}, {
				"valuePos": [{
					"width": 167,
					"x": 60,
					"y": 495,
					"pageId": 1,
					"height": 18
				}],
				"parsedValue": ["USCI+91330201MA2J4GL66P"],
				"valueSourceList": [{
					"documentType": "Declaration",
					"width": 167,
					"x": 60,
					"originalValue": "USCI+91330201MA2J4GL66P",
					"y": 495,
					"pageId": 1,
					"value": "91330201MA2J4GL66P",
					"height": 18
				}],
				"extractedValue": ["91330201MA2J4GL66P"],
				"keySourceList": [],
				"keyPos": [],
				"keyDesc": ["境内发货人社会信用代码"],
				"value": ["91330201MA2J4GL66P"],
				"key": ["TradeCodeScc"],
				"extInfo": {
					"recognizeFrom": "OCR",
					"extractFrom": "NLP"
				}
			}, {
				"valuePos": [{
					"width": 372,
					"x": 475,
					"y": 172,
					"pageId": 1,
					"height": 23
				}],
				"parsedValue": ["HOSODA RANDA FUDOUSAN CO., LTD."],
				"valueSourceList": [{
					"documentType": "Declaration",
					"width": 372,
					"x": 475,
					"originalValue": "HOSODA RANDA FUDOUSAN CO., LTD.",
					"y": 172,
					"pageId": 1,
					"value": "HOSODA RANDA FUDOUSAN CO., LTD.",
					"height": 23
				}],
				"extractedValue": ["HOSODA RANDA FUDOUSAN CO., LTD."],
				"keySourceList": [],
				"keyPos": [],
				"keyDesc": ["境外收货人"],
				"value": ["HOSODA RANDA FUDOUSAN CO., LTD."],
				"key": ["OverseasConsigneeEname"],
				"extInfo": {
					"recognizeFrom": "OCR",
					"extractFrom": "NLP"
				}
			}, {
				"valuePos": [{
					"width": 226,
					"x": 59,
					"y": 657,
					"pageId": 1,
					"height": 18
				}],
				"parsedValue": ["VESSEL NEW MINGZHOU 66 V.2217W"],
				"valueSourceList": [{
					"documentType": "Declaration",
					"width": 226,
					"x": 59,
					"originalValue": "VESSEL NEW MINGZHOU 66 V.2217W",
					"y": 657,
					"pageId": 1,
					"value": "VESSEL NEW MINGZHOU 66",
					"height": 18
				}],
				"extractedValue": ["VESSEL NEW MINGZHOU 66"],
				"keySourceList": [],
				"keyPos": [],
				"keyDesc": ["运输工具名称"],
				"value": ["VESSEL NEW MINGZHOU 66"],
				"key": ["TrafName"],
				"extInfo": {
					"recognizeFrom": "OCR",
					"extractFrom": "NLP"
				}
			}, {
				"valuePos": [{
					"width": 226,
					"x": 59,
					"y": 657,
					"pageId": 1,
					"height": 18
				}],
				"parsedValue": ["VESSEL NEW MINGZHOU 66 V.2217W"],
				"valueSourceList": [{
					"documentType": "Declaration",
					"width": 226,
					"x": 59,
					"originalValue": "VESSEL NEW MINGZHOU 66 V.2217W",
					"y": 657,
					"pageId": 1,
					"value": "2217W",
					"height": 18
				}],
				"extractedValue": ["2217W"],
				"keySourceList": [],
				"keyPos": [],
				"keyDesc": ["航次号"],
				"value": ["2217W"],
				"key": ["VoyNo"],
				"extInfo": {
					"recognizeFrom": "OCR",
					"extractFrom": "NLP"
				}
			}, {
				"valuePos": [{
					"width": 80,
					"x": 981,
					"y": 815,
					"pageId": 1,
					"height": 17
				}],
				"parsedValue": ["C&F NINGBO"],
				"valueSourceList": [{
					"documentType": "Declaration",
					"width": 80,
					"x": 981,
					"originalValue": "C&F NINGBO",
					"y": 815,
					"pageId": 1,
					"value": "C&F NINGBO",
					"height": 17
				}],
				"extractedValue": ["C&F NINGBO"],
				"keySourceList": [],
				"keyPos": [],
				"keyDesc": ["成交方式"],
				"value": ["C&F NINGBO"],
				"key": ["TransMode"],
				"extInfo": {
					"recognizeFrom": "OCR",
					"extractFrom": "NLP"
				}
			}]
		},
		"status": "success"
	}
}

处理成功时:Completed会返回true,表示任务处理结束;Status会返回“Success”,表示处理成功。