发票信息修复

  • 调用方法签名
net.smarttax.sim.facade.SmarttaxClient#invoiceQuery
  • 请求参数

    因发票修复需要与税盘读取并通信,为了在可控时间内返回修复数据,建议单次修复日期间隔不超过1个月

参数名 说明 备注
data net.smarttax.sim.entity.req.InvoiceQueryRequest
net.smarttax.sim.entity.req.InvoiceQueryRequest
invoiceType 发票类型枚举 net.smarttax.sim.entity.enums.InvoiceType
startTime 起始日期 yyyyMMdd
endTime 截止日期 yyyyMMdd
  • 响应方法签名
net.smarttax.sdkdemo.listener.OperationPrinter#eInvoiceQuery
  • 响应监听返回参数

net.smarttax.sim.entity.resp.InvoiceQueryResp

 List<InvoiceQueryEntity> v1.0.4
参数名 说明 备注
data 发票信息集合 List<InvoiceQueryEntity>
- 发票信息实体 net.smarttax.sim.entity.resp.InvoiceQueryEntity
invoiceType 发票类型枚举)
invoiceCode 发票代码
invoiceNum 发票号码
originalInvCode 原发票代码 用于负数发票
originalInvNum 原发票号码 用于负数发票
checkNo 校验码
createDate 开票日期 yyyyMMdd
createTime 开票时间 hhmmss
totalAmount 价税合计
taxFreeAmount 不含税金额
taxAmount 税额
avgRate 综合税率
invoiceStatus 发票状态 枚举
sellerTaxCode 销方税号
deviceCode 销方盘号
sellerAddress 销方地址
sellerName 销方名称
sellerBankName 销方银行名称
buyerTaxCode 购方税号
buyerAddress 购方地址
buyerBankName 购方银行名称
buyerName 购方名称
operator 开票人
checker 复合人
receiver 收款人
remark 备注
cmdtyCode 商品税目
cmdtyName 商品名称
isUploading 上传标记
cipher 密文区
macNum 机器码 @since v1.1.3
listSign 清单标识 枚举 @since v1.1.3
positive 是否蓝票 @since v1.1.3
details 发票明细列表 List<InvoiceQueryDetail>
- 发票明细实体 net.smarttax.sim.entity.resp.InvoiceQueryDetail
detailRowSpec 明细行类型 枚举
levyType 征税方式 枚举 @since v1.1.3
cmdtyCode 商品税目
cmdtyName 商品名称
taxFreeAmount 不含税金额
taxAmount 税额
taxRate 税率
taxFreePolicy 零税率标识 枚举
preferentialPolicy 优惠标识 枚举
unitPrice 单价
unit 单位 @since v1.1.3
specification 规格型号 @since v1.1.3
quantity 数量
revenueCode 税收分类编码

results matching ""

    No results matching ""