Before following this guide, complete the steps in Initial Setup.
1
Create an Instance
- Select a chart of accounts
- Create the Instance
- Use the
coa_template_idthat you copied from the previous step. - Set your
entries_startdate to2024-01-01T00:00:00Z. This date indicates the beginning of the business’ activity, or the migration date from another accounting system. - Set your
subscriptiontotier3. More on subscription tiers can be found here
Example request:
Example request:
2
Import transactions
- Create a ledger
financial_account_type to bank_account.Example request:
Example request:
- Create a source account
ledger_id.Example request:
Example request:
- Manually import transactions
amount in a 2 decimal float, a datetime of when the transaction occurred, a description telling us about the transaction, and an id to prevent duplicate transactions.We encourage you to prepare and submit a diverse set of banking transactions so that you can see Teal in action.Example request:
Example request:
3
Generate a cash flow report
Call the Get Cash Flow Report and select a
start_date and an end_date.Example request:
Example request:
Interpreting the cash flow report
The cash flow report will analyze all cash-bearing ledgers that have thereport_cash_flow parameter. Here’s how to interpret the report object:
- The
cash-flow-reportendpoint will returnstarting_debit_balanceandending_debit_balance. These are the total amounts of cash the business had across all financial account ledgers marked with thereport_cash_flowparameter, on the report’sstart_dateandend_date, respectively. - The
starting_balancesandending_balancesobjects will break downstarting_debit_balanceandending_debit_balanceby financial account ledger. - The
cash_flow_ledgersobject contains the ledgers that contributed to changing the total cash balance over the reporting period and by how much. It also reports on the individual line items and journal entries that contributed to the change, if you want to provide the ability to provide further detail to the user. - The changes reported by the
cash_flow_ledgersobject will equal exactly the difference between thestarting_debit_balanceandending_debit_balanceamounts. - For more information on how to present this report to the end user in your front-end, check out our cash flow report guide.