GL coding for AP invoices is the work of assigning a supplier bill to the right general-ledger accounts, cost centres, projects and tax codes before it is approved and posted. It is how a correctly paid invoice still becomes a badly reported cost if the coding is vague, copied from last month, or invented at the last minute to pass a validation. This 2026 guide explains a practical coding order, how to make invoices approval-ready, and a worked split-coding example. It is general information, not accounting, tax or systems advice. Confirm your chart of accounts, official tax-code rules, and approval policy with a qualified adviser.

A coding order that usually works
Code from the document and the purchase order, not from memory. Start with the supplier, the PO or contract, the description of each line, and the delivery or period. Then choose the natural account (what it is), the cost centre or department (who owns it), the project or job if you use one, and the official tax code that matches the supply. A default ’miscellaneous’ account or a copied code from the last bill is how a marketing event lands in repairs. See purchase orders, PO numbers on invoices and three-way matching.
If the PO already carries a code, use it unless the invoice is clearly for something else — and then stop and change the PO or raise a variation, rather than silently recoding. If there is no PO, the invoice should still have enough description to code; a bill that says only ’services’ is not approval-ready. See the invoice approval process and the invoice approval matrix.
Approval-ready coding, splits and tax codes
Approval-ready means an approver can see what they are authorising: the account, the cost centre, the amount, and a short reason if the code is unusual. Split a single supplier invoice when the lines are different in nature — for example parts and a call-out, or a software licence and a training day — rather than forcing one account. Tax codes should follow official rules for the supply, not a habit of always using the standard code. If a line is out of scope, exempt, or reverse-charged, that is an official question; do not invent a rate or a recovery from this page. See the invoice audit checklist and the AP automation checklist.
Coding after approval, ’just to post it’, defeats the approval. If an approver signed a bill as marketing, do not recode it to IT overnight without a recorded change. Systems that require a code before a workflow starts are closer to the control you want than a parking lot of uncoded PDFs.
| Coding element | Question it answers | Typical defect |
|---|---|---|
| Natural account | What was bought? | A miscellaneous or ’suspense’ dump |
| Cost centre or department | Whose budget is it? | A default central code no one monitors |
| Project, job or grant | Which piece of work does it belong to? | A bill posted after the job was already closed |
| Tax code | How is this supply treated officially? | A standard code on an exempt or reverse-charge line |
| Split lines | Are two natures hiding on one invoice? | A single code for mixed goods and services |
A worked split-coding example
A supplier invoices 2,640 for a machine repair at site B: 1,800 parts, 600 labour, 240 travel. The PO was coded to plant maintenance for site B. You split the AP invoice: 1,800 to spare parts (or to repairs, if that is your policy for parts consumed on a job — pick one policy and keep it), 600 to maintenance labour or to the same repairs account if you do not separate them, and 240 to travel, all on cost centre Site B, tax codes as official rules require for each line. You do not post 2,640 to ’miscellaneous plant’. The approver at Site B sees the three lines. If 400 of the parts were actually for a capital upgrade on a different asset, you stop, recode that 400 to the project or asset account your capital policy requires, and you do not let a repair PO silently capitalise — or the reverse.
If the invoice had no PO and only the words ’November work’, you would send it back or hold it until the supplier named the site and the job. Coding that bill to last month’s default centre would be fast and wrong.
Put a PO number and a line description a coder can use on every supplier invoice you issue or chase.
Open the free invoice generatorA practical coding standard
Publish a short coding guide: default accounts for common supplies, when to split, when a project code is required, and who may change a code after approval. Train AP and frequent requesters together. Review a sample of coded invoices each month for dumped miscellaneous accounts and for tax-code oddities. In automation, use PO default codes as a suggestion, not as an unreviewed stamp. For month-end, uncoded or parked bills that belong in the period should still be accrued — see month-end close for accounts payable — but the accrual should use a supportable code, not a suspense bin that is never cleared. A short monthly exception report helps more than a long policy no one reads: list invoices posted to miscellaneous or suspense, invoices recoded after approval, invoices with a tax code that does not match the supplier’s usual pattern, and invoices over a set amount with no PO. Give each class an owner and a clearing date. If a software subscription was coded to office supplies, recode it once and add the supplier to the guide so the next invoice does not repeat the miss. If two cost centres share a building or a contract, agree a split rule in writing (for example headcount, floor area, or a fixed percentage) and apply it on the invoice, rather than arguing at every close. Project and grant codes should be validated against an open-project list so a bill cannot post to a closed or typo job. When you implement AP automation, treat suggested codes as a first pass for a human or a rule, and keep an audit trail of who accepted or overrode the suggestion. A model that is 90 percent right will still wreck a grant or a tax code if the other 10 percent is never reviewed. New suppliers should be given a default coding hint in the vendor master only when the supply is genuinely repetitive; a one-off consultant should not inherit last year’s conference account. If an invoice crosses a year-end or a budget change, code the lines to the period they belong to in the description, so the month-end accrual and the posted bill can be compared without a second investigation.
- Code from the PO and the invoice lines: natural account, cost centre, project, then official tax code. Do not copy last month’s code without reading the bill.
- Split mixed supplies, and send back invoices that have no usable description. A ’services’ line is not approval-ready.
- Keep coding visible in the approval workflow; do not recode after sign-off without a recorded change. Silent recoding breaks the approval.
- Treat tax codes as official questions, not as a default standard rate on every line. Confirm official rules; do not invent a recovery.
- Review miscellaneous and suspense accounts each month, and accrue uncoded period bills on a supportable code. A parking account is not a close.
This guide is general information, not accounting, tax, systems or legal advice. Official VAT, GST or withholding codes, capitalisation policy, and grant or sector rules, are fact-specific. Confirm them with a qualified adviser and your chart of accounts. Example figures are illustrative only. Do not invent a tax rate or a deduction from this page.
GL coding for AP invoices FAQ
Should I follow the PO code or the invoice?
Follow the PO if the invoice is for that order. If the invoice is clearly for something else, stop and change the PO or raise a variation, rather than silently recoding.
When should I split an invoice?
When the lines are different in nature, in tax treatment, in cost centre, or in capital versus expense. A single dump account hides all four.
Is a miscellaneous account ever acceptable?
Only as a short-lived parking place with an owner and a clearing rule. If a supply is common, give it a real account.
Can coding wait until after approval?
It should not. Approvers should see the account and cost centre they are authorising. Recoding after sign-off needs a recorded change.
Who decides the tax code?
Official tax rules, applied to that supply, not a habit. If you are unsure, take advice rather than defaulting to the standard code.
Put a PO number and a line description a coder can use on every supplier invoice
Add lines, a PO and a due date, then download a PDF. No sign-up.
- 134 invoice and document types
- 16 country tax presets
- 35 languages


