# Repo transactions of government bonds (v4)

> API Name: /Bond/GetBondRepoV4

<table><thead><tr><th width="157">Field name</th><th width="100.0625">Data type</th><th width="70.8203125">Data length</th><th width="218.2578125">Description (VN)</th><th width="224.53125">Description (EN)</th></tr></thead><tbody><tr><td>RecordId</td><td>int</td><td></td><td>Khóa chính của bảng auto-generated IDENTITY(1,1)</td><td>Primary key of table, auto-generated IDENTITY (1,1)</td></tr><tr><td>TradingDateId</td><td>date</td><td></td><td>Ngày giao dịch</td><td>Trading Date</td></tr><tr><td>BondTypeId</td><td>tinyint</td><td></td><td>Loại trái phiếu vd:TPCP, tín phiếu kho bạc,… từ bảng FGFB_COIN_DM_BondType</td><td>Types of bonds eg: Government bonds, Treasury bills, etc. from FGFB_COIN_DM_BondType table</td></tr><tr><td>CurrencyId</td><td>tinyint</td><td></td><td>Mã tiền tệ từ bảng FGFB_CMMS_DM_Currency</td><td>Currency code from FGFB_CMMS_DM_Currency table</td></tr><tr><td>GroupId</td><td>int</td><td></td><td>sàn giao dịch trái phiếu FGFB_COIN_DR_Group</td><td>bond exchange FGFB_COIN_DR_Group</td></tr><tr><td>ReposUnitId</td><td>tinyint</td><td></td><td>Đơn vị kỳ hạn của hợp đồng Repos</td><td>Term unit of a Repos contract</td></tr><tr><td>ReposLength</td><td>smallint</td><td></td><td>Kỳ hạn repos</td><td>Term repos</td></tr><tr><td>HighInterest</td><td>decimal</td><td>(9,8)</td><td>Lãi suất cao nhất</td><td>The highest interest rate</td></tr><tr><td>LowInterest</td><td>decimal</td><td>(9,8)</td><td>Lãi suất thấp nhất</td><td>Lowest interest rates</td></tr><tr><td>TotalValue1</td><td>bigint</td><td></td><td>Tổng GTGD toàn thị trường lần 1 ( Bán TP)</td><td>The total trading value of the whole market 1 (Selling Bond)</td></tr><tr><td>TotalValue2</td><td>bigint</td><td></td><td>Tổng GTGD toàn thị trường lần 2 (mua lại)</td><td>Total trading value of the whole market 2nd time (repurchase)</td></tr><tr><td>HighHedgeRate</td><td>decimal</td><td>(9,8)</td><td>Tỷ lệ phòng vệ rủi ro cao nhất ( % discount)</td><td>The highest rate of hedging (% discount)</td></tr><tr><td>LowHedgeRate</td><td>decimal</td><td>(9,8)</td><td>Tỷ lệ phòng vệ rủi ro thấp nhất ( % discount)</td><td>Lowest hedge (% discount)</td></tr><tr><td>ModificationId</td><td>bigint</td><td></td><td>Khóa ngoài sang bảng FGFB_BOTV_DR_Modification, lưu trữ các thông tin thay đổi của bảng ghi</td><td>Foreign key linked to  FGFB_BOTV_DR_Modification table, storing changes of record</td></tr><tr><td>RecordStatusId</td><td>tinyint</td><td></td><td>0: record khóa; 1: record mở; 2: record đã xóa </td><td>The record status: 0: Locked; 1: Open; 2: Deleted</td></tr><tr><td>IsHistory</td><td>bit</td><td></td><td>Lịch sử: 0: bản ghi hiện tại, 1 là bản ghi lịch sử</td><td>History. 0: current, 1: history</td></tr><tr><td>VersionDateId</td><td>date</td><td></td><td>Phiên bản lưu lịch sử (ngày ghi chép bản ghi lịch sử này vd: ngày công bố thông tin khi nhập lại thông tin lịch sử).</td><td>History record version (Record Date of this history record)</td></tr><tr><td>TotalValue</td><td>bigint</td><td></td><td>Tổng GTGD toàn thị trường</td><td>Total trading value of the whole market</td></tr><tr><td>TotalVolume</td><td>bigint</td><td></td><td>Tổng KLGD toàn thị trường </td><td>Total trading volume of the whole market </td></tr><tr><td>ForeignTotalValue</td><td>bigint</td><td></td><td>Tổng GTGD nước ngoài</td><td>Total trading value of foreign</td></tr><tr><td>ForeignTotalVolume</td><td>bigint</td><td></td><td>Tổng KLGD nước ngoài</td><td>Total trading volume of foreign</td></tr><tr><td>Status</td><td>bit</td><td></td><td>Status</td><td>Status</td></tr><tr><td>CreateDate</td><td>datetime</td><td></td><td>CreateDate</td><td>Creation date</td></tr><tr><td>UpdateDate</td><td>datetime</td><td></td><td>UpdateDate</td><td>Update date</td></tr></tbody></table>

