3.4、查询电子税局账号
开发中
快速开始环境
快速开始环境
POST
/kapi/app/sim/openApi
请求参数
Query 参数
access_token
string
可选
示例值:
1617326422240529408_YGVCbl9K6s8XTrIE0J9rdaztYI5Nw9LqmCadaCx2kW9v5CLRGZwLetQjDShDRbi3LVxQQTH5e9v1v7h4ac4L2BUTF1n6ucvd1wM8
Body 参数application/json
requestId
string
时间戳
businessSystemCode
string
必需
interfaceCode
enum<string>
接口业务编码
枚举值:
ALLE.ACCOUNT.CHECK
data
object
必需
taxno
string
税号
示例
{
"requestId": "string",
"businessSystemCode": "string",
"interfaceCode": "ALLE.ACCOUNT.CHECK",
"data": {
"taxno": "税号"
}
}
示例代码
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://cosmic-sandbox.piaozone.com/jdpjykjyxgs/kapi/app/sim/openApi?access_token=1617326422240529408_YGVCbl9K6s8XTrIE0J9rdaztYI5Nw9LqmCadaCx2kW9v5CLRGZwLetQjDShDRbi3LVxQQTH5e9v1v7h4ac4L2BUTF1n6ucvd1wM8' \
--header 'Content-Type: application/json' \
--data-raw '{
"requestId": "string",
"businessSystemCode": "string",
"interfaceCode": "ALLE.ACCOUNT.CHECK",
"data": {
"taxno": "税号"
}
}'
返回响应
🟢200成功
application/json
Body
errorCode
string
0为成功
message
string