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

# Retrieves the account transactions.



## OpenAPI

````yaml api-reference/openapi.json get /api/accounts/transactions
openapi: 3.0.0
info:
  title: Bigcapital
  description: Financial accounting software
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /api/accounts/transactions:
    get:
      tags:
        - Accounts
      summary: Retrieves the account transactions.
      operationId: AccountsController_getAccountTransactions
      parameters:
        - name: Authorization
          in: header
          description: >-
            Value must be 'Bearer <token>' where <token> is an API key prefixed
            with 'bc_' or a JWT token.
          required: true
          schema:
            type: string
            example: Bearer bc_1234567890abcdef
        - name: organization-id
          in: header
          description: >-
            Required if Authorization is a JWT token. The organization ID to
            operate within.
          required: true
          schema:
            type: string
        - name: accountId
          required: false
          in: query
          description: ID of the account to fetch transactions for
          schema:
            type: number
        - name: limit
          required: false
          in: query
          description: Maximum number of transactions to return
          schema:
            type: number
      responses:
        '200':
          description: The account transactions have been successfully retrieved.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GetAccountTransactionResponseDto'
components:
  schemas:
    GetAccountTransactionResponseDto:
      type: object
      properties:
        date:
          type: object
          description: The transaction date (ISO string or Date)
          example: '2024-01-01'
        formattedDate:
          type: string
          description: The formatted transaction date
          example: 01 Jan 2024
        transactionType:
          type: string
          description: The transaction type (referenceType from model)
          example: INVOICE
        transactionId:
          type: number
          description: The transaction id (referenceId from model)
          example: 123
        transactionTypeFormatted:
          type: string
          description: The formatted transaction type (translated string)
          example: Invoice
        credit:
          type: number
          description: The credit amount
          example: 100
        debit:
          type: number
          description: The debit amount
          example: 50
        formattedCredit:
          type: string
          description: The formatted credit amount (e.g. currency formatted)
          example: 100.00 USD
        formattedDebit:
          type: string
          description: The formatted debit amount (e.g. currency formatted)
          example: 50.00 USD
        fcCredit:
          type: number
          description: The foreign currency credit (credit * exchangeRate)
          example: 120
        fcDebit:
          type: number
          description: The foreign currency debit (debit * exchangeRate)
          example: 60
        formattedFcCredit:
          type: string
          description: The formatted foreign currency credit
          example: 120.00 EUR
        formattedFcDebit:
          type: string
          description: The formatted foreign currency debit
          example: 60.00 EUR
      required:
        - date
        - formattedDate
        - transactionType
        - transactionId
        - transactionTypeFormatted
        - credit
        - debit
        - formattedCredit
        - formattedDebit
        - fcCredit
        - fcDebit
        - formattedFcCredit
        - formattedFcDebit

````