---
title: Contract Matching & Compliance Review
description: Learn how to effectively review contract matching and compliance, ensuring invoice accuracy and identifying discrepancies in telecom expense management.
---

[Internal Demos + Guides for PAGassist](https://marketing.pagassist.com/internal-wiki)

# [Contract Matching & Compliance Review](https://marketing.pagassist.com/internal-wiki/contract-compliance-review)

 Written by [PAGassist Admin](https://marketing.pagassist.com/internal-wiki/author/pagassist-admin) | Oct 26, 2026, 5:12:39 PM

Use this article to understand why an invoice line links to a contract and to investigate whether its service and recurring charge agree with the contract.

Automatic matching supports review. Analysts still use the original invoice, contract document, and notes to establish the result.

### Prepare the contract baseline

Check that the relevant records contain the account number, service references, recurring rates, quantities, and linked locations available from the agreement.

Use **Add & Manage Contracts** for contract-entry instructions and check the service/location links on the contract record. Contract dates remain useful review data, but the matching reference does not document an effective-date or expiry filter. Check applicability against the agreement yourself.

### How matching works

Candidates must belong to the **same client company and vendor**. For identifier and description matching, account numbers are compatible when either side is blank or both agree after trimming surrounding whitespace and ignoring case.

| **Order / engine label** | **Eligibility and comparison** | **Result** |
| --- | --- | --- |
| **1 — Pass 1: identifier** | Both circuit\_id on the invoice line and vendor\_line\_ref on the contract service contain values. Compare them ignoring case and surrounding whitespace. | A specific contract line-item match. |
| **2 — Pass 2.5: description token** | Only when circuit\_id is blank. Split line\_desc on whitespace, a vertical bar, slash, or comma; compare whole tokens with service references. Ambiguous matches across contracts do not produce a match. | A specific service match from an identifier in the description. |
| **3 — Pass 2: account fallback** | For an eligible line still unmatched and with a blank circuit identifier, compare the invoice account number with contract account numbers, ignoring case and surrounding whitespace. | An account-level contract link. |

The source names the account values as invoice.account\_number and contract.account\_number; those are source labels, not a complete physical database schema.

A populated but incorrect circuit identifier does not become eligible for the blank-identifier description or account passes. Correct it only when supported by the source invoice.

**Example:** With a blank circuit field, description token “AB-123” can match reference “AB-123”; token “AB-1234” is insufficient. This whole-token comparison differs from the substring scan used for outdated-tech flags.

### Understand the limitations

**An account-only link does not establish service coverage or a specific rate comparison.**

Duplicate account behavior needs confirmation: one part of the reference requires exactly one matching contract, while another describes selecting a contract when several share the account. Duplicate service references within the same contract are also not fully explained. Verify these links manually.

Explicit analyst contract selections are documented as taking precedence over automatic matching and surviving later saves. A manual selection alone does not prove financial correctness; how a manual contract-only selection interacts with service-level discrepancy checks is not specified.

### Review a discrepancy

> 1. Identify the affected invoice/service line and determine how it is linked.
> 2. Check the supporting contract, including service identity, applicability, rate, quantity, and locations.
> 3. Compare the billed recurring charge with **contracted monthly recurring charge × quantity** when there is a specific service match.
> 4. Investigate differences using the billing period and any supported adjustments; do not assume the detector has accounted for proration.
> 5. Document the discrepancy, conclusion, and follow-up in PAGassist.
> 6. Use notes to record the relevant contract page or other supporting detail.
> 
> The Overcharge finding requires a specific match from Pass 1 or 2.5. It can represent either an overcharge or an undercharge. See [Understand Invoice Flags](https://marketing.pagassist.com/internal-wiki/understand-invoice-flags).
> 
> Saving a contract edit is documented as rechecking relevant invoices in the same company/vendor and compatible account scope. Adding a verified service can clear an Off-contract finding on recheck. Prior resolutions remain protected; do not assume a contract change reopens every finding.
> 
> Return to [Review & Approve an Invoice](https://marketing.pagassist.com/internal-wiki/review-approve-an-invoice) to record the invoice decision.
> 
>  
> 
> **Documentation updated:** October 14, 2026. **Behavior reference:** Ben’s [Auto-Match Reference — Invoice Review](https://claude.ai/artifact/18n9zpgHSBHf1PwGV1YXdK), describing production as of October 11, 2026. This documents the reference rather than an independent production test. Investigation steps are recommended analyst practice. Open behavior questions appear in [Troubleshoot Invoice Review](https://marketing.pagassist.com/internal-wiki/troubleshoot-invoice-review).

[View full post](https://marketing.pagassist.com/internal-wiki/contract-compliance-review)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "PAGassist Admin"
  },
  "dateModified" : "2026-11-04T19:44:29.766Z",
  "datePublished" : "2026-10-26T17:12:39Z",
  "headline" : "Contract Matching & Compliance Review",
  "image" : {
    "@type" : "ImageObject",
    "height" : 60,
    "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
    "width" : 60
  },
  "mainEntityOfPage" : "https://marketing.pagassist.com/internal-wiki/contract-compliance-review",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "PAGassist Internal Wiki"
  }
}
```