#Andrzej
1 messages · Page 1 of 1 (latest)
Hi there!
Hi Soma!
but the invoice does't have correct account tax ID on it.
Can you clarify what that means? Do you have a concrete example?
I would like:
- the GB VAT number to be visible on invoices when GB VAT was charged,
- and EU OSS VAT number to be visible on invoices where EU OSS VAT was charged.
And currently what happens?
In my current settings, when EU VAT is charged only company GB VAT number is visible on the invoice - EU VAT number should be visible but it is not.
Can you share an invoice ID (in_xxx) where you saw this issue?
Thanks! Give me a few minutes to look into this.
sure, thanks!
sorry, that invoice was created from the recurring payment, but has the same issue.
I will find first invoice from the checkout, one sec.
this is a first invoice after checkout in_1Mvy54KRCErjAAIfQLgqfqaI
both charging EU VAT and displaying account GB VAT number instead of account EU OSS VAT number on the invoice.
Hey! Taking over for my colleague. Let me catch up.
Hey, sure thanks.
Ok I see in your account's billing&invoice setting, you've set the GB VAT as a default one, so all invoices will have this vat:
https://dashboard.stripe.com/settings/billing/invoice
That's expected, now checking if there is an option to automatically display the correct VAT, but AFAIK there isn't, one option is to display all VATs on all invoices... double checking
This can't be done automatically, what you can do is to create an Invoice and set the Account Tax Id you want manually or display all accounts ids:
https://stripe.com/docs/tax/tax-ids?locale=en-GB#tax-ids-invoices
This can't be handled by Checkout Session.
It can't be automatic, ok 😦
To display both IDs, can it be done with checkout?
User flow is starting with checkout for us, we need to use checkout I believe.
No, you need to create more customizable integration using Invoices in this case.
In all cases, I don't think there is a way to detect the correct Account VAT to display automatically because in theory both legal entity can sell goods/services to EU/GB (aka export)... but this is only my personal though...
But in conclusion, you can't achieve this using Checkout Session.
Would it be possible to handle a webhook and swap or add account ids?
I'm happy to write the code that will do this, but I'm not sure which webhook to handle.
I need something that happens before invoice is marked as 'paid', so I can still change it.
or maybe even before invoice is created during chekckout
I though about that, but the issue is
You can’t add, change, or remove account tax IDs after an invoice is finalized.
https://stripe.com/docs/tax/tax-ids?locale=en-GB#tax-ids-invoices:~:text=You can’t add%2C change%2C or remove account tax IDs after an invoice is finalized.
While when using Checkout Session, the invoice is finalized directly and marked as paid...
yes, I had an issue that invoice is marked as paid when trying it.
I saw account_tax_ids field in other places outside of of the invoice, trying to find them now... and was wondering if those could be changed on one of the webhoooks.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, you can specify manually set one or all account tax id when creating invoice but not detected automatically:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation-invoice_data-account_tax_ids
I'm looking for a way to manually select with stripe checkout.
Is there any webhook that happens before invoice is created, during checkout?
All webhook events related to Invoice can be found in this page in your dashboard:
https://dashboard.stripe.com/events?related_object=in_1Mvy54KRCErjAAIfQLgqfqaI
ok, thansk I will experiment a bit more
Welcome!
If you can, please add a feature request to automatically show appropriate account tax id on the invoices.
do you have it in the roadmap, do you know?
No AFAIK, but:
I don't think there is a way to detect the correct Account VAT to display automatically because in theory both legal entity can sell goods/services to EU/GB (aka export)... but this is only my personal though...
not sure in general, for us it is a one VAT number per registration configured in stripe tax
And a second feature request (maybe easier): Allow to display multiple account tax IDs with stripe checkout.
You can achieve this by passing multiple account tax ids, no (I missed this at the beginning)
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-invoice_creation-invoice_data-account_tax_ids
It says "Generate a post-purchase Invoice for one-time payments.", will it work with subscriptions?
Ah yes this is for only one time payment, not with Subscriptions
Something like this for subscriptions would be awesome.
Just submitted a feedback and attached it to your accountId acct_1HS1fDKRCErjAAIf
Thanks! Will there be an action on stripe to review it and potentially implement?
I'm wondering if I can wait for that or should I try to find a solution, moving from checkout to advanced integration is a big task I think.