Download invoices using REST API


I would like to find out if there is a way to download invoices for the OpenAI subscription using the REST API? ChatGPT claims it to be possible, but I can’t find such end-points mentioned in the REST API reference.

When doing this manually, I get redirected to Stripe where the invoice is available for downloading.

Any help would be much appreciated!
Thanks in advance!


1 Like

No, it’s not possible.

Don’t trust the model when it tells you about its capabilities or what you can do with the API, it doesn’t know.


Yeah, I had the same feeling.
So, why aren’t the invoices just being e-mails as PDF files like every other company does…? Having to log into the web interface and downloading them manually is such a pain in the behind…

I don’t know that’s how every company does it. I’m pretty sure I need to log into AWS to get my invoices, but maybe I just set something up that way in the before-times…

You could just set up a simple RPA bot for this.

Run it locally on your computer, get it to run at the end of the month, download the file and email it to yourself (or any other action that you want). :slight_smile:

Eg: TagUI

Actually, even AWS send out e-mails with the invoices attached to them. It’s really straight-forward to parse your e-mails and much easier than having to write a tool that logs into the website and tries to download the invoices, due to a lack of a proper REST API…


Just bumping this. It’s a basic business need to be able to forward and/or parse invoices of licensed services. Right now the two possible routes are manually downloading individual invoices per workspace or build some sort of crawler that would require the relevant authorization. Neither are viable.

1 Like

@OpenAI ,

This is a very simple thing to implement.

On the one side, these invoices should be sent by e-mail for easier forwarding to the respective accountant(s), while on the other it should also be possible to download these via an end-point in your REST API.

This topic is open and by no means resolved. It would be great to hear back from someone from OpenAI with an official position on this. It’s completely inconvenient how it works right now and this is a very simple thing to implement that doesn’t require months planning.

@OpenAI best would be to receive invoice by email (and yes, I get my AWS invoice by email). It would be useful to have a billing contact that doesn’t necessarily have an OpenAI account (e.g. external accounting firm) to receive these emails as well (or to be able to log in to view invoices).