#Tiago Mestre-invoices

1 messages ยท Page 1 of 1 (latest)

quiet python
#

๐Ÿ‘‹ happy to help

#

how would you be able to send the invoice if there's no email for that customer?

limpid wing
#

If the email was never set, the client would only be able to download the invoice.

If it was set they could send it manually via stripe

#

We are trying to avoid the automatic email after they finalize the invoice

#

But the caveat is that we also want the properties due_date and days_until_due that only exist with send_invoice collect method

quiet python
#

collection_method=send_invoice only works with Stripe sending an email to the Customer's email

limpid wing
#

The only strange thing is that in the dashboard you can create a send_invoice without a customer having an email

#

The invoice json also reflects that by having the collection_method=send_invoice and the customer_email=null

quiet python
#

The only strange thing is that in the dashboard you can create a send_invoice without a customer having an email
in test mode? or in livemode?

limpid wing
#

test mode

quiet python
#

do you have that request id?

limpid wing
#

req_2D5x9Z4B6xYVG9

wicked elk
#

Hi there ๐Ÿ‘‹ I'm jumping in as my teammate needs to step away. Please bear with me a moment while I catch up on the context of the thread.

#

I see that Invoice is still in a draft state. We're not as familiar with the dashboard here (we focus on the API side of integrations) but if memory serves correct the dashboard won't let you finalize that invoice without providing an email, is that the same behavior that you're seeing?

limpid wing
#

There is a button that says "Review invoice" that then finalizes the invoice as you can see in the req_4026N2YqU3VkXj

#

Maybe this is a very specific edge case that only works on the dashboard but I'm just making sure if this is possible on the public API

wicked elk
#

No, it's not possible to create a send_invoice type Invoice for a Customer without an email address via the API.

limpid wing
#

Ok, we will try to find a workaround for it, thank you @quiet python and @wicked elk