- 公共业务
- 票据识别
- 发票查验
- 发票认证
- 数电开票
- 附录
- 常见问题
- 版本发布
红字发票数据统计(仅数电)
POST
/api/sale/redInvoiceStatistic
sale
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
uid
string
唯一编码
>= 16 字符<= 36 字符
nsrsbh
string
税号
>= 1 字符
dlsfsjh
string
登录身份 手机号
>= 1 字符
示例
{
"uid": "stringstringstri",
"nsrsbh": "string",
"dlsfsjh": "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 'https://banas.ccitcn.com/api/sale/redInvoiceStatistic' \
--header 'Content-Type: application/json' \
--data-raw '{
"uid": "stringstringstri",
"nsrsbh": "string",
"dlsfsjh": "string"
}'
返回响应
🟢200OK
application/json
Body
Banas 返回结果
result
object (RedInvoiceStatisticResponse)
可选
byhtsxed
string | null
本月回退授信额度
bysdhpje
string | null
本月收到红票金额
byyzcjxse
string | null
本月应转出进项税额
dqdcldqrdzs
string | null
可选
wfcdqrdzs
string | null
我发出的确认单张数
wsddqrdzs
string | null
我收到的确认单张数
status
integer <int32>
可选
errorMessage
string | null
异常信息
示例
{
"result": {
"byhtsxed": "string",
"bysdhpje": "string",
"byyzcjxse": "string",
"dqdcldqrdzs": "string",
"wfcdqrdzs": "string",
"wsddqrdzs": "string"
},
"status": 0,
"errorMessage": "string"
}
修改于 2024-08-26 06:29:53