Blog

Insights from the Platform

Stay ahead of AI, industry and analytics trends, learn from industry experts, and discover actionable strategies that drive business growth.

← All posts

Product Updates · August 3, 2026 · 9 min read · By Raman Julka

The Step Before Every Savings Number: How Raw Spend Gets Categorized

A raw AP extract in, every line mapped to a four-level industry taxonomy out, with the method and confidence recorded per row. How the categorization product works.

For deal teams and consultants who receive raw spend files from clients and need categorized, defensible output before any analysis can start.

Spend categorization is the dependency under every savings number: each transaction line in an AP extract mapped to a category structure that means something. Done manually, it is two to three weeks of junior time per file. Done by pasting the file into a chat model, it is fast and unusable: no fixed taxonomy, no method, no confidence, no consistency across reruns, no way to reconcile two files against each other. This post covers how our categorization product does the job as infrastructure: what goes in, the taxonomy it maps to, the four methods that do the work, and the audit trail that comes out.

What Goes In

A raw spend or AP extract: Excel, CSV, or TSV, one row per transaction line. Three signals are required: a supplier name, an amount, and something indicating what was bought, whether a category field, a GL code, or a description. Dates are optional; 12 to 36 months is the recommended window. No template, no required column names, no cleaning, no single currency. Headers are auto-detected whether the ERP exported Vendor_Name or Lieferant, each mapping is recorded with a confidence score and published in the output, and multi-currency amounts are normalized to one reporting currency with the exchange-rate source recorded per row. An unrecognized currency is flagged per line, not guessed or dropped.

Before anything is processed or charged, a sufficiency check scores whether the three signals are actually populated; a failing file stops there at no cost, with the specific gaps listed. Aggregates are rejected outright: pivot tables, dashboards, and PDFs of tables cannot be categorized line by line. Data handling as stated on the intake page: hosting on providers with SOC 2 Type II reports, EU data residency for EU submissions, US data residency for US submissions, no model training on client data, deletion after 30 days for subscribers and 3 days for non-subscribers.

A Taxonomy Built on a Supply-Market Test

Classification is only as good as the structure you classify into, and both structures most teams inherit are wrong for the job. GL codes are an accounting view, built for the ledger, not the negotiation. Generic UNSPSC, a public standard of roughly 150,000 codes, is a product ontology: thousands of codes nobody sources against.

Our taxonomy has four levels, enforced as mutually exclusive and collectively exhaustive so every roll-up reconciles. L1 is the direct/indirect segmentation plus major domains. L2 is the category level where most reporting happens. L3 is sub-category. L4 is the item and market level, and this is where the design rule bites: an L4 node is admitted only if it passes a supply-market test. Does it have distinct suppliers, distinct sourcing levers, or material spend separation from its siblings? If splitting a node would not change who you negotiate with or how, the node does not get built. Candidate nodes are generated per industry and then scrubbed against that test using external market research; the large majority of superficially plausible candidates are rejected. Every admitted node also carries curated matching keywords as a quality requirement. The consequence is that each node in your output is a unit of action: something you can put out to bid, consolidate, or benchmark.

The tree is resolved per industry and sub-industry, not applied universally, because direct versus indirect is not universal: packaging is direct for a consumer goods company and indirect for a law firm; raw materials are direct for a manufacturer while the same GL line may be indirect elsewhere. Coverage spans 10 industries and more than 50 sub-industries, built on the full UNSPSC structure and extended with industry-specific nodes. Three modes are live: standard UNSPSC, the extended ValueChaser Standard, or your client's own taxonomy, validated at intake and applied. The structure is practitioner-designed, drawing on more than 13 years of consulting-derived category knowledge, and maintained additive-only, versioned, and regression-tested against baseline datasets before any change touches a client file.

Four Methods, in a Deliberate Order

Every transaction runs through a cascade. Each row records the method that classified it, the confidence, and notes, and the full method distribution across rows and spend is published in the report.

  1. Direct category match. The file's own category field is recognized as a known standard category. Highest confidence; no interpretation involved.
  2. Keyword and rule match. Descriptions, GL text, and category strings are matched against a curated library of thousands of classification and normalization rules, grown with every new industry and data pattern and validated against baseline datasets before going live. Free-text fields are first checked for what they actually contain, because "description" columns routinely hold GL text, vendor names, PO numbers, or internal codes instead of descriptions. High confidence.
  3. Known supplier match. The supplier name resolves the category against a curated base spanning thousands of recognized suppliers, backed by supplier-name normalization that consolidates raw vendor variants so the same supplier gets the same treatment everywhere. The report publishes the consolidation result for your file: how many raw vendor entries resolved to how many unique suppliers. This method rescues rows that carry a vendor name and nothing else. Good confidence.
  4. AI classification. Only the residual that deterministic methods cannot confidently resolve is escalated to a model, which receives the client's industry and sub-industry as context and whose output is constrained to valid taxonomy nodes. A label that is not a real node is rejected. Moderate confidence, and flagged as such.

