Procurement spend analysis: how to build a spend cube
A spend cube settles purchasing questions only once its total ties to the ledger; until then, every price gap it shows is an argument about whose numbers are right.
Procurement spend analysis shows where purchasing costs can come down: the same item bought at different prices, spend spread over many small suppliers, and buying outside the contracts. The tool is a spend cube, twelve months or more of payables lines classified by supplier, category and buying unit. Tie its total to the ledger before anyone reads it, or every finding it shows can be disputed.
Key facts
- A spend cube is built from records the company already keeps: payables lines, purchase order lines, the supplier master, the contract price list and a category list.
- The payables extract is tied to the general ledger before anyone classifies a line. A cube that does not tie starts arguments, not decisions.
- The supplier master is cleaned next, so that each supplier has one record.
- The usual findings are the same item at different prices, many small suppliers in one category, and buying outside the contracts. Each is a question for a buyer, not a saving.
- A purchasing saving shows in the monthly numbers when it is measured as price against the prior year's contract price, times the quantity bought that month.
What a spend cube is
A best practices report by the U.S. Government Accountability Office (GAO) treats spend analysis as a matter of knowledge: what is bought, by whom, from whom and for how much.S1 A spend cube holds that knowledge in one table, cut by supplier, by category and by buying unit, so that the same supplier, the same item and the same price can be compared across sites.
Drawing on its earlier research, the report says that setting up spend analysis can be challenging, and the reasons it lists there are about records, not analysis. Among them are purchases the systems do not capture, one supplier under several names and too little detail on what was bought.S1 The early steps below answer those problems. The order of the steps is ours.
Where a value creation plan carries a purchasing line, someone will be asked each month to show it, and the cube is where that number comes from. It is built from records the company already keeps, and a first version can be built in a spreadsheet.
What you need before you start
| Input | Where it comes from | What the cube needs from it |
|---|---|---|
| Payables invoice lines | The payables module of the enterprise resource planning (ERP) system | Supplier record, invoice number and date, ledger account, buying unit and amount on every line |
| Purchase order lines | The purchasing module | Item, quantity, unit of measure and unit price, wherever an order exists |
| Supplier master | The payables module | Each supplier record with its tax identification number and bank account, for matching |
| Contract price list | Purchasing, wherever it is kept | The agreed price, the unit and the dates for each contracted item or service |
| Category list | Written by finance and purchasing together | Categories with a subcategory under each, and a plain definition of each |
| General ledger | The finance team | The invoice and credit note postings to the payables control account for the same months |
The six steps
The steps run in this order. The tie to the ledger comes second, before anyone classifies a line, because a cube that does not tie cannot settle anything it shows. The worked example below runs the steps on one made-up company.
Step 1: Extract twelve months of payables lines
GAO's report treats the payables records as the main source, with other records, such as purchasing card data, added where they fill a gap.S1
Take the extract at line level, not as invoice totals, and cover twelve months or more so that seasonal buying and annual contracts show. Each line needs the supplier record, the invoice number and date, the ledger account, the buying unit and the amount; where there is a purchase order, it also needs the item, quantity, unit of measure and unit price. Keep credit notes as lines of their own. Write down the date the extract was taken, and keep the file as it was.
Step 2: Tie the extract to the ledger
Add up the invoices in the extract, net of credit notes, for the same months as the ledger. That total must equal the invoice and credit note postings to the payables control account in the general ledger. Any difference is found and written down before the work goes on: an invoice entered after the extract was taken, a journal posted straight to the control account, a month left out.
Then move from payables to the cube's own total, with every adjustment listed. Take out what is not a purchase, such as payments to tax authorities entered as invoices and charges between group companies. Add purchases paid outside payables, such as purchasing card spend booked by journal. That figure is the cube's grand total, and it stays the same through every later step.
The accounting itself follows the company's own policies and chart of accounts; this step only checks that the extract and the ledger agree.
The controller signs the tie and files it with the extract. Until the difference is nil, or every line of it is named, the cube is not shown outside finance.
Step 3: Clean the supplier master
The rule is one supplier, one record. Duplicates come from spelling, from a separate record for a remittance address, and from suppliers bought by other suppliers. Match records on the tax identification number and the bank account first and on the name last, and group a supplier's branches under its parent. A bank account shared by unrelated suppliers, such as a factoring company's, is not a match. Tax identification numbers and bank accounts serve the matching only and stay out of the cube and out of any file that leaves finance. Keep the result as a mapping table, each old record pointing to one cleaned supplier, and leave the records in the payables system as they are: changing those is the payables team's decision. Mark each cleaned supplier with whether it is on the contract price list.
Step 4: Classify every line by supplier, category and buying unit
Write the category list before classifying, with a subcategory under each category and a plain definition of each, short enough for a buyer to remember. Classify by supplier first where a supplier sells one kind of thing, and by item or ledger account where it sells across categories. The buying unit is whoever bought: the branch, plant or department named by the line's cost center. A line that cannot be classified goes to an unclassified row that stays in view; it is never spread across the others. When classification is done, the cube's total must still equal the tied figure from Step 2.
Step 5: Read the cube for the usual findings
| Finding | Where it shows in the cube | What the cube needs to show it |
|---|---|---|
| The same item at different prices | One item bought by several buying units or from several suppliers at different unit prices | Item, quantity and unit of measure on each line, and prices compared in the same unit |
| Many small suppliers in one category | A category with a long list of suppliers and little spend with most of them | The cleaned supplier master |
| Buying outside the contracts | Spend with suppliers that are not on the contract price list, or at prices above it | The contract price list joined to the cleaned supplier master |
Each finding is a question for a buyer, not a saving: a price gap can have a reason the data does not hold, such as a different grade or a delivery the cheaper supplier cannot make. Compare prices only in the same unit of measure. Rank the findings by the spend in their cell, and give each one a named buyer.
Payment terms, rebates and product margin are separate work and are not covered here.
Step 6: Measure each saving as price against the prior year's contract price
A purchasing line can be seen in the monthly numbers when each change is measured the same way: the prior year's contract price less the price paid this month, times the quantity bought this month. Where there was no contract, the baseline is the prior year's average price paid, in the same unit.
Because the measure uses the quantity actually bought, it moves with volume and does not simply spread a planned annual figure across the months. A price rise shows on the same line, where the price paid is above the baseline. Fix the baseline for the year and write it down, report the effect each month with the close, by category and by buyer, and keep new items and volume changes on lines of their own. The measure is taken at the time of purchase. When its effect reaches reported profit depends on the company's own accounting policies, which are not covered here. How a purchasing line sits in the plan is covered in What is a value creation plan?.
A worked example: Sample Co.
The same steps, run on one made-up company.
| Category ($000) | North | South | West | Total | Suppliers |
|---|---|---|---|---|---|
| Goods for resale | 5,000 | 4,000 | 3,000 | 12,000 | 38 |
| Inbound freight | 900 | 700 | 500 | 2,100 | 22 |
| Packaging | 550 | 450 | 300 | 1,300 | 9 |
| Maintenance and repair supplies | 500 | 550 | 450 | 1,500 | 96 |
| Services and other | 700 | 500 | 300 | 1,500 | 49 |
| Unclassified | 0 | 0 | 0 | 0 | 0 |
| Total | 7,650 | 6,200 | 4,550 | 18,400 | 214 |
Questions operators ask
What does spend analytics mean in procurement, and what are real time examples?
It means reading what the business buys, from whom, at what price and for which buying unit, from its own payables and purchasing records. Examples are one item bought at different prices at different sites, a category spread over many small suppliers, and freight booked with carriers that have no contract.
How often is a spend cube refreshed?
In this guide's method, once a month, after the close, when the month's payables are complete, so that the price measure is reported with the month's numbers. The tie to the ledger is run again at every refresh.
The cube is only as current as the month end close it waits for; see the month end close case.
To talk through the data behind a purchasing line in your plan, bring us a situation. We work in the systems the company already runs, including Salesforce and NetSuite.
Sources
- U.S. Government Accountability Office. Best Practices: Using Spend Analysis to Help Agencies Take a More Strategic Approach to Procurement (GAO-04-870). Published 2004. Accessed November 29, 2026.
Cite this page. Procurement spend analysis: how to build a spend cube. Nobel Link, December 2, 2026. https://nobellink.co/library/guides/procurement-spend-analysis-how-to-build-a-spend-cube