**Not ready to merge tomorrow.** If the upload fails, the job exits successfully and nobody is told, and it also writes customer emails into the logs. I read only `export_job.py`. I did not open `test_export_job.py`, so what I say about tests comes from the docstring.

**Blockers**

1. **Failures are silent** (`export_job.py:56-57`). `run()` catches every exception, logs one line, and exits 0.
   - Example: the finance endpoint returns 500 at 02:00. `raise_for_status()` raises and the handler logs it. Cron sees success, so no alert fires, and finance never gets the file for that day.
   - Expected: a non-zero exit, so cron or monitoring flags it. Remove the `except`, or log and re-raise.
2. **Customer emails go into the logs** (`export_job.py:52`). The `log.info` call prints `[row[1] for row in rows]`, which is every customer's email address for the day. Log the count and the date only.
3. **Money is formatted as a float** (`export_job.py:37`). `amount_cents / 100` writes `10.0` for 1000 cents, where finance probably expects `10.00`. It also assumes every currency has two decimal places. JPY has none and KWD has three, so those amounts would be wrong by 100x. Use `Decimal` with a per-currency exponent, and confirm the format finance expects.
4. **No timeout on the upload** (`export_job.py:42`). If the endpoint hangs, the cron job hangs with it, and the next night's run may overlap. Add `timeout=` to the call.

**Should fix**

5. **Importing the module can crash** (`export_job.py:16`). `os.environ["FINANCE_UPLOAD_URL"]` runs at import, so any test or tool that imports the module without that variable set gets a `KeyError`. Read it inside `run()` or `upload()`.
6. **"Yesterday" is ambiguous** (`export_job.py:47`). `date.today()` uses the server's timezone. The query compares `paid_at` to a plain date, which Postgres interprets in the session timezone. If those two differ, the export can include or miss invoices near midnight. Pick one timezone (probably UTC) and apply it in both places.
7. **Re-runs are not safe.** A manual re-run overwrites the CSV and uploads it again. Unless the endpoint de-duplicates by filename, finance gets duplicates. Decide whether the endpoint is idempotent, and say so in the code.
8. **Test coverage is thin.** The docstring says the tests cover only the CSV header and one row. These cases have no tests:
   - `fetch_invoices`, including the date boundaries
   - `upload` on success and on an HTTP error
   - `run()` when something fails (after fix 1, this must exit non-zero)
   - an empty day
   - amount formatting, such as 1000, 5 and a zero-decimal currency

**Minor**

- `EXPORT_DIR` is hardcoded. A directory of customer emails sitting on disk indefinitely also needs a retention decision.
- A customer email starting with `=` or `+` could be run as a formula if someone opens the CSV in Excel. This is low risk, but worth a thought.
- `run()` handles the connection, fetching, writing and uploading together. Once the error handling is fixed, that is still a reasonable size.

Fixes 1 to 4 are small, so you can still make tomorrow if you do them today. Fix 1 needs a test that proves the job exits non-zero.

VERDICT: NOT READY
