DEVELOPER
Products

Enhanced Level II & Level III Data

EPX platform supports Enhanced Level II and Level III processing, a feature engineered to help merchants target lower interchange fees on B2B, corporate, and purchasing card transactions. By including tax indicators and itemized line-item details formatted in Tag-Length-Value (TLV) alongside sales, authorizations, or captures, you provide the enhanced data intended to position your transactions for discounted processing rates, subject to individual card brand qualification rules.



How Level II & Level III Data Works


Level II

Level II processing is achieved by supplying tax amounts ( TAX_AMT ), tax exemption status ( TAX_EXEMPT ), and a tracking reference directly in standard API fields. EPX requires one of the following reference tags to be populated:

  • INVOICE_NBR
  • ORDER_NBR
  • REFERENCE_NBR

EPX uses the first item populated in the list above. If none of these three reference tags are supplied, EPX automatically populates REFERENCE_NBR with the transaction's BRIC (GUID) token. Although the ENHANCED_TLV tag is not mandatory to meet Level II requirements, it can still be supplied with transaction requests for summary and line item data to be displayed on the cardholder statement.


Level III

Level III processing builds upon Level II by adding granular itemization using the ENHANCED_TLV field. The ENHANCED_TLV tag encodes summary-level details (such as customer reference numbers, shipping costs, or order dates) and item-level details (such as commodity codes, product descriptions, unit costs, and quantities) into a structured single string using Tag-Length-Value formatting.


Card Brand Requirements Notice

Summary and line item sub-tags indicated as optional or required are based on card brand requirements. Card networks may update these requirements in the future based on program changes such as Visa Commercial Enhanced Data Program (CEDP) or Mastercard Enhanced Data Rate.


Critical Processing Rules

  • Data Validation: All TLV tags must contain valid (real) data. Tags populated with placeholder values such as all zeroes or all spaces are invalid and will not be included in network transmissions.
  • Amount Calculation: All counts and sub-amounts within summary data, line-item data, and the TAX_AMT tag must be accurately calculated so that line item totals plus taxes reflect the exact total in the AMOUNT API tag.
  • Card Brand Level III Programs: Visa and MasterCard offer official Level III qualification programs. While Discover and American Express do not currently offer formal Level III interchange programs, enhanced summary and line-item TLV data can still be submitted with transactions to be displayed on cardholder statements.
  • Summary Set Constraint: Only one summary data TLV set tag (002) is permitted per ENHANCED_TLV string. If multiple summary sets are submitted, EPX evaluates only the first set found and ignores subsequent 002 sets. All summary sub-tags must be valid and meet minimum requirements. Multiple line-item sets (003) are supported.

Adding Level II and III processing to your application is accomplished by submitting requests via the Server Post API with Sale (CCx1), Authorization Only (CCx2), or Capture Only (CCx4) transaction types.



Integration Guide


EnvironmentBase URL
Sandboxhttps://secure.epxuap.com


How To Test

Get Sandbox Credentials by clicking the "Get Sandbox Creds" button on the product page to send Server Post requests in a test environment. Ensure all numeric counts, totals, and tax amounts match the sum of line item totals in the ENHANCED_TLV payload to prevent network rejection.



Supported Character Set Formats

The following variable types define character set rules and formatting requirements for ENHANCED_TLV data elements:


Variable TypeDefinitionSupported Characters
AUAlpha upper caseA-Z
DODecimal OptionalNumeric values with optional decimal point (e.g., n, n.n, n.nn, n.nnn, n.nnnn)
DRDecimal RequiredNumeric values requiring explicit decimal point (e.g., n.nn or n.nnnn)
NNumeric0-9
S1Special 1Space , -
S5Special 5Space
S6Special 6Space, -
S7Special 7Standard character string
YNYes / NoY or N



TLV Format and Structure Overview

Level III data transmitted via the ENHANCED_TLV API field uses Tag-Length-Value formatting:

  • Tag: Fixed 3-digit numeric string [000-999] identifying the data element or set.
  • Length: Fixed 4-digit numeric string [0001-9999] representing the exact character count of the following value.
  • Value: Variable alphanumeric content up to 9,999 characters.

