- 原接口重写
- 订阅相关接口
- 规范申报接口
- 用户账户信息
- 支付接口
- 退款接口
- 用户消费记录查询
- 用户充值记录查询
- 广告内容
- 发票
- 档位接口
- 金币转换接口
- 意见反馈
- 全流程接口
- 报关单核验
新增发票
开发中
POST
https://wusan53.cn/fzx-tgb-api/invoice/addInvoice
请求参数
Header 参数
access_token
string
必需
示例值:
YzAyNWNmNDYwMzgxOWI1MDJhNzM0MzVmNDQ0NmVmMjVhZDFkMmFlODRmYmQwNDNlOTQ1ZmJiZWZjOTFlYWY5Zg==
Body 参数application/json
orderList
string
必需
titleType
string
必需
invoiceType
string
必需
invoiceTitle
string
发票抬头
taxIdentificationNumber
string
纳税人识别号
bankName
string
银行名称
bankAccount
string
银行账号
registrationAddress
string
企业注册地址
registrationPhone
string
企业注册电话
示例
{
"orderList":"2023092620432391880394,2023092620461137462076",
"titleType":"1",
"invoiceType":"1",
"invoiceTitle":"马瑞龙",
"taxIdentificationNumber":"7897979789",
"bankName":"中国银行",
"bankAccount":"456456456456464",
"registrationAddress":"上海佘山",
"registrationPhone":"17633882621"
}
示例代码
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/addInvoice' \
--header 'access_token: YzAyNWNmNDYwMzgxOWI1MDJhNzM0MzVmNDQ0NmVmMjVhZDFkMmFlODRmYmQwNDNlOTQ1ZmJiZWZjOTFlYWY5Zg==' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderList":"2023092620432391880394,2023092620461137462076",
"titleType":"1",
"invoiceType":"1",
"invoiceTitle":"马瑞龙",
"taxIdentificationNumber":"7897979789",
"bankName":"中国银行",
"bankAccount":"456456456456464",
"registrationAddress":"上海佘山",
"registrationPhone":"17633882621"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
message
string
必需
timestmp
integer
必需
data
boolean
必需
示例
{
"code": 200,
"success": true,
"message": "请求成功",
"timestmp": 1697683466214,
"data": true
}
修改于 2023-10-19 06:58:01