Add Level II and Level III data

Send invoice and tax data with business and corporate card transactions so they can qualify for Level II interchange rates.

Level II and Level III data are extra purchase details that you send with a card transaction. Level II adds an invoice number and the tax amount. Level III adds line items on top of Level II. Business, corporate, purchasing, and government cards use these details, and a qualifying transaction can receive a lower interchange rate.

Use this guide when a merchant on your platform takes business or government cards and wants those transactions to qualify for Level II or Level III rates.

Before you start, make sure you have the following:

  • A connection that sends Level II or Level III data. Each connection's guide says which fields it sends and any length limits. See Supported connections for the guides.
  • The merchant's ID and a payment method, such as a token. See Charge a payment.

Qualification requirements

The connection and the card networks decide whether a transaction qualifies. Preczn can't guarantee it, and some connections also check details they hold about the merchant, such as postal code, tax ID, and state.

A transaction can qualify for Level II rates when it meets these requirements:

  • The merchant processes under a merchant category code that allows Level II rates.
  • The card is a supported type, such as a business or corporate card.
  • The request includes an invoice.
  • The request includes tax information: a non-zero tax, or taxExempt set to true for a tax-exempt order.

A transaction can qualify for Level III rates when it meets these requirements:

  • It meets every Level II requirement.
  • The merchant processes under a merchant category code that allows Level III rates.
  • The card is a supported type, such as a corporate or purchasing card.
  • The request includes at least one line item in items.

Tax amount and tax exemption

Send tax as an integer in the currency's smallest unit, such as 1031 for $10.31.

For a tax-exempt order, set taxExempt to true, and send tax as 0 or leave it out. Preczn applies these rules:

  • If taxExempt is true and tax isn't 0, Preczn rejects the request with a 400 and the message tax must be 0 or omitted when taxExempt is true.
  • If tax is 0 and you leave out taxExempt, Preczn accepts the transaction but doesn't treat it as exempt.
  • taxExempt applies to one transaction. It isn't a merchant or connection setting, so send it on every exempt transaction.

Connection support for taxExempt varies. See the connection's guide.


Send Level II data

To send Level II data, complete the following steps:

  1. Send POST /v1/transactions with tax and invoice. For a tax-exempt order, send taxExempt instead of a non-zero tax.

    {
        "merchantId": "mid_test_{merchantId}",
        "type": "sale",
        "amount": 12500,
        "currency": "USD",
        "payment": {
            "token": "tkn_test_{tokenId}"
        },
        "tax": 1031,
        "order": "{yourOrderId}",
        "invoice": "{yourInvoiceNumber}"
    }
    {
        "merchantId": "mid_test_{merchantId}",
        "type": "sale",
        "amount": 12500,
        "currency": "USD",
        "payment": {
            "token": "tkn_test_{tokenId}"
        },
        "tax": 0,
        "taxExempt": true,
        "order": "{yourOrderId}",
        "invoice": "{yourInvoiceNumber}"
    }
  2. Check the response. The transaction returns the Level II fields that you sent.

    {
        "id": "txn_test_{transactionId}",
        "type": "sale",
        "amount": 12500,
        "authorization": {
            "status": "A"
        },
        "tax": 1031,
        "order": "{yourOrderId}",
        "invoice": "{yourInvoiceNumber}"
    }

    This response is abbreviated. For every field, see Process Transaction.


Add Level III line items

To send Level III data, add line items to a Level II request. For each item's fields, see items in Process Transaction.

  1. Send POST /v1/transactions with the Level II fields and an items array. Add freightTax and dutyTax when the order has freight or duty charges, as integers in the currency's smallest unit.

    {
        "merchantId": "mid_test_{merchantId}",
        "type": "sale",
        "amount": 27500,
        "currency": "USD",
        "payment": {
            "token": "tkn_test_{tokenId}"
        },
        "tax": 2500,
        "order": "{yourOrderId}",
        "invoice": "{yourInvoiceNumber}",
        "freightTax": 0,
        "dutyTax": 0,
        "items": [
            {
                "productCode": "{productCode}",
                "productDescription": "{productDescription}",
                "commodityCode": "{commodityCode}",
                "quantity": 2,
                "unit": "EA",
                "price": 13750
            }
        ]
    }
  2. Check the response. The transaction returns the items, freightTax, and dutyTax that you sent, with the Level II fields.

    {
        "id": "txn_test_{transactionId}",
        "type": "sale",
        "amount": 27500,
        "authorization": {
            "status": "A"
        },
        "tax": 2500,
        "invoice": "{yourInvoiceNumber}",
        "freightTax": 0,
        "dutyTax": 0,
        "items": [
            {
                "productCode": "{productCode}",
                "productDescription": "{productDescription}",
                "commodityCode": "{commodityCode}",
                "quantity": 2,
                "unit": "EA",
                "price": 13750
            }
        ]
    }

    This response is abbreviated. For every field, see Process Transaction.

A connection that doesn't send Level II or Level III data still processes the transaction and stores the fields on the Preczn transaction.

To ask for Level II or Level III support on another connection, contact your Preczn sales team.


Did this page help you?