Skip to main content

Level 2 and Level 3 Data and Visa CEDP

Last Updated: 2026-12-01 Status: Complete

Level 2 and Level 3 data are extra fields, such as tax amount and line items, that merchants submit with commercial card transactions so the network can assign a lower interchange program. On Visa in the United States these programs are now governed by the Commercial Enhanced Data Program (CEDP), which changed both the rules and the enforcement in 2025 and 2026. This page explains the fields, the CEDP timeline, a worked rate comparison, and what an engineering team must build to submit reliable data.

Quick Reference​

For the foundation-level discussion, see Optimization Strategies.

What Are Level 2 and Level 3 Data?​

Level 1 is the basic data every transaction carries (amount, merchant, authorization code). Level 2 adds order-level data. Level 3 adds line-item detail.

Level 2 Fields (Order Level)​

FieldPurposeNotes
Sales tax amountLets the buyer reconcile taxAdvisors report this field commonly fails when missing or inconsistent
Customer code or purchase order numberBuyer's internal reference for accountingAlso called purchase identifier by some processors
Merchant postal codeMerchant locationMust match merchant record
Order dateDate of the orderCommonly required with Level 3

Level 3 Fields (Line Item Level)​

FieldPurposeNotes
Ship-from postal codeOrigin of goodsOften required for Level 3
Ship-to (destination) postal code and country codeDelivery locationCountry code frequently fails validation if omitted
Shipping or freight amountCharges outside item totalsMust be reflected in the transaction total
Duty amountImport duties where relevantApplies to cross-border goods
Item commodity codeClassification of the productUse a real code, not a placeholder
Item descriptionHuman-readable product nameMust describe the actual item
QuantityUnits purchasedNumeric, greater than zero
Unit of measureEach, box, kilogram, etc.Use the processor's allowed codes
Unit costPrice per unitPrecision per processor spec
Discount amountPer-line discountReflected in line total
Line totalExtended amount for the lineMust reconcile (see below)
Item tax amount and rateTax per lineOptional with some processors

Field names, lengths, and optionality differ by processor and network. Always follow your processor's API specification, and do not assume the lists above are exhaustive.

Which Card Types Benefit?​

Card typeBenefit
Business creditEligible for business or commercial programs depending on product
PurchasingPrimary target for enhanced data programs
Corporate (including T&E)Eligible for commercial programs
FleetFuel-specific data, including the remaining Commercial Level II Fuel program on Visa
Consumer credit and debitNo Level 2 or Level 3 benefit

Because the card type is known from the BIN, your platform can decide per transaction whether to attach enhanced data. See Transaction Routing for BIN lookup basics.

What Is Visa CEDP and What Changed?​

The timeline below is drawn from acquirer and advisory notices (secondary sources); Visa has not published CEDP rules publicly in full, and acquirers pass the program through.

WhenChange
April 2025CEDP launched in the U.S. with a participation fee (0.05% on CEDP-eligible U.S. commercial card transactions)
October 2025Replaced Visa’s Level 3 programs in October 2025 (enforcement from 17 October 2025); Visa validates the submitted line-item data
April 2026Level 2 commercial and small-business programs retired, except fleet fuel; see Retired in April 2026; Commercial Level II Fuel is the only Level II program left

Advisors report that Visa validates data at the transaction level. The reported effect is that a transaction with incomplete or unreconcilable data does not receive the top commercial program even if the card is eligible.

Definition

CEDP: Visa's Commercial Enhanced Data Program for U.S. commercial card transactions, under which line-item data is validated and a program fee applies.

What Is the Rate Difference? A Worked Example​

The Visa U.S. schedule currently publishes these rates for Purchasing and Corporate T&E cards:

OutcomeRate
Commercial Product 3 (validated enhanced data)1.75% + $0.10
Commercial Card Not Present (no qualifying data)2.70% + $0.10
Commercial Non-Qualified2.95% + $0.10

For a $10,000.00 purchasing-card transaction at the rates in force on 1 December 2026 (Commercial Product 3 at 1.75% + $0.10 vs Commercial Card Not Present at 2.70% + $0.10), interchange is $175.10 vs $270.10, a $95.00 difference, before the CEDP participation fee (0.05% on CEDP-eligible U.S. commercial card transactions; $5.00 on this ticket).

The percentage component dominates the per-item amount at large ticket sizes, so the gap between Product 3 and Commercial Card Not Present is driven by the difference in the percentage figures. Your finance team can repeat the calculation for your own average ticket. A platform that processes many such payments will see the gap compound, which is why Product 3 is the target program for B2B billing flows. The net benefit is the interchange gap less the CEDP fee.

Prices here are a snapshot of the schedule in force on the page date and will change.

