> ## Documentation Index
> Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# General Ledger

> General Ledger View.

The general ledger view offers a consistent UX for accessing the General Ledger.
It includes both the chart of accounts and the list of journal entries in a single experience.

![General Ledger View](https://github.com/user-attachments/assets/fe47e75b-770c-41d7-892f-3b4d39c1b1a8)

```tsx theme={null}
import { GeneralLedgerView } from '@layerfi/components'

<GeneralLedgerView
  showTags
  showCustomerVendor
  renderInAppLink={convertLinkingMetadataToLink}
  stringOverrides={{
    title: 'General Ledger',
  }}
/>
```

### Properties

<ParamField body="showTitle" type="boolean" default="true">
  Controls whether to display the title.
</ParamField>

<ParamField body="showTags" type="boolean" default="true">
  Controls whether tag columns are displayed in the Journal view.
</ParamField>

<ParamField body="showCustomerVendor" type="boolean" default="true">
  Controls whether customer/vendor columns are displayed in the Journal view.
</ParamField>

<ParamField body="renderInAppLink" type="(source: LinkingMetadata) => ReactNode">
  Custom function for rendering in-app navigation links in the Chart of Accounts and Journal views. See the [In-App Linking](/embedded-components/linking) guide for details.
</ParamField>

<ParamField body="stringOverrides" type="GeneralLedgerStringOverrides">
  <Expandable title="GeneralLedgerStringOverrides properties">
    <ParamField body="title" type="string">
      Override for the page title. Defaults to `'General Ledger'`.
    </ParamField>

    <ParamField body="chartOfAccountsToggleOption" type="string">
      Text for the chart of accounts toggle option. Defaults to `'Chart of Accounts'`.
    </ParamField>

    <ParamField body="journalToggleOption" type="string">
      Text for the journal toggle option. Defaults to `'Journal'`.
    </ParamField>

    <ParamField body="chartOfAccounts" type="ChartOfAccountsStringOverrides">
      String overrides specific to the chart of accounts component. See [Chart of Accounts](/embedded-components/components/chart-of-accounts) for available options.
    </ParamField>

    <ParamField body="journal" type="JournalStringOverrides">
      String overrides specific to the journal component. See [Journal](/embedded-components/components/journal) for available options.
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="chartOfAccountsOptions" type="ChartOfAccountsOptions">
  <Expandable title="ChartOfAccountsOptions properties">
    <ParamField body="templateAccountsEditable" type="boolean">
      Controls whether template accounts can be edited. We recommend this only be true for advanced users.
    </ParamField>

    <ParamField body="showReversalEntries" type="boolean">
      Controls visibility of reversal entries.
    </ParamField>

    <ParamField body="showAddAccountButton" type="boolean">
      Controls visibility of the add account button.
    </ParamField>
  </Expandable>
</ParamField>
