# ACI回执

ACI发送后,系统会把发送结果发送给API用户,用户需要接收处理,并返回应答.

用户系统需要提供接口来接收回执消息, 请提供测试版和正式版交由我方开发人员配置

ACI 接收成功回调:

POST http://xxx.xxx/xxx
Content-Type: application/json
Timestamp: 1592534449848
Nonce: 1267005109107130370
Sign: b66b1bd624c00d309fb741b72de1f6b7

{
"enterpriseName": "XXXX",
"houseBillType": "EM",
"fullMasterBillNo":"MASTERBILLNO",
"fullHouseBillNo": "OPENAPI",
"messageType": "Acknowledgement",
"receiveDate": "2021-04-25 19:27:38"
"messageStatus": "ACCEPTED"
}

ACI 接收失败回调:

POST http://xxx.xxx/xxx
Content-Type: application/json
Timestamp: 1592534449848
Nonce: 1267005109107130370
Sign: b66b1bd624c00d309fb741b72de1f6b7

{
"enterpriseName": "XXXX",
"houseBillType": "EM",
"fullMasterBillNo":"MASTERBILLNO",
"fullHouseBillNo": "HOUSEBILLNO",
"messageType": "Acknowledgement",
"receiveDate": "2021-04-25 19:27:38"
"messageStatus": "REJECTED"
"errorDescription": "Warehouse office is not associated with Port of Destination",
"ackBadData":,"3891",
"ackRelevantField","Warehouse Office"
}

ACI 匹配状态回调:

POST http://xxx.xxx/xxx
Content-Type: application/json
Timestamp: 1592534449848
Nonce: 1267005109107130370
Sign: b66b1bd624c00d309fb741b72de1f6b7

{
"enterpriseName": "XXXX",
"houseBillType": "EM",
"fullMasterBillNo":"MASTERBILLNO",
"fullHouseBillNo": "HOUSEBILLNO",
"messageType": "Disposition",
"receiveDate": "2021-04-25 19:27:38",
"aciMatchingStatus": "Matched",
"aciMatchingStatusDesc": "Indicates that a specific trade document is linked to all of its directly related trade documents."

}

ACI 风险通知回调:

POST http://xxx.xxx/xxx
Content-Type: application/json
Timestamp: 1592534449848
Nonce: 1267005109107130370
Sign: b66b1bd624c00d309fb741b72de1f6b7

{
"enterpriseName": "XXXX",
"houseBillType": "EM",
"fullMasterBillNo":"MASTERBILLNO",
"fullHouseBillNo": "HOUSEBILLNO",
"messageType": "Disposition",
"receiveDate": "2021-04-25 19:27:38"
"aciDangerStatus": "Hold",
"aciDangerStatusDesc": "The cargo may be unloaded from the vessel in Canada but is not authorized to move until permission is granted by CBSA in the form of a Hold Cancellation message."

}

# 参数解释

属性 类型 说明
enterpriseName string 企业名称
houseBillType string house申报类型 取值 {EM,ACI}
fullMasterBillNo string 船东提单号(MBL),示例值(9066NZ714464001)
fullHouseBillNo string 货代提单号(HBL),示例值(8FN0YYLFSE0000001)
messageType string 消息类型,Acknowledgement代表申报状态;Disposition代表匹配状态
receiveDate string 接收回执日期
messageStatus string ACCEPTED代表接收成功,REJECTED代表接收失败
errorDescription string 异常描述,只有messageStatus是REJECTED才有值
ackBadData string 异常字段值,只有messageStatus是REJECTED才有值
ackRelevantField string 异常字段名称,只有messageStatus是REJECTED才有值
aciMatchingStatus string ACI 匹配状态
aciMatchingStatusDesc string ACI 匹配状态描述
aciDangerStatus string ACI 风险通知
aciDangerStatusDesc string ACI 风险通知描述