1.1.03 开票申请单发票查询
BILL.INVOICE.QUERY
POST
/kapi/app/sim/openApi查询开票申请单下的发票数据
请求参数
Query 参数
access_token
string
可选
示例值:
1107974180231447552_L3nqi9yB42ysU25QKA2Z6qgxT3blIVYsp9Nr1eLbP9B63o4Pjb3177JC7544rQ0dgNCgwLEfI92NHbAaM5Cdxz1rsQwF9u1ANbDI
Body 参数application/json
requestId
string
时间戳
businessSystemCode
string
必需
对接业务系统来源编码,用于区分不同业务系统的回调接口
interfaceCode
enum<string>
接口编码
枚举值:
BILL.INVOICE.QUERY
data
object
必需
需要把data里面的object加密成base64字符串
sellerTaxpayerId
string
必需
销售方纳税人识别号【长度:20】
<= 20 字符
serialNo
string
单据编号
示例
{
"requestId": "string",
"businessSystemCode": "string",
"interfaceCode": "BILL.INVOICE.QUERY",
"data": {
"sellerTaxpayerId": "string",
"serialNo": "string"
}
}
示例代码
返回响应
成功(200)
失败(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
data
array [object {2}]
返回内容,需要解密
invoiceList
array [object {54}]
可选
billNo
string
单据编号
errorCode
string
响应码
success
boolean
响应状态
示例
{
"data": [
{
"invoiceList": [
{
"abolishReason": "",
"billNo": "INTFACE_WW_BILL202105320231",
"buyerAddressAndTel": "购方地址",
"buyerBankAndAccount": "购方银行",
"buyerName": "顺丰科技有限公司",
"buyerProperty": 0,
"buyerRecipientMail": "",
"buyerRecipientPhone": "",
"buyerTaxpayerId": "91440300687582704U",
"canRedAmount": 91.74,
"canRedTaxAmount": 8.26,
"canceler": "",
"checkCode": "",
"contractNo": "HT202011231984",
"deviceNo": "44661620662214",
"downloadFlag": 0,
"drawer": "文浩",
"goods": [
{
"amount": 91.74,
"billSourceId": "111",
"detailId": "1223726550327786496",
"detailRowNo": 0,
"goodsName": "*谷物*金额商品1",
"includeTaxAmount": 100,
"includeTaxPrice": "100.0000000000",
"lineProperty": 0,
"price": "91.7400000000",
"privilegeContent": "",
"privilegeFlag": 0,
"quantity": "1.0000000000",
"revenueCode": "1010101040000000000",
"revenueName": "",
"seq": 0,
"specification": "",
"taxAmount": 8.26,
"taxFlag": "0",
"taxRate": "0.09",
"units": "忠",
"zeroTaxRateFlag": ""
}
],
"id": 1223726550327785500,
"invoiceFileUrl": "",
"invoiceImageUrl": "",
"includeTaxAmount": 100,
"inventoryFlag": 0,
"invoiceCode": "4403092140",
"invoiceDate": 1629043200000,
"invoiceNumber": "10452076",
"invoiceProperty": 0,
"invoiceSource": "4",
"invoiceStatus": 0,
"invoiceType": "004",
"issueStatus": "0",
"mergeDifferTaxAmount": 0,
"orgName": "发票云事业部",
"originalInvoiceCode": "",
"originalInvoiceNumber": "",
"payee": "test1",
"printFlag": 0,
"redInfoBillNo": "",
"redReason": "",
"remark": "发票备注",
"reviewer": "test2",
"sellerAddressAndTel": "银行及电话银行",
"sellerBankAndAccount": "银行及电话银行及电话银行及电话银",
"sellerName": "航信培训企业",
"sellerTaxpayerId": "440300999999068",
"serialNo": "200_20210816100612556_0001",
"specialRedFlag": 0,
"splitOrMergeFlag": "0",
"terminalNo": "",
"totalAmount": 91.74,
"totalTaxAmount": 8.26
}
],
"billNo": "INTFACE_WW_BILL202105320231"
}
],
"errorCode": "0",
"success": true
}
最后修改时间: 3 个月前