发票返结构体
发票返结构体:
增值税专票、普票、卷票返回数据结构:Json
{
"errcode": "0000",
"description": "查询成功",
"data": {"invoice":[
{
"serialNo":"", 发票流水号
"invoiceCode": "", 发票代码
"invoiceNo": "", 发票号码
"invoiceDate": "", 开票日期
"checkCode": "", 校验码
"salerName": "", 销方名称
"salerTaxNo": "", 销方纳税人识别号
"salerAddressPhone": "" 销方地址电话
"salerAccount": "", 销方开户行及账号
"buyerName": "", 购方名称
"buyerTaxNo": "", 购方纳税人识别号
"buyerAddressPhone": "", 购方地址电话
"buyerAccount": "", 购方银行账号
"amount": "", 金额合计(不含税)
"taxAmount": "", 税额合计
"totalAmount": "", 价税合计(小写)
"totalAmountCn": "", 价税合计大写
"remark": "", 备注
"machineNo": "", 机器编号
"cancelMark": "", 作废标识,N:未作废;Y:作废
"proxyMark": "", 代开标识:默认空,1为代开
"snapshotUrl": "", 快照地址
"downloadUrl": "", 原件下载地址
"invoiceType": "", 发票种类: 1.普通电子发票2.电子发票专票3.普通纸质发票4.专用纸质发票5.普通纸质卷票7.通用机打8.的士票9.火车票10.飞机票11.其他12.机动车13.二手车14.定额发票15.通行费16.客运票17.过路过桥发票19.完税证明20.轮船票23.通用机打电子发票
"drawer": "", 开票人
"reviewer": "", 复核人
"payee": "", 收款人
"checkCount": "", 查验次数
"items": [
{
"goodsName": "", 货物名称
"unitPrice": "", 单价(不含税)
"num": "", 数量
"taxRate": "", 税率
"unit": "", 单位
"detailAmount": "", 金额(不含税)
"specModel": "", 规格型号
"taxAmount": "", 税额
"goodsCode": "" 商品编码
}
]
}
]}
}
机动车发票返回结构:Json
{
"errcode": 0,
"description": "查询成功",
"data": {"invoice":[
{
"invoiceCode": "", 发票代码
"invoiceNo": "", 发票号码
"invoiceDate": "", 开票日期
"buyerTaxNo": "", 购方纳税人识别号
"buyerName": "", 购方名称
"buyerIdNo": "", 购方身份证号码/组织机构代码
"salerName": "", 销方单位名称
"salerPhoneNumber": "", 销方电话
"salerTaxNo": "", 销方纳税人识别号
"salerAccount": "", 销方账号
"salerAddress": "", 销方地址
"salerBankName": "", 销方开户银行
"vehicleType": "", 车辆类型
"bandModel": "", 厂牌型号
"produceArea": "", 产地
"qualifiedNo": "", 合格证号
"certificateNo": "", 进口证明书号
"commodityInspectionNo": "", 商检单号
"engineNo": "", 发动机号码
"vehicleIdentificationNo": "", 车辆识别代号/车架号码
"taxRate": "", 增值税税率或征收率
"taxAccount": "", 增值税税额
"totalAmount": "", 价税合计
"taxAuthorityCode": "", 主管税务机关名称
"taxAuthorityName": "", 主管税务机关代码
"amount": "", 不含税价金额
"tonnage": "", 吨位
"limitedCount": "", 限乘人数
"machineNo": "", 机器编号
"taxPaymentCertificateNo": "", 完税凭证号码
"cancelMark": "" 作废标志
}
]}
}
二手车发票返回结构:Json
{
"errorCode": 0,
"description": "查询成功",
"data": {"invoice":[
{
"serialNo": "", 发票流水号
"invoiceCode": "", 发票代码
"invoiceNo": "", 发票号码
"invoiceDate": "", 开票日期
"buyerPhoneNumber": "", 购方电话
"buyerName": "", 购方名称
"buyerIdNo": "", 购方身份证号码/组织机构代码
"buyerAddress": "", 购方地址
"salerName": "", 销方单位名称
"salerPhoneNumber": "", 销方电话
"salerIdNO": "", 销方纳税人识别号
"salerAddress": "", 销方地址
"licensePlateNumber": "", 车牌照号
"registrationNumber": "", 登记证号
"vehicleType": "", 车辆类型
"vehicleIdentificationNo": "", 车辆识别代号/车架号码
"bandModel": "", 厂牌型号
"vehicleManagementName": "", 转入地车辆管理所名称
"totalAmount": "", 车价合计
"totalAmountCn": "", 车价合计大写
"auctionName": "", 拍卖/经营名称
"auctionPhoneNumber": "", 拍卖/经营电话
"auctionAddress": "", 拍卖/经营地址
"auctionTaxpayerId": "", 拍卖/经营税号
"auctionBankAccout": "", 拍卖/经营开户银行帐号
"marketName": "", 二手市场单位
"marketPhoneNumber": "", 二手市场电话
"marketAddress": "", 二手市场地址
"marketTaxpayerId": "", 二手市场税号
"marketBankAccout": "", 二手市场开户银行帐号
"remark": "", 备注
"checkCount": "", 查验次数
"cancelMark": "", 是否作废Y作废,N不作废
"invoiceType": "", 发票类型
}
]}
}
通行费发票返回结构:Json
{
"errcode": "0000",
"description": "查询成功",
"data": {"invoice":[
{
"serialNo":"", 发票流水号
"invoiceCode": "", 发票代码
"invoiceNo": "", 发票号码
"invoiceDate": "", 开票日期
"invoiceMoney": "", 发票金额(不含税
"checkCode": "", 校验码
"salerName": "", 销方名称
"salerTaxNo": "", 销方纳税人识别号
"salerAddressPhone": "" 销方地址电话
"salerAccount": "", 销方开户行及账号
"buyerName": "", 购方名称
"buyerTaxNo": "", 购方纳税人识别号
"buyerAddressPhone": "", 购方地址电话
"buyerAccount": "", 购方银行账号
"amount": "", 金额合计(不含税)
"taxAmount": "", 税额合计
"totalAmount": "", 价税合计(小写)
"totalAmountCn": "", 价税合计大写
"remark": "", 备注
"machineNo": "", 机器编号
"cancelMark": "", 作废标识,N:未作废;Y:作废
"proxyMark": "", 代开标识:默认空,1为代开
"snapshotUrl": "", 快照地址
"downloadUrl": "", 原件下载地址
"invoiceType": "", 发票种类: 1.普通电子发票2.电子发票专票3.普通纸质发票4.专用纸质发票5.普通纸质卷票7.通用机打8.的士票9.火车票10.飞机票11.其他12.机动车13.二手车14.定额发票15.通行费16.客运票17.过路过桥发票19.完税证明20.轮船票23.通用机打电子发票
"drawer": "", 开票人
"reviewer": "", 复核人
"payee": "", 收款人
"checkCount": "", 查验次数
"items": [
{
"specModel": "", 类型
"taxRate": "", 税率
"detailAmount": "", 明细金额(不含税)
"licensePlateNumber": "", 车牌号码
"goodsName": "", 项目名称
"startDate": "", 通行起始日期
"endDate": "", 通行结束日期
"taxAmount": "" 金额
}
]
}
]}
}
//识别的士票返回结构
{
"errcode": "0000",
"description": "查询成功",
"data": {"invoice":[{
"invoiceCode":"", 发票代码
"invoiceNo":"", 发票号码
"invoiceDate":"", 发票日期
"totalAmount":"", 含税金额
"mileage":"", 里程
"timeGeton":"", 上车时间
"timeGetoff":"", 下车时间
"place":"", 乘车地点
"invoiceType":"" 发票类型
}]}
}
//识别火车票返回结构
{
"errcode": "0000",
"description": "查询成功",
"data": {"invoice":[{
"printingSequenceNo":"", 印刷序号
"invoiceDate":"", 发票日期
"totalAmount":"", 含税金额
"seat":"", 座位
"stationGeton":"", 上车地点
"stationGetoff":"", 下车地点
"trainTime":"", 开车时间
"trainNum":"", 车次
"passengerName":"", 乘客姓名
"invoiceType":"" 发票类型
}]}
}
//识别飞机票返回结构
{
"errcode": "0000",
"description": "查询成功",
"data": "invoice":{[{
"invoiceDate":"", 发票日期
"fightNum":"", 航班号
"destination":"", 目的地
"placeOfDeparture":"", 出发地
"seatGrade":"", 座位等级
"electronicTicketNum":"", 电子客票行程单
"customerIdentityNum":"", 客户身份证
"customerName":"", 客户名
"totalAmount":"", 含税金额
"invoiceAmount":"", 不含税金额
"taxAmount":"", 税额
"fuelSurcharge":"", 燃油附加费
"insurancePremium":"", 保险费
"salesUnitCode":"", 销售单位代号
"fillingUnit":"", 填开单位
"airTime":"", 乘机时间时分秒
"invoiceType":"" 发票类型
}]}
}
//识别通用机打票返回结构
{
"errcode": "0000",
"description": "查询成功",
"data": {"invoice":[{
"invoiceCode":"", 发票代码
"invoiceNo":"", 发票号码
"invoiceDate":"", 发票日期
"totalAmount":"", 含税金额
"checkCode":"", 校验码
"buyerTaxNo":"", 购方税号
"salerTaxNo":"", 销方税号
"buyerName":"", 购方名称
"salerName":"", 销方名称
"invoiceType":"" 发票类型
}]}
}
//识别定额票返回结构
{
"errcode": "0000",
"description": "查询成功",
"data": {"invoice":[{
"invoiceCode":"", 发票代码
"invoiceNo":"", 发票号码
"totalAmount":"", 含税金额
"invoiceType":"" 发票类型
}]}
}
//识别客运票返回结构
{
"errcode": "0000",
"description": "查询成功",
"data": {"invoice":[{
"invoiceCode":"", 发票代码
"invoiceNo":"", 发票号码
"invoiceDate":"", 发票日期
"totalAmount":"", 含税金额
"stationGeton":"", 上车地点
"stationGetoff":"", 下车地点
"passengerName":"", 乘客姓名
"invoiceType":"" 发票类型
}]}
}
//识别过路过桥票返回结构
{
"errcode": "0000",
"description": "查询成功",
"data": {"invoice":[{
"invoiceCode":"", 发票代码
"invoiceNo":"", 发票号码
"invoiceDate":"", 发票日期
"totalAmount":"", 含税金额
"entrance":"", 入口
"exit":"", 出口
"invoiceType":"" 发票类型
}]}
}
//识别其他票返回结构
{
"errcode": "0000",
"description": "查询成功",
"data":
{"invoice":[{
"invoiceCode":"", 发票代码
"invoiceNo":"", 发票号码
"invoiceDate":"", 发票日期
"totalAmount":"", 含税金额
"invoiceType":"" 发票类型
}]
}
}
//失败返回结构体:
{
"errcode": "0001",
"description": "查询异常"
}
最后修改时间: 2 个月前