# Treasury stock

> API Name: /CorporateAction/GetTreasuryStock

{% hint style="info" %}
**Below are some examples of how the data is presented in the API:**
{% endhint %}

{% tabs %}
{% tab title="Example 1" %}
·       "TreasuryStockId": 51984,

·       "OrganCode": "KHASPEXCO",

·       "TradeTypeCode": "ALL",

·       "ActionTypeCode": "B",

·       "IssueStatusCode": "D",

·       "PublicDate": "2020-03-16T00:00:00",

·       "ShareBeforeTrade": 278500,

·       "ShareRegisted": 40000,

·       "ShareAcquire": 40000,

·       "PriceAcquire": 15200,

·       "ValueAcquire": 608000000,

·       "ShareAfterTrade": 318500,

·       "StartDate": "2020-02-24T00:00:00",

·       "EndDate": "2020-03-11T00:00:00",

·       "FinancialResource": "",

·       "Goal": "Repurchasing shares.",

·       "SourceUrl": "",

·       "Note": "",

·       "Status": 1,

·       "CreateDate": "2020-03-16T15:28:00.317",

·       "UpdateDate": "2020-03-17T15:55:24.043"
{% endtab %}

{% tab title="Example 2" %}
·       "TreasuryStockId": 852,

·       "OrganCode": "VNM",

·       "TradeTypeCode": "PT",

·       "ActionTypeCode": "B",

·       "IssueStatusCode": "D",

·       "PublicDate": "2012-07-27T00:00:00",

·       "ShareBeforeTrade": 403790,

·       "ShareRegisted": 1630,

·       "ShareAcquire": 1630,

·       "PriceAcquire": 0,

·       "ValueAcquire": 0,

·       "ShareAfterTrade": 405420,

·       "StartDate": "2012-07-05T00:00:00",

·       "EndDate": "2012-08-05T00:00:00",

·       "FinancialResource": null,

·       "Goal": "Buying back ESOP 2009, 2010 and  2011 shares when employees stop working for Vinamilk.",

·       "SourceUrl": null,

·       "Note": null,

·       "en\_Goal": null,

·       "en\_FinancialResource": null,

·       "en\_SourceUrl": null,

·       "en\_Note": null,

·       "Status": 1,

·       "CreateDate": "2022-03-01T00:00:00",

·       "UpdateDate": "2022-03-28T23:20:25"
{% endtab %}
{% endtabs %}

<table><thead><tr><th width="192.03515625">Field name</th><th width="104.625">Data type</th><th width="73">Data length</th><th width="203.2265625">Description (VN)</th><th width="205.1875">Description (EN)</th></tr></thead><tbody><tr><td>TreasuryStockId</td><td>bigint</td><td>8</td><td>Khóa chính của bảng auto-generated IDENTITY(1,1)</td><td>Primary key of auto-generated IDENTITY(1,1)</td></tr><tr><td>OrganCode</td><td>nvarchar</td><td>15</td><td>Mã của StoxPlus</td><td>StoxPlus-defined code </td></tr><tr><td>TradeTypeCode</td><td>nvarchar</td><td>5</td><td>Hình thức giao dịch. Vd: Thỏa thuận, khớp lệnh,…</td><td>Transaction form. E.g.: Agreement, matching order,…</td></tr><tr><td>ActionTypeCode</td><td>nvarchar</td><td>5</td><td>Kiểu giao dịch. Vd: mua, bán, …</td><td>Transaction type. E.g.: buy, sell, bonus, gift</td></tr><tr><td>IssueStatusCode</td><td>nvarchar</td><td>5</td><td>Trạng thái phát hành. Vd: done, pending, cancel, not yet</td><td>Issuance type. E.g.: done, pending, cancel, not yet</td></tr><tr><td>PublicDate</td><td>datetime</td><td>8</td><td>Ngày công bố</td><td>Public date </td></tr><tr><td>ShareBeforeTrade</td><td>decimal</td><td>(18,0)</td><td>Số cổ phiếu quỹ trước khi giao dịch</td><td>Number of shares before transaction</td></tr><tr><td>ShareRegisted</td><td>decimal</td><td>(18,0)</td><td>Số cổ phiếu quỹ đăng ký giao dịch</td><td>Number of registered shares</td></tr><tr><td>ShareAcquire</td><td>decimal</td><td>(18,0)</td><td>Số cổ phiếu thực hiện</td><td>Number of share executed</td></tr><tr><td>PriceAcquire</td><td>decimal</td><td>(18,0)</td><td>Giá giao dịch</td><td>Transaction price</td></tr><tr><td>ValueAcquire</td><td>decimal</td><td>(18,0)</td><td>Giá trị giao dịch</td><td>Transaction value</td></tr><tr><td>ShareAfterTrade</td><td>decimal</td><td>(18,0)</td><td>Số cổ phiếu quỹ sau khi giao dịch</td><td>Number of shares arising after the trading registration period</td></tr><tr><td>StartDate</td><td>datetime</td><td>8</td><td>Ngày bắt đầu đăng ký giao dịch</td><td>Start date of transaction registration</td></tr><tr><td>EndDate</td><td>datetime</td><td>8</td><td>Ngày kết thúc đăng ký giao dịch</td><td>End date of transaction registration</td></tr><tr><td>FinancialResource</td><td>nvarchar</td><td>255</td><td>Nguồn tài chính phát hành</td><td>Financial source of issuance </td></tr><tr><td>Goal</td><td>nvarchar</td><td>255</td><td>Mục đích giao dịch. Vd: tăng tỷ lệ sở hữu, nhu cầu tài chính cá nhân, …</td><td>Purpose of transaction. E.g.: Increase ownership ratio, personal financial needs,…</td></tr><tr><td>SourceUrl</td><td>nvarchar</td><td>255</td><td>Nguồn thông báo giao dịch</td><td>Source of transaction announcement</td></tr><tr><td>Note</td><td>nvarchar</td><td>255</td><td>Ghi chú thêm giao dịch</td><td>Notes for transaction</td></tr><tr><td>en_Goal</td><td>nvarchar</td><td>255</td><td>Mục đích giao dịch. Vd: tăng tỷ lệ sở hữu, nhu cầu tài chính cá nhân, …</td><td>Purposes of transaction. E.g.: Increase ownership ratio, personal financial needs,…</td></tr><tr><td>en_FinancialResource</td><td>nvarchar</td><td>255</td><td>Nguồn tài chính phát hành</td><td>Financial source of issuance </td></tr><tr><td>en_SourceUrl</td><td>nvarchar</td><td>255</td><td>Nguồn thông báo giao dịch</td><td>Source of transaction announcement</td></tr><tr><td>en_Note</td><td>nvarchar</td><td>255</td><td>Ghi chú thêm giao dịch</td><td>Notes for transactions</td></tr><tr><td>Status</td><td>tinyint</td><td>1</td><td>Trạng thái của bản ghi. 0: record khóa; 1: record mở; 2: record đã xóa </td><td>Record status. 0: record locked; 1: record open; 2: record deleted</td></tr><tr><td>CreateDate</td><td>datetime</td><td>8</td><td>Ngày tạo record </td><td>Created date </td></tr><tr><td>UpdateDate</td><td>datetime</td><td>8</td><td>Ngày cập nhật record </td><td>Updated date</td></tr></tbody></table>


---

# Agent Instructions: 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:

```
GET https://datafeed.fiingroup.vn/api-datafeed-en/api-corporate/event-calendar/treasury-stock.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
