# Transaction Type

#### **Table of Contents**

- [Description](#bkmrk-description)
- [Examples](#bkmrk-examples)
- [Cookbook](#bkmrk-cookbook)
- [F.A.Q.](#bkmrk-api-documentation)
- [API Documentation](#bkmrk-api-documentation)

#### **Description**

##### *Financial meaning*

Transaction types ensure that every economic event is correctly classified, allowing accurate portfolio valuation, performance calculation, risk analysis, compliance reporting, and accounting.

##### *Platform abstraction*

In the platform, transaction types drive the business logic behind how each [transaction ](https://docs.finmars.com/books/entities/page/transactions "Transactions")affects the portfolio structure and cash flows. They determine treatment in reconciliation, reporting, valuation, and accounting processes.

**Transaction Type include**:

- **Buy/Sell**: buying or selling of [instruments ](https://docs.finmars.com/books/entities/page/instrument "Instrument")(e.g., stocks, bonds).
- **Coupon/Dividend**: income received from holding an [instrument](https://docs.finmars.com/books/entities/page/instrument "Instrument").
- **Deposit/Withdrawal**: cash movement into or out of the [portfolio](https://docs.finmars.com/books/entities/page/portfolio "Portfolio").
- **Expense/Income (Non-instrument)**: operational or external income/expense not tied directly to [instruments](https://docs.finmars.com/books/entities/page/instrument "Instrument").
- **Expense/Other Income (Instrument-related)**: expenses or additional income tied specifically to an [instrument](https://docs.finmars.com/books/entities/page/instrument "Instrument").
- **FX Forward**: a forward contract to exchange [currencies ](https://docs.finmars.com/books/entities/page/currency "Currency")at a future date.
- **FX Trade**: spot or forward [transactions ](https://docs.finmars.com/books/entities/page/transactions "Transactions")for [currency ](https://docs.finmars.com/books/entities/page/currency "Currency")exchange.
- **Position Daily**: daily valuation update for open positions.
- **Position Initial**: initial entry of a position into the system.
- **Standard (Import)**: imported transactions from external systems.
- **Transfer**: internal movement of assets or cash between [portfolios](https://docs.finmars.com/books/entities/page/portfolio "Portfolio").
- **None**: undefined or uncategorized [transactions](https://docs.finmars.com/books/entities/page/transactions "Transactions").

#### **Examples**

<table border="1" id="bkmrk-user-code-group-shor" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 16.6667%;"></col><col style="width: 16.6667%;"></col><col style="width: 16.6667%;"></col><col style="width: 16.6667%;"></col><col style="width: 16.6667%;"></col><col style="width: 16.6667%;"></col></colgroup><tbody><tr><td>**User code**</td><td>**Group**</td><td>**Short Name**</td><td>**Name**</td><td>**Display Expression**</td><td>**Notes**</td></tr><tr><td>com.finmars.standard-transaction-type:buy\_with\_fx\_trade</td><td>Buy/Sell</td><td>Buy</td><td>Buy</td><td>'Buy : ' \\</td><td>  
</td></tr></tbody></table>

- `User code`: Internal user identifier for the entity.
- `Group`: Category grouping the action type (e.g., Buy/Sell).
- `Short name`: Short label representing the action (e.g., Buy or Sell).
- `Name`: Full name of the action type (Buy or Sell).
- `Display Expression`: Visual formatting or label used for display purposes.
- `Notes`: Optional field for additional comments or context.

#### **Cookbook**

##### *CRUD* 

Operations within platform.

##### *Use Cases*

What for it's used.

#### **F.A.Q.**

Frequently asked questions.

#### **API documentation**

Link to API documentation.