Main TLV Sets

The ENHANCED_TLV payload is built by concatenating up to three main TLV Sets:


  1. Set 001 (TLV Set Type): Required first tag in the TLV string. Defines the card brand format (VISA_G, MC_G, DISC_G, AMEX_A20).
  2. Set 002 (Summary Data): Contains transaction-level summary sub-tags (e.g., customer codes, shipping/freight charges, order dates). Length header is 4-digit numeric (N4).
  3. Set 003 (Line Item Data): Contains item-level sub-tags. Length header is 4-digit numeric (N4). Multiple 003 sets can be concatenated for multi-item purchases.



Example TLV String Breakdown (Visa General)

Full Raw String:

Parsed Elements Breakdown Table:

TLV TagPlaintext ValueTLV Representation
001 (Set 001 Type - Mandatory)VISA G0010006VISA_G
002 (Summary Data Set)Summary Set Header (Length 47 bytes)0020047
001 (Sub-Tag)CUSTOMER REF NUM0010016CUSTOMER REF NUM
005 (Sub-Tag)0.0000500040.00
011 (Sub-Tag)0307220110006030722
003 (Line Item Data Set)Line Item Set Header (Length 110 bytes)0030110
001 (Sub-Tag)ITEM QUANT0010010ITEM QUANT
002 (Sub-Tag)ITEM DESCRIPTION0020016ITEM DESCRIPTION
003 (Sub-Tag)PRODUCT CODE0030012PRODUCT CODE
004 (Sub-Tag)200400012
005 (Sub-Tag)UNIT MEASURE0050012UNIT MEASURE
006 (Sub-Tag)12.25006000512.25
010 (Sub-Tag)24.50010000524.50



Visa Business & Corporate Cards - General (VISA_G)

Visa Level III transactions require fixed set type VISA_G as the first tag. TAX_AMT and TAX_EXEMPT are supplied via standard API calls and are not included inside ENHANCED_TLV.


Set 001 Type

TLV Set TagTLV DataVariable TypeMax LengthRequirement
001Always use fixed value "VISA_G"Alpha upper case with underscore6Mandatory

Set 002 Summary Data Header & Sub-Tags

Conditional: Mandatory only if summary data sub-tags are included in the string; otherwise optional and can be omitted. Set tag 002 length indicator is a 4-digit numeric value (N4). Only one Set 002 is allowed per string.


Sub-TagData
Element
Variable
Type
Format
Requirement
Max
Length
Requirement
001Customer CodeAU, N, S1Alphanumeric17Optional
004Discount AmountN, DRn.nn13Optional
005Freight/Shipping AmountN, DRn.nn13Optional
006Duty AmountN, DRn.nn13Optional
007Destination Postal/Zip CodeAU, N, S5, S7Alphanumeric10Optional
008Ship From Postal/Zip CodeAU, N, S5, S7Alphanumeric10Optional
009Destination Country CodeAU, NAlpha/Numeric3Optional
010VAT Invoice Reference NumberAU, N, S6Alphanumeric15Optional
011Order DateN6MMDDYY6Optional
012VAT/Tax Amount (Freight/Shipping)N, DRn.nn13Optional
013VAT/Tax Rate (Freight/Shipping)N, DRn.nn5Optional

Set 003 Line Item Header & Sub-Tags

Mandatory: Set tag 003 must be present in the TLV string. Set tag 003 length indicator is a 4-digit numeric value (N4). Multiple line item sets are allowed. Only valid line item data set tags will be used if all line item sub-tags are valid and meet minimum requirements.


