#redoo_webhooks

1 messages ¡ Page 1 of 1 (latest)

celest lindenBOT
#

👋 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/1342040298271805480

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

desert jasper
#

Are you using Stripe Tax (automatic tax)? Address and tax information will only be needed when Stripe Tax is used. Default invoice creation doesn't have Stripe Tax enabled.

clear sand
#

@river I mean, our accountants need customer addresses cause in our country this is required on invoices. So we need to be able to save that address. About Stripe Tax - i do not know yet, I will read about it and come back to you. The thing is, we are not issuing invoices for clients, our clients are using stripe, to sell their products or services, but than they want our accountants to see all those invoices and calculate taxes or do other legal stuff.

#

So what I am trying to achieve is: register webhook in my app, that will listes for our client's stripe events. When invoice.paid event accures, I would like to save that invoice in our database, but in different invoice structure.

desert jasper
#

Could you share an example invoice ID (in_...) on how your client integrates? Likely that they have Stripe Tax (automatic tax) or Tax Rate (manual tax) created on the original invoice, that's why the tax information can be available in invoice.paid event.

If you use Stripe CLI to trigger the invoice.paid event, it doesn't collect tax by default, so those tax and address information will not be present.

clear sand
#

For now I only tryed to test it locally from CLI events. I will ask If i could get client invoices id. If cli events do not have thos information, how could I test cases where tax is collected and address or taxes are present?

desert jasper