#geordi-invoice-vat

1 messages · Page 1 of 1 (latest)

wraith cradle
#

Hello! What do you call "validate" in that sentence @gilded fractal

gilded fractal
#

Is there some type of pre-flight synchronous request that can be made to have this validated along with customer name and address?

#

Before a subscription is created and invoice is issue to the customer - to avoid the need to refund and re-create the subscription upon invalid VAT

wraith cradle
#

I'm... confused so please bear with me. Collecting tax ids is done entirely separately from a Subscription. So I don't get what you call "pre-flight synchronous request"

gilded fractal
#

No worries - let me try to explain better.

When a customer is created we can optionally do a separate request to add a tax ID to the customer.

This results in the webhook firing tax_id.updated with the verification status of the tax id

I wanted to know if there was a way to wait for the verification process synchronously, through an API endpoint, as opposed to waiting for status changes through a webhook

wraith cradle
#

Ah gotcha then no that is not possible. You have to wait for the event as it can take a while since we're using an external partner to verify it

gilded fractal
#

Ah okay, in the docs above it mentions it takes a few seconds usually - what is your experience of this? We can always hold the UI waiting for the status to be verified but just evaluating the risks

wraith cradle
#

It can be quick, it can be slow, you have to be resilient to this