全部产品
Search
文档中心

资源管理:PrecheckForConsolidatedBillingAccount - 检查账号是否可以作为财务托管主账号

更新时间:Aug 28, 2026

检查管理账号或者成员是否可以作为财务托管主账号。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

BillingAccountId

string

管理账号 ID 或成员 ID,该账号将作为财务托管主账号。

111***089

返回参数

名称

类型

描述

示例值

object

返回参数。

RequestId

string

请求 ID。

9E6B6CA8-9E7A-521F-A743-AA582714727E

Reasons

array<object>

检查失败原因。

object

检查失败原因。

Code

string

检查失败错误码。

PaymentAccountEnterpriseInvoiceError

Message

string

检查失败错误描述。

No enterprise invoice header information is set for the payment account.

Result

boolean

检查结果。取值:

  • true:检查成功。

  • false:检查失败。

false

示例

正常返回示例

JSON格式

{
  "RequestId": "9E6B6CA8-9E7A-521F-A743-AA582714727E",
  "Reasons": [
    {
      "Code": "PaymentAccountEnterpriseInvoiceError",
      "Message": "No enterprise invoice header information is set for the payment account."
    }
  ],
  "Result": false
}

错误码

HTTP status code

错误码

错误信息

描述

403 MemberAccountOperationNotAllowed The member account is not allowed to perform the operation.
404 EntityNotExists.ResourceDirectory The resource directory for the account is not enabled. We recommend that you first enable the resource directory for the account.
404 EntityNotExists.Account This resource directory account does not exist.

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情