Sub-TagData
Element
Variable
Type
Format
Requirement
Max
Length
Requirement
001Item Commodity CodeAU, N, S1Alphanumeric12Mandatory
002Item DescriptionAU, N, S1Alphanumeric26Mandatory
003Product CodeAU, N, S1Alphanumeric12Mandatory
004QuantityN, DOn (decimal not required), n.n, n.nn, n.nnn, n.nnnn12Mandatory
005Unit Of MeasureAU, NAlpha/Numeric13Mandatory
006Unit CostN, DRn.nn, n.nnnn13Mandatory
007VAT/Tax AmountN, DRn.nn13Optional
008VAT/Tax RateN, DRn.nn13Optional
009Discount per line ItemN, DRn.nn13Optional
010Line Item TotalN, DRn.nn13Mandatory



MasterCard Business & Corporate Cards - General (MC_G)

MasterCard Level III processing requires fixed set type MC_G as the first tag. TAX_AMT and TAX_EXEMPT are supplied via API calls and are not part of ENHANCED_TLV.


Set 001 Type

TLV Set TagTLV DataVariable TypeMax LengthRequirement
001Always use fixed value "MC_G"Alpha upper case with underscore4Mandatory

Set 002 Summary Data Header & Sub-Tags

Mandatory: Set tag 002 must be present in the string. Set tag 002 length indicator is a 4-digit numeric value (N4). Only one summary set is allowed; additional summary sets are ignored.


Sub-TagData
Element
Variable
Type
Format
Requirement
Max
Length
Requirement
001Customer CodeAU, N, S1Alphanumeric25Mandatory

Set 003 Line Item Header & Sub-Tags

Mandatory: Set tag 003 must be present. Set tag 003 length indicator is a 4-digit numeric value (N4). Multiple line item sets are allowed. Only valid line item data set tags will be used if all line item sub-tags are valid and meet minimum requirements.


Sub-TagData
Element
Variable
Type
Format
Requirement
Max
Length
Requirement
001Product CodeAU, N, S6Alphanumeric15Mandatory
002Item DescriptionAU, N, S1Alphanumeric35Mandatory
003Item QuantityN, DOn (decimal not required), n.n, n.nn, n.nnn, n.nnnn12Mandatory
004Item Unit Of MeasureAU, NAlpha/Numeric3Mandatory
005Extended Item AmountN, DRn.nn13Mandatory
007Purchase OrderAU, N, S1Alphanumeric17Optional



Discover Enhanced Data - General (DISC_G)

Discover Enhanced Data uses set type DISC_G. While Discover does not currently offer a formal Level III interchange program, enhanced data can be supplied to be displayed on cardholder statements. TAX_AMT and TAX_EXEMPT are supplied via API calls and are not part of ENHANCED_TLV.


Set 001 Type

TLV Set TagTLV DataVariable TypeMax LengthRequirement
001Always use fixed value "DISC_G"Alpha upper case with underscore6Mandatory

Set 002 Summary Data Header & Sub-Tags

Conditional: Mandatory only if summary sub-tags are included; otherwise optional and can be omitted. Set tag 002 length indicator is a 4-digit numeric value (N4). Only one summary set is allowed.


Sub-TagData
Element
Variable
Type
Format
Requirement
Max
Length
Requirement
004Sales Tax IndicatorYNY or N1Optional
005Alternate Tax AmountN, DRn.nn12Optional
006Tax Rate AppliedN, DRn.nn6Optional
007Ship to Postal CodeAU, N, S5, S7Alphanumeric10Optional
008Ship From Postal CodeAU, N, S5, S7Alphanumeric10Optional

Set 003 Line Item Header & Sub-Tags

Conditional: Mandatory only if line item sub-tags are included; otherwise optional and can be omitted. Set tag 003 length indicator is a 4-digit numeric value (N4). Multiple line item sets are allowed.


Sub-TagData
Element
Variable
Type
Format
Requirement
Max
Length
Requirement
001Dept/Category CodeAU, N, S1Alphanumeric8Optional
002Item DescriptionAU, N, S1Alphanumeric35Optional
003Product CodeAU, N, S1Alphanumeric20Optional
004Item QuantityNNumeric5Optional
005Item Unit of MeasureAU, NAlpha/Numeric3Optional
006Item AmountN, DRn.nn12Optional
009Discount AmountN, DRn.nn12Optional
011Promotional CodeAU, N, S1Alphanumeric6Optional
012Promotional Start DateN8MMDDYYYY8Optional
013Promotional End DateN8MMDDYYYY8Optional



