# POST /Indoor/api/getTrnCodeDefByValidFlag

**Resource:** [Reference data](../resources/Reference-data.md)
**Service that lists valid transaction codes**
**Operation ID:** `getTrnCodeDefByValidFlag`

Retrieves all valid transaction codes along with their descriptions, insert/update metadata, and validity flags. This is used to get the list of transaction code definitions for core banking integration.

## Responses

| Status | Description |
|--------|-------------|
| 200 | Success |
| 400 | (reference) |
| 404 | (reference) |
| 500 | (reference) |

**Success Response Schema:**

[GetTrnCodeDefByValidFlagResponse](../schemas/Get/GetTrnCodeDefByValidFlagResponse.md)

