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_amountfor the whole order or inline_items[].tax.total_tax_amountper 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
- Pass the tax your tax service computed into
amount_details, at one level only. - When no tax applies, send zero rather than leaving the field out.
- Use API version 2025-10-29.clover or later, where these fields exist.
Sources
- Stripe, Payment line items, Level 2 requirements and network validation (read November 24, 2026).
- Stripe API, Create a PaymentIntent,
amount_details.taxandline_items[].tax(read November 24, 2026).
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.