#matrix-2t_code
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1402186927070908507
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there, give me awhile to catch up
It looks like you are referring to tax display on Stripe invoices โ it is not possible to display tax as a line item on an invoice. The tax will be reflected near the invoice's subtotal
Thanks for your reply. Somehow, the tax amount is not displayed there.
I see, could you share with me your invoice ID please? It should be prefixed with in_xxx
could you copy and paste the invoice ID for me please
it is at the top right corner
I am also removing your screenshot because it contained your customer's email and this is a public channel
That's the invoice code in your Stripe account, I can't retrieve your invoice in our system with that. I will need the invoice ID that is prefixed with in_xxxxxx
thank you, give me awhile to take a look
sure
You're using Stripe Tax, right? The invoice (in_1RsOwTJ2kSxn1vZ1UMIQe1Rt) doesn't have automatic tax enabled currently, that's why no tax is being calculated
To have tax calculated automatically for one-time invoice, you'd need to pass automatic_tax.enabled:true: https://docs.stripe.com/api/invoices/create#create_invoice-automatic_tax
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
no worries, let me know what I can help with
the enabled parameter is a boolean, it doesn't look like its represented correctly in your code. The snippet looks like you are passing it as a string
You don't have to pass liability and status either
hi! I'm taking over this thread. let me know if you have other questions.