<table><thead><tr><th width="115.85546875">BondTypeId</th><th width="295.5625">BondTypeName</th><th width="223.53125">en_BondTypeName</th><th width="138.80859375">BondTypeLevel</th></tr></thead><tbody><tr><td>11</td><td>Trái phiếu doanh nghiệp</td><td>Corporate Bond</td><td>1</td></tr><tr><td>1</td><td>TPDN</td><td>Corporate Bond</td><td>2</td></tr><tr><td>2</td><td>TPDN Chuyển đổi</td><td>Convertible Bond</td><td>2</td></tr><tr><td>10</td><td>TPCP, Kho bạc</td><td>Government, Treasury</td><td>1</td></tr><tr><td>3</td><td>Tín phiếu</td><td>Bills</td><td>2</td></tr><tr><td>4</td><td>Trái phiếu Chính phủ bảo lãnh</td><td>Government - guaranteed Bond</td><td>2</td></tr><tr><td>5</td><td>Trái phiếu Chính phủ</td><td>Government Bond</td><td>2</td></tr><tr><td>6</td><td>Trái phiếu Chính quyền địa phương</td><td>Municipal Bond</td><td>2</td></tr><tr><td>7</td><td>Trái phiếu khác</td><td>Other Bond</td><td>2</td></tr></tbody></table>

<table><thead><tr><th width="93.57421875">GroupId</th><th width="203.33984375">IssueMethodName</th><th width="210.2109375">en_IssueMethodName</th><th width="149.05078125">IssueMethodLevel</th></tr></thead><tbody><tr><td>11</td><td>VNINDEX</td><td>VNINDEX</td><td>4</td></tr><tr><td>46</td><td>HNXIndex</td><td>HNXIndex</td><td>4</td></tr><tr><td>47</td><td>UPCoMIndex</td><td>UPCoMIndex</td><td>4</td></tr><tr><td>65</td><td>OTC</td><td>OTC</td><td>4</td></tr><tr><td>64</td><td>Trái phiếu chuyên biệt</td><td>Specialized Government bonds</td><td>4</td></tr><tr><td>128</td><td>Trái phiếu riêng lẻ</td><td>Privately - Placed corporate bond</td><td>4</td></tr></tbody></table>

<table><thead><tr><th width="110.32421875">CurrencyId</th><th width="179.72265625">CurrencyName</th><th width="172">en_CurrencyName</th><th width="137.5859375">CurrencyCode</th></tr></thead><tbody><tr><td>6</td><td>Đồng Euro</td><td>EURO</td><td>EUR</td></tr><tr><td>21</td><td>Đô la Mỹ</td><td>US Dollar</td><td>USD</td></tr><tr><td>22</td><td>Đồng Việt Nam</td><td>Vietnam Dong</td><td>VND</td></tr><tr><td></td><td>….</td><td></td><td></td></tr></tbody></table>
