1.Current Account Statement Integration
You can get your financial records created in Trendyol system through integration with this service.
- You need to send "storeFrontCode" as Header Parameter.
- For the storeFrontCode RO (Romania), the Current Account Statement API will return values in RON.
- Financial records are created after the order is delivered.
- TransactionType must be entered. Only 1 type can be entered in 1 request.
- The paymentOrderId is formed after the order has been paid. Except for exceptions, a payment order is created every Wednesday for orders that are due in the relevant week.
- With paymentOrderId, you can match your orders and payments.
- The start and end date are required and the interval between cannot be longer than 15 days.
GET settlements
Recommended Endpoint
| Parameter | Parameter Value | Description | Type | Required |
|---|---|---|---|---|
| transactionType | Sale, Return | It is a type of financial transaction. | string | Yes |
| startDate | Returns transaction records after a certain date. Timestamp should be sent in miliseconds. | int | Yes | |
| endDate | Returns transaction records after a certain date. Timestamp should be sent as milisecond. | int | Yes | |
| page | Returns information on the specified page only | int | No | |
| size | It can take values of 500 or 1000. (Default = 500) | Specifies the maximum number to be listed on a page. | int | No |
| supplierId | ID information of the relevant supplier must be sent | long | Yes |
The explanations of the transaction types that can be used for transactionType are as follows.
| transactionType | Description |
|---|---|
| Sale | Gives sales records of orders |
| Return | Returns records of orders |
Sample Service Response (transactionType = Sale is used)
{
"page": 0,
"size": 500,
"totalPages": 878,
"totalElements": 438974,
"content": [
{
"id": "725041340",
"transactionDate": 1613397671561,
"barcode": "8681385952874",
"transactionType": "Satış",
"receiptId": 48376618,
"description": "Satış",
"debt": 0.0,
"credit": 59.99,
"paymentPeriod": 30,
"commissionRate": 12.5,
"commissionAmount": 67.4985,
"commissionInvoiceSerialNumber": null,
"sellerRevenue": 382.4915,
"orderNumber": "501915861",
"paymentOrderId": 112360,
"paymentDate": 1615989671561,
"sellerId": 123456,
"storeId": null,
"storeName": null,
"storeAddress": null,
"country": "Türkiye",
"orderDate": 1720107451532,
"affiliate": "TRENDYOLTR",
"shipmentPackageId": 1111111111
},
{
"id": "725041335",
"transactionDate": 1613397671557,
"barcode": "8681387147421",
"transactionType": "Satış",
"receiptId": 48376618,
"description": "Satış",
"debt": 0.0,
"credit": 49.99,
"paymentPeriod": 30,
"commissionRate": 12.5,
"commissionAmount": 67.4985,
"commissionInvoiceSerialNumber": null,
"sellerRevenue": 382.4915,
"orderNumber": "501915861",
"paymentOrderId": 112360,
"paymentDate": 1615989671557,
"sellerId": 123456,
"storeId": null,
"storeName": null,
"storeAddress": null,
"country": "Türkiye",
"orderDate": 1720107451532,
"affiliate": "TRENDYOLTR",
"shipmentPackageId": 1111111111
}
]
}GET otherfinancials
Recommended Endpoint
| Parameter | Parameter Value | Description | Type | Required |
|---|---|---|---|---|
| transactionType | PaymentOrder, DeductionInvoices, CreditNote, CommissionInvocie | It is a type of financial transaction. | string | Yes |
| startDate | Returns transaction records after a certain date. Timestamp should be sent in miliseconds. | int | Yes | |
| endDate | Returns transaction records after a certain date. Timestamp should be sent as milisecond. | int | Yes | |
| page | Returns information on the specified page only | int | No | |
| size | It can take values of 500 and 1000. (Default = 500) | Specifies the maximum number to be listed on a page. | int | No |
| supplierId | ID information of the relevant supplier must be sent | long | Yes |
The explanations of the transaction types that can be used for transactionType are as follows.
| transactionType | Description |
|---|---|
| PaymentOrder | It is the progress payment made to the supplier by calculating from the due transactions |
| DeductionInvoices | It is the invoice issued to the supplier for the services provided by Trendyol. |
| CreditNote | It is the invoice issued to the credit note |
| CommissionInvocie | It is the invoice issued to the commission invoice |
Sample Service Response (transactionType = PaymentOrder used)
{
"page": 0,
"size": 500,
"totalPages": 1,
"totalElements": 2,
"content": [
{
"id": "1639160",
"transactionDate": 1613062815995,
"barcode": null,
"transactionType": "Ödeme",
"receiptId": null,
"description": null,
"debt": 8754732.06,
"credit": 0.0,
"paymentPeriod": null,
"commissionRate": null,
"commissionAmount": null,
"commissionInvoiceSerialNumber": null,
"sellerRevenue": null,
"orderNumber": null,
"paymentOrderId": 112360,
"paymentDate": null,
"sellerId": 123456,
"storeId": null,
"storeName": null,
"storeAddress": null,
"country": "Türkiye",
"orderDate": 1720107451532,
"affiliate": "TRENDYOLTR",
"shipmentPackageId": 1111111111
},
{
"id": "1576967",
"transactionDate": 1612458029832,
"barcode": null,
"transactionType": "Ödeme",
"receiptId": null,
"description": null,
"debt": 5707246.85,
"credit": 0.0,
"paymentPeriod": null,
"commissionRate": null,
"commissionAmount": null,
"commissionInvoiceSerialNumber": null,
"sellerRevenue": null,
"orderNumber": null,
"paymentOrderId": 1576967,
"paymentDate": null,
"sellerId": 123456,
"storeId": null,
"storeName": null,
"storeAddress": null,
"country": "Türkiye",
"orderDate": 1720107451532,
"affiliate": "TRENDYOLTR",
"shipmentPackageId": 1111111111
}
]
}Updated 10 days ago