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


ParameterParameter ValueDescriptionTypeRequired
transactionTypeSale, ReturnIt is a type of financial transaction.stringYes
startDateReturns transaction records after a certain date. Timestamp should be sent in miliseconds.intYes
endDateReturns transaction records after a certain date. Timestamp should be sent as milisecond.intYes
pageReturns information on the specified page onlyintNo
sizeIt can take values of 500 or 1000. (Default = 500)Specifies the maximum number to be listed on a page.intNo
supplierIdID information of the relevant supplier must be sentlongYes

The explanations of the transaction types that can be used for transactionType are as follows.

transactionTypeDescription
SaleGives sales records of orders
ReturnReturns 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


ParameterParameter ValueDescriptionTypeRequired
transactionTypePaymentOrder, DeductionInvoices, CreditNote, CommissionInvocieIt is a type of financial transaction.stringYes
startDateReturns transaction records after a certain date. Timestamp should be sent in miliseconds.intYes
endDateReturns transaction records after a certain date. Timestamp should be sent as milisecond.intYes
pageReturns information on the specified page onlyintNo
sizeIt can take values of 500 and 1000. (Default = 500)Specifies the maximum number to be listed on a page.intNo
supplierIdID information of the relevant supplier must be sentlongYes

The explanations of the transaction types that can be used for transactionType are as follows.

transactionTypeDescription
PaymentOrderIt is the progress payment made to the supplier by calculating from the due transactions
DeductionInvoicesIt is the invoice issued to the supplier for the services provided by Trendyol.
CreditNoteIt is the invoice issued to the credit note
CommissionInvocieIt 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
        }
    ]
}