|
Download accounting/journal-errors.md from swedishembedded/knowledge: direct link, hf CLI and curl.
- Browser
- Download file 4.33 kB
-
https://huggingface.co/swedishembedded/knowledge/resolve/main/accounting/journal-errors.md
- Command line
-
hf download hf://swedishembedded/knowledge/accounting/journal-errors.md
-
curl -L -o journal-errors.md https://huggingface.co/swedishembedded/knowledge/resolve/main/accounting/journal-errors.md
4.33 kB
| # SPDX-License-Identifier: CC-BY-4.0 | |
| # Copyright (c) 2026 Martin Schröder <info@swedishembedded.com> | |
| title: Journal errors and the trial balance | |
| tiers: rule 1, procedure 2, example 3, mistakes 2 | |
| # Journal errors and the trial balance | |
| For tasks that give a journal, the source documents behind it and a chart of accounts, and ask | |
| which entries are faulty and what the trial balance should be. | |
| <!-- tier: 1 --> | |
| ## Rule | |
| **The task's own files and stated rules always win over this page; use this page only for what | |
| the task leaves open.** | |
| 1. **Double entry:** every transaction is posted as equal debits and credits. So all debits of a | |
| journal equal all credits, and the net balances of all accounts sum to zero. | |
| 2. **The source document is the truth.** It says the amount, the account to debit and the | |
| account to credit. The journal is checked against it, not the other way round. | |
| 3. **Each document is posted exactly once.** | |
| 4. **Kinds of fault, each found by a different comparison:** | |
| - *transposition*: a posted amount is the document's amount with two neighbouring digits | |
| swapped (the difference is divisible by 9); | |
| - *missing line*: only one side (debit or credit) was posted; | |
| - *duplicate*: one document appears as two postings; the later entry is the faulty one; | |
| - *wrong account*: a line went to an account other than the one the document names. | |
| 5. **The corrected trial balance is what the documents say.** Net balance of an account = its | |
| debits minus its credits; a credit balance is negative. Leave out accounts that net to zero | |
| if the request says so. | |
| <!-- tier: 2 --> | |
| ## Procedure | |
| 1. Read the documents: for each, amount, debit account, credit account. | |
| 2. Read the journal and group its lines by the document they refer to, and within that by entry. | |
| 3. For each document, compare in this order: | |
| - how many entries refer to it (two entries: the later one is a duplicate); | |
| - whether the entry has both a debit line and a credit line (one side only: missing line); | |
| - whether the accounts are the document's accounts (otherwise: wrong account); | |
| - whether each amount equals the document's amount (digits swapped: transposition). | |
| 4. Do every comparison in a script, for every document. Do not stop at the first kind you find; | |
| a journal can hold several kinds. | |
| 5. Report each faulty entry once, with its kind. | |
| 6. Build the corrected trial balance **from the documents**: for each document add its amount to | |
| the debit account and subtract it from the credit account. | |
| 7. Check: the balances sum to exactly zero; every reported entry id exists in the journal. | |
| <!-- tier: 3 --> | |
| ## Worked example | |
| Illustration only, with invented data. Your task's data differs: take no fact, count or | |
| expected result from this example. | |
| Invented documents and journal. | |
| | Document | Amount | Debit | Credit | | |
| |---|---|---|---| | |
| | D1 | 250.00 | Rent | Bank | | |
| | D2 | 480.00 | Bank | Sales | | |
| | D3 | 75.00 | Supplies | Payables | | |
| | D4 | 120.00 | Bank | Receivables | | |
| | Entry | Lines | Document | | |
| |---|---|---| | |
| | E1 | Rent debit 250.00; Bank credit 250.00 | D1 | | |
| | E2 | Bank debit 840.00; Sales credit 840.00 | D2 | | |
| | E3 | Supplies debit 75.00 | D3 | | |
| | E4 | Bank debit 120.00; Receivables credit 120.00 | D4 | | |
| | E5 | Bank debit 120.00; Receivables credit 120.00 | D4 | | |
| Findings: E2 transposition (840 against 480; difference 360 = 9 x 40). E3 missing line (no | |
| credit). E5 duplicate (D4 posted twice; E5 is the later). | |
| Corrected trial balance from the documents: | |
| Bank = -250.00 + 480.00 + 120.00 = 350.00; Rent 250.00; Supplies 75.00; Sales -480.00; | |
| Payables -75.00; Receivables -120.00. Sum: 350 + 250 + 75 - 480 - 75 - 120 = 0. | |
| Note that E2 balances in itself (debit equals credit). A balanced journal can still be wrong; | |
| only the comparison with the document shows it. | |
| <!-- tier: 2 --> | |
| ## Common mistakes | |
| - Finding the duplicates and stopping, so that transpositions, missing lines and wrong accounts | |
| are never looked for. | |
| - Comparing only totals. Compare each entry with its document. | |
| - Building the trial balance from the faulty journal instead of from the documents. | |
| - Reporting the first entry of a duplicate pair instead of the later. | |
| - Writing a credit balance as a positive number. | |
| - Adding an extra field (a suggested correction) that the answer shape does not have. | |