Cost of goods and expenses
Summary
Cost of goods is taken from the oldest purchase layer when an item is sold. The expense screen total is the voucher total. Income-statement expense is the posted expense accounts. Do not add those two figures.
When to use it
When you read a margin, the income statement, or the expense statement. A purchase invoice and a supplier payment are not expenses.
Steps
- Stay on the branch. On a sale, stock is taken from the oldest layer first. The line cost is the quantity times that layer's cost, then the invoice lines are added.
- If the layers run out, the remainder uses the item-card cost and is stored as an adjustment layer. A return reverses the cost journal. It is not a negative row on the consumption list.
- The journal is dated with the invoice: debit the mapped cost account, credit the inventory account. Period cost in the ledger is debit minus credit on that account for posted journals.
- Financial statements → قائمة الدخل (Income statement). The cost group is the mapped account. A mapping on a group account shows the child the journal posts to. Other expense accounts stay in operating expenses.
- Expenses → عرض المصروفات (View expenses) or كشف المصروفات (Expense statement). That total is voucher amounts by expense date. A purchase invoice, a supplier payment, an accrued expense, and asset depreciation are outside it.
- A normal voucher debits the group account or operating expenses and credits cash or bank for the same amount. A paid salary is read from the payslip. Do not add the expense voucher again on top of the payroll journal.
Common mistakes
- Multiplying sold quantity by the item-card cost after a layer was already consumed.
- Treating a purchase invoice or a supplier payment as an expense.
- Adding the voucher total to income-statement expenses.
- Reading cost of goods from any expense account instead of the account mapped in the ledger settings.
Notes
- Success: invoice margin uses the consumed cost, and the expense screen matches vouchers rather than the income statement.
- Example: two units sold from a layer that cost 40. Cost of goods is 80. It appears on the income statement under the mapped account, and it is not added to a rent voucher.
Screens
- Income statement
- View expenses
- Expense statement