- 错误编码信息
- 开发指南
- 发票夹业务
- 进项业务
- 税局登陆业务
- 发票归集
- 发票文件下载
- 发票开具
- 智能编码
- 企业相关接口
获取开票结果
POST
/InvoiceKP/getFpkpxx/1.0
请求参数
Body 参数application/json
taskId
string
开票申请的业务ID
默认值:
示例
{
"taskId": ""
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/InvoiceKP/getFpkpxx/1.0' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
业务代码
message
string
业务消息
默认值:
requestID
string
业务流水号
默认值:
timestamp
integer
业务提交时间戳
token
string
登陆Token
默认值:
codeType
integer
业务返回编码格式
iszip
integer
业务返回数据压缩标记
data
object
业务返回数据
kplsh
string
开票流水号
默认值:
fplxdm
integer
发票类型代码
fpdm
string
发票代码
默认值:
fphm
string
发票号码
默认值:
kprq
string
开票日期与时间
默认值:
kplx
string
开票类型
默认值:
jshj
string
价税合计
默认值:
ghfsbh
string
购买方税号
默认值:
ghfmc
string
购买方名称
默认值:
xsfsbh
string
销售方税号
默认值:
xsfmc
string
销售方名称
默认值:
pdf
string
pdf板式文件链接
默认值:
ofd
string
ofd板式文件链接
默认值:
xml
string
xml板式文件链接
默认值:
ewm
string
二维码链接
示例
{
"code": 0,
"message": "",
"requestID": "",
"timestamp": 0,
"token": "",
"codeType": 0,
"iszip": 0,
"data": {
"kplsh": "",
"fplxdm": 0,
"fpdm": "",
"fphm": "",
"kprq": "",
"kplx": "",
"jshj": "",
"ghfsbh": "",
"ghfmc": "",
"xsfsbh": "",
"xsfmc": "",
"pdf": "",
"ofd": "",
"xml": "",
"ewm": "string"
}
}
修改于 2025-04-12 03:28:50