- A purchase of goods is recorded on the debit side of 6111, recoverable VAT on the debit side of 3455, and the supplier on the credit side of 4411 for the amount incl. VAT.
- A sale is recorded on the credit side of 7111 for the amount excl. VAT, invoiced VAT on the credit side of 4455, and the customer on the debit side of 3421 for the amount incl. VAT.
- Payment does not alter profit or loss: it settles the third-party account against the bank or cash account (5141, 5161).
- Credit notes, rebates and settlement discounts are posted through dedicated accounts, without altering the original invoices.
Purchasing and sales transactions make up 80% of an SME’s journal entries. Mastering them means mastering day-to-day accounting. Here is the complete cycle, from purchase order to settlement, including VAT, using the accounts of the Moroccan chart of accounts (CGNC).
The principle
Each invoice generates a three-line (or more) entry: the expense or income excl. VAT, the VAT, and the counterparty incl. VAT. Settlement generates a second entry between the counterparty and the bank or cash account.
| Account | Role |
|---|---|
| 6111 | Purchases of goods for resale |
| 6121 | Purchases of raw materials |
| 4411 | Suppliers |
| 3455 | State, recoverable VAT |
| 7111 | Sales of goods in Morocco |
| 7124 | Sales of services produced in Morocco |
| 3421 | Trade receivables (customers) |
| 4455 | State, invoiced VAT |
| 4456 | State, VAT payable (per returns) |
| 5141 | Banks |
| 5161 | Cash |
1. Purchase invoice for goods
Invoice: MAD 50,000 excl. VAT, 20% VAT = MAD 10,000, incl. VAT MAD 60,000.
| Account | Debit | Credit |
|---|---|---|
| 6111 Purchases of goods for resale | 50,000 | |
| 3455 State, recoverable VAT | 10,000 | |
| 4411 Suppliers | 60,000 |
Settlement by bank transfer:
| Account | Debit | Credit |
|---|---|---|
| 4411 Suppliers | 60,000 | |
| 5141 Banks | 60,000 |
2. Sales invoice for goods
Invoice: MAD 80,000 excl. VAT, 20% VAT = MAD 16,000, incl. VAT MAD 96,000.
| Account | Debit | Credit |
|---|---|---|
| 3421 Trade receivables | 96,000 | |
| 7111 Sales of goods in Morocco | 80,000 | |
| 4455 State, invoiced VAT | 16,000 |
Cash receipt:
| Account | Debit | Credit |
|---|---|---|
| 5141 Banks | 96,000 | |
| 3421 Trade receivables | 96,000 |
3. Ancillary purchase costs
Carriage on purchases billed by the supplier at MAD 2,000 excl. VAT is included in the purchase invoice (6111) or recorded separately according to company policy (account 6142 transport). VAT follows the same treatment as the underlying purchases.
4. Discounts, rebates and allowances
A rebate obtained after invoicing is recorded separately so as not to alter the original purchase.
| Transaction | Entry |
|---|---|
| Credit note received for MAD 5,000 excl. VAT (VAT 1,000) | Debit 4411: 6,000; Credit 6119 “discounts, rebates and allowances obtained on purchases of goods”: 5,000; Credit 3455: 1,000 |
| Credit note issued for MAD 4,000 excl. VAT (VAT 800) | Debit 7119 (discounts/rebates granted): 4,000; Debit 4455: 800; Credit 3421: 4,800 |
VAT is adjusted via the credit note. Maintain sequential numbering for credit notes (corrections via credit note, never by deleting an invoice).
5. Early settlement discounts
A supplier grants a 2% settlement discount for prompt payment on a MAD 60,000 incl. VAT invoice: MAD 1,200 incl. VAT.
| Account | Debit | Credit |
|---|---|---|
| 4411 Suppliers | 60,000 | |
| 5141 Banks | 58,800 | |
| 7381 Interest and similar income (settlement discount obtained, excl. VAT 1,000) | 1,000 | |
| 3455 State, recoverable VAT (adjustment) | 200 |
(settlement discounts obtained are financial income; VAT is adjusted on the discount portion in accordance with the applicable regime).
6. Deposit received from a customer
Deposit of MAD 30,000 incl. VAT on order:
| Account | Debit | Credit |
|---|---|---|
| 5141 Banks | 30,000 | |
| 4421 Customers — advances and deposits received | 25,000 | |
| 4455 State, invoiced VAT | 5,000 |
On the final invoice of 120,000 incl. VAT, the customer is debited for 120,000, the deposit is applied (debit 4421 for 25,000 and 4455 adjusted) and the remaining balance of 90,000 is collected.
7. Purchase of a service
Firm’s fees: MAD 10,000 excl. VAT, VAT MAD 2,000.
| Account | Debit | Credit |
|---|---|---|
| 6136 Fees and intermediary remuneration | 10,000 | |
| 3455 State, recoverable VAT | 2,000 | |
| 4411 Suppliers | 12,000 |
8. VAT settlement
At the end of the filing period:
| Account | Debit | Credit |
|---|---|---|
| 4455 State, invoiced VAT | 96,000 (example) | |
| 3455 State, recoverable VAT | 60,000 (example) | |
| 4456 State, VAT payable | 36,000 |
Payment to the tax authorities clears 4456 against the bank credit. If recoverable VAT exceeds invoiced VAT, the excess is a VAT credit (account 3456) carried forward.
Nine common situations with their entries
1. Purchase of a fixed asset with VAT on fixed assets
Purchase of a computer for MAD 30,000 excl. VAT, VAT 6,000.
| Account | Debit | Credit |
|---|---|---|
| 2332 Plant and machinery (or appropriate fixed asset account) | 30,000 | |
| 34551 State, recoverable VAT on fixed assets | 6,000 | |
| 4481 Payables on acquisitions of fixed assets | 36,000 |
VAT on fixed assets has its own account (34551), making annual adjustment and VAT return tracking easier. Fixed assets must not be mixed with expense purchases (see the article on fixed asset accounting).
2. Unbilled purchase at year-end (accrual)
Goods received on 28 December for MAD 40,000 excl. VAT, invoice received in January:
| Account | Debit | Credit |
|---|---|---|
| 6111 Purchases of goods resold | 40,000 | |
| 4417 Suppliers, invoices not yet received | 40,000 |
VAT is not recorded yet: it will be deducted upon receipt of the invoice and payment. In January, this entry is reversed and the invoice is posted normally.
3. Unbilled sale at year-end (accrued income)
Service completed on 30 December for MAD 100,000 excl. VAT, invoice issued in January:
| Account | Debit | Credit |
|---|---|---|
| 34271 Customers, invoices to be issued | 100,000 | |
| 7124 Sales of services produced in Morocco | 100,000 |
VAT is due upon cash receipt (standard regime): it does not appear in the year-end accrual entry.
4. Sale with year-end volume rebate granted
3% rebate on annual turnover of MAD 2,000,000 excl. VAT, i.e. MAD 60,000 excl. VAT (VAT 12,000), granted by credit note at year-end:
| Account | Debit | Credit |
|---|---|---|
| 7119 Discounts, rebates and allowances granted | 60,000 | |
| 4455 State, invoiced VAT | 12,000 | |
| 3421 Trade receivables | 72,000 |
5. Transport costs billed to the customer
The company bills MAD 3,000 excl. VAT for transport in addition to the goods. These costs form part of the VAT taxable base (see the article on the taxable base).
| Account | Debit | Credit |
|---|---|---|
| 3421 Trade receivables | 3,600 | |
| 7127 Sales of ancillary products (or appropriate income account) | 3,000 | |
| 4455 State, invoiced VAT | 600 |
6. Retention money on a construction contract
A contracting company invoices MAD 1,000,000 excl. VAT (VAT 200,000). The project owner retains 10% as security for 12 months. The full receivable remains recorded; the retention is tracked in a customer sub-account.
| Account | Debit | Credit |
|---|---|---|
| 3421 Trade receivables | 1,200,000 | |
| 7124 Sales of services produced in Morocco | 1,000,000 | |
| 4455 State, invoiced VAT | 200,000 | |
| Upon cash receipt: 5141 Banks | 1,080,000 | |
| 3421 Trade receivables (including 120,000 retention to track) | 1,080,000 |
VAT is chargeable upon cash receipt: 180,000 of VAT becomes due on the 1,080,000 collected; the remaining 20,000 will become due when the retention is released.
7. Settlement of a supplier by bill payable
| Account | Debit | Credit |
|---|---|---|
| 4411 Suppliers | 60,000 | |
| 4415 Suppliers, bills payable | 60,000 |
At maturity: debit 4415, credit 5141. The bill payable allows payment maturities to be tracked clearly.
8. Purchase paid in cash
A small purchase of office supplies for MAD 2,400 incl. VAT (2,000 excl. VAT, 400 VAT) is paid in cash:
| Account | Debit | Credit |
|---|---|---|
| 61254 Purchases of office supplies | 2,000 | |
| 3455 State, recoverable VAT | 400 | |
| 5161 Cash | 2,400 |
Cash settlements are capped at MAD 5,000 per day and per supplier to remain fully deductible without restriction (see the article on non-deductible expenses).
9. Loss on an irrecoverable receivable
A customer in liquidation, receivable of MAD 24,000 incl. VAT (20,000 excl. VAT), with no prior provision recognised:
| Account | Debit | Credit |
|---|---|---|
| 6585 Receivables become irrecoverable | 20,000 | |
| 4455 State, invoiced VAT (adjustment per regime conditions) | 4,000 | |
| 3424 Doubtful or disputed receivables | 24,000 |
The detailed treatment, including provisions, is set out in the article on doubtful debts.
Month-end consistency checks
| Check | Comparison |
|---|---|
| Balance of account 4411 | Aged payables balance |
| Balance of account 3421 | Aged receivables balance |
| Account 4455 | One-sixth of uncollected customer balance (for sales at 20%) |
| Account 3455 | VAT on invoices paid during the month |
| Purchases recorded | Invoices in the purchase binder |
| Sales recorded | Sequence of sales invoices |
A monthly reconciliation of these six points prevents errors from accumulating until year-end.
A full month: from invoice to VAT return
A company subject to VAT on cash receipts (standard regime) whose purchases give a right to deduction upon payment (General Tax Code (CGI), Art. 101) records the following in March:
| Monthly transaction | Amount incl. VAT (MAD) | Excl. VAT | VAT at 20% |
|---|---|---|---|
| Invoiced sales | 1,440,000 | 1,200,000 | 240,000 |
| Invoiced purchases | 900,000 | 750,000 | 150,000 |
| Cash receipts from customers (all invoices combined) | 1,080,000 | 900,000 | 180,000 |
| Payments to suppliers (all invoices combined) | 840,000 | 700,000 | 140,000 |
What the accounts show
| Account | Credit (+) / debit (−) balance at month-end | Interpretation |
|---|---|---|
| 4455 State, invoiced VAT | + 240,000 | VAT invoiced on all sales for the month |
| 3455 State, recoverable VAT | − 150,000 | VAT on all purchase invoices recorded |
VAT on the return
| Calculation | Amount |
|---|---|
| Output VAT due: receipts 1,080,000 × 20 ÷ 120 | 180,000 |
| Deductible input VAT: payments 840,000 × 20 ÷ 120 | 140,000 |
| VAT payable for the month | 40,000 |
Settlement entry
| Account | Debit | Credit |
|---|---|---|
| 4455 State, invoiced VAT | 180,000 | |
| 3455 State, recoverable VAT | 140,000 | |
| 4456 State, VAT payable | 40,000 |
After this entry, 60,000 remains on the credit side of account 4455 (VAT invoiced on sales not yet collected: 240,000 − 180,000) and 10,000 on the debit side of account 3455 (VAT on purchases not yet paid: 150,000 − 140,000). These balances are not errors: they will clear when cash is collected and paid in subsequent months. An invoice-by-invoice tracking schedule substantiates both accounts at year-end and prevents omissions (see the article on the VAT tax point and on VAT deductions).
Posting errors that distort VAT
| Error | Effect | Correction |
|---|---|---|
| Recoverable VAT deducted on invoice rather than on payment | VAT payable understated | Deduct only invoices paid during the month |
| Purchase invoice missing ICE (Common Company Identifier) or mandatory particulars | Right to deduct open to challenge | Obtain a compliant invoice before payment |
| Cash payment above statutory caps | Non-deductible VAT | Pay using a traceable payment method |
| Customer deposit without invoiced VAT | VAT due undeclared | Recognise VAT upon receipt of the deposit |
| Credit note recorded without reference to original invoice | Impossible to substantiate adjustment | Cross-reference credit note to original invoice |
| Settlement entry posted for total invoiced VAT | VAT paid before becoming chargeable | Settle only chargeable amounts |
Routine controls
- Total invoiced VAT in the general ledger = VAT on the return (excluding collection timing differences).
- No long-standing debit supplier balance (advance, duplicate, error).
- No long-standing credit customer balance (unapplied deposit, duplicate payment).
- Continuous numbering of sales invoices; credit notes cross-referenced.
- Purchase invoices bearing ICE and full mandatory particulars for deduction.
Special cases and borderline situations
A purchase is paid before receiving the invoice. Record the payment as a supplier advance (advances and deposits paid account), then apply it against the invoice; VAT becomes deductible upon receipt of the compliant invoice.
A sale is made on consignment with a customer. Revenue is recognised only upon sale by the consignee; in the meantime, track inventory held on consignment.
An invoice is received with an incorrect VAT rate. Request a corrective invoice; deductible VAT is limited to the amount that could lawfully be charged.
An invoice spans multiple financial years (annual subscription). Recognise prepaid expenses or deferred income for the portion relating to the following financial year.
An advance is granted to a foreign supplier. Record the advance in the advances account, track the date the service is performed and foreign exchange rules (repatriation within three months if unperformed).
Frequently asked questions
Is VAT an expense?
No, for a VAT-registered business: VAT charged to customers is a liability owed to the State, while VAT paid to suppliers is a receivable. It appears in neither expenses nor income, except for non-recoverable VAT, which is added to the cost of the purchase.
When should a purchase invoice be recorded?
Upon receipt, allocated to the financial year in which delivery or service performance took place. VAT is only deducted for tax purposes in the month of payment, but in accounting it is posted to account 3455 upon recording the invoice; return reconciliation tracks the timing difference.
How is a customer deposit recorded?
A deposit received is credited to account 4421 “Customers — advances and deposits received on orders in progress”, with VAT chargeable upon receipt. On the final invoice, 4421 is cleared against the customer account.
Do you need a separate account per customer?
Yes, in subsidiary ledgers: the control account 3421 is broken down by customer (3421xxxx), and likewise for suppliers (4411xxxx), to enable account matching and aged balance reporting.
- General Chart of Accounts for Enterprises (PCGE / Moroccan chart of accounts (CGNC)), Classes 3, 4, 5, 6 and 7
- Law 9-88 on Accounting Obligations of Merchants, Art. 1 and 2
- General Tax Code (CGI) 2026, Art. 95 and 101 — VAT tax point and deduction
This article presents general rules as at the date shown; it does not replace an analysis of your situation. The French version of the texts prevails.
Article written from the official texts and the firm’s engagement practice. It shows its publication date and, where applicable, its last review.