The structure and content of the reports are subject to change without prior notice.
For example, a new column may be added or the name of the sheet may change.
Payment Report
The method is available for all models.
If you are using an API Key token, one of the accesses in the list is required to call the method
- finance-and-accounting — View financial data and reports
- all-methods — Full account management
Starts the generation of the payment report for the specified period. What kind of report is this
You can find out the generation status and get a link to the finished report using a request. GET reports/info/{reportId}.
The type of report depends on which fields are filled in in the request:
Report type |
What fields are needed? |
About payments for the period |
|
About the payment order |
|
About Yandex.Market points |
|
You cannot order multiple types of reports with a single request.
Explanation of the report columns:
Sheet Payment report (file transaction_date)
CSV column name |
JSON column name |
XLSX column name |
Value type |
BUSINESS_ID |
businessId |
Business information/Business account ID |
integer |
MODEL |
model |
Business information/Operation models |
string |
PARTNER_ID |
partnerId |
Business information/Store IDs |
integer |
SHOP_NAME |
shopName |
Business information/Store names |
string |
INN |
inn |
Business information/INN (taxpayer identification number) |
string |
PLACEMENT_CONTRACT |
placementContract |
Business information/Agreement numbers for placement |
string |
PROMOTION_CONTRACT |
promotionContract |
Business information/Agreement numbers for promotion |
string |
TRANSACTION_DATE |
transactionDate |
Payment information/Transaction date |
string |
TRANSACTION_ID |
transactionId |
Payment information/Transaction ID |
string |
ORDER_ID |
orderId |
Payment information/Order number |
integer |
SHOP_ORDER_ID |
shopOrderId |
Payment information/Your order number |
string |
ORDER_CREATION_DATE |
orderCreationDate |
Payment information/Order creation date |
string |
ORDER_DELIVERY_DATE |
orderDeliveryDate |
Payment information/Order delivery date |
string |
CLAIM_NUMBER |
claimNumber |
Payment information/Claim number and date |
string |
ORDER_TYPE |
orderType |
Payment information/Order type |
string |
SHOP_SKU |
shopSku |
Payment information/Your SKU |
string |
ACT_ID |
actId |
Payment information/Certificate of services rendered number |
integer |
ACT_DATE |
actDate |
Payment information/Date of the сertificate of services rendered |
string |
OFFER_OR_SERVICE_NAME |
offerOrServiceName |
Payment information/Product name (for accrual) or service (for withholding) |
string |
COUNT |
count |
Payment information/Quantity |
integer |
TRANSACTION_SUM |
transactionSum |
Payment information/Transaction amount |
number |
TRANSACTION_TYPE |
transactionType |
Payment information/Transaction type |
string |
TRANSACTION_SOURCE |
transactionSource |
Payment information/Transaction source |
string |
PAYMENT_STATUS |
paymentStatus |
Payment information/Status |
string |
BONUS_ACCOUNT_YEAR_MONTH |
bonusAccountYearMonth |
Payment information/The billing period of the bonus for participation in joint promotions |
string |
BANK_ORDER_DATE |
bankOrderDate |
Payment information/Payment order date |
string |
BANK_ORDER_ID |
bankOrderId |
Payment information/Payment order number |
integer |
BANK_SUM |
bankSum |
Payment information/Payment order amount or the amount withheld for services |
number |
COMMENTS |
comments |
Payment information/Comments |
string |
Sheet Payment order report (file netting_report_accruals)
CSV column name |
JSON column name |
XLSX column name |
Value type |
BUSINESS_ID |
businessId |
Business information/Business account ID |
integer |
MODEL |
model |
Business information/Operation models |
string |
PARTNER_ID |
partnerId |
Business information/Store IDs |
integer |
SHOP_NAME |
shopName |
Business information/Store names |
string |
INN |
inn |
Business information/INN (taxpayer identification number) |
string |
PLACEMENT_CONTRACT |
placementContract |
Business information/Agreement numbers for placement |
string |
PROMOTION_CONTRACT |
promotionContract |
Business information/Agreement numbers for promotion |
string |
ORDER_ID |
orderId |
Information about accruals/Order number |
integer |
ORDER_CREATION_DATE |
orderCreationDate |
Information about accruals/Order creation date |
string |
ORDER_DELIVERY_DATE |
orderDeliveryDate |
Information about accruals/Order delivery date |
string |
CLAIM_NUMBER |
claimNumber |
Information about accruals/Claim number and date |
string |
ORDER_TYPE |
orderType |
Information about accruals/Order type |
string |
SHOP_SKU |
shopSku |
Information about accruals/Your SKU |
string |
OFFER_NAME |
offerName |
Information about accruals/Product name |
string |
COUNT |
count |
Information about accruals/Quantity |
integer |
TRANSACTION_SUM |
transactionSum |
Information about accruals/Transaction amount |
number |
TRANSACTION_SOURCE |
transactionSource |
Information about accruals/Transaction source |
string |
ACT_ID |
actId |
Information about accruals/Certificate of services rendered number |
integer |
ACT_DATE |
actDate |
Information about accruals/Date of the сertificate of services rendered |
string |
TRANSACTION_DATE |
transactionDate |
Information about accruals/Transaction date |
string |
TRANSACTION_ID |
transactionId |
Information about accruals/Transaction ID |
string |
Sheet Payment order report (file netting_report_returns_and_compensations)
CSV column name |
JSON column name |
XLSX column name |
Value type |
BUSINESS_ID |
businessId |
Business information/Business account ID |
integer |
MODEL |
model |
Business information/Operation models |
string |
PARTNER_ID |
partnerId |
Business information/Store IDs |
integer |
SHOP_NAME |
shopName |
Business information/Store names |
string |
INN |
inn |
Business information/INN (taxpayer identification number) |
string |
PLACEMENT_CONTRACT |
placementContract |
Business information/Agreement numbers for placement |
string |
PROMOTION_CONTRACT |
promotionContract |
Business information/Agreement numbers for promotion |
string |
ORDER_ID |
orderId |
Information about buyer refunds and compensation/Order number |
integer |
ORDER_CREATION_DATE |
orderCreationDate |
Information about buyer refunds and compensation/Creation date |
string |
ORDER_DELIVERY_DATE |
orderDeliveryDate |
Information about buyer refunds and compensation/Order delivery date |
string |
ORDER_TYPE |
orderType |
Information about buyer refunds and compensation/Order type |
string |
SHOP_SKU |
shopSku |
Information about buyer refunds and compensation/Your SKU |
string |
OFFER_NAME |
offerName |
Information about buyer refunds and compensation/Product name |
string |
COUNT |
count |
Information about buyer refunds and compensation/Quantity |
integer |
TRANSACTION_SUM |
transactionSum |
Information about buyer refunds and compensation/Transaction amount |
number |
TRANSACTION_SOURCE |
transactionSource |
Information about buyer refunds and compensation/Transaction source |
string |
TRANSACTION_DATE |
transactionDate |
Information about buyer refunds and compensation/Transaction date |
string |
TRANSACTION_ID |
transactionId |
Information about buyer refunds and compensation/Transaction ID |
string |
Sheet Payment order report (file netting_report_retentions)
CSV column name |
JSON column name |
XLSX column name |
Value type |
BUSINESS_ID |
businessId |
Business information/Business account ID |
integer |
MODEL |
model |
Business information/Operation models |
string |
PARTNER_ID |
partnerId |
Business information/Store IDs |
integer |
SHOP_NAME |
shopName |
Business information/Store names |
string |
INN |
inn |
Business information/INN (taxpayer identification number) |
string |
PLACEMENT_CONTRACT |
placementContract |
Business information/Agreement numbers for placement |
string |
PROMOTION_CONTRACT |
promotionContract |
Business information/Agreement numbers for promotion |
string |
ACT_ID |
actId |
Information about withheld amounts/Certificate of services rendered number |
integer |
ACT_DATE |
actDate |
Information about withheld amounts/Date of the сertificate of services rendered |
string |
SERVICE_NAME |
serviceName |
Information about withheld amounts/Name of service to be withheld |
string |
TRANSACTION_SUM |
transactionSum |
Information about withheld amounts/Transaction amount |
number |
TRANSACTION_SOURCE |
transactionSource |
Information about withheld amounts/Transaction source |
string |
TRANSACTION_DATE |
transactionDate |
Information about withheld amounts/Transaction date |
string |
TRANSACTION_ID |
transactionId |
Information about withheld amounts/Transaction ID |
string |
Sheet Bonuses report (file netting_bonuses)
CSV column name |
JSON column name |
XLSX column name |
Value type |
BUSINESS_ID |
businessId |
Business information/Business account ID |
integer |
MODEL |
model |
Business information/Operation models |
string |
PARTNER_ID |
partnerId |
Business information/Store IDs |
integer |
SHOP_NAME |
shopName |
Business information/Store names |
string |
INN |
inn |
Business information/INN (taxpayer identification number) |
string |
PLACEMENT_CONTRACT |
placementContract |
Business information/Agreement numbers for placement |
string |
PROMOTION_CONTRACT |
promotionContract |
Business information/Agreement numbers for promotion |
string |
TRANSACTION_DATE |
transactionDate |
Payment information/Transaction date |
string |
ORDER_ID |
orderId |
Payment information/Order number |
integer |
SHOP_ORDER_ID |
shopOrderId |
Payment information/Your order number |
string |
ORDER_CREATION_DATE |
orderCreationDate |
Payment information/Order creation date |
string |
ORDER_DELIVERY_DATE |
orderDeliveryDate |
Payment information/Order delivery date |
string |
ORDER_TYPE |
orderType |
Payment information/Order type |
string |
SHOP_SKU |
shopSku |
Payment information/Your SKU |
string |
OFFER_OR_SERVICE_NAME |
offerOrServiceName |
Payment information/Product name (for accrual) or service (for withholding) |
string |
COUNT |
count |
Payment information/Quantity |
integer |
TRANSACTION_SUM |
transactionSum |
Payment information/Transaction amount |
number |
TRANSACTION_TYPE |
transactionType |
Payment information/Transaction type |
string |
TRANSACTION_SOURCE |
transactionSource |
Payment information/Transaction source |
string |
PAYMENT_STATUS |
paymentStatus |
Payment information/Status |
string |
COMMENTS |
comments |
Payment information/Comments |
string |
BONUS_ACCOUNT_YEAR_MONTH |
bonusAccountYearMonth |
Payment information/The month of the premium formation for participation in joint promotions |
string |
, Limit: 100 requests per hour |
---|
Request
POST
https://api.partner.market.yandex.ru/reports/united-netting/generate
Query parameters
Name |
Description |
format |
Type: ReportFormatType The format of the report or document. |
language |
Type: ReportLanguageType The language of the report or document. |
ReportFormatType
Report format:
FILE
— a spreadsheet file (XLSX).CSV
— ZIP archive with CSV files for each report sheet.JSON
— ZIP archive with JSON files for each report sheet.
Type |
Description |
Default: Enum: |
ReportLanguageType
Language of the report:
RU
— Russian language.EN
— English language.
Type |
Description |
Enum: |
Body
application/json
{
"businessId": 0,
"dateTimeFrom": "2022-12-29T18:02:01Z",
"dateTimeTo": "2022-12-29T18:02:01Z",
"dateFrom": "string",
"dateTo": "string",
"bankOrderId": 0,
"bankOrderDateTime": "2022-12-29T18:02:01Z",
"monthOfYear": {
"year": 2025,
"month": 12
},
"placementPrograms": [
"FBS"
],
"inns": [
"string"
],
"campaignIds": [
0
]
}
Name |
Description |
businessId* |
Type: integer<int64> Cabinet ID. |
bankOrderDateTime |
Type: string<date-time> The date of the payment order. |
bankOrderId |
Type: integer<int64> The number of the payment order. |
campaignIds |
Type: integer<int64>[] The list of campaign IDs of those stores that are needed in the report. You can find them using a query. GET campaigns or find it in the seller's office on the Market — click on the name of your business and go to the page:
Do not use store IDs instead, which are listed in the seller's account on the Market next to the store name and in some reports.
Min items: Unique items |
dateFrom |
Type: string<date> The beginning of the period, inclusive. |
dateTimeFrom ⦸
|
Type: string<date-time> The beginning of the period, inclusive. |
dateTimeTo ⦸
|
Type: string<date-time> End of the period, inclusive. The maximum period is 3 months. |
dateTo |
Type: string<date> End of the period, inclusive. The maximum period is 3 months. |
inns |
Type: string[] The list of INN's that are needed in the report. Min items: Unique items |
monthOfYear |
Type: MonthOfYearDTO The month for which the report on the Market points is needed. |
placementPrograms |
Type: PlacementType[] The list of models that are needed in the report.
Enum: Min items: Unique items |
MonthOfYearDTO
The month for which the report on the Market points is needed.
Name |
Description |
month* |
Type: integer<int32> The month number. Example: Min value: Max value: |
year* |
Type: integer<int32> Year. Example: |
PlacementType
The model that the store uses:
FBS
— FBS or Express.FBY
— FBY.DBS
— DBS.
Type |
Description |
Enum: |
Responses
200 OK
In response, you receive an identifier that allows you to find out the generation status and download the finished report.
Body
application/json
{
"status": "OK",
"result": {
"reportId": "string",
"estimatedGenerationTime": 0
}
}
Name |
Description |
result |
Type: GenerateReportDTO The ID that will be needed to track the generation status and receive the finished report or document. |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
GenerateReportDTO
The ID that will be needed to track the generation status and receive the finished report or document.
Name |
Description |
estimatedGenerationTime* |
Type: integer<int64> Expected generation time in milliseconds. |
reportId* |
Type: string The ID that will be needed to track the generation status and receive the finished report or document. |
ApiResponseStatusType
The type of response. Possible values:
OK
— there are no mistakes.ERROR
— an error occurred while processing the request.
Type |
Description |
Enum: |
400 Bad Request
The request contains incorrect data. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
ApiErrorDTO
The general error format.
Name |
Description |
code* |
Type: string The error code. |
message |
Type: string Description of the error. |
401 Unauthorized
The authorization data is not specified in the request. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
403 Forbidden
The authorization data is incorrect or access to the resource is prohibited. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
420 Method Failure
The resource access limit has been exceeded. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
500 Internal Server Error
Internal error in Yandex. Market. More information about the error
Body
application/json
{
"status": "OK",
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Name |
Description |
errors |
Type: ApiErrorDTO[] A list of errors. Min items: |
status |
Type: ApiResponseStatusType The type of response. Possible values:
Enum: |
No longer supported, please use an alternative and newer version.
Read about what it is in Yandex.Market Help for sellers.