简要描述

  • 开票结果通知接口

接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 杨铝杰 2020-02-24 2020-02-24

请求方式:

  • POST

请求头:

参数名 是否必须 类型 说明
Content-Type 是 String 请求类型: application/json

请求参数:

参数名 是否必须 类型 说明
status 是 string 发票状态 PENDING:待开具 ISSUING:开具中 ISSUED:已开具 REVERSING:红冲中 REVERSED:已红冲 CLOSED:已关闭
invoiceMaterial 是 string 发票材质 纸质发票:PAPER电子发票:ELECTRONIC
invoiceType 是 string 发票类型 普通发票:PLAIN 增值税专用发票:VAT
invoiceNo 否 string 发票号码
invoiceCode 否 string 发票代码
checkCode 否 string 校验码
cipherCode 否 string 密码区
issueDate 否 string 开票日期 格式 yyyy-MM-dd HH:mm:ss
deviceNo 否 string 机器编号
qrCodeId 是 string 二维码唯一 id
storeId 否 string 门店编号
storeName 否 string 门店名称
mchName 是 string 商户名称
mchNo 是 string 商户号
tid 是 string 终端号
orderId 是 string 商户订单号
orderDate 是 string 商户订单日期 格式 yyyyMMdd
sellerName 是 string 卖方名称
sellerTaxCode 是 string 卖方纳税人识别号
sellerAddress 是 string 卖方地址
sellerTelphone 是 string 卖方电话
sellerBank 是 string 卖方开户行
sellerAccount 是 string 卖方账号
payee 是 string 收款人
checker 是 string 复核人
drawer 是 string 开票人
remark 否 string 备注
taxMethod 是 string 征税方式 NORMAL:普通征税 DEDUCTION:差额征税
deductionAmount 是 string 扣除额 单位为元
totalPriceIncludingTax 是 string 含税总金额 单位为元
totalTax 是 string 税额 单位为元
totalPrice 是 string 不含税总金额 Double 单位为元
notifyMerEmail 否 string 商户邮箱
qrCode 否 string 领票二维码
pdfUrl 否 string PDF 下载链接
pdfPreviewUrl 否 string PDF 预览链接
errMsg 否 string 开票结果信息
sign 是 string 签名

返回示例

正确时返回:

{
    "retCode": "0000",
    "retMsg":"处理成功",
    "sign":"a1b2c3d4e5f6xxxxx"
}

错误时返回:

{
    "retCode": "500",
    "errMsg": "系统错误"
}

返回参数说明

参数名 类型 说明
retCode String 0000为成功,其他表示失败
retMsg String 返回消息
sign 签名 响应成功时返回
文档更新时间: 2020-02-24 22:28   作者:高俭