#henkcorporaal-invoice-tax

1 messages · Page 1 of 1 (latest)

tired shuttle
#

Hey there 👋 thanks for that ID, please bear with me a moment while I pull that up.

pliant pawn
#

thanks

tired shuttle
#

My initial hunch is that the price has an exclusive tax behavior where as the default_tax_rate you're passing is inclusive.

pliant pawn
#

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

tired shuttle
#

Apologies, you're right, hm, looking further

pliant pawn
#

sure. no problem.

tired shuttle
#

Could you paste the ID for that price here?

pliant pawn
#

price_1JolzdEniMTe3FpIfnSzcDwO

tired shuttle
#

It looks like there is another pending invoice item on that customer that uses this price, which has an inclusive tax behavior:
price_1K6Ut1EniMTe3FpIru1Uc0NF

pliant pawn
#

I see. So in other words, one of the tax rates applied to this price_id has an inclusive tax_behavior. That correct?

tired shuttle
#

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.

pliant pawn
#

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?

tired shuttle
#

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

pliant pawn
#

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.

tired shuttle
#

Sounds good, happy to help!