Founder deal: 75% off the lifetime licence. Unlimited sites, one payment, every update.See the founder plan
Home / Blog / Setup and compatibility

Level 3 Data Fields Explained: Which WooCommerce Order Fields Map Where

See exactly which WooCommerce order fields feed NMI Level 3 data: order-level tax and shipping, plus per-line item fields, and how to check the sums.

Level 3 line item data fields in WooCommerce map from the order like this: each cart line becomes one numbered set of item fields (description, product code, quantity, unit cost, line total, tax), while order-level tax, shipping and PO number go in the order fields. NMI for WooCommerce builds this from the cart for you on the Enterprise plan; this guide shows what it should produce so you can check it.

The overview of what Level II and Level III do for interchange is on the Level II and Level III processing page. Whether you save money depends on your processor, card mix and whether buyers pay with commercial or purchasing cards, so confirm eligibility with your processor first.

Order-level fields (Level II and III)

  • tax: total sales tax, included in the transaction amount. NMI documents that a negative value marks a tax-exempt order. Source: WooCommerce order tax total.
  • shipping: freight included in the amount. Source: WooCommerce shipping total.
  • ponumber: purchase order number from the cardholder. WooCommerce has no PO field by default, so you need a checkout field or order meta; check how your setup supplies it.
  • shipping_postal and ship_from_postal: destination ZIP from the shipping address; origin defaults to the postal code on your merchant profile.
  • shipping_country: two-letter shipping country.
  • discount_amount and duty_amount: order discount (coupons) and import duties, both optional.
  • summary_commodity_code: a four character code from your acquirer or processor. Ask them which to use.
  • order_date: defaults to the transaction date.

Line item fields

Each field ends with a number (item_description_1, item_description_2, and so on), one per cart line.

  • item_product_code_#: merchant code for the item. SKU is the natural source; products without a SKU need one.
  • item_description_#: product name. Keep it plain and short.
  • item_commodity_code_#: international commodity code. Your processor supplies the list.
  • item_unit_of_measure_#: defaults to EACH.
  • item_unit_cost_#: price per unit, up to four decimals.
  • item_quantity_#: quantity in the cart line.
  • item_total_amount_#: defaults to unit cost times quantity, rounded to the cent. NMI says it should not include item tax.
  • item_tax_amount_# and item_tax_rate_#: tax on that line, and the rate.
  • item_discount_amount_# and item_discount_rate_#: discount on that line.

The reconciliation rule

Line totals, tax and shipping have to add up to the transaction amount. Most Level 3 trouble is rounding or an order fee that has no line. Test with:

  1. An order with two products and different tax classes.
  2. An order with a percentage coupon.
  3. An order with free shipping and one with taxed shipping.
  4. A tax-exempt order.
  5. A fee added by another plugin (a handling fee, for example).

For each, compare the sum of item totals plus tax plus shipping minus discounts with the order total. If they differ by a cent or more, find the line causing it before going live.

Where to look when the data seems missing

  • Enable the plugin log and read the request. Sensitive values are redacted, but item fields are visible. See the troubleshooting docs.
  • Check that the order paid by a commercial or purchasing card; consumer cards usually skip the extra data.
  • Look at the raw gateway response in the order notes for rejections. The response fields guide explains how to read them, and the AVS and CVV guide covers the checks that run on the same request.

B2B extras

Business buyers often need the PO number on the card record. If they also pay by bank, the ACH authorization language post covers that side, and the features page lists plans.

A worked example: a tax-exempt purchase order

A business buyer orders three units of one product on a purchasing card, quoting a purchase order number and holding a tax-exemption certificate. A healthy request carries one item line (product code from the SKU, a plain description, quantity three, the unit cost and the line total), a tax value that marks the order as exempt, the shipping amount, the ponumber, and the destination ZIP and country.

What the buyer sees is an ordinary checkout. What you see, in the plugin log, is that single numbered line set plus the order-level fields. In the portal, the transaction should show the line detail. If the PO number is missing, the usual cause is that WooCommerce has no PO field by default, so the value was never collected.

What to check with your processor or reseller

  • Is Level II and Level III data accepted on my merchant account, and for which card brands?
  • Which summary commodity code and item commodity codes should I use? These come from your acquirer or processor.
  • Which fields are required for the better rate, and which are optional?
  • How can I confirm a transaction was treated as eligible, and how long until I see the effect?

Support for enhanced data is not the same on every processor, and consumer cards usually will not qualify. Ask before you spend time on field mapping, and record the answers with your test sheet.

Last reviewed November 2026.

Keep reading

NMI for WooCommerce

Send Level 3 data from the cart

Level II and III data is built from the order on the Enterprise plan.

See Level III processingSee pricing

Savings depend on your processor and card mix.