Skip to main content
type: QUERY_EXPORT_TYPE_INVOICE_MANAGE_FIND_MANY Exports the list of the school’s invoices with amounts, types, payment statuses and related payments. This is a report type for the query-export/generate method: pass it in the type field, and pass the fields described below in variables.
The set of filters matches the Invoice list method, which also describes the nested payment and utmParams filters. An unknown field or an invalid value is not ignored: the export finishes with status: Failed.

Variables (variables)

object
required
Filter parameters. Required: to export all records without filtering, pass an empty object {}.
object
Sorting parameters. Values: ASC (ascending) or DESC (descending).

Report columns

Invoices sheet: User ID, Full name, Login method, Phone number, Email, Telegram, Payment ID, Payment date, Course ID, Course name, Tariff ID, Tariff, Payment type, Payment method, Status, Total amount, Currency. Column names are given as they appear without the Ux-Language header (in English); with the header, they are translated into the specified language (see the generate description for details).
The method’s response is a generation task with a uuid. Get the file via result retrieval.

Permission requirements

Requires token authentication and the “School Sales” permission (SellerSales). Without the permission, the generation request succeeds, but the export finishes with status: Failed.

Updated: 2026-09-25 14:33 UTC