Accounting Platform
Asset is a double-entry accounting platform that keeps cash and accrual books at the same time. This guide explains both ideas, because everything else in Asset, from categorizing a Transaction to reading a report, builds on them.
Double-entry accounting
In double-entry accounting, every financial event is recorded twice: once where the value came from and once where it went. In Asset, each event is a Journal Entry made of two or more Lines, and the total of the debits must always equal the total of the credits. An entry that doesn't balance is rejected.
Each Line points to a Ledger. The Ledger's type decides which side makes its balance grow:
| Ledger Type | Balance grows with a | Example |
|---|---|---|
| Assets | Debit | Bank account, Accounts Receivable |
| Expenses | Debit | Rent, Software |
| Liabilities | Credit | Loans, Accounts Payable |
| Equity | Credit | Owner's contributions |
| Revenue | Credit | Sales |
Some Ledgers are the exception. Owner's distributions, for example, grow with a debit.
How a Transaction becomes a Journal Entry
When a bank Transaction arrives, Asset records it as a Journal Entry. One Line is on the account the Transaction came from. The other is on the Ledger that explains it, which is the Transaction's category. For example, a customer pays you $500 into your checking account:
| Ledger | Debit ($) | Credit ($) |
|---|---|---|
| Checking | 500 | |
| Sales | 500 |
Until a Transaction is categorized, its other Line sits on an Uncategorized Inflow or Uncategorized Outflow Ledger, so the books always balance. Categorizing it moves that Line to the right Ledger.
Correcting the books
An entry that comes from a Transaction can't be deleted on its own. To fix it, change the Transaction, and Asset rebuilds the entry. To correct anything else, record an adjusting Journal Entry.
Cash and accrual
The two methods differ in when income and expenses are recorded:
- Accrual: when you earn or owe the money. An invoice counts as revenue the day you send it, and a bill counts as an expense the day you receive it, even if nothing has been paid yet.
- Cash: when the money actually moves. An invoice counts as revenue when the payment arrives, and a bill when you pay it.
Most accounting software makes you choose one. Asset records both, and you choose a view when you read a report.
How Asset keeps both
Every Journal Entry is tagged with the views it belongs to: accrual, cash, or both.
| Where the entry comes from | Appears in |
|---|---|
| Bank and card Transactions, transfers, opening balances, and Journal Entries you create | Both views |
| An invoice you send, or a bill you enter | Accrual only |
| A payment against an invoice or bill | One entry in each view, as shown below |
Reports and balances include the entries tagged for the view you ask for, plus the ones tagged for both. So most of your books are the same in both views. They only differ for invoices, bills and their payments.
Example: an invoice and its payment
You send a customer a $1,000 invoice on January 5, and they pay it on February 10.
| Date | View | Ledger | Debit ($) | Credit ($) |
|---|---|---|---|---|
| Jan 5 | Accrual | Accounts Receivable | 1,000 | |
| Jan 5 | Accrual | Sales | 1,000 | |
| Feb 10 | Accrual | Checking | 1,000 | |
| Feb 10 | Accrual | Accounts Receivable | 1,000 | |
| Feb 10 | Cash | Checking | 1,000 | |
| Feb 10 | Cash | Sales | 1,000 |
What each view shows:
- Accrual: $1,000 of revenue in January. The customer owes you $1,000 on the Balance Sheet from January 5 until February 10.
- Cash: $1,000 of revenue in February. There is no Accounts Receivable, because the invoice didn't count until it was paid.
Bills work the same way in reverse: an Accounts Payable entry in the accrual view, and the expense recorded at payment in the cash view. If a customer pays more than the invoice, the extra amount is kept as a customer credit.
You don't create these entries yourself. When you send an invoice or enter a bill, and when a bank Transaction is matched to it, Asset creates them. See Invoice Reconciliation.
Choosing a view
The Asset API calls the two views accrual and modified_cash. The cash view includes everything from your connected accounts plus payments recorded on the day the money moves. It leaves out invoices and bills until they're paid.
Pass basis to a report to choose a view:
curl --request GET \
--url 'https://api.sandbox.getasset.com/v0/business/b_123456/reports/profit-and-loss?basis=accrual' \
--header 'Authorization: Bearer <token>'| Endpoint | Parameter | Values | Default |
|---|---|---|---|
| Profit and Loss, Balance Sheet, Cash Flow, Trial Balance, Ledger Statement and GST/HST Summary reports | basis | accrual, modified_cash | modified_cash |
| List Journal Entries | report_basis | accrual, modified_cash, all | modified_cash |
Use all when listing Journal Entries to see every entry regardless of view. Payments then appear twice, once in each view.
The General Ledger report has no basis parameter, and lists every entry. A payment against an invoice or bill therefore appears twice.
Questions? Reach out via our Contact form.