#moustache2371

1 messages · Page 1 of 1 (latest)

signal tendonBOT
long spade
#

Hello there

#

Taking a look

torpid oak
#

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

long spade
#

You are on an older API version so you need to set pending_invoice_items_behavior: include

#

When you create your Invoice

torpid oak
#

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*

long spade
#

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.

torpid oak
#

I see.

long spade
#

But you can also specify the Invocie ID when you create the items if you want to go that route

torpid oak
#

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"?

long spade
#

Yep you would need to set that if you are using auto tax.

torpid oak
#

ok, thanks!