Skip to content
Stripe

Stripe Level 3 line item tax missing: cause and fix

Stripe accepts a PaymentIntent with line items and no tax, but tax is part of the Level 2 data that Level 3 builds on, so the sale does not qualify. Send the tax charged in amount_details.tax.total_tax_amount for the order, or in each line item's tax.total_tax_amount, not both.

Last reviewed Nov 24, 2026
On this page

You send line items on the PaymentIntent, the payment succeeds, and the fee report still shows the commercial card sale at the rate without data. A common cause is a missing tax amount: Stripe does not reject it, and the networks do not reward it.

The rule

  • Tax is part of the data: Stripe, Payment line items lists the sales tax amount among the Level 2 requirements, and Level 3 includes Level 2.
  • Stripe does not stop you: Stripe's guide says the API does not reject line items that miss the network tax requirements; those sales just do not qualify.
  • Two places, pick one: tax goes in amount_details.tax.total_tax_amount for the whole order or in line_items[].tax.total_tax_amount per line. The two are mutually exclusive (Stripe API, Create a PaymentIntent).

Why it happens

Checkout flows often compute tax in a separate service and fold it into amount, while the code that builds amount_details only maps products. The total is right; the tax field is missing.

Wrong and right

Wrong: line items, no tax field

{
  "amount": 9400,
  "currency": "usd",
  "amount_details": {
    "line_items": [
      { "product_name": "Hex bolts 3/8 in, zinc", "product_code": "HB-38-ZN", "quantity": 200, "unit_cost": 35, "unit_of_measure": "EA" },
      { "product_name": "Flat washers 3/8 in", "product_code": "FW-38-ZN", "quantity": 200, "unit_cost": 12, "unit_of_measure": "EA" }
    ]
  },
  "payment_details": { "order_reference": "PO-48120" }
}

Right: the tax charged, at order level

{
  "amount": 10058,
  "currency": "usd",
  "amount_details": {
    "tax": { "total_tax_amount": 658 },
    "line_items": [
      { "product_name": "Hex bolts 3/8 in, zinc", "product_code": "HB-38-ZN", "quantity": 200, "unit_cost": 35, "unit_of_measure": "EA" },
      { "product_name": "Flat washers 3/8 in", "product_code": "FW-38-ZN", "quantity": 200, "unit_cost": 12, "unit_of_measure": "EA" }
    ]
  },
  "payment_details": { "order_reference": "PO-48120" }
}

amount stays equal to the line items plus tax, or Stripe rejects the request for not adding up.

What to do

  1. Pass the tax your tax service computed into amount_details, at one level only.
  2. When no tax applies, send zero rather than leaving the field out.
  3. Use API version 2025-10-29.clover or later, where these fields exist.

Sources

Check one transaction

Run this sale through the checker.

The sale from this page is already filled in. Press Check transaction, then change it to one of your own. No account needed.

Allow analytics cookies? Privacy