Systems and records
A procurement contract invoice mismatch test for what the PO cannot see
By SourceX Editorial · Reviewed by Noah Loul ·
9 sections
Short answer
A procurement contract invoice mismatch test gives a person or an agent an invoice and the contract that governs it, then grades whether they catch disagreement in price, quantity basis, terms, period or party, cite the controlling clause and choose the right action. Build the answer key from planted errors, documented disputes, clean controls and cases labeled escalate, and score it so that every trivial strategy earns one third.
License terms
Procurement contract invoice
Key takeaways
- Test against the governing contract, not the purchase order: when the PO copied a stale price or term, invoice and PO agree and no match rule raises a hold.
- Five families cover most disagreement: price, quantity basis, terms, period and party, each tied to a named contract source and invoice field.
- Fix the document hierarchy before labeling: signed amendments in effective-date order, incorporated schedules and assignment or novation notices, with invoice-printed terms never treated as governing.
- If escalating counts as a catch, an agent that escalates everything scores 66.7 percent on this article's illustrative mix; with strict credit, every trivial strategy scores 33.3 percent.
- At 40 cases per family, an observed 80 percent catch rate carries a 95 percent interval of about 65 to 90 percent, so plan family sizes before comparing reviewers.
What does a contract-versus-invoice test measure that a purchase order match cannot?
It measures whether the reviewer reads the invoice against the contract that governs it, with its amendments and schedules, rather than against the purchase order. Matching rules compare an invoice with the PO and the receipt, as the three-way match explainer linked below sets out. When the PO itself carries a superseded price or the wrong terms, the invoice agrees with the PO, every match passes and no hold is raised, so the only control left is a person or an agent who knows the contract.
That is a detection task, and it differs from resolving an exception the system already flagged. The test hands over an invoice that may or may not disagree with its contract, with no hold code to hint at the answer, and asks for three things: whether there is a disagreement, where it sits, and what should happen next.
Public audits show why the control matters. In a review of CMS contract payments (GAO-08-54), GAO found payments for costs that did not comply with contract terms, and it described a gap in plain words: 'Other CMS procedures allowed for the payment of an invoice whether or not the invoice was reviewed and approved.' A test of contract-versus-invoice review measures the step that was missing there, before any payment leaves.
Five ways an invoice can disagree with its contract
An invoice can disagree with its contract on price, quantity basis, terms, period or party, and each family is checked against a different part of the contract. The families follow the fields an invoice is expected to carry. The federal Prompt Payment clause, FAR 52.232-25, lists ten items a proper invoice must include, among them the description, quantity, unit of measure, unit price and extended price; shipping and payment terms; and the name and address of the official to be paid, which must be the same as in the contract or in a proper notice of assignment.
The same clause gives catching a deadline and a form: a billing office returns an invoice that does not comply within 7 days, with the reasons it is not a proper invoice. A test built on that model should grade the reason, not only the flag.
Party disagreements need the most care. Under FAR 42.1204 the government recognizes a successor to a contract through a novation agreement, but no novation is needed when a stock purchase changes the owner without changing the contracting party. An invoice from the supplier's acquirer, a different legal entity, disagrees unless a novation or assignment is in the packet; an invoice from the same legal entity under new ownership does not. The matrix below pairs each family with its governing source, the field compared, a planted variant and a false alarm to watch for:
| Family | Governing source in the packet | Invoice field compared | Planted variant (Illustrative) | Common false alarm |
|---|---|---|---|---|
| Price | Price schedule as amended, in force on the delivery date | Unit price and extended price | Unit price from before the latest signed amendment | Flagging a price that a signed amendment changed |
| Quantity basis | Contract unit of measure and billing basis: ordered, delivered or accepted; hours or deliverables | Quantity and unit of measure | Billed per case where the contract prices each unit; billed ordered rather than accepted quantity | Treating a correct unit conversion as a mismatch |
| Terms | Payment, discount and shipping clauses | Payment term, discount, freight lines and charges printed on the invoice | A shorter payment term or a late charge printed on the invoice | Flagging a prompt-payment discount the contract allows |
| Period | Period of performance, price validity windows and amendment effective dates | Service or delivery dates on each line | Service dates after the period ends; a new price billed before its effective date | Flagging a line dated before an amendment took effect |
| Party | Contracting entity, assignment notices and novation agreements | Billing entity, remit-to and tax identifier | Remit-to an affiliate named in neither the contract nor an assignment notice | Flagging an invoice after a stock purchase that left the contracting entity unchanged |
Which document governs? Fix the hierarchy before labeling
The answer key has to name the governing document before it names the answer, because the same invoice line can be right under one version of the contract and wrong under another. For each case, record the executed agreement, every signed amendment in effective-date order, the schedules the agreement incorporates, any order-of-precedence clause and any assignment or novation notice, each with its version and date.
Terms printed on the invoice are never part of that stack for labeling purposes. Under UCC 2-207, between merchants, additional terms in an acceptance or written confirmation become part of the contract unless the offer limits acceptance to its own terms, the new terms materially alter it, or the other side objects. Whether a given invoice counts as a confirmation, and whether a printed late charge is material, are questions for counsel; the test labels the printed term as a disagreement with the contract and leaves its legal effect out of scope.
Deeper authority questions, such as a newer document signed by someone without power to bind or an amendment that missed the agreement's formalities, belong to a separate authority test that the legal document benchmark linked below covers. Here, an unsigned or unclear amendment simply makes the case an escalate case.
Where the right answer comes from: planted, documented, clean and escalate cases
Use four sources of truth, because each covers a weakness of the others. Planted cases start from a reconciled, paid invoice whose lines tie to the contract; exactly one field is changed per case, so the right answer is known by construction. Choose the case and field to change with a fixed random seed published with the test card, and record the edit beside the case. Documented cases are real disputes closed by a credit memo, a corrected invoice or a written determination, with the closing document as the truth. Clean controls are reconciled pairs left untouched. Escalate cases are packets that cannot settle the question, such as an amendment awaiting signature or a contract silent on the unit of measure, and the right answer is escalate with the missing item named.
Legal NLP already uses a three-way labeling scheme of this kind. ContractNLI asks a system to decide whether a statement is entailed by, contradicted by or not mentioned in a contract, and to point to the evidence spans. Agree, disagree and escalate map onto those labels, with the invoice line playing the role of the statement.
Freeze each packet as it stood on the day the invoice arrived: the invoice, the contract stack, the PO and receipt as context (they may agree with the invoice, which is the point), and the vendor record on that date. Leave out anything created afterward, such as dispute emails or credit memos. Two labelers fill the key independently, disagreements go to adjudication, and the agreement rate is published with the card. Each case's key holds the fields below:
| Answer key field | What it holds | Example (Illustrative) | How it is graded |
|---|---|---|---|
| Verdict | Agree, disagree or escalate for each invoice line and field | Line 2 unit price: disagree | Exact match |
| Family | Price, quantity basis, terms, period or party | Price | Exact match |
| Location | Invoice line and field; contract document, version and clause | Invoice line 2; amendment 2, pricing clause | Exact match on line and clause |
| Values | Contract value and invoice value in the contract's unit | Invoice bills the pre-amendment price; the amended price is 4 percent lower | Within the tolerance stated on the card |
| Action | Pass, hold and request a corrected invoice, pay at the contract value, or route to the contract owner | Hold and request a corrected invoice | Exact match among allowed actions |
| Reason | The written reason a return notice would carry | Price exceeds the amendment 2 rate in force on the delivery date | Rubric applied by two graders |
| Escalation target | Who decides when the packet cannot | Contract owner; counsel for legal effect | Exact match on role |
| Truth source | Planted edit, documented resolution, clean control or escalate design | Planted: unit price field, seed recorded | Not graded; used to split results |
Planting disagreements that do not give themselves away
A planted case is only useful if the changed field looks like a real billing error; if the edit leaves a trace, the test measures pattern-spotting instead of contract reading. Every planted case should survive a check by someone who knows the edit rules but not which field was changed.
Pair each planted case with its clean twin, the same reconciled invoice left untouched, and split twins across separate test forms so no reviewer sees both. Paired twins turn every planted case into a controlled comparison: the only difference between a catch and a pass is the field the key says changed. Apply these rules when planting:
- Keep the invoice internally consistent: recompute extended prices, totals and tax after changing a unit price or quantity, so arithmetic alone never reveals the edit.
- Draw the size of each change from the contract's own history, such as the step between two signed price schedules, rather than from round numbers no supplier would bill.
- Change one field per case. A case with two planted disagreements belongs only in a separately reported multi-error split.
- Plant period errors at the edges that matter: lines dated just after a period ends or just before an amendment takes effect, where the right answer flips.
- Plant party errors with entities that plausibly exist, such as an affiliate or a former trading name, and include the documents that would legitimize them in some clean twins, so their presence is not a giveaway.
Scoring a catch: why loose credit rewards escalating everything
Score catches, clean passes and escalations as separate rates and give credit only for the label the answer key holds; otherwise the cheapest strategy wins. The trap is easy to fall into, because escalating a real disagreement feels safe and it is tempting to count it as a catch.
On an illustrative mix of 440 cases, 200 planted or documented disagreements across five families, 200 clean controls and 40 escalate cases, that loose rule lets an agent that escalates every invoice score 66.7 percent on a balanced score averaging the three rates, twice what flagging or passing everything earns. Under the strict rule, flagging everything, passing everything and escalating everything all score exactly 33.3 percent, so any score above one third reflects real discrimination.
Report the rates per family, never pooled, and add three finer grades for correct catches: the family, the location with clause and version, and the action. Anthropic's guidance on agent evaluations treats a task as a single test with defined inputs and success criteria and runs several trials because outputs vary between runs; for an agent, run each case several times and report how often its verdict holds. For people, the second labeler's agreement rate is the comparable ceiling. The computed baselines:
| Strategy | Catch rate (loose / strict) | Clean pass rate | Escalation recall | Balanced score (loose / strict) |
|---|---|---|---|---|
| Flag every case as a disagreement | 100% / 100% | 0% | 0% | 33.3% / 33.3% |
| Pass every case | 0% / 0% | 100% | 0% | 33.3% / 33.3% |
| Escalate every case | 100% / 0% | 0% | 100% | 66.7% / 33.3% |
| Match the answer key exactly | 100% / 100% | 100% | 100% | 100% / 100% |
How many cases does each family need?
Plan at least 40 cases per family for a rough reading and around 160 for a tight one, because catch rates are proportions and small families give wide intervals. With 40 cases, an observed 80 percent catch rate has a 95 percent Wilson interval of 65.2 to 89.5 percent; with 160 cases it narrows to 73.1 to 85.5 percent.
Those intervals are for describing one reviewer. Comparing two reviewers or two agents on the same cases calls for a paired design and its own sample-size plan, which the sample-size planning page linked below covers. Whichever family is rarest in the source records will set the total, so stratify by family rather than sampling invoices at random. The intervals at three observed rates:
| Cases per family | Observed 50%: interval (half-width) | Observed 80%: interval (half-width) | Observed 90%: interval (half-width) |
|---|---|---|---|
| 20 | 29.9-70.1% (20.1) | 58.4-91.9% (16.8) | 69.9-97.2% (13.7) |
| 40 | 35.2-64.8% (14.8) | 65.2-89.5% (12.1) | 76.9-96.0% (9.5) |
| 80 | 39.3-60.7% (10.7) | 70.0-87.3% (8.7) | 81.5-94.8% (6.7) |
| 160 | 42.3-57.7% (7.7) | 73.1-85.5% (6.2) | 84.4-93.8% (4.7) |
A worked case (Illustrative): the invoice matches the PO and still fails
This case is invented to show how the key is filled. A supply agreement's amendment 2 lowers the unit price by 4 percent for deliveries from day 0. The PO was issued before the amendment and still carries the old price. One invoice covers two deliveries, one 10 days before day 0 and one 12 days after, both billed at the old price, and it prints a 15-day payment term where the contract says 30 days. The remit-to is the supplier's own entity, as named in the contract.
Every PO-based check passes, because the invoice price equals the PO price. The answer key says otherwise. Line 1 price: agree, since its delivery predates the amendment, and flagging it is the period-family false alarm. Line 2 price: disagree, price family, located at amendment 2's pricing clause. Payment term: disagree, terms family. Party: agree. Action: hold and request a corrected invoice, with both reasons written out.
A reviewer who passes line 2 because it matches the PO misses the catch the test exists to measure. One who flags line 1 commits the period-family false alarm named in the matrix and loses a clean-pass point.
What the test cannot show, and why results stay unpublished
The test shows whether a reviewer catches disagreement in a frozen packet; it does not show whether the business recovered the money, whether the supplier relationship survived the dispute, or how the reviewer performs when the contract stack is incomplete in ways the packet does not reveal. Planted cases also differ from natural ones: a single changed field is cleaner than real billing errors, which is why documented disputes are reported as their own split.
This page is a design. Running it needs reconciled contract and invoice pairs, signed amendments and closing documents from real companies, and none of those are public, so no results are reported here. Teams that need such pairs can ask SourceX to source them from U.S. businesses on request; a request should name the five families, the case mix, the packet freeze rule and the answer key fields above, so a candidate dataset can be judged against this test before anything is licensed.
Frequently asked questions
What is a procurement contract invoice mismatch?
It is an invoice that disagrees with the contract governing the purchase, on price, quantity basis, terms, service period or billing party. It can pass a purchase order match when the PO itself carries an outdated price or term, which is why it needs a contract-level check.
Why test against the contract instead of the purchase order?
The purchase order is a copy of an agreement at one moment, and agreements change through amendments. When the PO is stale, an invoice can match it exactly and still be wrong, so only a reviewer who reads the governing contract catches the disagreement.
How should a test treat terms printed on the invoice?
Label them as disagreements whenever they differ from the contract, and leave their legal effect to counsel. Under UCC 2-207, additional terms between merchants can become part of a contract only in limited cases, which is a legal question rather than a grading one.
Should escalating a real disagreement count as a catch?
Not for full credit. If it does, an agent that escalates every invoice outscores honest strategies, as this article's illustrative scoring shows; give catch credit only for the label the answer key holds and report unnecessary escalations separately.
Can the test run on synthetic invoices alone?
Planted cases built from real reconciled pairs work well for known-answer scoring, but fully synthetic contracts and invoices miss how real billing errors cluster. Keep documented disputes from real records as a separate split and report results for each.
Sources
- GAO found CMS contract payments for costs that did not comply with contract terms and reported that CMS procedures allowed payment of an invoice whether or not it was reviewed and approved. Source
- FAR 52.232-25 lists the items a proper invoice must include, requires the remit-to to match the contract or a proper notice of assignment, and has the billing office return a non-compliant invoice within 7 days with reasons. Source
- FAR 42.1204 lets the government recognize a successor in interest through a novation agreement and says none is needed for a stock purchase with no legal change in the contracting party. Source
- UCC 2-207(2): between merchants, additional terms in an acceptance or confirmation become part of the contract unless the offer limits acceptance, they materially alter it, or objection is given. Source
- ContractNLI asks a system to classify whether each hypothesis is entailed by, contradicting or not mentioned by a contract and to identify evidence spans. Source
- Anthropic defines an evaluation task as a single test with defined inputs and success criteria and runs multiple trials because model outputs vary between runs. Source
Tell us what data you need
Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.