#henkcorporaal-invoice-tax
1 messages · Page 1 of 1 (latest)
Hey there 👋 thanks for that ID, please bear with me a moment while I pull that up.
thanks
My initial hunch is that the price has an exclusive tax behavior where as the default_tax_rate you're passing is inclusive.
I'm not sure that's the case. Let me post some screenshots.
This is the price that's applied to the invoice item
This is the tax that was applied to the invoice with same id as you'll find in that request-id.
They're both set to Exclusive
Apologies, you're right, hm, looking further
sure. no problem.
Could you paste the ID for that price here?
price_1JolzdEniMTe3FpIfnSzcDwO
It looks like there is another pending invoice item on that customer that uses this price, which has an inclusive tax behavior:
price_1K6Ut1EniMTe3FpIru1Uc0NF
I see. So in other words, one of the tax rates applied to this price_id has an inclusive tax_behavior. That correct?
The price itself has its tax_behavior set to inclusive
https://stripe.com/docs/api/prices/object#price_object-tax_behavior
But the tax rate that you're providing as the default_tax_rate is trying to be applied to all items on the invoice, and since that tax rate has an exclusive behavior it is clashing with the invoice item that is using the price I provided.
I'm getting slightly confused now. Doesn't the price show that the Tax-behavior is Exclusive?
like it says here
or is the price you're referring to the price for a different Invoice Item that was applied to this customer?
It's a different price. There are currently 4 invoice items pending on this customer that are trying to be pulled in when you try to create a new invoice.
This is the invoice items where I'm seeing the inclusive price:
ii_1K7KNfEniMTe3FpI5pr0Q3Hm
Ok. I think I got it. Thanks. I'll go through all my prices and make sure they're all set to Exclusive. Same for all my taxes. Sounds like that should resolve this issue.
Sounds good, happy to help!