**Not ready to merge tomorrow as is.** Two problems are real and quick to fix: the job hides its own failures, and it writes customer emails to the logs. The rest can follow in a ticket if time is tight. The code is otherwise clean and well split, and the query is parameterized. I haven't seen a written spec, so I judged readiness against what the file's docstring promises. I also didn't open `test_export_job.py`, so I'm relying on the docstring's description of it.

## Must fix before merge

**1. High: failures are swallowed, so finance gets no file and nobody is told.** `export_job.py:56-57` catches every exception, logs one line, and exits with status 0.
- Case: the finance endpoint returns a 500. `raise_for_status()` raises, the job logs "export failed", and cron reports success. Finance finds out when the file is missing.
- Fix: re-raise after logging (or `sys.exit(1)`), so cron and any alerting see the failure.

**2. High: customer emails are logged.** `export_job.py:52` logs `[row[1] for row in rows]`, which is every customer email for the day, at INFO.
- Case: 5,000 paid invoices put 5,000 addresses into the log files and any log aggregator.
- Fix: log only the count and the day.

## Should fix (small)

**3. Medium: no timeout on the upload.** `requests.post(...)` at line 42 can hang forever if the endpoint stalls. A nightly cron job would then sit there silently. Add `timeout=30` or similar.

**4. Medium: money is converted with float division.** `amount_cents / 100` at line 37 produces floats in a finance file.
- Case: it is fine for 1999 → `19.99`, but float output can drift on large values.
- Case: currencies with no minor unit, such as JPY, would be divided by 100 incorrectly.
- Fix: use `Decimal` and decide how zero-decimal currencies should be handled.

**5. Medium: the tests are thin.** By the docstring they cover only the CSV header and one row. Missing cases:
- an empty day
- the day-boundary rows (`paid_at` exactly at midnight)
- an upload failure (this would have caught #1)
- a query failure

## Minor

- **6.** `UPLOAD_URL = os.environ["FINANCE_UPLOAD_URL"]` (line 16) runs at import time. Importing the module without that variable set, for example in tests, raises `KeyError`.
- **7.** `EXPORT_DIR` is hardcoded to `/var/exports` (line 15). The file contains customer emails and is created with default permissions. Consider making the directory configurable and the file owner-only.
- **8.** `customer_email` is written to the CSV unescaped. A value starting with `=` or `+` could run as a formula when someone opens the file in Excel. This is low risk and depends on how emails are validated at signup.
- **9.** Nothing configures logging (`basicConfig`), so the `log.info` lines may not appear when cron runs the job.

## Speculative (not blocking, worth confirming)

- **Time zones:** `date.today()` uses the cron host's time zone, and the query compares `paid_at` against that date in the database session's time zone. If the two differ, "yesterday" could be shifted by hours and some invoices missed or exported twice.
- **Empty days:** the job uploads a header-only file when there are no invoices. That may be intended.
- **Retries:** there are none, so one network blip means no export that night. That's acceptable once #1 makes the failure visible.

Fixing #1 and #2 is about ten lines. Adding #3 and an upload-failure test for #1 makes it safe to merge.

VERDICT: NOT READY
