调用QueryInvoicingCustomerList查询阿里云用户发票抬头信息。

调试

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

请求参数

名称 类型 是否必选 示例值 描述
Action String QueryInvoicingCustomerList

系统规定参数。取值:QueryInvoicingCustomerList

返回数据

名称 类型 示例值 描述
Code String Success

状态码。

Message String Successful!

错误信息。

RequestId String BBEF51A3-E933-4F40-A534-C673CBDB9C80

请求ID。

Success Boolean true

是否成功。

Data Object

返回数据。

CustomerInvoiceList Array of CustomerInvoice

发票信息列表。

CustomerInvoice
Type Long 1

类型,取值:

  • 0:增值税普通发票。
  • 1:增值税专有发票。
Status Long 2

发票抬头状态。

AdjustType Long 1

变更类型。

Bank String 测试银行

银行。

StartCycle Long 202002

开始账期。

TitleChangeInstructions String instruction.doc

发票抬头变更情况说明书。

UserId Long 34565465675

用户ID。

OperatingLicenseAddress String 某某省某某市某某区某地址

营业执照地址。

InvoiceTitle String 测试公司

公司抬头。

UserNick String testNick

用户昵称。

OperatingLicensePhone String 138xxxxxxxx

营业执照电话。

EndCycle Long 202003

结束账期。

DefaultRemark String PO代码:12984554

默认备注,选择此抬头时将会附加的备注文案。

TaxationLicense String taxationLicense.jpg

税务登记证扫描件路径和文件名。

RegisterNo String 21343245342534

税务登记号。

GmtCreate String 2018-09-07 15:26:20

创建时间,格式:yyyy-mm-dd hh:mm:ss。

TaxpayerType Long 1

取值:

  • 1:一般纳税人。
  • 2:小规模纳税人。
CustomerType Long 1

客户支付宝认证类型,取值:

  • 1:个人。
  • 2:公司。
IssueType Long 1

开具类型。

Id Long 239875502738

发票ID。

BankNo String 389576348573296349853476

银行账号。

示例

请求示例

http(s)://[Endpoint]/?Action=QueryInvoicingCustomerList
&<公共请求参数>

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<QueryInvoicingCustomerListResponse>
    <Message>Successful!</Message>
    <RequestId>BBEF51A3-E933-4F40-A534-C673CBDB9C80</RequestId>
    <Success>true</Success>
    <Code>Success</Code>
    <Data>
        <CustomerInvoiceList>
            <CustomerInvoice>
                <Status>2</Status>
                <CustomerType>2</CustomerType>
                <Id>50000************</Id>
                <InvoiceTitle>个人</InvoiceTitle>
                <UserId>169***********</UserId>
                <GmtCreate>2018-09-07 15:26:20</GmtCreate>
                <TaxpayerType>2</TaxpayerType>
            </CustomerInvoice>
        </CustomerInvoiceList>
    </Data>
</QueryInvoicingCustomerListResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Message" : "Successful!",
  "RequestId" : "BBEF51A3-E933-4F40-A534-C673CBDB9C80",
  "Success" : true,
  "Code" : "Success",
  "Data" : {
    "CustomerInvoiceList" : {
      "CustomerInvoice" : [ {
        "Status" : 2,
        "CustomerType" : 2,
        "Id" : "50000************",
        "InvoiceTitle" : "个人",
        "UserId" : "169***********",
        "GmtCreate" : "2018-09-07 15:26:20",
        "TaxpayerType" : 2
      } ]
    }
  }
}

错误码

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