> ## 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 entries by booking ID



## OpenAPI

````yaml get /accounting/booking/{bookingId}
openapi: 3.0.0
info:
  title: Tripedge Backend API
  version: 1.0.0
servers:
  - url: /api
    description: API server
security:
  - ApiKeyAuth: []
paths:
  /accounting/booking/{bookingId}:
    get:
      summary: Get accounting entries by booking ID
      operationId: getAccountingEntriesByBookingId
      parameters:
        - in: path
          name: bookingId
          schema:
            type: string
          required: true
      responses:
        '200':
          description: Accounting entries 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: array
                    items:
                      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

````