6.7 开票信息查询
test-测试环境
https://oc-test.onecontract-cloud.com
test-测试环境
https://oc-test.onecontract-cloud.com
POST
/api/hitf/v2p/rest/invoke/SFpFUk86T1JDSEVTVFJBVElPTjpISVRGLkFQSS5EQVRBX1FVRVJZ
请求参数
Query 参数
domain
string
可选
示例值:
BILLING
Header 参数
Authorization
string
可选
默认值:
{{token}}
Body 参数application/json
page
integer
分页参数页码
size
integer
分页参数条数
billingStatus
enum<string>
开票状态
枚举值:
NPAR
showBillingLine
boolean
是否展示收款计划信息
showBillingContact
boolean
是否展示发票地址信息
showBillingRegist
boolean
是否展示发票登记
示例
{
"page": 1,
"size": 10,
"billingStatus": "A",
"showBillingLine": true,
"showBillingContact": true,
"showBillingRegist": true
}
示例代码
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://oc-test.onecontract-cloud.com/api/hitf/v2p/rest/invoke/SFpFUk86T1JDSEVTVFJBVElPTjpISVRGLkFQSS5EQVRBX1FVRVJZ?domain=BILLING' \
--header 'Authorization: bearer eb2446a6-93f9-456b-b713-5cb6f6adf765' \
--header 'Content-Type: application/json' \
--data-raw '{
"page": 1,
"size": 10,
"billingStatus": "A",
"showBillingLine": true,
"showBillingContact": true,
"showBillingRegist": true
}'
返回响应
🟢200成功
application/json
Body
message
string
接口返回信息
result
object
接口返回结果
errcode
string
业务状态
errmsg
string
业务信息
data
object
数据结果
success
boolean
接口返回状态
示例
{"message":"execute success","result":{"errcode":"0","errmsg":"ok","data":{"content":[{"objectVersionNumber":"15","billingId":"698","applicationNumber":"202505070002","lastUpdateDate":"2025-05-07 16:00:52","submitDate":"2025-05-07 16:00:18","billingSubjectName":"上海甄零科技有限公司","reqDepartmentName":"管理部门","billingType":"INVOICE APPLICATION","partyName":"上海甄零科技有限公司杭州分公司","requestDate":"2025-05-07 00:00:00","invoiceType":"10102","billingSubjectId":"12555621","partyId":"12555668","requestorName":"陈勇俊","lastUpdatedBy":"695643182304997376","billingAmount":"100","reqDepartmentId":"476947875839709440","creationDate":"2025-05-07 15:27:55","billingStatus":"A","approvedDate":"2025-05-07 16:00:18","requestorId":"476953648972028350","createdBy":"695643182304997376","tenantId":"1273","identificationNumber":"1234567890","sendStatus":"NOT_SENT","invoiceStatus":"INVOICED","registDate":"2025-05-07 16:00:52","billingLineList":[{"billingAmountWithTax":"100","lastUpdatedBy":"695643182304997376","objectVersionNumber":"2","serviceCode":"02006","lastUpdateDate":"2025-05-07 16:00:15","lineId":"1836","principalId":"476953648972028374","creationDate":"2025-05-07 15:28:11","billingAmountNoTax":"97.09","taxRate":"0.03","createdBy":"695643182304997376","billingHeaderId":"698","tenantId":"1273","receiptPlanId":"7491"}],"billingContact":[{"lastUpdatedBy":"695643182304997376","objectVersionNumber":"12","expressInformation":"顺丰快递","invoiceScope":"湖南/长沙市/岳麓区/麓谷街道","address":"枫林三路恒泰广场五栋","contactId":"600","lastUpdateDate":"2025-05-07 16:01:34","receiverName":"王","remark":"登记快递信息","creationDate":"2025-05-07 15:39:25","phoneNumber":"17819708196","createdBy":"695643182304997376","receiptMethod":"COURIER","billingHeaderId":"698","tenantId":"1273"}],"billingRegistLine":[{"lastUpdatedBy":"695643182304997376","objectVersionNumber":"2","contactId":"600","lastUpdateDate":"2025-05-07 16:01:33","registrantId":"695643182304997400","description":"发票登记","invoiceAmount":"100","creationDate":"2025-05-07 16:00:52","invoiceDate":"2025-05-07 16:00:25","invoiceCode":"12345","invoiceNum":"54321","registrantName":"陈勇俊","taxRate":"0.03","invoiceAmountNoTax":"97.09","createdBy":"695643182304997376","billingHeaderId":"698","registrationId":"322","tenantId":"1273","invoiceType":"P","taxAmount":"2.91"}],"createdName":"陈勇俊"}],"totalElements":1,"totalPages":1,"page":"1","size":10}},"success":true}