获取发票信息
开发环境
开发环境
GET
http://localhost:45427/Forguncy/GetCreateInvoiceTask
最后修改时间:2024-09-06 02:20:18
责任人:Shamus
请求参数
Query 参数
requestId
string
波次ID
示例值:
91330200753254873H
invoiceCode
string
开票标识
示例值:
1
返回响应
🟢200成功
application/json
Body
ErrCode
integer
返回码
Message
string
返回信息
date
string
返回时间
result
object
返回数据
invoiceId
integer
发票ID
requestId
integer
波次ID
invoiceSourceId
integer
票源ID
batchNumber
string
批次标识
invoiceCode
string
开票标识
success
integer
开票成功
msg
string
开票结果
groupName
string
交付组名
sellerTaxId
string
销方税号
sellerName
string
销方名称
buyerTaxId
string
购方税号
buyerName
string
购方名称
invoiceType
string
发票类型
invoiceCategory
string
发票种类
invoiceNumber
string
发票号码
redFlushInvoiceNumber
string
红冲发票号码
invoiceDate
string
开票日期
amount
integer
开票金额
taxAmount
integer
税额
taxIncluded
integer
是否含税
示例
{
"ErrCode": 0,
"Message": "任务领取成功",
"date": "1983-04-08 09:10:54",
"result": {
"TaskId": 1,
"TaskType": "批量开具发票",
"taskName": "测试任务",
"sellerTaxId": "123456",
"invoiceType": "增值税普通发票",
"invoiceCategory": "蓝票",
"url": "http://localhost:13637/Forguncy/FileDownloadUpload/Download?file=aaad9917-248a-4547-952f-f5a056f7bc9d_86b459d7-fad4-4efe-863c-e8921483c0d4_23312000000152766666.xlsx",
"invoiceList": [
{
"invoiceId": 1,
"invoiceCode": "1",
"taxIncluded": 1,
"buyerTaxId": "91330200736960784B",
"bizType": "",
"docType": "",
"rpni": 0,
"remarks": "测试开票数据",
"customParams1": "test01",
"customParams2": "test01",
"customParams3": "test01",
"list": [
{
"index": 1,
"taxCode": "",
"productName": "金属制品",
"specification": "-",
"unit": "克",
"unitPrice": 5,
"quantity": 1000,
"invoiceAmount": 5000,
"taxRate": 0.13,
"discountAmount": 0,
"jzjtlx": "",
"yhzclx": "",
"sfsyyhzc": 0
}
]
}
]
}
}
🟠400失败

接口使用疑问请扫码
如遇接口故障、使用疑问,请扫码联系管理员。


修改于 2024-09-06 02:20:18