Skip to main content
POST
Search invoices
The Search Invoices endpoint allows you to search and retrieve a list of invoices based on various criteria such as invoiced date range, paid date range, status, and associated load numbers. To ensure compatibility and stability, it is essential to include the correct version number in the URL path when making a request. For more information on versioning, refer to the Versioning page.

Request Parameters

The following parameters are required in the URL path:

Request Body

The following fields are required in the request body:

Example CURL request

Use the Current API version number and make sure to replace the Authorization header value with your actual Bearer token for the request:

Response Parameters

The following table lists the parameters included in the response for invoice-related requests.

Example Response

On the right side, you can see examples of different error codes by clicking “Example” and selecting the response code.

Rate Limits

This endpoint is subject to standard rate limiting. The default rate limit is 10 requests per minute. For more information, refer to the Rate Limits page. This page is interactive, allowing you to try a request by specifying the API version in the URL path and providing the necessary request body. As you fill out the parameters, the Curl command on the right side of the page will be automatically updated. Alternatively, you can directly edit the Curl command. Make sure to authorize yourself before trying a request.

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.

Path Parameters

version
string
default:1.0
required

API version (e.g., 1.0)

Example:

"1.0"

Body

Page
integer<int32>
required
PageSize
integer<int32>
required
IncludeVoided
boolean
required
InvoicedDateRange
object | null
InvoiceSentRange
object | null
PaidDateRange
object | null
Status
string[] | null
LoadNumbers
string[] | null
PONumbers
string[] | null
OrderNumbers
string[] | null
CustomerId
string | null

Response

OK

Page
integer<int32>
required
PageSize
integer<int32>
required
Total
integer<int64>
required
Items
object[]
required
Facets
object | null