GET
/
api
/
accounts
/
transactions
[
  {
    "date": "2024-01-01",
    "formattedDate": "01 Jan 2024",
    "transactionType": "INVOICE",
    "transactionId": 123,
    "transactionTypeFormatted": "Invoice",
    "credit": 100,
    "debit": 50,
    "formattedCredit": "100.00 USD",
    "formattedDebit": "50.00 USD",
    "fcCredit": 120,
    "fcDebit": 60,
    "formattedFcCredit": "120.00 EUR",
    "formattedFcDebit": "60.00 EUR"
  }
]

Headers

Authorization
string
required

Value must be 'Bearer <token>' where <token> is an API key prefixed with 'bc_' or a JWT token.

Example:

"Bearer bc_1234567890abcdef"

organization-id
string
required

Required if Authorization is a JWT token. The organization ID to operate within.

Query Parameters

accountId
number

ID of the account to fetch transactions for

limit
number

Maximum number of transactions to return

Response

200 - application/json

The account transactions have been successfully retrieved.

date
object
required

The transaction date (ISO string or Date)

Example:

"2024-01-01"

formattedDate
string
required

The formatted transaction date

Example:

"01 Jan 2024"

transactionType
string
required

The transaction type (referenceType from model)

Example:

"INVOICE"

transactionId
number
required

The transaction id (referenceId from model)

Example:

123

transactionTypeFormatted
string
required

The formatted transaction type (translated string)

Example:

"Invoice"

credit
number
required

The credit amount

Example:

100

debit
number
required

The debit amount

Example:

50

formattedCredit
string
required

The formatted credit amount (e.g. currency formatted)

Example:

"100.00 USD"

formattedDebit
string
required

The formatted debit amount (e.g. currency formatted)

Example:

"50.00 USD"

fcCredit
number
required

The foreign currency credit (credit * exchangeRate)

Example:

120

fcDebit
number
required

The foreign currency debit (debit * exchangeRate)

Example:

60

formattedFcCredit
string
required

The formatted foreign currency credit

Example:

"120.00 EUR"

formattedFcDebit
string
required

The formatted foreign currency debit

Example:

"60.00 EUR"