Ledger statement
How to build a ledger statement using Teal.
What is a ledger statement?
A ledger statement displays all of the line entries that have been booked to a single ledger for a given time period. It is typically viewed when a user wants to understand the contents of a particular ledger better.
While the cash flow report, income statement, and balance sheet give the overview of the entire business, the ledger statement gives the next level of detail into a single ledger.
How does Teal’s ledger statement work?
The ledger statement returns the balances at the start and end of the requested time period, as well as all of the line entries that were booked to the ledger during the time period requested.
Embedding the ledger statement
You can use the Get Ledger Statement endpoint in order to get the data required for producing a ledger statement.
Creating the ledger statement UI
In order to create a useful ledger statement interface for your users, we recommend adding three additional UI elements to your report:
- A date picker (see reports interfaces for more details)
- the ability to re-categorize the ledger of any listed line entry (using the Update Journal Entry endpoint)
- The ability to navigate to a journal entry UI for more detailed manipulation of the listed line entry and its associated journal entry.