All Products
Search
Document Center

Expenses and Costs:QueryInvoicingCustomerList

Last Updated:Oct 28, 2025

Queries the invoicing information of an Alibaba Cloud user.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

bss:QueryCustomerInvoiceInfo

get

*All Resource

*

None

None

Request parameters

Parameter

Type

Required

Description

Example

No parameters required.

Response elements

Parameter

Type

Description

Example

object

Code

string

The status code.

Success

Message

string

The error message.

Successful!

RequestId

string

The request ID.

BBEF51A3-E933-4F40-A534-C673CBDB9C80

Success

boolean

Indicates whether the request was successful.

true

Data

object

The returned data.

CustomerInvoiceList

object

CustomerInvoice

array<object>

The list of invoice information.

object

Type

integer

The default invoice type. Valid values:

  • 0: General value-added tax (VAT) invoice.

  • 1: Special VAT invoice.

1

Status

integer

The status of the invoice title. Valid values:

  • 1: Pending

  • 2: Approved

  • 3: Rejected

  • 4: Invalid

  • 5: Revoked

2

AdjustType

integer

The title change type. Valid values:

  • 1: Information other than the title name is modified.

  • 4: A title of another type is modified.

  • 5: A title is modified based on identity verification.

1

Bank

string

The name of the bank where the account was opened.

Test Bank

StartCycle

integer

The start month of the validity period.

202002

TitleChangeInstructions

string

The statement of invoice title change.

instruction.doc

UserId

integer

The user ID.

34565465675

OperatingLicenseAddress

string

The registered address.

XXX, XXX district, XXX city, XXX province

InvoiceTitle

string

The invoice title.

Test Company

UserNick

string

The user's nickname.

testNick

OperatingLicensePhone

string

The registered landline number.

138xxxxxxxx

EndCycle

integer

The end month of the validity period.

202003

DefaultRemark

string

The default remarks for the invoice. When this title is used for invoicing, the remarks are added to the invoice.

PO Code: 12984554

TaxationLicense

string

The path and file name of the scanned tax registration certificate.

taxationLicense.jpg

RegisterNo

string

The Unified Social Credit Code.

21343245342534

GmtCreate

string

The creation time. The format is yyyy-mm-dd hh:mm:ss.

2018-09-07 15:26:20

TaxpayerType

integer

The taxpayer type. Valid values:

  • 1: General taxpayer

  • 2: Small-scale taxpayer

1

CustomerType

integer

The customer's Alipay authentication type. Valid values:

  • 1: Individual.

  • 2: Company.

1

IssueType

integer

The title type. Valid values:

  • 0: Individual

  • 1: Enterprise

  • 2: Public institution

1

Id

integer

The ID of the invoice title record.

239875502738

BankNo

string

The primary bank account number.

389576348573296349853476

Examples

Success response

JSON format

{
  "Code": "Success",
  "Message": "Successful!",
  "RequestId": "BBEF51A3-E933-4F40-A534-C673CBDB9C80",
  "Success": true,
  "Data": {
    "CustomerInvoiceList": {
      "CustomerInvoice": [
        {
          "Type": 1,
          "Status": 2,
          "AdjustType": 1,
          "Bank": "Test Bank\n",
          "StartCycle": 202002,
          "TitleChangeInstructions": "instruction.doc",
          "UserId": 34565465675,
          "OperatingLicenseAddress": "XXX, XXX district, XXX city, XXX province\n",
          "InvoiceTitle": "Test Company\n",
          "UserNick": "testNick",
          "OperatingLicensePhone": "138xxxxxxxx",
          "EndCycle": 202003,
          "DefaultRemark": "PO Code: 12984554\n",
          "TaxationLicense": "taxationLicense.jpg",
          "RegisterNo": "21343245342534",
          "GmtCreate": "2018-09-07 15:26:20",
          "TaxpayerType": 1,
          "CustomerType": 1,
          "IssueType": 1,
          "Id": 239875502738,
          "BankNo": "389576348573296349853476"
        }
      ]
    }
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.