Edit:
I was annoyed.
Sadly Open AI (and I) are using MFA to authenticate. At least, closer. To automation. I only need to provide a one time password and press enter. The rest is now solved.
(Still newbie on this forum so cant share the link. I let chatGPT do the main part of the work for me.)
https://github.com/moggleif/openai-download-receipt-or-invoice
P.S. I might look into creating a script or so, to run in the browser or whatever, to get it automated even further, we will see.
OpenAI just have to check a box.
https://docs.stripe.com/payment-links/post-payment#send-email-receipts
Text from Stripe regarding send-email-receipts
Stripe can automatically send email receipts to your customers after successful payments. You can enable this feature with the email customers for successful paymentsoption in your email receipt settings. To customise your receipt colour and logo, go to the Branding settings.
To display custom text, use the description attribute on the PaymentIntent. Some examples include:
- Description of goods or services provided
- Authorisation code
- Subscription information
- Cancellation policies
Automatically send paid invoices!
In addition to ordinary receipts, Payment Links can generate paid invoices as proof of payment. Invoices have more information than receipts. For subscriptions, Stripe generates invoices automatically, but for one-off payments, you need to enable them.
To generate invoices, toggle Successful payments on in your Customer emails settings. Then, when creating a Payment Link, select Create an invoice PDF in the After payment tab. You can configure your invoice, including adding a memo, footer, and your tax ID in your invoice template settings.
After the payment completes, Stripe sends an invoice summary with links to download the invoice PDF and invoice receipt to the email address your customer provides during checkout. You can also view the invoice in the Dashboard or access it programmatically by listening to the invoice paid event through an event destination.
Pardon me…chatGPT said OpenAI just should do this
Unfortunately, there isn’t a way for an end-customer to “turn on” Stripe’s automatic invoice or receipt emails yourself — that’s entirely controlled by the merchant’s Stripe settings. If you didn’t get an email receipt or invoice, the only thing you can do is ask the company to resend it or to enable Stripe’s Customer emails for successful payments.
Here’s what the merchant needs to do on their side to make sure you—and every customer—get a proper invoice or receipt automatically:
- Enable Customer emails
In the Stripe Dashboard under Settings → Customer emails, they must toggle on Successful payments. This tells Stripe to email customers whenever a one-off payment succeeds. - Generate an invoice PDF
If they’re using a Payment Link (rather than a subscription), they also need to edit the Payment Link and, in the After payment tab, check Create an invoice PDF. They can customize the look (memo, footer, tax ID) in Settings → Invoicing → Invoice template.
Once they’ve done that, Stripe will automatically send you an email containing:
- A brief invoice summary
- A link to download both the full invoice PDF and the receipt