PTA-GLOSSARY(7) | Miscellaneous Information Manual | PTA-GLOSSARY(7) |
pta-glossary
—
fundamental terms used for plain text accounting
The following terms are fundamental to understanding pta(1) and are used consistently throughout the documentation:
Account entries are used to describe all sorts of values (assets, liabilities, and equity) and payments (both incoming and outgoing). They can represent anything that has a well-defined monetary value.
Define such accounts as are meaningful for the purpose of the specific bookkeeping in question. Many standardized systems of accounts exist; using one of them may help clarity and consistency, but it is not required. Even when using a standardized system of accounts, it is typically sufficient to define and use only a small subset of the accounts specified by the standard.
The meaning of the sign certainly needs getting used to:
account class | meaning of the sign |
assets | property owned has negative sign |
equity | property owned has positive sign |
liabilities | debt owed has positive sign |
revenues | incoming payments have positive sign |
expenses | outgoing payments have negative sign |
Accounts are defined in
pta-accounts(5)
and the content of accounts can be displayed with
pta(1)
-a
.
Creating a journal entry implicitly creates a corresponding account entry on the debit account, inverting the sign of the amount, and another corresponding account entry on the credit account, with the amount having the same sign as in the journal entry. Consequently, creating a journal entry always leaves the sum of all accounts constant, and since that sum starts at zero, it always remains zero.
Complex business transactions — for example purchases including sales tax or buying items of diverse kinds in a single transaction — are typically represented using multiple journal entries.
The format of the journal file is documented in pta-journal(5).
While accounts need to be predefined in the file accounts.txt before they can be used in the journal, an important advantage of subaccounts is that they can be used spontaneously. As soon as at least one account entry is associated with a subaccount, that subaccount exists.
An account entry can either be part of exactly one subaccount, or it can be outside all subaccounts. For example, a shipment containing both apples and oranges should probably be split into two entries, such that each entry can be associated with the appropriate subaccount. On the other hand, a surprise shipment of martian lichen leaves the choice of either booking it without specifying any subaccount, for example because such exotic merchandise is not expected to arrive again, or of creating a subaccount for martian lichen on the spot.
The content of subaccounts can be displayed with
pta(1)
-s
.
Cost centers are also used to manage financial investments. Create one cost center for each security, and book all related transactions to that cost center, including purchases, sells, payments of interest or dividend, surcharges, fees, and taxes. This allows tracking the performance of each security individually.
Account lists and balance sheets for cost centers can be
displayed with pta(1)
-c
, and profits and losses can be shown with
pta(1)
-p
.
Ingo Schwarze <schwarze@openbsd.org>
September 27, 2020 | OpenBSD 6.7 |