> 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/bao-cao-tai-chinh-da-kenh.md).

# Báo cáo tài chính đa kênh

API cho phép lấy danh sách sản phẩm hàng xuất khỏi kho, tốc độ bán hàng để lấy hàng được xuất đi và chuẩn bị hàng hoá được tốt hơn

URL API: [https://new.abitstore.vn](https://new.abitstore.vn/report/partner_doanhsotheokenh)

<mark style="color:green;">`POST /`</mark>report/partner\_doanhsotheokenh

**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="https://apidocs.abit.vn/gioi-thieu-ve-abit-open-api.md#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>date_time_start</td><td>string</td><td>Thời gian bắt đầu, định dạng mẫu "2025-10-30 00:00:00"</td></tr><tr><td>date_time_end</td><td>string</td><td>Thời gian kết thúc, định dạng mẫu "2025-10-30 23:59:59"</td></tr><tr><td>type_date</td><td>string</td><td>Loại thời gian muốn lọc , có các giá trị<br><mark style="color:$primary;"><strong>create_date</strong></mark> : Ngày tạo đơn hàng trên Abit<br><mark style="color:$primary;"><strong>send_date</strong></mark> : Ngày gửi hàng cho đơn vị vận chuyển</td></tr><tr><td>productstoreid</td><td>int</td><td>ID Kho hàng, lấy danh sách này ở API <a href="https://apidocs.abit.vn/api-mo-rong/danh-sach-kho-chi-nhanh.md"><strong>Danh sách kho - Chi nhán</strong>h</a></td></tr><tr><td>chanel</td><td>array</td><td>Kênh bán hàng bạn muốn lọc, hỗ trợ lọc nhiều kênh bán hàng<br>TIKTOK_SHOP<br>Shopee<br>Fanpage<br>Website<br>ladipage<br>POS</td></tr><tr><td>ecommerce_id</td><td>string</td><td>ID gian hàng Shopee , TikTok Shop , ID Fanpage... đượ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>is_hachtoan</td><td>string</td><td>Đơn hàng đã  hạch toán hay chưa hạch toán, có các giá trị<br><strong>true</strong> - Đã hạch toán<br><strong>false</strong> - Chưa hạch toán</td></tr><tr><td>invoice_no</td><td>string</td><td>Mã đơn hàng Abit</td></tr></tbody></table>

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

```json
{
    "access_token": "Zjg5ZDYzNmFmOGFkYmQwODVmMzVmOWM4YTRlMDFiMWQ=",
    "partner_name": "Abit",
    "date_time_start": "2025-10-28 00:00:00",
    "date_time_end": "2025-10-31 23:59:59",
    "type_date": "create_date",
    "productstoreid": "1",
    "chanel": [
        "Shopee",
        "TIKTOK_SHOP"
    ],
    "ecommerce_id": "",
    "is_hachtoan": "",
    "invoice_no": ""
}
```

{% endtab %}

{% tab title="Response" %}

```json
{
    "Shopee": [
        {
            "tongdon": 124,
            "tongdoanhso": "20326274.00",
            "total_chuyenhoan": "140250.000",
            "total": "20303080.000",
            "subtotal": "23687434.000",
            "tongtienhang": "23687434.00",
            "total_giavon": "0.000",
            "tienhangtruocgiam": "32693000.00",
            "tongsanpham": "140",
            "tiendatcoc": "5801258.000",
            "eoi_seller_discount": "9005566.00",
            "phivanchuyen": "0.000",
            "eoi_shopee_shipping_rebate": "3209400.00",
            "eoi_estimated_shipping_fee": "3879500.00",
            "s_h_amount": "175500.000",
            "eoi_platform_discount": "0.00",
            "eoi_fee_voucher_xtra_service_fee_amount": null,
            "eoi_fee_flash_sales_service_fee_amount": null,
            "eoi_fee_affiliate_ads_commission_amount": null,
            "eoi_tax_vat_amount": "233574.00",
            "eoi_tax_pit_amount": "116788.00",
            "chietkhauhoadon": "473280.000",
            "hoahongaffiliate": "0.00",
            "freeship_extra": "2558243.00",
            "eoi_original_platform_discount": "0.00",
            "eoi_seller_return_refund": "0.00",
            "eoi_voucher_from_seller": "0.00",
            "eoi_seller_coin_cash_back": "0.00",
            "eoi_voucher_from_platform": "3517556.00",
            "eoi_shipping_fee_discount_from_3pl": "0.00",
            "eoi_reverse_shipping_fee": "100440.00",
            "eoi_seller_shipping_discount": "0.00",
            "eoi_escrow_tax": "0.00",
            "eoi_coins": "23900.00",
            "eoi_buyer_paid_shipping_fee": "175500.00",
            "eoi_buyer_transaction_fee": "0.00",
            "eoi_seller_transaction_fee": "1171698.00",
            "eoi_actual_shipping_fee": "3384900.00",
            "ecommerce_id": "1136315819",
            "storename": "VN-Shop 1",
            "chanel": "Shopee",
            "tongdoanhthu": 18248568,
            "hoahong_platform": "0",
            "eoi_service_fee": "1082623.00"
        },
        {
            "tongdon": 9,
            "tongdoanhso": "3060240.00",
            "total_chuyenhoan": "0.000",
            "total": "3060240.000",
            "subtotal": "3529000.000",
            "tongtienhang": "3529000.00",
            "total_giavon": "0.000",
            "tienhangtruocgiam": "3529000.00",
            "tongsanpham": "0",
            "tiendatcoc": "641760.000",
            "eoi_seller_discount": "0.00",
            "phivanchuyen": "0.000",
            "eoi_shopee_shipping_rebate": "83200.00",
            "eoi_estimated_shipping_fee": "258800.00",
            "s_h_amount": "0.000",
            "eoi_platform_discount": "0.00",
            "eoi_fee_voucher_xtra_service_fee_amount": null,
            "eoi_fee_flash_sales_service_fee_amount": null,
            "eoi_fee_affiliate_ads_commission_amount": null,
            "eoi_tax_vat_amount": "35290.00",
            "eoi_tax_pit_amount": "17645.00",
            "chietkhauhoadon": "0.000",
            "hoahongaffiliate": "0.00",
            "freeship_extra": "415715.00",
            "eoi_original_platform_discount": "0.00",
            "eoi_seller_return_refund": "0.00",
            "eoi_voucher_from_seller": "0.00",
            "eoi_seller_coin_cash_back": "0.00",
            "eoi_voucher_from_platform": "468760.00",
            "eoi_shipping_fee_discount_from_3pl": "0.00",
            "eoi_reverse_shipping_fee": "0.00",
            "eoi_seller_shipping_discount": "0.00",
            "eoi_escrow_tax": "0.00",
            "eoi_coins": "0.00",
            "eoi_buyer_paid_shipping_fee": "0.00",
            "eoi_buyer_transaction_fee": "0.00",
            "eoi_seller_transaction_fee": "173275.00",
            "eoi_actual_shipping_fee": "83200.00",
            "ecommerce_id": "1192304315",
            "storename": "VN-Shop 2",
            "chanel": "Shopee",
            "tongdoanhthu": 2754205,
            "hoahong_platform": "0",
            "eoi_service_fee": "132870.00"
        }
    ],
    "TikTok_Shop": [],
    "Fanpage": [],
    "Lazada": [],
    "Kenh_khac": [],
    "POS": [],
    "Website": [],
    "Ladipage": [],
    "Callcenter": [],
    "Overviewbychanel": {
        "doanhsoshopee": 412209053,
        "chuyenhoanshopee": 3114835,
        "all_doanhso": 412209053,
        "all_doanhthu": 409621431,
        "all_tienhang": 528198257,
        "all_chuyenhoan": 3114835,
        "all_hoahongaffiliate": 0,
        "all_hoahong_platform": 0,
        "all_trogia_platform": 2013000,
        "all_phidichvusan": 22796063,
        "all_phi_flash_sales": 0,
        "all_phi_voucher_xtra_service": 0,
        "all_phi_affiliate_ads": 0,
        "all_thue_vat": 5070230,
        "all_thue_tncn": 2535198,
        "all_phithanhtoan": 25735347,
        "all_freeship_extra": 55418897,
        "all_tongdatcoc": 162155586,
        "all_chietkhauhoadon": 230111743,
        "all_tongtienhangtruocgiam": 758310000,
        "all_phivanchuyentamtinh": 73338800,
        "all_phivanchuyenkhachthuctra": 1693900,
        "all_tongdon": 2381,
        "all_tongsanpham": 177,
        "all_voucher_from_platform": 108215682,
        "all_voucher_from_seller": 5700070,
        "all_total_giavon": 304000,
        "all_hoanxu": 3277600,
        "all_phivanchuyenthucte": 0,
        "all_tienkhachtra": 412209053,
        "all_trogiavanchuyen_platform": 57396000
    }
}
```

{% endtab %}
{% endtabs %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://apidocs.abit.vn/api-mo-rong/bao-cao-tai-chinh-da-kenh.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
