Skip to main content

发票入账

接口描述​

本接口用于实时入账发票

请求地址​

POSThttps://qst.imfbp.com/apihub/api?Action=Tax.Input.Recorded

示例报文整理中

可先参考请求结构与公共参数。

Header 参数​

参数名称类型必选说明
TimestampString必选公共参数。
SecretIdString必选公共参数。
SignatureString必选公共参数。
AlgorithmString可选公共参数。
Content-TypeString必选取值:application/json

Body 请求参数​

参数名称类型必选说明
taxpayerNumberString必选纳税人识别号
invoiceList[]必选发票列表
paperInvoiceCodeString可选发票代码; 非数电发票必传
paperInvoiceNumString可选发票号码; 非数电发票必传
invoiceNumString可选数电发票号码; 数电发票必传
issueDateString必选开票日期,格式为:yyyy年MM月dd日
amountString必选金额
taxString必选税额
recordedStatusString必选入账状态
02-已入账(企业所得税税前扣除) 03-已入账(企业所得税不扣除)
errorReasonString可选失败原因

返回参数​

参数名称类型说明
codeInteger200 表示请求成功
messageString错误提示信息
startTimelong开始时间
endTimelong结束时间
callIdlong调用记录标识
data返回数据

data 内容说明​

参数名称类型说明
totalInteger合计张数
totalSuccessInteger成功数量
totalErrorInteger失败数量
totalTaxString税额合计
invoiceList[]发票列表
paperInvoiceCodeString发票代码
paperInvoiceNumString发票号码
invoiceNumString数电发票号码
issueDateString开票日期,格式为:yyyy年MM月dd日
amountString金额
taxString税额
recordedStatusString入账状态
02-已入账(企业所得税税前扣除) 03-已入账(企业所得税不扣除)
errorReasonString失败原因