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

# Get accounting entry by ID



## OpenAPI

````yaml get /accounting/{id}
openapi: 3.0.0
info:
  title: Tripedge Backend API
  version: 1.0.0
servers:
  - url: /api
    description: API server
security:
  - ApiKeyAuth: []
paths:
  /accounting/{id}:
    get:
      summary: Get accounting entry by ID
      operationId: getAccountingEntryById
      parameters:
        - in: path
          name: id
          schema:
            type: string
          required: true
      responses:
        '200':
          description: Accounting entry found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    description: Indicates if the request was successful
                  message:
                    type: string
                    nullable: true
                    description: Response message
                  data:
                    type: object
                    properties:
                      id:
                        type: number
                      debit:
                        type: number
                      credit:
                        type: number
                      name:
                        type: string
                      clientId:
                        type: number
                      bookingId:
                        type: number
                      ccPaymentId:
                        type: string
                      userId:
                        type: number
                      bankPaymentId:
                        type: number
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                      deletedAt:
                        type: string
                        format: date-time
                    required:
                      - id
                      - debit
                      - credit
                      - name
                      - clientId
                      - bookingId
                      - ccPaymentId
                      - userId
                      - bankPaymentId
                      - createdAt
                      - updatedAt
                      - deletedAt
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key for authentication

````