Current Account Statement Integration

Current Account Statement Integration

You can get your financial records created in Trendyol system through integration with this service.

  • Financial records are created after the order is delivered.
  • TransactionType or TransactionTypes must be entered:
    • For TransactionType, only 1 type can be entered in 1 request.
    • For TransactionTypes, more than 1 type can be entered in 1 request. Example: transactionTypes=Type1, Type2
    • In cases where both transactionType and transactionTypes are enetered, transactionTypes will override.
  • 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.
  • Store information is used by Market vendors. It will return "null" for Marketplace vendors.
  • "affiliate" field can return "TRENDYOLTR" or "TRENDYOLAZJV".

Services to be used (settlements, otherfinancials) provide separate transaction records.

  • You can access the details of sales, returns, discounts, coupons, and provision transactions from the "Settlements" service.

    • Transaction Type, SellerRevenuePositive and CommissionNegative should be evaluated together.
    • Transaction Type, SellerRevenueNegative and CommissionPositive should be evaluated together.
    • Transaction Type, SellerRevenuePositiveCancel and CommissionNegativeCancel should be evaluated together.
    • Transaction Type, SellerRevenueNegativeCancel and CommissionPositiveCancel should be evaluated together.
  • From the "Other Financial" service, you can access the details of supplier financing, transfers, payments (earnings), invoices (from Trendyol to supplier), supplier invoices (from supplier to Trendyola), incoming transfers, and commission reconciliation invoices.

GET settlements (Sales, Returns, Discounts, Coupons, Provisions)

Recommended Endpoints

or

ParameterParameter ValueDescriptionTypeRequired
transactionType or transactionTypesSale, Return, Discount, DiscountCancel, Coupon, CouponCancel, ProvisionPositive, ProvisionNegativeIt is a type of financial transaction.stringYes
startDateReturns transaction records after a certain date. Timestamp should be sent in miliseconds.longYes
endDateReturns transaction records after a certain date. Timestamp should be sent as milisecond.longYes
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
paymentDateEarliest date available for paymentstringNo

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
DiscountIt shows the discount amount covered by the supplier.
DiscountCancelIt is the record discarded when the product is canceled or returned. Can be thought of as the opposite of discount records
CouponIt shows the coupon amount paid by the supplier.
CouponCancelRecord discarded when the product is canceled or returned. Can be thought of as the reverse of coupon registration
ProvisionPositiveA settlement provision is recorded for the amount differences arising from the weight difference. In addition, when cancellation or return is made to an order that is recorded as provision positive, the provision is recorded as negative.
ProvisionNegativeA settlement provision is recorded for the amount differences arising from the weight difference. In addition, when cancellation or return is made to an order that is recorded as provision negative, the provision is recorded as positive.
ManuelRefundIn the case of partial, return is the discarded record. If a return record is created for a product that is less than the product usage, this record is discarded.
ManualRefundCancelFor a partial refund product, when the product is fully refunded, this record is discarded for the purpose of canceling the partial refund. Thus, it is set off for the partial refund amount previously discarded.
TYDiscountIn corporate postpaid shopping, this record is discarded for the discounts covered by Trendyol. This amount is paid to the seller with the invoice requested from the seller at the end of the month.
TYDiscountCancelIn corporate postpaid purchases, it is discarded based on the TYDiscount record for discounts covered by Trendyol. In case of cancellation or return of the product, this record is discarded.
TYCouponIn corporate postpaid shopping, this record is discarded for coupons covered by Trendyol. This amount is paid to the seller with the invoice requested from the seller at the end of the month.
TYCouponCancelIn corporate postpaid purchases, it is discarded based on the TYCoupon record for coupons covered by Trendyol. In case of cancellation or return of the product, this record is discarded.
SellerRevenuePositiveProgress Payment Positive Adjustment
SellerRevenueNegativeProgress Payment Negative Correction
CommissionPositiveCommission Positive Correction
CommissionNegativeCommission Negative Correction
SellerRevenuePositiveCancelProgress Payment Positive Adjustment Cancellation
SellerRevenueNegativeCancelProgress Payment Negative Correction Cancellation
CommissionPositiveCancelCommission Positive Correction Cancellation
CommissionNegativeCancelCommission Negative Correction Cancellation

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 (Supplier financing, transfers, payments, invoices, supplier invoices, incoming transfers, commission reconciliation invoices)

Recommended Endpoints

or

ParameterParameter ValueDescriptionTypeRequired
transactionType or transactionTypesStoppage, CashAdvance, WireTransfer, IncomingTransfer, ReturnInvoice, CommissionAgreementInvoice, PaymentOrder, DeductionInvoicesIt is a type of financial transaction.stringYes
startDateReturns transaction records after a certain date. Timestamp should be sent in miliseconds.longYes
endDateReturns transaction records after a certain date. Timestamp should be sent as milisecond.longYes
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
paymentDateEarliest date available for paymentstringNo

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

transactionTypeDescription
CashAdvanceIt is the record when early payment is received for progress payments that are not yet due.
WireTransferIt is the record for the transfer between Trendyol and the Supplier.
IncomingTransferIt is the record for the payments made to the Trendyol from the debtor supplier status
ReturnInvoiceThese are the return invoices by the supplier to the Trendyol. Affects the balance as +.
CommissionAgreementInvoiceIn the event that the supplier has no receivables to be cleared, the commission received from the supplier for returned products is the settlement invoice.
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.
FinancialItemThese are the correction records made by Trendyol.
StoppageWhen you use this transaction type, the E-commerce Withholding Tax and E-commerce Withholding Tax Cancellation items in the relevant date range will be listed.

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
        }
    ]
}
TransactionTypeMPPaymentType
Sale+Receivable (+)
Return+Debt (-)
Discount+Debt (-)
Discount Cancel+Receivable (+)
Coupon+Receivable (+)
Coupon Cancel+Debt (-)
Provision Positive-Receivable (+)
Provision Negative-Debt (-)
TYDiscount+Debt (-)
TYDiscountCancel+Receivable (+)
TYCoupon+Debt (-)
TYCoupon Cancel+Receivable (+)
ManuelRefund-Debt (-)
ManuelRefundCancel-Receivable (+)
SellerRevenuePositive+Receivable (+)
SellerRevenueNegative-Debt (-)
CommissionPositive-Debt (-)
CommissionNegative+Receivable (+)
SellerRevenuePositiveCancel-Debt (-)
SellerRevenueNegativeCancel+Receivable (+)
CommissionPositiveCancel+Receivable (+)
CommissionNegativeCancel-Debt (-)
ParameterscomissionAmountsellerRevenue
Sale-+
Return+-
Discount+-
Discount Cancel-+
Coupon+-
Coupon Cancel-+
Provision Positive-+
Provision Negative+-
TYDiscount+-
TYDiscountCancel-+
TYCoupon+-
TYCoupon Cancel-+
ManuelRefund+-
ManuelRefundCancel-+
SellerRevenuePositive0+
SellerRevenueNegative0-
CommissionPositive+0
CommissionNegative-0
SellerRevenuePositiveCancel0-
SellerRevenueNegativeCancel0+
CommissionPositiveCancel-0
CommissionNegativeCancel+0