Accounting · Posting rules
Posting rules: what every document writes to your books
The Posting rules page in Daftiq lists, for every document from sales invoices to payroll and imports, when it posts and which accounts it debits and credits. You can choose which income account product and service sales post to, and which expense account services bought post to. A health check shows journals by source and any that do not balance.
Last updated:
- Where
- Accounting → Posting rules
- Shows
- Document, when it posts, debit and credit accounts
- You can change
- Product sales, service sales and services bought accounts
- Health check
- Last 90 days: journals by source, unbalanced journals, rounding
Why does Daftiq show its posting rules?
In Daftiq you do not write a journal for each invoice or payment; the document writes it when you post, clear or approve it. An accountant or auditor still needs to know exactly what goes where. The Posting rules page answers that in one table, so you can trust the trial balance and explain any figure in the profit and loss without guessing.
What does each document post?
| Document | Posted on | Debit | Credit |
|---|---|---|---|
| Sales invoice (products) | Post | 1100 Accounts Receivable | 4100 Sales Revenue, 2210 Sales Tax Payable |
| Sales invoice cost of goods | Post (stock on invoice) | 5100 Cost of Goods Sold | 1200 Inventory |
| Credit note / sales return | Approve | 4100 Sales Revenue, 2210 Sales Tax Payable | 1100 Accounts Receivable |
| Customer payment | Cleared | Bank GL account | 1100 Accounts Receivable |
| Purchase bill | Post | 1200 Inventory, 1500 Tax Receivable | 2000 Accounts Payable |
| Vendor payment | Cleared | 2000 Accounts Payable | Bank GL account |
| Expense / other income | Post | Expense account / bank | Bank / income account |
| Bank transfer | Create | To bank, 5510 Bank Charges | From bank |
| POS sale | Sale | Cash / bank | 4100 Sales Revenue, 2210 Sales Tax Payable |
| Payroll run | Approve / pay | Salary expense, 5210 Employee Benefits | Bank, 2410-2440 statutory payables |
| Any reversal | Cancel / reverse | The original credits | The original debits |
The page also lists service invoices, debit notes, expense claims, stock transfers and adjustments, manufacturing orders and import shipments (LC, goods in transit, GD).
Can I change which accounts documents post to?
Yes, for three income and expense defaults. Under Default accounts, each row shows the posting, what uses it and the account it posts to now:
- Product sales (standard 4100): sales invoices for products, credit notes and POS sales. Any active account from 4000 to 4999.
- Service sales (standard 4200): sales invoices for services. Any active account from 4000 to 4999.
- Services bought (standard 5420): service lines of vendor bills. Any active account from 5000 to 5999.
The next posting uses the account chosen here; documents already posted keep their journals. Receivable, payable, inventory and sales tax accounts cannot be changed, because the aging, stock valuation and tax reports are checked against them. If a chosen account is later made inactive, Daftiq quietly goes back to the standard one, so posting never fails.
How do I check that the books are healthy?
- Journals that do not balance (90 days): posted journals whose debits differ from their credits. It should be 0.
- Header total differs from lines: journals whose stored total does not match their lines. It should be 0.
- Rounding posted to 5591: the small paisa differences Daftiq booked to keep journals exact.
- Journals by source (90 days): how many journals each kind of document posted, and their amount, so you can see at a glance what is feeding the books.
How do I use the page step by step?
- Open Accounting → Posting rules. You need permission to manage the chart of accounts; changing defaults also needs permission to edit it.
- Read What each document posts to understand a figure you see in a report.
- If you want separate income accounts, first add them in the chart of accounts, for example "4110 Wholesale sales".
- Under Default accounts, choose the new account in the drop-down. Daftiq confirms what now posts to it.
- Check the health figures after month end, before you prepare the sales tax return or close the period.
How does it connect to the rest of Daftiq?
- Before: documents in Sales, Purchases, POS and HRM are what post.
- After: their journals appear under journal entries and in every financial report.
- Part of the Accounting module. See all Accounting features.
Frequently asked questions
Do I have to write journal entries for invoices and payments?
No. Each document posts its own journal when you post, clear or approve it. The Posting rules page shows exactly what it posts.
Can I post wholesale and retail sales to different income accounts?
You can change the one account product sales post to. For a different split, add the accounts in the chart of accounts and choose the default here; it applies to the next postings.
Why can't I change the receivable or inventory account?
The aging reports, stock valuation and tax returns are reconciled against those control accounts, so they stay fixed.
What if a journal does not balance?
The health check counts posted journals in the last 90 days whose debits and credits differ. The figure should be 0; if it is not, open the journal entries list to find them.
What is account 5591?
It holds the small rounding differences, in paisa, that Daftiq books so a journal balances exactly. The page shows the total for the last 90 days.
In this group: Accounting
- Chart of Accounts: Codes, Types, Sub-accounts
- Journal Entries: Manual Journal Vouchers
- Profit and Loss Statement for Any Period
- Balance Sheet Report on Any Date
- Trial Balance Report: Debits Equal Credits
- Account Ledger and Report Drill-Down
- Bank and Cash Accounts, Transfers
- Import HBL, Meezan, UBL Bank Statements
- Bank Reconciliation Software
- Cheque Management and PDC Tracking
- Customer Payments Against Invoices
- Vendor Payments and Payment Reversal
- Credit Notes and Debit Notes from Returns
- Record Income and Expenses Without an Invoice
- Customer and Vendor Accounts with Statements
- Aging, Customer and Vendor Balance Reports
- Collections and Customer Credit Limits
- 13-Week Cash-Flow Forecast with What-If
- Fixed Assets and Depreciation Register
- Multi-Currency Accounting and Exchange Rates
- Sales Tax Return Data with Annex-A and Annex-C
- Withholding Tax on Vendor Bills and Certificates
- Cost Centres: Profit by Branch, Project, Department
- Posting Rules: What Each Document Posts
- Accounting Dashboard: Cash, Receivables, Payables
Books you can explain line by line
Open Posting rules once to see how your documents become journals. Read the accounting guide.