- 独立部署版
- V1.0-(2022.8.18)
- v1.1-(2023.6.20)
- v1.2-(2023.10.20)
- v1.3-(2023.11.20)
- 低代码
- v1.4
- v1.5
- v1.6
企业申请开票
POST
/ent/order/invoice/apply
责任人:未设置
请求参数
Header 参数
Authorization
string
必需
示例值:
Bearer {{ENT_TOKEN}}
X-Requested-With
string
必需
默认值:
XMLHttpRequest
Body 参数multipart/form-data
order_id[]
string
订单ID
types
string
发票类型
mark
string
备注
amount
string
开票金额
title
string
发票抬头
ident
string
纳税人识别号
bank
string
开户行
account
string
开户账号
address
string
开票地址
tel
string
电话
collect_name
string
邮寄联系人
collect_tel
string
邮寄联系电话
collect_type
string
可选
collect_email
string
邮寄地址/邮箱
bill_date
string
开票日期
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/ent/order/invoice/apply' \
--header 'Authorization: Bearer {{ENT_TOKEN}}' \
--header 'Authorization;' \
--header 'X-Requested-With;' \
--form 'order_id[]=""' \
--form 'types=""' \
--form 'amount=""'
返回响应
🟢200成功
application/json
Body
message
string
必需
status
integer
必需
data
object
必需
list
array [object {10}]
必需
count
integer
必需
示例
{
"message": "string",
"status": 0,
"data": {
"list": [
{
"order_id": "string",
"order_type": "string",
"info": "string",
"pay_amount": "string",
"pay_type": "string",
"pay_time": null,
"uniqued": "string",
"uid": "string",
"company": {
"id": 0,
"enterprise_name": "string",
"uniqued": "string"
},
"user": {
"uid": "string",
"phone": "string",
"real_name": "string"
}
}
],
"count": 0
}
}
修改于 2024-01-05 09:48:31