> For the complete documentation index, see [llms.txt](https://apidocs.abit.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidocs.abit.vn/api-mo-rong/tiktok-doi-soat-don-hang-theo-giao-dich.md).

# (TikTok) Đối soát đơn hàng theo giao dịch

URL API: [https://new.abitstore.vn](https://new.abitstore.vn/ecommerce/tiktok/getTransactionByStatementByPartner)

<mark style="color:green;">`POST /ecommerce/tiktok/getTransactionByStatementByPartner`</mark>

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |

**Body**

<table><thead><tr><th width="149">Name</th><th width="95">Type</th><th>Description</th></tr></thead><tbody><tr><td>access_token</td><td>string</td><td>Mã Access token được khởi tạo và cấp quyền bởi chủ tài khoản Abit, Xem hướng dẫn tạo <a href="/pages/t1tDBWKqV56vJX2nCGS3#khoi-tao-access-token"><mark style="color:red;"><strong>Access Token</strong></mark> </a></td></tr><tr><td>partner_name</td><td>string</td><td>Mã shop khi đăng ký Abit</td></tr><tr><td>ecommerce_id</td><td>string</td><td>ID gian hàng TikTok Shop ... được kết nối vào Abit, lấy thông tin ID trong mục <strong>Kết nối đa kênh =⇒ Kết nối sàn TMĐT</strong></td></tr><tr><td>statement_id</td><td>string</td><td>Là id của giao dịch được lấy ở bên API <a href="/pages/7AtxM79UzXrUTYbiKG1c">Danh sách giao dịch</a></td></tr><tr><td>page_token</td><td>string</td><td>là phân trang của tiktok shop, lấy dữ liệu trang đầu tiên thì giá trị này không truyền gì cả, trang trang tiếp theo truyền giá trị của trường <strong>"next_page_token"</strong> ở Response trả về</td></tr><tr><td>limit</td><td>int</td><td>Số lượng giao dịch lấy ra</td></tr></tbody></table>

{% tabs %}
{% tab title="Body" %}

```json
{
"access_token":"YTVmN2QxY2E2OWJjYWYyODFkZWFlZGY1ZWE0ZjhmMzM=",
"partner_name":"Abit",
"ecommerce_id":"7494558197011024789",
"statement_id":"7661827830694643473",
"page_token":"",
"limit":5
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "code": 0,
    "data": {
        "create_time": 1783987200,
        "currency": "VND",
        "id": "7661827830694643473",
        "next_page_token": "WzIwMjYwNzEzMDAwMDAwLDE3ODM5NTMyNzc0OTIsNzY2MjAyMjk3Nzg2MDc5ODIyNV0=",
        "payable_amount": "2636250",
        "status": "SETTLED",
        "total_count": 49,
        "total_reserve_amount": "0",
        "total_settlement_amount": "2636250",
        "total_settlement_breakdown": {
            "total_adjustment_amount": "0",
            "total_fee_tax_amount": "-1206350",
            "total_revenue_amount": "3882000",
            "total_shipping_cost_amount": "-39400"
        },
        "transactions": [
            {
                "adjustment_amount": "0",
                "fee_tax_amount": "0",
                "fee_tax_breakdown": {
                    "fee": {
                        "affiliate_ads_commission_amount": "0",
                        "affiliate_commission_amount": "0",
                        "affiliate_commission_amount_before_pit": "0",
                        "affiliate_commission_deposit": "0",
                        "affiliate_commission_release": "0",
                        "affiliate_partner_commission_amount": "0",
                        "bonus_cashback_service_fee_amount": "0",
                        "brand_amplification_program_commission": "0",
                        "brand_amplification_program_fee_tax": "0",
                        "brand_campaign_fee": "0",
                        "brand_campaign_fee_tax": "0",
                        "buyer_fault_return_shipping_fee": "0",
                        "campaign_period_fee_cfp_amount": "0",
                        "campaign_period_fee_cfp_tax_amount": "0",
                        "campaign_period_fee_sp_amount": "0",
                        "campaign_period_fee_sp_tax_amount": "0",
                        "category_led_campaign_fee_amount": "0",
                        "category_led_campaign_fee_tax_amount": "0",
                        "cofunded_creator_bonus_amount": "0",
                        "cofunded_promotion_service_fee_amount": "0",
                        "cps_shop_ads_commission_tax_amount": "0",
                        "credit_card_handling_fee_amount": "0",
                        "dt_handling_fee_amount": "0",
                        "dynamic_commission_amount": "0",
                        "epr_pob_service_fee_amount": "0",
                        "external_affiliate_marketing_fee_amount": "0",
                        "failed_delivery_shipping_fee": "0",
                        "fee_per_item_sold_amount": "0",
                        "flash_sales_service_fee_amount": "0",
                        "gmv_max_ad_fee_amount": "0",
                        "gmv_max_coupon_fee": "0",
                        "installation_service_fee": "0",
                        "insurance_fee": "0",
                        "live_specials_fee_amount": "0",
                        "mall_service_fee_amount": "0",
                        "platform_commission_amount": "0",
                        "platform_semi_managed_commission_fee": "0",
                        "platform_semi_managed_commission_fee_tax": "0",
                        "platform_special_service_fee_amount": "0",
                        "pre_order_service_fee_amount": "0",
                        "referral_fee_amount": "0",
                        "refund_administration_fee_amount": "0",
                        "seller_growth_fee_amount": "0",
                        "seller_paylater_handling_fee_amount": "0",
                        "sfp_service_fee_amount": "0",
                        "shipping_fee_guarantee_service_fee": "0",
                        "shipping_insurance_fee_tax_amount": "0",
                        "smart_promotion_fee_amount": "0",
                        "tap_shop_ads_commission": "0",
                        "transaction_fee_amount": "0",
                        "tsp_commission_amount": "0",
                        "vn_fix_infrastructure_fee": "0",
                        "voucher_xtra_service_fee_amount": "0"
                    },
                    "tax": {
                        "anti_dumping_duty_amount": "0",
                        "cedular_tax": "0",
                        "customs_clearance_amount": "0",
                        "customs_duty_amount": "0",
                        "gst_amount": "0",
                        "import_vat_amount": "0",
                        "isr_amount": "0",
                        "iva_amount": "0",
                        "pit_amount": "0",
                        "sales_tax_referral_fee_amount": "0",
                        "smart_promotion_fee_tax_amount": "0",
                        "sst_amount": "0",
                        "vat_amount": "0"
                    }
                },
                "id": "7662036436816299797",
                "order_create_time": 1783956413,
                "order_id": "585011379646924055",
                "revenue_amount": "0",
                "revenue_breakdown": {
                    "cod_service_fee_amount": "0",
                    "distant_item_fee_amount": "0",
                    "refund_cod_service_fee_amount": "0",
                    "refund_subtotal_before_discount_amount": "-195000",
                    "seller_discount_amount": "-96000",
                    "seller_discount_refund_amount": "96000",
                    "subtotal_before_discount_amount": "195000"
                },
                "settlement_amount": "0",
                "shipping_cost_amount": "0",
                "shipping_cost_breakdown": {
                    "actual_shipping_fee_amount": "0",
                    "customer_paid_shipping_fee_amount": "0",
                    "distant_shipping_fee_amount": "0",
                    "exchange_shipping_fee_amount": "0",
                    "failed_delivery_subsidy_amount": "0",
                    "fbt_free_shipping_fee_amount": "0",
                    "fbt_fulfillment_fee_reimbursement_amount": "0",
                    "fbt_key_merchant_subsidy": "0",
                    "fbt_overall_merchant_subsidy": "0",
                    "free_return_subsidy_amount": "0",
                    "logistics_service_fee": "0",
                    "replacement_shipping_fee_amount": "0",
                    "return_shipping_fee_amount": "0",
                    "return_shipping_fee_paid_buyer_amount": "0",
                    "return_shipping_label_fee_amount": "0",
                    "seller_self_shipping_service_fee_amount": "0",
                    "shipping_app_service_fee_amount": "0",
                    "shipping_fee_discount_amount": "0",
                    "shipping_fee_guarantee_reimbursement": "0",
                    "shipping_insurance_fee_amount": "0",
                    "signature_confirmation_fee_amount": "0",
                    "supplementary_component": {
                        "customer_shipping_fee": "0",
                        "customer_shipping_fee_offset_amount": "0",
                        "fbm_shipping_cost_amount": "0",
                        "fbt_fulfillment_fee_amount": "0",
                        "fbt_shipping_cost_amount": "0",
                        "platform_shipping_fee_discount_amount": "0",
                        "promo_shipping_incentive_amount": "0",
                        "refund_customer_shipping_fee": "0",
                        "refunded_customer_shipping_fee_amount": "0",
                        "return_refund_subsidy_amount": "0",
                        "seller_shipping_fee_discount_amount": "0",
                        "shipping_fee_subsidy_amount": "0"
                    },
                    "tiktok_shop_shipping_incentive_amount": "0"
                },
                "supplementary_component": {
                    "customer_payment_amount": "99000",
                    "customer_refund_amount": "-99000",
                    "platform_cofunded_discount_amount": "0",
                    "platform_cofunded_discount_refund_amount": "0",
                    "platform_discount_amount": "0",
                    "platform_discount_refund_amount": "0",
                    "retail_delivery_fee_amount": "0",
                    "retail_delivery_fee_payment_amount": "0",
                    "retail_delivery_fee_refund_amount": "0",
                    "sales_tax_amount": "0",
                    "sales_tax_payment_amount": "0",
                    "sales_tax_refund_amount": "0",
                    "seller_cofunded_discount_amount": "0",
                    "seller_cofunded_discount_refund_amount": "0"
                },
                "type": "ORDER"
            },
            {
                "adjustment_amount": "0",
                "fee_tax_amount": "0",
                "fee_tax_breakdown": {
                    "fee": {
                        "affiliate_ads_commission_amount": "0",
                        "affiliate_commission_amount": "0",
                        "affiliate_commission_amount_before_pit": "0",
                        "affiliate_commission_deposit": "0",
                        "affiliate_commission_release": "0",
                        "affiliate_partner_commission_amount": "0",
                        "bonus_cashback_service_fee_amount": "0",
                        "brand_amplification_program_commission": "0",
                        "brand_amplification_program_fee_tax": "0",
                        "brand_campaign_fee": "0",
                        "brand_campaign_fee_tax": "0",
                        "buyer_fault_return_shipping_fee": "0",
                        "campaign_period_fee_cfp_amount": "0",
                        "campaign_period_fee_cfp_tax_amount": "0",
                        "campaign_period_fee_sp_amount": "0",
                        "campaign_period_fee_sp_tax_amount": "0",
                        "category_led_campaign_fee_amount": "0",
                        "category_led_campaign_fee_tax_amount": "0",
                        "cofunded_creator_bonus_amount": "0",
                        "cofunded_promotion_service_fee_amount": "0",
                        "cps_shop_ads_commission_tax_amount": "0",
                        "credit_card_handling_fee_amount": "0",
                        "dt_handling_fee_amount": "0",
                        "dynamic_commission_amount": "0",
                        "epr_pob_service_fee_amount": "0",
                        "external_affiliate_marketing_fee_amount": "0",
                        "failed_delivery_shipping_fee": "0",
                        "fee_per_item_sold_amount": "0",
                        "flash_sales_service_fee_amount": "0",
                        "gmv_max_ad_fee_amount": "0",
                        "gmv_max_coupon_fee": "0",
                        "installation_service_fee": "0",
                        "insurance_fee": "0",
                        "live_specials_fee_amount": "0",
                        "mall_service_fee_amount": "0",
                        "platform_commission_amount": "0",
                        "platform_semi_managed_commission_fee": "0",
                        "platform_semi_managed_commission_fee_tax": "0",
                        "platform_special_service_fee_amount": "0",
                        "pre_order_service_fee_amount": "0",
                        "referral_fee_amount": "0",
                        "refund_administration_fee_amount": "0",
                        "seller_growth_fee_amount": "0",
                        "seller_paylater_handling_fee_amount": "0",
                        "sfp_service_fee_amount": "0",
                        "shipping_fee_guarantee_service_fee": "0",
                        "shipping_insurance_fee_tax_amount": "0",
                        "smart_promotion_fee_amount": "0",
                        "tap_shop_ads_commission": "0",
                        "transaction_fee_amount": "0",
                        "tsp_commission_amount": "0",
                        "vn_fix_infrastructure_fee": "0",
                        "voucher_xtra_service_fee_amount": "0"
                    },
                    "tax": {
                        "anti_dumping_duty_amount": "0",
                        "cedular_tax": "0",
                        "customs_clearance_amount": "0",
                        "customs_duty_amount": "0",
                        "gst_amount": "0",
                        "import_vat_amount": "0",
                        "isr_amount": "0",
                        "iva_amount": "0",
                        "pit_amount": "0",
                        "sales_tax_referral_fee_amount": "0",
                        "smart_promotion_fee_tax_amount": "0",
                        "sst_amount": "0",
                        "vat_amount": "0"
                    }
                },
                "id": "7662022977860798225",
                "order_create_time": 1783953277,
                "order_id": "585010626752513165",
                "revenue_amount": "0",
                "revenue_breakdown": {
                    "cod_service_fee_amount": "0",
                    "distant_item_fee_amount": "0",
                    "refund_cod_service_fee_amount": "0",
                    "refund_subtotal_before_discount_amount": "-195000",
                    "seller_discount_amount": "-96000",
                    "seller_discount_refund_amount": "96000",
                    "subtotal_before_discount_amount": "195000"
                },
                "settlement_amount": "0",
                "shipping_cost_amount": "0",
                "shipping_cost_breakdown": {
                    "actual_shipping_fee_amount": "0",
                    "customer_paid_shipping_fee_amount": "0",
                    "distant_shipping_fee_amount": "0",
                    "exchange_shipping_fee_amount": "0",
                    "failed_delivery_subsidy_amount": "0",
                    "fbt_free_shipping_fee_amount": "0",
                    "fbt_fulfillment_fee_reimbursement_amount": "0",
                    "fbt_key_merchant_subsidy": "0",
                    "fbt_overall_merchant_subsidy": "0",
                    "free_return_subsidy_amount": "0",
                    "logistics_service_fee": "0",
                    "replacement_shipping_fee_amount": "0",
                    "return_shipping_fee_amount": "0",
                    "return_shipping_fee_paid_buyer_amount": "0",
                    "return_shipping_label_fee_amount": "0",
                    "seller_self_shipping_service_fee_amount": "0",
                    "shipping_app_service_fee_amount": "0",
                    "shipping_fee_discount_amount": "0",
                    "shipping_fee_guarantee_reimbursement": "0",
                    "shipping_insurance_fee_amount": "0",
                    "signature_confirmation_fee_amount": "0",
                    "supplementary_component": {
                        "customer_shipping_fee": "0",
                        "customer_shipping_fee_offset_amount": "0",
                        "fbm_shipping_cost_amount": "0",
                        "fbt_fulfillment_fee_amount": "0",
                        "fbt_shipping_cost_amount": "0",
                        "platform_shipping_fee_discount_amount": "0",
                        "promo_shipping_incentive_amount": "0",
                        "refund_customer_shipping_fee": "0",
                        "refunded_customer_shipping_fee_amount": "0",
                        "return_refund_subsidy_amount": "0",
                        "seller_shipping_fee_discount_amount": "0",
                        "shipping_fee_subsidy_amount": "0"
                    },
                    "tiktok_shop_shipping_incentive_amount": "0"
                },
                "supplementary_component": {
                    "customer_payment_amount": "99000",
                    "customer_refund_amount": "-99000",
                    "platform_cofunded_discount_amount": "0",
                    "platform_cofunded_discount_refund_amount": "0",
                    "platform_discount_amount": "0",
                    "platform_discount_refund_amount": "0",
                    "retail_delivery_fee_amount": "0",
                    "retail_delivery_fee_payment_amount": "0",
                    "retail_delivery_fee_refund_amount": "0",
                    "sales_tax_amount": "0",
                    "sales_tax_payment_amount": "0",
                    "sales_tax_refund_amount": "0",
                    "seller_cofunded_discount_amount": "0",
                    "seller_cofunded_discount_refund_amount": "0"
                },
                "type": "ORDER"
            }
        ]
    },
    "message": "Success",
    "request_id": "20260714125113D0190F68A0347300087B"
}
```

{% endtab %}
{% endtabs %}

Thông tin giá trị API trả về shop có thể tham khảo tại đây:&#x20;

<https://partner.tiktokshop.com/docv2/page/get-transactions-by-statement-202501>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://apidocs.abit.vn/api-mo-rong/tiktok-doi-soat-don-hang-theo-giao-dich.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
