App Logo
platform.openai.com

Download an OpenAI platform invoice PDF

Automatically download an OpenAI platform invoice PDF on platform.openai.com. Download a billing invoice PDF from the signed-in OpenAI API platform organization (platform.openai.com; API usage and credits, not the ChatGPT subscription). Pass the invoice id (in_...) or number (e.g. PFWBT7SS-0003) as shown by list_invoices, or omit it for the most recent invoice. If OpenAI asks which API organization to use, it picks the one named in organization, or else the first offered. Returns the invoice number, status, total (cents), created date, and where the PDF was saved, plus every invoice number on the organization. It fails with the list of available invoices if the requested one does not exist. Read-only.

Input

invoice optional

Invoice id (in_...) or invoice number (e.g. PFWBT7SS-0003) as listed by list_invoices. Omit for the most recent invoice.

organization optional

Which API organization to use if OpenAI asks you to choose one (its name as shown). Defaults to the first one offered.

Output

id required
filename required
url optional
path optional

Where the PDF was saved on the machine running the browser.

total optional

Amount in the smallest currency unit (cents).

number optional
status optional
created optional
currency optional
available optional

All invoice numbers on the organization, newest first.

FAQ

Download a billing invoice PDF from the signed-in OpenAI API platform organization (platform.openai.com; API usage and credits, not the ChatGPT subscription). Pass the invoice id (in_...) or number (e.g. PFWBT7SS-0003) as shown by list_invoices, or omit it for the most recent invoice. If OpenAI asks which API organization to use, it picks the one named in organization, or else the first offered. Returns the invoice number, status, total (cents), created date, and where the PDF was saved, plus every invoice number on the organization. It fails with the list of available invoices if the requested one does not exist. Read-only.
Ask an AI agent connected to Reduck to run reduck/platform.openai.com/download_invoice_pdf, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/platform.openai.com/download_invoice_pdf
You do not need one. "Download an OpenAI platform invoice PDF" drives the real platform.openai.com pages in a browser, so it works whether or not platform.openai.com offers an API for this.
Optional: invoice, organization.
It returns id, url, path, total, number, status, created, currency, filename, available.
Yes. It acts as you on platform.openai.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the platform.openai.com cookies saved by the Reduck extension.
It only reads. It looks things up on platform.openai.com and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/platform.openai.com/download_invoice_pdf, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/platform.openai.com/download_invoice_pdf
It is part of Reduck's official curated catalogue.

Start building not clicking