Skip to main content
GET
List invoice lines

Authorizations

Authorization
string
header
required

Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.

Path Parameters

invoiceId
integer<uint64>
required

Id of the invoice. Unsigned 64-bit integer (ids and large counters). May exceed 2^53; parse with a BigInt-safe JSON parser in JavaScript.

Required range: 0 <= x <= 18446744073709552000

Query Parameters

page
integer
default:1

Page number, 1-100,000 (default 1). Outside the range: 400 data-failed-validation with the constraint invalid-page.

Required range: 1 <= x <= 100000
perPage
integer
default:25

Items per page, 1-100 (default 25). Outside the range: 400 data-failed-validation with the constraint invalid-page.

Required range: 1 <= x <= 100
sort
string

One sort field; prefix - for descending (sort=field or sort=-field). Allowed: position, netAmount, quantity. Default position. The server appends id as a tie-breaker.

Example:

"position"

filter[lineKind]
enum<string>

Line kind (equals).

Available options:
redemptions,
late-redemptions,
manual
filter[lineKind][in]
string

Line kind (one of (comma-separated)). Comma-separated values.

filter[providerPartnerId]
integer

Provider id (equals).

Required range: x >= 0
filter[providerPartnerId][in]
string

Provider id (one of (comma-separated)). Comma-separated values.

filter[voucherSetId]
integer

Voucher set id (equals).

Required range: x >= 0
filter[voucherSetId][in]
string

Voucher set id (one of (comma-separated)). Comma-separated values.

filter[serviceMonth]
string

Service month (equals).

Pattern: ^\d{4}-\d{2}$
filter[serviceMonth][in]
string

Service month (one of (comma-separated)). Comma-separated values.

Response

OK

Page envelope of InvoiceLine items.

data
object
required

The page.