Attributes
string
Unique identifier for the bank transaction.
string
Unique ID of the bank transaction in your system for linking purposes. Idempotency key.
string
Resource type. Value will be âBank_Transactionâ.
string
ID for the Business this transaction belongs to.
enum
The source that the bank transaction was imported from.
Values can be:
UNIT, PLAID, APIstring
Unique ID of the bank transaction in its source system. Idempotency key.
string
ID of the source account in the source system.
ISO8601 timestamp
Date the transaction occurred.
enum
The direction of the transaction relative to the source account.
Values can be:
CREDIT, DEBITinteger
The amount of the transaction in cents.
string
The name of the merchant or counterparty associated with the transaction.
string
Description of the transaction.
string
The type of bank account transaction.
Example values:
PURCHASE, BOOK, ATM, WIRE, etc.enum
The status of the transactionâs categorization in Layerâs systems.
Values can be:
PENDING, READY_FOR_INPUT, CATEGORIZED, LAYER_REVIEWCategory object
The category assigned to the transaction. Only populated for transactions that have a finalized category.
string (nullable)
Tax code applied to the transactionâs categorization. Currently only supported for businesses incorporated in Canada (
country is CA). See tax_options below for the codes valid for this transactionâs date, and Categorize a Transaction for how to set it.Tax Options object (nullable)
Tax codes available for categorizing this transaction, scoped to the businessâs country and the transactionâs date. Currently only populated for businesses incorporated in Canada (
country is CA); null otherwise.Create_Categorization_Rule_For_Counterparty object (nullable)
Optional rule suggestion returned after categorization when Layer recommends creating a reusable categorization rule. If no suggestion is available, this field is
null.See Categorization Rule Suggestions for more details.array containing SuggestedMatch objects
The suggested matches for the transaction.
See Match Bank Transaction for more details.