What Are the Data Quality Rules?​

Network and processor rules agree on several principles, while the list of most-failing fields comes from advisors and is therefore secondary.

  1. Line items must reconcile to the total. Sum of line totals, plus tax, freight and duty, minus order-level discounts, must equal the transaction amount.
  2. No placeholder values. Generic descriptions, zero quantities, or default commodity codes fail validation.
  3. Fields must be consistent with each other. Quantity multiplied by unit cost, less discount, must equal the line total.

Advisors report that the fields that most often fail are purchase identifier, sales tax, postal code, country code, and order date (secondary source: Verisave and Payroc commentary, see References). Treat these as a checklist for your validator, and confirm the authoritative list with your acquirer.

What About Mastercard?​

Mastercard still uses Level 2 and Level 3 commercial data tiers (Data Rate II and III). Payroc reports that Mastercard's Level 2 and Level 3 naming remains "for now", so a multi-network platform should not remove those code paths. Keep the data model network-neutral and map to each network's requirements at the adapter layer.

How Do You Engineer Reliable Level 3 Submission?​

Where the Data Comes From​

L2 and L3 data are not known to a payment gateway. They originate in the order management, ERP, or invoicing system. The integration requirement is therefore upstream: preserve item-level detail, tax, ship-to and ship-from postal codes, and the buyer's purchase order number through to the payment call.

Mapping to Processor Fields​

Define a canonical model once and map to each processor's field names in an adapter. A sketch:

import { IsArray, IsInt, IsNumber, IsPositive, IsString, ValidateNested } from 'class-validator';
import { Type } from 'class-transformer';

export class LineItemDto {
@IsString() commodityCode!: string;
@IsString() description!: string;
@IsNumber() @IsPositive() quantity!: number; // fractional units allowed (e.g. kilograms)
@IsString() unitOfMeasure!: string;
@IsInt() unitCostMinor!: number; // minor units
@IsInt() discountMinor!: number; // line-level discount
@IsInt() lineTotalMinor!: number;
}

export class EnhancedDataDto {
@IsString() purchaseOrderNumber!: string;
@IsInt() taxMinor!: number;
@IsInt() shippingMinor!: number;
@IsInt() dutyMinor!: number;
@IsInt() discountMinor!: number; // order-level discount
@IsString() shipToPostalCode!: string;
@IsString() shipFromPostalCode!: string;
@IsString() destinationCountry!: string;
@IsArray() @ValidateNested({ each: true }) @Type(() => LineItemDto)
items!: LineItemDto[];
}

export function reconcile(data: EnhancedDataDto, totalMinor: number): string[] {
const errors: string[] = [];
for (const i of data.items) {
// round because a fractional quantity can produce a non-integer amount
if (Math.round(i.quantity * i.unitCostMinor) - i.discountMinor !== i.lineTotalMinor) {
errors.push(`Line ${i.description}: quantity x unit cost - discount != line total`);
}
}
const sum = data.items.reduce((s, i) => s + i.lineTotalMinor, 0);
const expected = sum + data.taxMinor + data.shippingMinor + data.dutyMinor - data.discountMinor;
if (expected !== totalMinor) {
errors.push('Line items, tax, shipping and duty less order discount do not reconcile to total');
}
return errors;
}

Validation, Timing, Storage​

  • Validate before submission. Reject or repair data that fails reconciliation, and decide the failure policy: send without enhanced data so payment succeeds (and accept the lower program), or hold. Never let enhanced-data defects block a payment silently.
  • When it is sent. Enhanced data is typically supplied with capture or clearing rather than authorization, but this varies by processor; check your processor's documentation.
  • Amount changes. If the captured amount differs from the authorized amount, regenerate the line items to match the cleared total. See Authorization Types.
  • Storage and retention. Store the submitted payload and the processor's response against the transaction for dispute and audit purposes. Line-item data is business data; keep it separate from cardholder data and do not store sensitive authentication data. Retention periods should follow your policy and legal advice.

Why Are AI-Generated or Default Line Items Risky?​

Because validation is performed on submitted data, fabricated or default values create two risks. First, placeholder values fail validation and forfeit the rate benefit. Second, line items that do not describe the real goods misrepresent the transaction to the buyer and the card network, which creates compliance and dispute exposure. Use data from the system of record. If it is incomplete, fall back to the lower program rather than inventing detail.

Time-Sensitive

Visa revises its U.S. interchange schedule in April and October, and CEDP rules are communicated mainly through acquirers. All rates, program names, and dates here are snapshots; current values are on Key Numbers. Confirm CEDP eligibility, the fee, and validation rules with your acquirer or processor before building or changing a flow.

References​

Share: