bank_transactions

In short

Bank transactions accessible on Pennylane. This table includes basic transaction information, such as the amount, execution date, transaction state.

Query this table as pennylane.bank_transactions.

Filter key(s)

company_id

Sorting key

ClickHouse skips blocks only when the filter starts with this key, in this order. When the first column is `company_id`, put `company_id` in every query. Read a fleet one company at a time, or in batches of `company_id`. Do not run one query with no company filter. List only the columns you need. `SELECT *` reads columns you will not use.

company_id, id

Available columns

id

Int64

UNIQUE

Unique identifier of the transaction.

created_at

DateTime64(6, 'UTC')

Creation timestamp

execution_date

Date

Execution date of the transaction.

company_id

Int64

Unique ID of the company on Pennylane, referring to companies.id.

firm_group_id

Int64

FK to the firm group

company_name

String

Name of the company (denormalized via companies_dict)

account_name

String

Name of the bank account (denormalized via bank_accounts_dict)

thirdparty_name

Nullable(String)

A thirdparty represents a supplier or a customer of the company managed on Pennylane. Third parties can be both legal entities or individuals. The thirdparty_name is the name of the third party on Pennylane.

thirdparty_id

Nullable(Int64)

A thirdparty represents a supplier or a customer of the company managed on Pennylane. Third parties can be both legal entities or individuals. The thirdparty_id is the unique identifier of the third party on Pennylane, and refers to suppliers.id or customers.id depending on the type of third party.

If the bookkeeping entry is associated with a third party, thirdparty_id is its ID.
Otherwise, thirdparty_id is inherited from the document associated with the bookkeeping entry in case of 4xx (invoices) and 5xx (bank transactions) accounts.

label

String

Label of the transaction, as provided by the bank.

amount_eur

Decimal(15, 2)

Amount of the transaction in EUR.

outstanding_balance

Nullable(Decimal(15, 2))

Current amount yet to be paid for the invoice linked with this transaction.

currency

LowCardinality(String)

Currency of the transaction.

currency_amount

Decimal(17, 4)

Amount of the transaction in the currency of the transaction.

source

LowCardinality(String)

Source of the transaction.
Examples: "Fintecture", "Connectors", "Bridge", "Stripe"

is_potential_duplicate

Bool

This flag indicates if a transaction was detected as being a potential duplicate, I.E it has the same amount, same account and execution date as another transaction. In the transactions view, they are outlined when filtering on "duplicates".

type_code

String

Interbank code

type_label

Nullable(String)

Human-readable label for the interbank code

sftp_ebics_files_filename

Nullable(String)

Filename of the SFTP EBICS file. Applicable only to transactions extracted from EBICS connectors.

sftp_ebics_files_created_at

Nullable(DateTime64(6, 'UTC'))

Creation date of the SFTP EBICS file.

accountants_view_status

String

Status of the transactions as visible in the accountants' view. Warning the status may not be the same on the SME side. Status are the following:
- "Waiting details"
- "Pre-processed"
- "To be processed"
- "Processed"
- "Deleted"

proof_status

String

Proof status of the transaction. Depends on whether a proof is required for the transaction, marked as lost, and on the number of supporting documents attached Status are the following:
- "available"
- "missing" (Proof not marked as lost or optional)
- "optional"
- "lost"

grouped_at

Nullable(DateTime64(6, 'UTC'))

Timestamp when the transaction was grouped

updated_at

DateTime64(6, 'UTC')

Date and time when the bank transaction was last updated in Pennylane.

group_uuid

Nullable(UUID)

UUID grouping multiple transactions

bridge_category_id

Nullable(Int64)

Category ID from Bridge

transaction_type

LowCardinality(Nullable(String))

Type of transaction

fee

Nullable(Decimal(15, 2))

Transaction fee

currency_fee

Nullable(Decimal(15, 2))

Transaction fee in original currency

fec_pieceref

String

FEC piece reference

processing_status

LowCardinality(String)

Processing status of the transaction

external_id

Nullable(String)

External ID from the banking provider

synchronized_at

DateTime64(6, 'UTC')

Timestamp of the last time this row version was written in ClickHouse.


Back to top

Page last modified: Nov 23 2026 at 06:10 PM.