> ## Documentation Index
> Fetch the complete documentation index at: https://docs.antei.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Transaction by ID

> Retrieve a single transaction by its unique ID, including line items, tax breakdown, and metadata.

Use this endpoint to fetch the full details of a transaction, such as for auditing, reconciliation, or export.

**Path Parameter:**

* `id` – Unique ID of the transaction

**Response:**

Returns a single `Transaction` object. This includes:

* Transaction type: `inflow` or `outflow`
* Associated contact and product information
* Tax calculation metadata
* Currency and exchange rate (if applicable)


## OpenAPI

````yaml GET /transactions/{id}
openapi: 3.0.1
info:
  title: Antei API Reference
  description: >-
    Programmatic access to Antei’s platform. Use this API to manage core objects
    and retrieve taxation insights.
  version: 1.0.0
  license:
    name: MIT
  contact:
    name: Antei Developer Support
    email: support@antei.com
    url: https://antei.com
servers:
  - url: https://api.antei.com
security:
  - bearerAuth: []
paths:
  /transactions/{id}:
    get:
      summary: Get Transaction by ID
      description: Retrieve a transaction using its ID.
      parameters:
        - name: id
          in: path
          description: ID of the transaction
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Transaction details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transaction'
        '404':
          description: Transaction not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Transaction:
      type: object
      required:
        - id
        - transaction_type
        - amount
        - currency
        - timestamp
      properties:
        id:
          type: string
          description: Unique identifier for the transaction
        transaction_type:
          type: string
          enum:
            - inflow
            - outflow
          description: Direction of the transaction
        amount:
          type: number
          format: float
          description: Transaction amount
        currency:
          type: string
          description: Currency code (e.g., USD, EUR)
        timestamp:
          type: string
          format: date-time
          description: Time of transaction
        description:
          type: string
          description: Optional description of the transaction
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        status:
          type: integer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````