Two design points sit behind the cascade. First, the order: cheapest, most certain, most repeatable signals go first. A deterministic rule fires identically on the first row and the millionth, so the model's surface area shrinks to the residual that is actually ambiguous, and there are no practical row limits. Second, classification is per transaction, not per vendor, because large suppliers legitimately span categories: a distributor or a major consultancy cannot be resolved by name alone. Line-level signals decide each row, and suppliers spanning many categories are surfaced in the output as their own finding, since that pattern is often a consolidation opportunity and sometimes a data-quality flag.

Where a Raw LLM Fails, Measured

We have measured where run-to-run variance lives. The same client-scale file was run through two fully independent production environments. The deterministic layers produced byte-identical output in both; all divergence traced to the model-classified residual. That is a measured decomposition, not an opinion about model stochasticity, and it is why this architecture minimizes the model's share of the work instead of maximizing it.

Single-token traps are engineered against. Real ERP strings are full of false friends: "sheet" in a bakery's sheet-pan line is not stationery, a hotel with "Stone" in its name is not building materials, "gloves" is safety equipment at an industrial firm and cleaning supplies at a facilities company. Naive keyword scripts and raw model calls make this error class silently, at high apparent confidence. Here, ambiguous single-signal matches are deliberately escalated for model review with industry context rather than trusted.

Invented categories cannot enter the data. A chat model produces plausible labels that exist in no taxonomy, so its output cannot be aggregated, benchmarked, or reconciled across files. Model output here is validated against actual nodes, and release checks verify that internal escalation markers never leak into final data.

Scale does not fragment the logic. An enterprise file does not fit in a context window, and chunked prompting classifies the same vendor independently, and differently, across chunks. Here, rules apply identically to every row regardless of file size and supplier normalization runs globally across the whole file.

Every label carries provenance. A chat model gives you labels. It does not give you, per row, the method, the confidence, the source column, and the taxonomy version. Every downstream number in an IC memo or client deliverable inherits the auditability of this step.

The precise claim: designed for repeatable, consistent output; hallucination risk reduced materially, not eliminated. The model layer exists, it is the smallest layer, and everything it touches is labeled.

The Audit Trail You Get

The categorization rate is reported two ways: share of rows assigned and share of spend covered, the second being the more honest metric. The report publishes the field mapping table with confidence and coverage per column, the four-method distribution, and a category-level audit trail showing what share of each top category came from each method, with an explicit recommendation to spot-check any category where AI classification carried more than half the load. Uncategorized spend gets its own spotlight: the specific suppliers and amounts that could not be confidently classified, the likely reason, and which source fields would resolve it on resubmission. As an external sanity check, your category mix is compared against typical ranges for your industry, with over- and under-indexing flagged.

Any single row can be verified: the delivered CSV carries the original source category next to the normalized L1 to L4 assignment, the normalized supplier, and the method with notes. The audit workflow the report itself recommends takes ten minutes: filter to AI-classified rows, sort by spend, check the top of the list. Corrections flow the way consultants already work: resubmission with enriched fields, guided by the report's statement of which fields would move precision, or custom taxonomy mode where your client's structure governs.

Standalone Product, and the Foundation

Categorization is deliverable on its own: file in, categorized file out, and consultants use it exactly this way to clean spend data ahead of transformation work. The deliverable: the categorization report, which is the audit; the Excel workbook with category, supplier, data quality, and field mapping tabs; and the full categorized CSV, every transaction with its L1 to L4 assignment, spend type, normalized supplier, and method with confidence. The CSV is the analysis-ready asset. The report is what lets you defend it.

It is also what everything downstream consumes. Our Procurement Insights diagnostic matches savings levers from a library of more than 1,300 category playbooks against these category assignments, runs concentration and consolidation analysis on the normalized supplier names, and calibrates each opportunity against measured maturity. That layer deserves its own walkthrough. The dependency belongs here:

Every savings number in a spend diagnostic is only as defensible as the categorization underneath it. Which is why this step is engineered like infrastructure, not like a prompt.

If you want to test that claim, use the messiest extract a client has ever sent you.


Run it on a real file

The sufficiency check runs before any payment is processed. If the data cannot support the analysis, it stops and tells you, at no cost.