发票云创建组织
POST
/sim/openApi请求参数
Body 参数application/json
requestId
string
必需
businessSystemCode
string
必需
固定传 BUSINESS_SYSTEM
interfaceCode
enum<string>
必需
固定传 YYPT.ADD.ORG
枚举值:
YYPT.ADD.ORG
data
object
必需
companyName
string
必需
taxNo
string
必需
systemSource
string
必需
对应发票云的业务系统编码
callbackUrl
string
回调地址
taxChannel
string
必需
税局开票通道:1: RPA, 2: 乐企, 3: 服务商;默认为: 1
productName
string
必需
订阅产品:1: 云API开票, 2: 云API收票;默认为:1;元素类型是number
collectChannel
string
必需
税局开票通道:1: RPA, 2: 乐企, 3: 服务商;默认为: 1
tenantInfo
object
必需
taxUserList
array [object {2}]
必需
示例
{
"requestId": "string",
"businessSystemCode": "string",
"interfaceCode": "YYPT.ADD.ORG",
"data": {
"companyName": "string",
"taxNo": "string",
"systemSource": "string",
"callbackUrl": "string",
"taxChannel": "string",
"productName": "string",
"collectChannel": "string",
"tenantInfo": {
"clientId": "string",
"clientSecret": "string",
"encryptKey": "string",
"tenantName": "string",
"tenantNo": "string"
},
"taxUserList": [
{
"etaxPassword": "string",
"etaxAccount": "string"
}
]
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
data
object
必需
requestUrl
string
必需
appId
string
必需
appSecuret
string
必需
accountId
string
必需
user
string
必需
aesKey
string
必需
businessSystemCode
string
必需
userType
string
必需
errorCode
string
必需
status
boolean
必需
success
boolean
必需
示例
未设置
最后修改时间: 10 个月前