Number of transactions to display per page. Controls pagination size.
boolean
default:"true"
Controls whether transaction descriptions are displayed in the transaction list.
boolean
default:"true"
Controls whether receipt upload functionality is available for transactions.
boolean
default:"false"
Controls whether tooltips are displayed to provide additional information about transactions and categorization.
boolean
default:"false"
Controls whether the customer/vendor column is displayed in the transactions table.
boolean
default:"false"
Controls whether transaction tags are displayed and can be managed in the transaction list.
boolean
default:"false"
Controls whether upload options are displayed for transactions.
boolean
default:"false"
Enables monthly view mode which changes the date filtering behavior to focus on monthly periods.
boolean
Controls whether the categorization interface is displayed. If not specified, this is automatically determined based on the business’s bookkeeping configuration.
string
default:"regularList"
Indicates whether to use dedicated mobile-oriented layout for smaller screens. Possible values are mobileList or regularList. Defaults to regularList.
function
Callback function that is called when an error occurs in the component. Receives a LayerError object as a parameter.
function
Custom function for rendering in-app navigation links. Receives LinkingMetadata as a parameter and should return a ReactNode.
object
Overrides for default strings in the component.
Show String override options
string
Component header text. Defaults to “Bank Transactions”
object
Overrides for button CTAs in the component.
Show BankTransactionTabs properties
string
Override the “Approve” button text which saves transaction categorization. Defaults to “Approve”.
string
Override for the “Update” button text which updates a transaction categorization. Defaults to “Update”.
object
Overrides for the transactions table.
Show child attributes
string
Override for the “Date” column header text. Defaults to “Date”.
string
Override for the “Transaction” column header text. Defaults to “Transaction”.
string
Override for the “Account” column header text representing the name of the source bank account. Defaults to “Account”.
string
Override for the “Amount” column header text. Defaults to “Amount”.
string
Override for the “Categorize” column header text. Shows only for uncategorized transactions. Defaults to “Categorize”.
string
Override for the “Category” column header text. Shows only for categorized transactions. Defaults to “Category”.
BankTransactionFilters object
Filters to apply to the transaction list.
Show BankTransactionFilters properties
NumericRangeFilter object
Range of amounts to filter the transaction list to.
Show NumericRangeFilter properties
number
Minimum value of transactions to list.
number
Maximum value of transactions to list.
string[]
Array of Financial Account IDs to filter to. Allows filtering by multiple accounts.
enum
Direction of transactions to filter to. Possible values are CREDIT or DEBIT.
enum
Show only unreviewed or categorized transactions. Possible values are TO_REVIEW or CATEGORIZED.
DateRange object
Date range to filter transactions to.
Show DateRange properties
ISO8601 timestamp
Start date to filter transactions to.
ISO8601 timestamp
End date to filter transactions to.
string
Search query to filter transactions by description, counterparty name, or other transaction details.
TagFilterInput object
Filter transactions by tags. Allows filtering by specific tag criteria.
boolean
default:"false"
Indicates whether to apply the global date range filter to the transaction list. If set to true, changing the date range in any Layer component will filter the transaction list to that time range as well. Defaults to false.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Layer","colors":{"primary":"#5ba183","light":"#7e9be5","dark":"#0c48e5"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/layerfi-beta/oeZ7JcW3yIMmNpWf/logo/layer_logo.svg?fit=max\u0026auto=format\u0026n=oeZ7JcW3yIMmNpWf\u0026q=85\u0026s=1e991c064d8f58795064442ecaa2f3b2","dark":"https://mintcdn.com/layerfi-beta/oeZ7JcW3yIMmNpWf/logo/layer_logo.svg?fit=max\u0026auto=format\u0026n=oeZ7JcW3yIMmNpWf\u0026q=85\u0026s=1e991c064d8f58795064442ecaa2f3b2","href":"http://layerfi.com"},"api":{"openapi":["openApiSpec.json"],"playground":{"display":"simple"},"mdx":{"server":"https://sandbox.layerfi.com","auth":{"method":"bearer","name":null}}},"appearance":{"default":"light","strict":true},"background":{"decoration":null,"color":{"light":null,"dark":"#090014"}},"navbar":{"links":[],"primary":null},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"layerfi-beta","hasAudioNarration":false,"actualSubdomain":"layerfi-beta","customDomains":["docs-beta.layerfi.com"],"gitSource":{"type":"github","owner":"layer-fi","repo":"api-documentation","deployBranch":"beta","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae94631e103a00adaf79265:success","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API Reference","count":271},{"language":"default","tag":"Financial Activity","count":178},{"language":"default","tag":"Accounts Receivable","count":62},{"language":"default","tag":"Accounts Payable","count":48},{"language":"default","tag":"Businesses","count":38},{"language":"default","tag":"Accounting Reports","count":36},{"language":"default","tag":"General Ledger","count":25},{"language":"default","tag":"Embedded Components","count":23},{"language":"default","tag":"Bank Transactions","count":19},{"language":"default","tag":"Documentation","count":17}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"embedded-components/components/bank-transactions","slug":"/embedded-components/components/bank-transactions","pageMetadata":{"title":"Bank Transactions","description":"Bank account and credit card transactions ingested into Layer","href":"/embedded-components/components/bank-transactions"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Bank account and credit card transactions ingested into Layer\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,img:`img`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The transaction categorization component displays a list of transactions that have been imported into Layer. By default, the component has two tabs:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`To Review`}),` - Transactions that need to be reviewed/categorized before they will be journaled to the general ledger.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Categorized`}),` - Transactions that have already been categorized and journaled to the general ledger.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.img,{src:`https://github.com/Layer-Fi/layer-react/assets/1592431/c1fea59b-a4c3-4d53-bfc9-9126c5ecba4a`,alt:`TransactionCategorization`})}),`\n`,_jsxs(_components.p,{children:[`Optional properties and `,_jsx(_components.code,{children:`useBankTransactionsContext`}),` give more control over the transactions list:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`tsx`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`tsx`,children:_jsxs(_components.code,{language:`tsx`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/** Using props */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`BankTransactions`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` pageSize`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` showCustomerVendor`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` showTags`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` showTooltips`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` monthlyView`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` filters`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` amount:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`min:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`max:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` query:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"coffee\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` mobileComponent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"mobileList\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` onError`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Transaction error:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`/** Using hook */`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`setFilters`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` useBankTransactionsContext`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`setFilters`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`amount:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`min:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`max:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 10000`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } })`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#4EC9B0`},children:`BankTransactions`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:` />`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`properties`,children:`Properties`}),`\n`,_jsx(ParamField,{body:`pageSize`,type:`number`,default:`20`,id:`param-page-size`,children:_jsx(_components.p,{children:`Number of transactions to display per page. Controls pagination size.`})}),`\n`,_jsx(ParamField,{body:`showDescriptions`,type:`boolean`,default:`true`,id:`param-show-descriptions`,children:_jsx(_components.p,{children:`Controls whether transaction descriptions are displayed in the transaction list.`})}),`\n`,_jsx(ParamField,{body:`showReceiptUploads`,type:`boolean`,default:`true`,id:`param-show-receipt-uploads`,children:_jsx(_components.p,{children:`Controls whether receipt upload functionality is available for transactions.`})}),`\n`,_jsx(ParamField,{body:`showTooltips`,type:`boolean`,default:`false`,id:`param-show-tooltips`,children:_jsx(_components.p,{children:`Controls whether tooltips are displayed to provide additional information about transactions and categorization.`})}),`\n`,_jsx(ParamField,{body:`showCustomerVendor`,type:`boolean`,default:`false`,id:`param-show-customer-vendor`,children:_jsx(_components.p,{children:`Controls whether the customer/vendor column is displayed in the transactions table.`})}),`\n`,_jsx(ParamField,{body:`showTags`,type:`boolean`,default:`false`,id:`param-show-tags`,children:_jsx(_components.p,{children:`Controls whether transaction tags are displayed and can be managed in the transaction list.`})}),`\n`,_jsx(ParamField,{body:`showUploadOptions`,type:`boolean`,default:`false`,id:`param-show-upload-options`,children:_jsx(_components.p,{children:`Controls whether upload options are displayed for transactions.`})}),`\n`,_jsx(ParamField,{body:`monthlyView`,type:`boolean`,default:`false`,id:`param-monthly-view`,children:_jsx(_components.p,{children:`Enables monthly view mode which changes the date filtering behavior to focus on monthly periods.`})}),`\n`,_jsx(ParamField,{body:`categorizeView`,type:`boolean`,id:`param-categorize-view`,children:_jsx(_components.p,{children:`Controls whether the categorization interface is displayed. If not specified, this is automatically determined based on the business’s bookkeeping configuration.`})}),`\n`,_jsx(ParamField,{body:`mobileComponent`,type:`string`,default:`regularList`,id:`param-mobile-component`,children:_jsxs(_components.p,{children:[`Indicates whether to use dedicated mobile-oriented layout for smaller screens. Possible values are `,_jsx(_components.code,{children:`mobileList`}),` or `,_jsx(_components.code,{children:`regularList`}),`. Defaults to `,_jsx(_components.code,{children:`regularList`}),`.`]})}),`\n`,_jsx(ParamField,{body:`onError`,type:`function`,id:`param-on-error`,children:_jsx(_components.p,{children:`Callback function that is called when an error occurs in the component. Receives a LayerError object as a parameter.`})}),`\n`,_jsx(ParamField,{body:`renderInAppLink`,type:`function`,id:`param-render-in-app-link`,children:_jsx(_components.p,{children:`Custom function for rendering in-app navigation links. Receives LinkingMetadata as a parameter and should return a ReactNode.`})}),`\n`,_jsxs(ParamField,{body:`stringOverrides`,type:`object`,id:`param-string-overrides`,children:[_jsx(_components.p,{children:`Overrides for default strings in the component.`}),_jsxs(Expandable,{title:`String override options`,children:[_jsx(ParamField,{body:`bankTransactionHeader`,type:`string`,id:`param-bank-transaction-header`,children:_jsx(_components.p,{children:`Component header text. Defaults to “Bank Transactions”`})}),_jsxs(ParamField,{body:`bankTransactionCTAs`,type:`object`,id:`param-bank-transaction-ctas`,children:[_jsx(_components.p,{children:`Overrides for button CTAs in the component.`}),_jsxs(Expandable,{title:`BankTransactionTabs properties`,children:[_jsx(ParamField,{body:`approveButtonText`,type:`string`,id:`param-approve-button-text`,children:_jsx(_components.p,{children:`Override the “Approve” button text which saves transaction categorization. Defaults to “Approve”.`})}),_jsx(ParamField,{body:`updateButtonText`,type:`string`,id:`param-update-button-text`,children:_jsx(_components.p,{children:`Override for the “Update” button text which updates a transaction categorization. Defaults to “Update”.`})})]})]}),_jsxs(ParamField,{body:`transactionsTable`,type:`object`,id:`param-transactions-table`,children:[_jsx(_components.p,{children:`Overrides for the transactions table.`}),_jsxs(Expandable,{children:[_jsx(ParamField,{body:`dateColumnHeaderText`,type:`string`,id:`param-date-column-header-text`,children:_jsx(_components.p,{children:`Override for the “Date” column header text. Defaults to “Date”.`})}),_jsx(ParamField,{body:`transactionColumnHeaderText`,type:`string`,id:`param-transaction-column-header-text`,children:_jsx(_components.p,{children:`Override for the “Transaction” column header text. Defaults to “Transaction”.`})}),_jsx(ParamField,{body:`accountColumnHeaderText`,type:`string`,id:`param-account-column-header-text`,children:_jsx(_components.p,{children:`Override for the “Account” column header text representing the name of the source bank account. Defaults to “Account”.`})}),_jsx(ParamField,{body:`amountColumnHeaderText`,type:`string`,id:`param-amount-column-header-text`,children:_jsx(_components.p,{children:`Override for the “Amount” column header text. Defaults to “Amount”.`})}),_jsx(ParamField,{body:`categorizeColumnHeaderText`,type:`string`,id:`param-categorize-column-header-text`,children:_jsx(_components.p,{children:`Override for the “Categorize” column header text. Shows only for uncategorized transactions. Defaults to “Categorize”.`})}),_jsx(ParamField,{body:`categoryColumnHeaderText`,type:`string`,id:`param-category-column-header-text`,children:_jsx(_components.p,{children:`Override for the “Category” column header text. Shows only for categorized transactions. Defaults to “Category”.`})})]})]})]})]}),`\n`,_jsxs(ParamField,{body:`filters`,type:`BankTransactionFilters object`,id:`param-filters`,children:[_jsx(_components.p,{children:`Filters to apply to the transaction list.`}),_jsxs(Expandable,{title:`BankTransactionFilters properties`,children:[_jsxs(ParamField,{body:`amount`,type:`NumericRangeFilter object`,id:`param-amount`,children:[_jsx(_components.p,{children:`Range of amounts to filter the transaction list to.`}),_jsxs(Expandable,{title:`NumericRangeFilter properties`,children:[_jsx(ParamField,{body:`min`,type:`number`,id:`param-min`,children:_jsx(_components.p,{children:`Minimum value of transactions to list.`})}),_jsx(ParamField,{body:`max`,type:`number`,id:`param-max`,children:_jsx(_components.p,{children:`Maximum value of transactions to list.`})})]})]}),_jsx(ParamField,{body:`account`,type:`string[]`,id:`param-account`,children:_jsx(_components.p,{children:`Array of Financial Account IDs to filter to. Allows filtering by multiple accounts.`})}),_jsx(ParamField,{body:`direction`,type:`enum`,id:`param-direction`,children:_jsxs(_components.p,{children:[`Direction of transactions to filter to. Possible values are `,_jsx(_components.code,{children:`CREDIT`}),` or `,_jsx(_components.code,{children:`DEBIT`}),`.`]})}),_jsx(ParamField,{body:`categorizationStatus`,type:`enum`,id:`param-categorization-status`,children:_jsxs(_components.p,{children:[`Show only unreviewed or categorized transactions. Possible values are `,_jsx(_components.code,{children:`TO_REVIEW`}),` or `,_jsx(_components.code,{children:`CATEGORIZED`}),`.`]})}),_jsxs(ParamField,{body:`dateRange`,type:`DateRange object`,id:`param-date-range`,children:[_jsx(_components.p,{children:`Date range to filter transactions to.`}),_jsxs(Expandable,{title:`DateRange properties`,children:[_jsx(ParamField,{body:`startDate`,type:`ISO8601 timestamp`,id:`param-start-date`,children:_jsx(_components.p,{children:`Start date to filter transactions to.`})}),_jsx(ParamField,{body:`endDate`,type:`ISO8601 timestamp`,id:`param-end-date`,children:_jsx(_components.p,{children:`End date to filter transactions to.`})})]})]}),_jsx(ParamField,{body:`query`,type:`string`,id:`param-query`,children:_jsx(_components.p,{children:`Search query to filter transactions by description, counterparty name, or other transaction details.`})}),_jsx(ParamField,{body:`tagFilter`,type:`TagFilterInput object`,id:`param-tag-filter`,children:_jsx(_components.p,{children:`Filter transactions by tags. Allows filtering by specific tag criteria.`})})]})]}),`\n`,_jsx(ParamField,{body:`applyGlobalDateRange`,type:`boolean`,default:`false`,id:`param-apply-global-date-range`,children:_jsxs(_components.p,{children:[`Indicates whether to apply the global date range filter to the transaction list. If set to true, changing the date range in any Layer component will filter the transaction list to that time range as well. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Bank Transactions","description":"Bank account and credit card transactions ingested into Layer","href":"/embedded-components/components/bank-transactions"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Properties","slug":"properties","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/layerfi-beta/8742a05bb8f14e85/scripts/validate-mint-links.js"],"subdomain":"layerfi-beta","siteName":"Layer","title":"Bank Transactions - Layer","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"embedded-components/components/bank-transactions.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Bank account and credit card transactions ingested into Layer\">\u003cmeta data-mint-head name=\"application-name\" content=\"Layer\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Bank Transactions - Layer\">\u003cmeta data-mint-head property=\"og:description\" content=\"Bank account and credit card transactions ingested into Layer\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Layer\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://layerfi-beta.mintlify.site/_mintlify/api/og/v2?division=Components\u0026amp;title=Bank+Transactions\u0026amp;description=Bank+account+and+credit+card+transactions+ingested+into+Layer\u0026amp;theme=773e674d0b0b7822dd4b83f7\u0026amp;signature=4c10f0d03d6cbf4ae9aa5b69237e894cfcc1f62660f6d1df3a75a2369ff594b9\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Bank Transactions - Layer\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Bank account and credit card transactions ingested into Layer\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://layerfi-beta.mintlify.site/_mintlify/api/og/v2?division=Components\u0026amp;title=Bank+Transactions\u0026amp;description=Bank+account+and+credit+card+transactions+ingested+into+Layer\u0026amp;theme=773e674d0b0b7822dd4b83f7\u0026amp;signature=4c10f0d03d6cbf4ae9aa5b69237e894cfcc1f62660f6d1df3a75a2369ff594b9\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/layerfi-beta/s73BE7atw0aQEpA2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Layer\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5ba183\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/embedded-components/components/bank-transactions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs-beta.layerfi.com/#organization\",\"name\":\"Layer\",\"url\":\"https://docs-beta.layerfi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/layerfi-beta/oeZ7JcW3yIMmNpWf/logo/layer_logo.svg?fit=max\u0026auto=format\u0026n=oeZ7JcW3yIMmNpWf\u0026q=85\u0026s=1e991c064d8f58795064442ecaa2f3b2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs-beta.layerfi.com#website\",\"name\":\"Layer\",\"url\":\"https://docs-beta.layerfi.com\",\"publisher\":{\"@id\":\"https://docs-beta.layerfi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions#webpage\",\"url\":\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions\",\"name\":\"Bank Transactions\",\"description\":\"Bank account and credit card transactions ingested into Layer\",\"isPartOf\":{\"@id\":\"https://docs-beta.layerfi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Components\",\"item\":\"https://docs-beta.layerfi.com/embedded-components/components/link-accounts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bank Transactions\",\"item\":\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions#article\",\"headline\":\"Bank Transactions\",\"name\":\"Bank Transactions\",\"description\":\"Bank account and credit card transactions ingested into Layer\",\"url\":\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions\",\"mainEntityOfPage\":{\"@id\":\"https://docs-beta.layerfi.com/embedded-components/components/bank-transactions#webpage\"},\"publisher\":{\"@id\":\"https://docs-beta.layerfi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs-beta.layerfi.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Layer\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Layer\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/embedded-components/components/bank-transactions.md","siteName":"Layer","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/v1/list-businesses"}]},{"tab":"Embedded Components","groups":[{"group":"Overview","pages":[{"title":"LayerProvider context","href":"/embedded-components/layerprovider-context"},{"title":"Styling","href":"/embedded-components/styling"},{"title":"Detecting errors","href":"/embedded-components/callbacks"},{"title":"In-App Linking","href":"/embedded-components/linking"}]},{"group":"Components","pages":[{"title":"Link Accounts (Onboarding)","href":"/embedded-components/components/link-accounts"},{"title":"Linked accounts","description":"Bank accounts and credit cards connected to Layer","href":"/embedded-components/components/linked-accounts"},{"title":"Bank Transactions","href":"/embedded-components/components/bank-transactions"},{"group":"Profit and Loss","pages":[{"title":"Chart","description":"Chart of revenue, expenses, and profit for the last 12 months.","href":"/embedded-components/components/pnl-chart"},{"title":"P\u0026L Breakdown Charts","href":"/embedded-components/components/pnl-breakdown-charts"},{"title":"Summary Cards","href":"/embedded-components/components/pnl-cards"},{"title":"Report","href":"/embedded-components/components/pnl-table"}]},{"title":"Balance Sheet","href":"/embedded-components/components/balance-sheet"},{"title":"Cash Flow Statement","href":"/embedded-components/components/cash-flow-statement"},{"title":"Chart of Accounts","href":"/embedded-components/components/chart-of-accounts"},{"title":"Journal","href":"/embedded-components/components/journal"},{"title":"Tasks","href":"/embedded-components/components/tasks"},{"title":"Integrations","href":"/embedded-components/components/integrations"},{"title":"Invoices","href":"/embedded-components/components/invoices"}]},{"group":"Layouts","pages":[{"title":"Accounting Overview","href":"/embedded-components/pages/accounting-overview"},{"title":"Bookkeeping Overview","href":"/embedded-components/pages/bookkeeping-overview"},{"title":"Bank Accounts and Transactions","href":"/embedded-components/pages/bank-transactions-with-linked-accounts"},{"title":"Reports","href":"/embedded-components/pages/reports"},{"title":"General Ledger","href":"/embedded-components/pages/general-ledger-view"}]}]}]},"basePath":"","title":"Bank Transactions - Layer","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BA_UUN68.js","lightbox-handle-r17bVUz3.js"]}