InvoiceZip
Why a Stripe invoice can land in the next month's ZIP
InvoiceZip decides which month an invoice belongs to by its Stripe created time, counted in UTC. If you're not on UTC, invoices created near midnight at the start or end of a month can show up in the neighbouring month's ZIP. Here's exactly how the cutoff works and how to check for it.
The rule the app uses
- You enter a month as YYYY-MM. The app asks Stripe for invoices with
created from 00:00:00 UTC on the 1st through 23:59:59 UTC on the last day of that month.
- It's the created date only. The finalized date, due date and paid date don't change which month an invoice is in.
- The free preview and the ZIP export use the same rule, so the preview's count matches what the export lists.
Two examples
- New York, end of the month
- An invoice created at 9:00 pm on October 31 in New York (EDT, UTC−4) has a created time of 01:00 UTC on November 1. It goes in the
YYYY-11 ZIP, not October's. In winter, when New York is on EST (UTC−5), the same thing happens from 7:00 pm on the last day.
- Tokyo, start of the month
- An invoice created at 8:00 am on November 1 in Tokyo (UTC+9) has a created time of 23:00 UTC on October 31. It goes in the October ZIP.
How to check and catch them
- Run the free preview for the month. It shows the invoice count and the first five file names without downloading anything.
- If an invoice you expected isn't there, preview the next (or previous) month. It will be in one of the two.
- Export both months if you need every invoice your books put in that month. Each one is a separate
invoicezip-YYYY-MM.zip; there's no custom date range or time zone setting.
Good to know
- Does it change dates on the invoices?
- No. The PDFs are Stripe's own invoice PDFs, downloaded as they are. The UTC rule only decides which month's ZIP an invoice goes into.
- What else decides what's in a month's ZIP?
- Every invoice created in that UTC month that has a PDF is included, whatever its status. Drafts have no PDF yet and are skipped. Paid, open and void invoices.
- Which keys work?
- Only restricted keys starting with
rk_live_ or rk_test_, with Invoices: Read. Secret keys (sk_) and publishable keys (pk_) are rejected before any call to Stripe. Key setup guide.
- What does it cost?
- $15 once, through Whop. Run it for as many months as you need.