#gt-ch-email
1 messages · Page 1 of 1 (latest)
Hi there!
You can send an email receipt based on your settings on this page https://dashboard.stripe.com/settings/emails
You mentioned invoices, so are you creating subscriptions with Checkout Sessions?
If so, there are a lot of settings here related to email and invoices: https://dashboard.stripe.com/settings/billing/automatic
And on the invoice object, there is a invoice_pdf field if needed: https://stripe.com/docs/api/invoices/object#invoice_object-invoice_pdf
No, we are not creating subscriptions but one-off payments. The receipt is sent to the user but we can't download it as PDF to keep in our accounting tool.
Invoices and receipts are used interchangeably here. We are not using invoice API but only Stripe Checkout for one-off payments.
Got it. FYI Checkout Session won't create any invoices for one-off payment.
And the email receipt I mentioned above is not enough, you need it as a pdf?
Note that on the charge object, you do have a receipt_url property that links to the receipt https://stripe.com/docs/api/charges/object#charge_object-receipt_url
Got it. FYI Checkout Session won't create any invoices for one-off payment.
Thanks yes that is clear now.
And the email receipt I mentioned above is not enough, you need it as a pdf?
Correct. The major blocker here is how can we download a PDF receipt, so we can store it in our accounting tool and send to users if they request it again.
We are actually using this receipt URL to show on the User's profile page in the payments section.
However, this receipt URL is HTML only. We still need a PDF.
Understood! Unfortunately Stripe doesn't offer a receipt in PDF format. So you could either build your own pdf from scratch for this, or try to reuse the receipt_url and convert that in a PDF on your end.
Thanks @glad roost for clarifying this. We will look into the suggested solutions. Is this on your radar to provide receipt PDFs or I shouldn't expect it ever happening from Stripe?
I know it's not the first time we've heard that request, but I have no idea if that will be improved. I'm guessing no changes in the short term on this.