Journal Entry Generator
Select the transaction type and enter its amounts to get the entry with its debit and credit sides, the classification of every account and its effect on the financial statements, with VAT and GOSI handled to Saudi rules.
Accounting journal entries are the first step in the accounting cycle, and any mistake in a journal entry carries straight through to the trial balance and the financial statements. The practical problem is repetition: an accountant records the same transactions every month, so a single omitted credit line or forgotten VAT line throws the entry out of balance and burns time hunting for the difference.
This generator builds the entry for you. Pick the transaction type, enter the amounts, and you get both sides of the entry with the classification of every account and its effect on the financial statements, a suggested description, and a copy or download ready to use. It covers the Saudi treatment specifically: VAT across its supply types, GOSI with both the employee and employer share, withholding tax, and the reverse charge on imported services.
How to use the journal entry generator
Five steps, and every change updates the entry instantly with no button to press:
- Document details: the entry date and its number or reference. Both appear in the entry and in every copy you export, because an entry with no date and no reference is fit for neither posting nor audit.
- Transaction type: a list grouped into sales, purchases, inventory, expenses and adjustments, fixed assets, payroll and GOSI, taxes, banking and loans, equity, closing entries, and a manual entry.
- Amounts and rates: the fields change with the transaction selected, so you only ever see the fields that transaction actually needs.
- VAT treatment: you state whether the amount you entered includes VAT or excludes it, or whether the supply is exempt or zero-rated. That one choice changes how the amount is split across the lines.
- Account names: an optional group you open to rename accounts to match your own chart of accounts. The accounting classification of each line stays correct after you rename it.
Reading the output
The output is not a single number, it is a complete entry, and every column does a job:
- Account: the account the transaction affects.
- Classification and effect: the account type (asset, liability, equity, revenue, expense, or a contra account) and the financial statement it appears in. This column is the difference between copying a ready entry and understanding why it looks that way.
- Debit and credit: the amount on each side, with consistent decimals.
- Line note: why that specific line exists inside the entry.
- Balance badge: confirms total debits equal total credits. If you use the manual entry and enter two unequal sides, the badge surfaces the difference by amount instead of hiding it.
- Suggested description: a ready narration explaining the transaction and its amounts.
- Export: copy as text, copy as a table that pastes into a spreadsheet with its columns intact, or download a CSV. Printing produces a clean one-page journal voucher carrying the Qoyod logo, the entry date and reference, the table, the description and three lines for prepared, reviewed and approved, with none of the page furniture around it.
What a journal entry is
A journal entry is the unit of accounting journal entries and the first record of a financial transaction in the books. It rests on double entry accounting: every transaction affects at least two accounts by an equal amount. The debit side is written first, then the credit side. Total debits in any correct entry always equal total credits, and that is what keeps the trial balance in balance at period end.
Debit or credit: which side an account takes
The rule depends on the account type, and this table is what the generator applies to every transaction:
| Account type | Debited when | Credited when | Statement |
|---|---|---|---|
| Assets | They increase | They decrease | Financial position |
| Liabilities | They decrease | They increase | Financial position |
| Equity | It decreases | It increases | Financial position |
| Revenue | It decreases or is closed | It is earned | Income |
| Expenses | They are incurred | They decrease or are closed | Income |
Sales and purchase journal entries with VAT
The standard VAT rate in Saudi Arabia is 15%. Some supplies are zero-rated, such as exports outside the GCC, and others are exempt, such as residential property rent. The difference between zero-rated and exempt is not cosmetic: zero-rated supplies are reported in the return and preserve the right to deduct input VAT, exempt supplies do not.
Credit sales of SAR 10,000 excluding VAT:
| Account | Debit | Credit |
|---|---|---|
| Accounts receivable | 11,500.00 | |
| Sales | 10,000.00 | |
| Output VAT | 1,500.00 |
Enter 11,500 instead and choose that the amount includes VAT, and the generator splits it back into 10,000 of value and 1,500 of tax, reaching the same result. That option matters because many invoices arrive at their gross amount.
On the purchases side the direction reverses: the purchase value and input VAT are debited, and the supplier or cash account is credited. Here the generator asks which inventory system you use, because the answer changes both the account and its classification: under periodic inventory the value goes to a Purchases account, an expense in the income statement, while under perpetual inventory it is charged to Inventory, an asset in the statement of financial position. Returns follow the same logic, reducing a purchase returns account under periodic and reducing inventory under perpetual. Sales and purchase returns also reverse the VAT and require a credit note for the other party. You can use the VAT calculator to separate value from tax before entering the transaction.
The payroll journal entry with GOSI
The payroll entry is the one most often recorded wrongly, because most people reduce it to two lines: salaries expense debited and salaries payable credited. The correct entry in Saudi Arabia separates three things: gross wages, the employee GOSI share deducted from them, and the employer share the establishment bears itself.
The rule the generator applies: the liability account carries both the employee and the employer share, while the expense account carries the employer share only. On gross wages of SAR 20,000, a contributory wage of SAR 20,000, an employee share of 11.75%, an employer share of 13.75% and other deductions of SAR 500:
| Account | Debit | Credit |
|---|---|---|
| Salaries and wages expense | 20,000.00 | |
| GOSI expense | 2,750.00 | |
| GOSI payable | 5,100.00 | |
| Employee advances and deductions | 500.00 | |
| Salaries and wages payable | 17,150.00 |
Contribution rates vary by the member’s nationality and enrollment date, a phased increase applies to new members in the pensions branch, and non-Saudis are covered by the occupational hazards branch alone, which the employer bears in full. That is why the generator offers a category list that prefills the rates as a starting point and leaves both fields editable so you can enter your establishment’s actual rate.
The depreciation journal entry
The generator computes depreciation on a straight-line basis: asset cost less salvage value, divided by useful life, and you can produce the entry annually or monthly. The entry itself is simple: depreciation expense is debited and accumulated depreciation is credited. Accumulated depreciation is a contra asset, so it appears in the statement of financial position reducing the carrying amount of the asset rather than standing on its own.
The generator also flags a distinction many people miss: this is book depreciation. Tax depreciation in the Kingdom is computed on a pooled-group basis under Article 17 of the Income Tax Law and may differ from the book figure in the same year.
Reverse charge and withholding tax
When you buy a service from a supplier outside the Kingdom, responsibility for accounting for VAT shifts to the buyer under what is known as the reverse charge. The entry records the tax as both a debit and a credit of the same amount, so the net liability does not change but the VAT return reflects the transaction properly.
Withholding tax is a different matter entirely. It applies to payments to non-residents for services performed in or connected to the Kingdom, at statutory rates of 5% on rent, services performed inside the Kingdom and dividends, 15% on royalties and technical and management service fees, and 20% on other payments. The Saudi payer withholds it from what is due to the supplier and remits it to the Authority within ten days of the end of the month following payment, and a double taxation treaty may reduce it. That is why the generator presents the statutory brackets rather than leaving the field open, with an option to enter a reduced treaty rate.
Adjusting and closing entries
At period end the ordinary daily entries are not enough. The generator covers the adjusting entries: accrued expenses, prepaid expenses and charging the period’s share of them, accrued revenue, revenue received in advance and recognizing it later, the allowance for doubtful debts and writing a debt off, and the end-of-service benefit provision and its payment. It also covers the closing entries: closing revenue and expenses to the income summary, transferring the period result as a profit or a loss to retained earnings, and closing drawings to capital. To compute the benefit itself before recording its provision, use the end of service calculator.
The accounting journal entries the generator covers
Fifty one transactions across eleven groups:
- Sales: cash, credit, zero-rated export, cash and credit returns, collection from a customer, discount allowed.
- Purchases: cash, credit, returns to the supplier, payment to a supplier, discount earned.
- Inventory: cost of goods sold, shortage adjustment, overage adjustment, opening balance.
- Expenses and adjustments: cash expense, accrued expense and its payment, prepaid expense and charging the period’s share, accrued revenue, revenue received in advance and its recognition.
- Fixed assets: purchase, depreciation, disposal at a gain or a loss, full write-off.
- Payroll and GOSI: payroll accrual with GOSI and deductions, salary payment, GOSI payment, end-of-service provision and its payment.
- Taxes: VAT settlement and payment, withholding from a non-resident supplier, remitting it to the Authority, the reverse charge.
- Banking and loans: loan receipt, installment with principal and interest, bank charges, bank income, transfer between cash accounts.
- Equity and receivables: capital contribution, owner drawings, allowance for doubtful debts, writing off a debt.
- Closing entries: closing revenue and expenses, transferring the result, closing drawings.
- Manual entry: a general multi-line entry you build yourself, with any imbalance surfaced.
What this generator does not do
- It does not read documents: the generator works from fixed, published accounting rules and does not infer an entry from an invoice or an image. That is deliberate: a fixed rule can be reviewed and audited, automated inference cannot.
- It does not set your accounting policy: the depreciation method, the account names and the classification of an expense are decisions for your establishment.
- It does not post the entry: the output is for guidance and must be reviewed and approved before it goes into your books.
- It does not decide the tax outcome in special cases: recovering input VAT on bad debts or on inventory shrinkage is subject to the Authority’s conditions.
Once the entry is approved it still has to be recorded. Qoyod accounting software lets you record journal entries, issue tax invoices and follow their effect on your accounts and financial statements in one place, with a VAT account statement and the VAT return.
Got questions?
Direct answers to what accountants ask before recording an entry.
What is a journal entry and how do you record one?
A journal entry is the first record of a financial transaction in the books, and it rests on double entry accounting: every transaction affects at least two accounts by an equal amount, one debited and one credited. You record it by identifying the accounts affected, deciding the direction of each by its account type, then entering the amount on both sides with the entry date and its narration. The generator does this for you once you pick the transaction type and enter the amounts.
How do you record a sales journal entry with VAT?
On credit sales of SAR 10,000 at 15%, accounts receivable is debited SAR 11,500, sales is credited SAR 10,000, and output VAT is credited SAR 1,500. If the invoice reached you at its gross amount of SAR 11,500, choose in the generator that the amount includes VAT and it will split it back into value and tax, reaching the same result.
How is the payroll journal entry with GOSI calculated?
Two lines are not enough for payroll. The rule is that the GOSI payable account carries both the employee and the employer share, while the expense account carries the employer share alone. On gross wages of SAR 20,000 with an employee share of 11.75%, an employer share of 13.75% and deductions of SAR 500: salaries expense SAR 20,000 debit, GOSI expense SAR 2,750 debit, GOSI payable SAR 5,100 credit, deductions SAR 500 credit, and net payable to employees SAR 17,150 credit.
What is the depreciation journal entry and how does it differ from tax depreciation?
The depreciation journal entry debits depreciation expense and credits accumulated depreciation, which is a contra asset shown in the statement of financial position reducing the carrying amount of the asset. The generator computes the straight-line charge from cost less salvage value over the useful life, annually or monthly. Tax depreciation in the Kingdom is computed on a pooled-group basis under Article 17 of the Income Tax Law and may differ from the book figure.
How do you record a purchase journal entry?
It depends on your inventory system. Under periodic inventory the purchase value goes to a Purchases account, which is an expense in the income statement. Under perpetual inventory it is charged to Inventory, which is an asset in the statement of financial position. In both cases input VAT is debited and the supplier or cash account is credited. The generator asks which system you use and changes the account and its classification accordingly.
What is the difference between the debit and the credit side?
The direction is set by the account type, not by the nature of the transaction. Assets and expenses are debited when they increase or are incurred, and credited when they decrease. Liabilities, equity and revenue are credited when they increase or are earned, and debited when they decrease or are closed. The generator shows the classification of every account in the entry and its effect on the financial statement, so you do not need to recall the rule.
Can the journal entries be downloaded or printed?
Yes. You can copy the entry as text, copy it as a table that pastes straight into a spreadsheet with its columns, download a CSV, or print a one-page journal voucher carrying the Qoyod logo, the entry date and reference, the table, the description and lines for prepared, reviewed and approved. The generator does not produce a ready PDF file, but printing to PDF from the browser gives you the same voucher.
Are the entries ready to post directly?
The generator builds them from fixed, published accounting rules, not by automated inference from a document. The output is for guidance and must be reviewed and approved against your chart of accounts and accounting policies before posting. Account names are editable in the generator so they match your chart of accounts without changing the accounting classification of any line.