Skip to content

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

ModelVersionDescription
Accountv1One line of the chart of accounts: a bank account, receivables, sales, rent, and so on, in one of the five classes of bookkeeping.
Bank transactionv1One 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.
Expensev1Money already spent: a card purchase, a cash payment, something a person paid out of pocket.
Journal entryv1A 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.

Account

ExtensionTypeNotes
ext.accounting.currencystringThe 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.

Expense

ExtensionTypeNotes
ext.accounting.approval_statusenum(pending|approved|rejected)Where an Expense stands in an approval process, when the business has one.
ext.accounting.exchange_ratedecimalThe rate from the currency paid in to the reporting currency of the books on the expense date, as a decimal string.
ext.accounting.merchantstringThe merchant name as it appears on the card statement or receipt, when no Organization exists for the supplier.

Invoice

ExtensionTypeNotes
ext.accounting.approval_statusenum(pending|approved|rejected)Where a payable Invoice stands in an approval process before it may be paid, when the business has one.

Journal entry

ExtensionTypeNotes
ext.accounting.exchange_ratedecimalThe rate from the entry's currency to the reporting currency of the books on its date, as a decimal string.
ext.accounting.reversesstringThe id of the JournalEntry this entry reverses.

Product

ExtensionTypeNotes
ext.accounting.expense_accountstringThe id of the Account that purchases of this Product are booked to by default.
ext.accounting.income_accountstringThe id of the Account that sales of this Product are booked to by default.
ext.accounting.purchase_costMoneyWhat one unit of this Product costs to buy or make.