- 原接口重写
- 订阅相关接口
- 规范申报接口
- 用户账户信息
- 支付接口
- 退款接口
- 用户消费记录查询
- 用户充值记录查询
- 广告内容
- 发票
- 档位接口
- 金币转换接口
- 意见反馈
- 全流程接口
- 报关单核验
查询发票
开发中
POST
https://wusan53.cn/fzx-tgb-api/invoice/queryInvoice
请求参数
Body 参数application/json
id
string
发票ID
invoiceType
string
发票类型
invoiceStatus
string
必需
invoiceBeginTime
string
必需
invoiceEndTime
string
必需
createBeginTime
string
必需
createEndTime
string
必需
pageNum
string
必需
pageSize
string
必需
示例
{
"pageNum":"1",
"pageSize":"10",
"invoiceType":"1",
"invoiceStatus":"1",
"createBeginTime":"",
"createEndTime":"",
"invoiceBeginTime":"",
"invoiceEndTime":""
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://wusan53.cn/fzx-tgb-api/invoice/queryInvoice' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageNum":"1",
"pageSize":"10",
"invoiceType":"1",
"invoiceStatus":"1",
"createBeginTime":"",
"createEndTime":"",
"invoiceBeginTime":"",
"invoiceEndTime":""
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
message
string
必需
timestmp
integer
必需
data
object
必需
records
array [object {18}]
必需
total
integer
必需
size
integer
必需
current
integer
必需
orders
array[string]
必需
searchCount
boolean
必需
pages
integer
必需
示例
{
"code": 200,
"success": true,
"message": "请求成功",
"timestmp": 1697698651869,
"data": {
"records": [
{
"id": "1714834862715748353",
"userId": "A4FF0C48469D4F46AC449E1CDA9BA474",
"titleType": "1",
"invoiceType": "1",
"invoiceTitle": "马瑞龙",
"taxIdentificationNumber": "",
"bankName": "",
"bankAccount": "",
"invoiceDate": null,
"registrationAddress": "",
"registrationPhone": "",
"invoiceAmount": 80,
"invoiceStatus": "1",
"rechargeId": null,
"invoiceNotes": null,
"createTime": null
},
{
"id": "1714898540337049601",
"userId": "A4FF0C48469D4F46AC449E1CDA9BA474",
"titleType": "1",
"invoiceType": "1",
"invoiceTitle": "马瑞龙",
"taxIdentificationNumber": "7897979789",
"bankName": "中国银行",
"bankAccount": "456456456456464",
"invoiceDate": null,
"registrationAddress": "17633882621",
"registrationPhone": null,
"invoiceAmount": 60,
"invoiceStatus": "1",
"rechargeId": "2023092622525425124118,2023092709183063973266",
"invoiceNotes": null,
"createTime": "2023-10-19 14:57:27"
}
],
"total": 2,
"size": 10,
"current": 1,
"orders": [],
"searchCount": true,
"pages": 1
}
}
修改于 2023-10-25 05:52:21