Wiki/GL coding/
Automated GL coding

Automated GL coding

GL coding
·
2 min read
·
Updated July 2026
Joshua Kurian
Joshua Kurian
On this page

Automated GL coding comes in three generations: inheritance from the purchase order, rule tables, and context-based systems that code from history. Most companies run the first two and still hand-code a painful share of invoices, because the third is where the hard population actually gets solved.

The useful question for any coding automation is what happens to the invoices it cannot code.

Inheritance covers the easy majority

PO-backed invoices should never be hand-coded; they take their block from the order. This is table stakes, and its quality depends entirely on requisition discipline upstream, covered in GL coding for invoices. Inheritance does nothing for the non-PO population, which is precisely the population that hurts.

Rules crack under real charts of accounts

Supplier X goes to account Y works until supplier X starts billing two kinds of service. Keyword rules misfire on invoice descriptions written by someone else's billing system. As the chart of accounts and the supplier base grow, the rule table becomes its own maintenance backlog, quietly owned by whoever wrote it. Rules are worth having and never sufficient.

Coding is a context problem, and context lives in history

The information that determines a correct code, who bought it, what it was for, how its predecessors were coded, sits in the company's own records: prior invoices, the vendor master, project structures, past reclasses. A system that reads that context can code the way an experienced coder does, from precedent, including for suppliers and services no rule anticipated. This is what the pillar calls precedent applied at volume.

Confidence thresholds keep autonomy honest

Context-based coding earns trust by knowing what it does not know: post automatically above a confidence bar, route to a person below it, and let each human decision become new precedent. The share above the bar climbs over time, and finance keeps a clean audit trail of who or what coded every line.

Seat-priced coding tools miss the point

A coding tool licensed per seat is priced for people to keep doing the coding, with better screens. The point of automating coding is that the seats empty out of the routine work entirely, and your people spend their time on the new and ambiguous cases. Hold vendors to that standard, and check the pricing before the demo.

Fragment codes from your history in place, applies confidence thresholds, and learns from every decision your team makes. See how it works or request a demo.

From Fragment
See exception resolution on your own data
Fragment resolves invoice exceptions autonomously across your existing ERP and documents.
Request demo