#prerak-theCirqle

1 messages ยท Page 1 of 1 (latest)

weak pawnBOT
sour solstice
normal dawn
#

Ah I see. Missed it. Thanks for the reference.

#

The invoice that is generated in test mode, I do not see the tax calculations. Is this expected?

sour solstice
#

Umm not sure, can you share the example request?

normal dawn
#

Sure.

Invoice creation:

const newInvoice = await createInvoice({
                customer: stripeCustomerId,
                auto_advance: false,
                collection_method: 'send_invoice',
                days_until_due: 7,
                pending_invoice_items_behavior: 'include',
                automatic_tax: {
                    enabled: true,
                },
            });

Invoice item creation:

 const newInvoiceItem = await createInvoiceItem({
            customer: stripeCustomerId,
            invoice: newInvoice.id,
            amount: applicationDetails.bidWithFee * 100,
            description: `Creator - ${applicationDetails.Blogger.fullName}`,
            tax_behavior: 'exclusive',
        });

I can see the invoice with the item in dashboard, but nothing related to tax.

Here is the invoice id in case it is helpful: in_1NL4qTJfDrXXnmWjKLlVr3XW

sour solstice
#

Hmm looking at the invoice object
taxability_reason: not_collecting

normal dawn
#

I already have a registration in Netherlands

#

The invoice was created before I did the registration. let me try with a new one.

sour solstice
#

๐Ÿ‘

normal dawn
#

Yeah, seems to work now.

#

Thanks a lot for your help.
Have a nice day ahead ๐Ÿ™‚