New Light partners with Amesto GlobalLight partners with Amesto Global Read the announcement

Get bank transaction

GET
https://api.light.inc/v1/bank-accounts/{bankAccountId}/bank-transactions/{bankTransactionId}

Returns a specific bank transaction by ID

Permission: bank-transactions:read (AP_CLERK, AUDITOR, COMPANY_ADMIN, CONTROLLER)

Authorization

Send one of these on every request. See Authentication for how to get credentials.

  • API key

    Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

  • Bearer token

Path parameters

  • bankAccountId string · uuidrequired

  • bankTransactionId string · uuidrequired

Response

  • id string · uuid

    Unique identifier for the bank transaction

  • bankAccountId string · uuid

    ID of the bank account this transaction belongs to

  • date string · date

    Transaction date

  • amount integer · int64

    Transaction amount in minor units (e.g. cents)

  • dcSign string

    Debit/credit sign on the bank account. D for money in, C for money out.

    ⚠️ This enum is not exhaustive; new values may be added in the future.

    One of D C

  • reconciliationStatus string

    Reconciliation status

    ⚠️ This enum is not exhaustive; new values may be added in the future.

    One of EXCLUDED MATCHED UNMATCHED

  • isDuplicated boolean

    Whether Light found this line repeats an earlier bank feed line and excluded it on import. The Light app hides such lines; filter with isDuplicated:eq:false to do the same. Lines created through the API or a file are never marked.

  • name string

    Transaction name / payee

  • memo string

    Transaction memo / description

  • reference string

    Transaction reference

  • transactionId string

    External transaction identifier for idempotency

  • createdAt string · date-time

    Timestamp when the transaction was created