**`export_job.py` is not ready to merge tomorrow.** If the upload fails, the job still exits successfully, so cron never reports it and finance silently gets no file. I read only this file, not `test_export_job.py`. For the tests, I'm relying on the docstring, which says they cover a CSV header and one row.

## Must fix before merge

1. **Failures are swallowed (`export_job.py:56-57`).** `run()` catches every exception, logs one line, and exits 0.
   - Example: the finance endpoint returns a 500. `raise_for_status()` raises, the error is logged, and cron sees a success. Finance finds out when someone notices a missing day.
   - Expected: a non-zero exit, so cron's mail or alerting fires. Drop the `except` and keep the `finally`, or re-raise after logging.
   - It's also inconsistent. A failure in `psycopg2.connect` on line 49 escapes the `try` and crashes the job, while every other failure is hidden.

2. **Customer emails are written to the logs (`export_job.py:52`).** It logs `[row[1] for row in rows]` at INFO, which puts a full day's customer emails into log storage. Log only the count and the day.

3. **No timeout on the upload (`export_job.py:42`).** `requests.post` has no `timeout`, so a stalled endpoint hangs the 02:00 job forever. Add something like `timeout=30`.

4. **The tests are too thin for the change.** Per your standards, a merge needs more than a header and one row. Missing cases:
   - an empty day
   - the day-boundary query
   - an upload failure producing a non-zero exit
   - amount formatting
   - the log not containing emails

## Should fix (correctness risks)

5. **Money is formatted as a float (`export_job.py:37`).** `amount_cents / 100` gives `19.99` for 1999, but it's wrong for currencies without two decimals. A JPY invoice of 500 cents would export as `5.0`. Use `Decimal` and a per-currency exponent, or export `amount_cents` as-is and let finance divide.

6. **The time zone is ambiguous (`export_job.py:47`, `:28`).** `date.today()` uses the server's local zone. The bounds are plain dates, so Postgres compares them using the session time zone. If the server and the database differ, "yesterday" shifts. Use an explicit zone, preferably UTC, and say which in the docstring.

7. **`UPLOAD_URL` is read at import (`export_job.py:16`).** Importing the module without `FINANCE_UPLOAD_URL` set raises `KeyError`, so tests have to set env vars before importing. Read it inside `run()` or pass it in.

## Minor

- `EXPORT_DIR` is hardcoded, and the CSV with customer emails stays on disk after upload. Make the directory configurable and decide on retention.
- `fetch_invoices`, `write_csv` and `upload` are cleanly separated, which makes the tests above easy to add.

Items 1–4 are small and could be done in a few hours. Items 5–7 can follow if you name the debt in the PR.

VERDICT: NOT READY
