**Not ready to merge as it stands: a failed export exits as a success, so finance can miss a day's file without anyone being told.** There are three blockers, all small, so tomorrow is still realistic if they're fixed with tests. I only read `export_job.py`; I didn't run it or open `test_export_job.py`, so the test coverage comments rely on the docstring.

## Blockers

1. **Failures are swallowed (`export_job.py:56-57`).** `run()` catches every exception, logs one line and returns normally.
   - Case: the finance endpoint returns 503 at 02:00. The script logs "export failed" and exits 0, and cron reports success. It should exit non-zero with a traceback.
   - Fix: remove the `except`, or use `log.exception(...)` and then `raise`.

2. **A missed day can't be re-exported (`export_job.py:47`).** The date is hardcoded to yesterday.
   - Case: the 14 Nov run fails. The 15 Nov run exports only 14 Nov's invoices, and 13 Nov's are never sent short of hand-editing the script.
   - Fix: accept an optional date argument that defaults to yesterday.

3. **Customer emails are written to the log (`export_job.py:52`).** The info line includes every customer's email address, so a 5,000-invoice day puts 5,000 addresses in the log file. Log the count only.

## Should fix before or right after merge

- **The upload has no timeout (`export_job.py:42`).** If the endpoint accepts the connection and never responds, the job hangs indefinitely. Add `timeout=`.
- **Logging is never configured.** Run as a script, the two `log.info` lines print nothing. Only the error line appears, so there is no record of a successful run. Add `logging.basicConfig` under `__main__`.
- **Amount formatting is inconsistent (`export_job.py:37`).** `amount_cents / 100` writes 1000 as `10.0`, 1999 as `19.99` and 550 as `5.5`. Use `f"{amount_cents / 100:.2f}"` or `Decimal`.
- **Zero-decimal currencies may be wrong.** If JPY is stored as whole yen, ¥500 is exported as `5.0`. Whether this is a bug depends on how the table stores JPY.
- **The day boundary depends on two time zones (`export_job.py:47`, `:28`).** "Yesterday" comes from the cron host's clock, and midnight is interpreted in the database session's time zone. If they differ, invoices paid near midnight land in the wrong file or none. Pin both to one named zone.
- **Tests cover only the CSV header and one row.** Nothing tests the date window, an upload failure, or `run()` propagating an error. These are the paths where the blockers sit.
- **The module can't be imported without `FINANCE_UPLOAD_URL` set (`export_job.py:16`).** That makes `upload` and `run` awkward to test. Read the variable inside `run()` and pass it in.

## Minor

- A re-run uploads the same file again; check whether the finance endpoint de-duplicates.
- CSVs containing customer emails accumulate in `/var/exports` with no cleanup.
- An email starting with `=` or `+` is treated as a formula if finance opens the file in Excel.
- A day with no paid invoices uploads a header-only file; confirm finance expects that.

The query is parameterised, the connection is always closed, and the fetch/write/upload split is clean.

VERDICT: NOT READY
