Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

接口地址

在信号旗中配置回调接口,接口地址回调方提供。

请求方式post
入参(json)


字段

类型

必填

描述

action

String

Y

single_receipt(海关回执)

orderOutNo

String

N

业务流水号

billNo

String

N

提运单号

paramJson

json

Y

回执json

字段

类型

必填

描述

channel

String


参见《附件3:海关状态

note

String


海关描述

noticeDate

String


海关时间

customMaster

String


主管海关

entryId

String


海关编码

cusCiqNo
String
统一编号

releaseNotice

String

N

放行通知书文件地址

customsDeclaration

String

N

报关单文件地址

authorizationLetter

String

N

报关委托书地址

examinePdf
StringN查验通知书(口岸查验通知、报关单查验通知......)



出参


字段

类型

必填

描述

state

boolean

Y

成功:true

失败:false

msg

String

N



描述


...

接口地址

调试url:http://api.t.baoguan001.com/api/docking/getCustomsClearance

正式url:http://api.platform.codeflagai.com/api/docking/getCustomsClearance

请求方式post
入参(json)


字段

类型

必填

描述

appId

String

Y


orderOutNo

String

Y

业务流水号


出参


字段

类型

必填

描述

code

int

200=成功


msg

String

Y

说明

data





描述

declarationPort



4. 获取放行通知书

接口地址

调试url:http://api.t.baoguan001.com/api/docking/getReleaseNotice

正式url:http://api.platform.codeflagai.com/api/docking/getReleaseNotice

请求方式post
入参(json)


字段

类型

必填

描述

appId

String

Y


orderOutNo

String

Y

业务流水号


出参


字段

类型

必填

描述

code

int

200=成功


msg

String

Y

说明

data





描述

...

接口地址

调试url:http://api.t.baoguan001.com/api/docking/getCheckRows

正式url:http://api.platform.codeflagai.com/api/docking/getCheckRows

请求方式post
入参(json)


字段

类型

必填

描述

appId

String

Y


typeStringNcheck :标识区分查验描述

orderOutNo

String

Y

业务流水号


出参


字段

类型

必填

描述

code

int

200=成功


msg

String

Y

说明

data

List

多个下载地址

根据type 类型返回,不传type 返回值结构版本1,check返回值结构版本2


描述
版本1
版本2

...


6. 获取报关委托书

接口地址

调试url:http://api.t.baoguan001.com/api/docking/getAuthorizationLetter

正式url:http://api.platform.codeflagai.com/api/docking/getAuthorizationLetter

请求方式post
入参(json)


字段

类型

必填

描述

appId

String

Y


orderOutNo

String

Y

业务流水号


出参


字段

类型

必填

描述

code

int

200=成功


msg

String

Y

说明

data

String




描述

Image Added



四. 报关行与信号旗对接 (ERP->报关行)

1. 整箱做箱任务

...