Skip to content

Expense

Money already spent: a card purchase, a cash payment, something a person paid out of pocket. What it was for, split across Accounts, with the receipt. A bill to be paid later is a payable Invoice.

PackAccounting
Versionv1 (latest)
URNurn:postware:accounting:expense
Identityidentifiers

Fields

FieldTypeReqNotes
datedateyes
kindenum(expense|refund)yesdefault expense
supplierRef<Organization | Person>no
descriptiontextno
referencestringnothe receipt or slip number
paid_fromRef<Account>nothe bank
incurred_byRef<Person | Member>nowho made the purchase
reimbursableboolnotrue when incurred_by paid personally and is owed the money back
tax_inclusiveboolnowhether lines.amount includes tax; a receipt usually does; default true
linesobject[]yes{account?: Ref<Account>, description?: string, amount: Money, tax_rate?: Ref<Tax rate>, tax_amount?: Money, billable?: bool, customer?: Ref<Customer>, project?: Ref<Project>}
tax_totalMoneyno
totalMoneyyeswhat was paid

Extensions

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.