#moustache2371
1 messages · Page 1 of 1 (latest)
this is my code. I look at the docs but I do not see a clear solution hear. This product/price does not exist in stripe (it is a custom product) but it is being automatically connected to a price for some reason
You are on an older API version so you need to set pending_invoice_items_behavior: include
When you create your Invoice
This was changed to be handled by default in the 2022-08-01 version: https://stripe.com/docs/upgrades#2022-08-01
I see. what is the difference between include/exclude? is that when the tax included in the price?
If no isn't exclude more typical?
if so*
The difference is just with how the Invoice Items will be handled when created
So whether the Invocie will grab them or not.
I assume you want them to be included with the Invoice when the items are created.
I see.
But you can also specify the Invocie ID when you create the items if you want to go that route
The invoice doesn't exist yet in this case
I see. That makes sense. What about this setting on the invoice item creation. Do I need to specify "exclusive"?
Yep you would need to set that if you are using auto tax.
ok, thanks!