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, ortaxExemptset totruefor 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
taxExemptistrueandtaxisn't0, Preczn rejects the request with a400and the messagetax must be 0 or omitted when taxExempt is true. - If
taxis0and you leave outtaxExempt, Preczn accepts the transaction but doesn't treat it as exempt. taxExemptapplies 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:
-
Send
POST /v1/transactionswithtaxandinvoice. For a tax-exempt order, sendtaxExemptinstead of a non-zerotax.{ "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}" } -
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.
-
Send
POST /v1/transactionswith the Level II fields and anitemsarray. AddfreightTaxanddutyTaxwhen 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 } ] } -
Check the response. The transaction returns the
items,freightTax, anddutyTaxthat 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.
Updated 6 days ago
