InvoiceZip

Stripe invoice link expired? Here's how to get a working one

Old Stripe invoice links stop working after a while. Here is when that happens according to Stripe's docs, what to do if you're the customer, how the business gets a fresh link, and how a business can keep its own copy of the PDFs so it doesn't need old links later.

When Stripe invoice links expire

If you're the customer

If you're the business

  1. One invoice: open it in the Stripe Dashboard under Invoices and click Invoice PDF on the invoice details page, or resend the invoice to the customer. Links from the Dashboard are fresh.
  2. From code: don't store and reuse invoice_pdf or hosted_invoice_url. Store the invoice ID and retrieve the invoice again when you need a link. Stripe says an expired PDF URL requested by a non-browser client (for example curl) returns 400 with a URL expired body, so your code can detect it and fetch the invoice again.
  3. A whole month: to keep your own copies so you don't depend on links at all, download the PDFs and save them. That's what InvoiceZip does: see below.

How InvoiceZip handles links

Limits

Sources

Get InvoiceZip on Whop, $15 onceRun the free preview first