Skip to Content

Search Billing Entities

Lists the billing entities in your Stedi account, with an optional tax ID filter and pagination

POST/billing-entities/search

This endpoint retrieves a list of the billing entities in your Stedi account, newest first.

You can filter the results by tax ID.

Authorization
RequiredHeader

A Stedi API Key for authentication.

Body

application/json
pageSize
NumberRange: ≥ 1 and ≤ 500

The maximum number of elements to return in a page. If not specified, the default is 100.

pageToken
StringLength: 1 - 1024

The nextPageToken value from a previous response. You can use this to get the next page of results. If not set, Stedi returns the first page of results. Include the same taxId that you sent in the request that returned the token.

taxId
StringRegex pattern: ^\d{9}$Format: password

Filter for billing entities with a specific tax ID: an Employer Identification Number (EIN) or a sole proprietor's full Social Security Number (SSN). The tax ID must be exactly 9 digits, without dashes. You send it in the request body, so it doesn't appear in the URL.

If you don't include it, Stedi returns every billing entity in your account.

For example, {"taxId": "123456789"} returns billing entities with the tax ID 123456789.

Response

application/json
items
Array of ObjectsRequired

The billing entities matching the filter criteria.

Array item
nextPageToken
StringLength: 1 - 1024

Token that you can supply in subsequent requests to retrieve the next page of results. If not returned, there are no more results.