Accounting
The chart of accounts, journal entries, expenses and bank transactions. A bill is a payable Invoice in the Billing pack.
Packs are versioned with the standard, currently 0.7.4. Each model below has its own version.
Models
| Model | Version | Description |
|---|
| Account | v1 | One line of the chart of accounts: a bank account, receivables, sales, rent, and so on, in one of the five classes of bookkeeping. |
| Bank transaction | v1 | One line of a bank or card statement, as the bank reported it: the date, the amount, which way the money moved, and what the bank called it. |
| Expense | v1 | Money already spent: a card purchase, a cash payment, something a person paid out of pocket. |
| Journal entry | v1 | A dated set of debits and credits to Accounts that add up to the same amount: the unit the ledger is made of. |
Extensions
Fields this pack adds to other models.
| Extension | Type | Notes |
|---|
ext.accounting.currency | string | The ISO 4217 currency an Account is held in, when it is not the reporting currency of the books: a euro bank account in books kept in dollars. |
| Extension | Type | Notes |
|---|
ext.accounting.approval_status | enum(pending|approved|rejected) | Where an Expense stands in an approval process, when the business has one. |
ext.accounting.exchange_rate | decimal | The rate from the currency paid in to the reporting currency of the books on the expense date, as a decimal string. |
ext.accounting.merchant | string | The merchant name as it appears on the card statement or receipt, when no Organization exists for the supplier. |
| Extension | Type | Notes |
|---|
ext.accounting.approval_status | enum(pending|approved|rejected) | Where a payable Invoice stands in an approval process before it may be paid, when the business has one. |
| Extension | Type | Notes |
|---|
ext.accounting.exchange_rate | decimal | The rate from the entry's currency to the reporting currency of the books on its date, as a decimal string. |
ext.accounting.reverses | string | The id of the JournalEntry this entry reverses. |
| Extension | Type | Notes |
|---|
ext.accounting.expense_account | string | The id of the Account that purchases of this Product are booked to by default. |
ext.accounting.income_account | string | The id of the Account that sales of this Product are booked to by default. |
ext.accounting.purchase_cost | Money | What one unit of this Product costs to buy or make. |