American Express Enhanced Data (AMEX_A20)

American Express Enhanced Data uses set type AMEX_A20. While American Express does not currently offer a formal Level III interchange program, enhanced data can be supplied to be displayed on cardholder statements. TAX_AMT and TAX_EXEMPT are supplied via API calls and are not part of ENHANCED_TLV.


Set 001 Type

TLV Set TagTLV DataVariable TypeMax LengthRequirement
001Always use fixed value "AMEX_A20"Alpha upper case with underscore8Mandatory

Set 002 Summary Data Header & Sub-Tags

Conditional: Mandatory only if summary sub-tags are included; otherwise optional and can be omitted. Set tag 002 length indicator is a 4-digit numeric value (N4). Only one summary set is allowed.


Sub-TagData
Element
Variable
Type
Format
Requirement
Max
Length
Requirement
001Department NameAU, N, S1Alphanumeric40Optional

Set 003 Line Item Header & Sub-Tags

Conditional: Mandatory only if line item sub-tags are included; otherwise optional and can be omitted. Set tag 003 length indicator is a 4-digit numeric value (N4). Multiple line item sets are allowed.


Sub-TagData
Element
Variable
Type
Format
Requirement
Max
Length
Requirement
001Item DescriptionAU, N, S1Alphanumeric19Optional
002Item QuantityNNumeric3Optional
003Item AmountN, DRn.nn13Optional



HTTPS POST Request Samples

Data is formatted using key-value pair (x-www-form-urlencoded) encoding and sent via POST to the Server Post API over port 443.


Level II Request (CCx1 - Sale with Tax)


Level III Request (CCx1 - Visa Sale with TLV Data)



Request Fields

Field NameDescription
CUST_NBR / MERCH_NBR / DBA_NBR / TERMINAL_NBRMerchant credentials forming the 4-part authentication key.
TRAN_TYPETransaction type code (`CCX1` for Sale, `CCX2` for Auth Only, `CCX4` for Capture Only).
AMOUNTTotal dollar amount of the transaction. Must reflect taxes, discounts, and item grand totals.
TAX_AMTThe tax portion included in the transaction amount. Set to 0.00 if tax-exempt.
TAX_EXEMPTIndicates tax exemption status (Y or N).
INVOICE_NBR / ORDER_NBR / REFERENCE_NBRTransaction reference identifiers used to fulfill Level II requirements. EPX populates REFERENCE_NBR with BRIC if all three are omitted.
ENHANCED_TLVFormatted string containing Level III TLV set tags and sub-tags.



Response Validation

To verify execution, evaluate the AUTH_RESP field in the XML response. Code 00 or 85 represents approval; other values denote decline or rejection. For further assistance, refer to the EPX Data Dictionary.

CUST_NBR=1234
&MERCH_NBR=1234567
&DBA_NBR=1
&TERMINAL_NBR=1
&TRAN_TYPE=CCX1
&AMOUNT=11.75
&TAX_EXEMPT=N
&TAX_AMT=1.75
&BATCH_ID=220316
&TRAN_NBR=1
&ACCOUNT_NBR=4111111111111111
&EXP_DATE=4912
&CARD_ENT_METH=E
&INDUSTRY_TYPE=E
&INVOICE_NBR=563992457
&cvv2=123
&FIRST_NAME=Teddy
&LAST_NAME=Tester
&ADDRESS=123+Main+Street
&CITY=Wilmington
&STATE=DE
&ZIP_CODE=12345
&USER_DATA_1=Level II Data
©2026 North is a registered DBA of NorthAB, LLC. All rights reserved. North is a registered ISO of BMO Bank N.A., Chicago, IL, Citizens Bank N.A., Providence, RI, The Bancorp Bank, Philadelphia, PA, FFB Bank, Fresno, CA, and PNC Bank, N.A. Pittsburgh, PA. North is a registered ISO/MSP of Merrick Bank, South Jordan, UT.