`export_job.py` is not ready to merge tomorrow. The job can fail without anyone knowing, and it writes customer emails to the logs. I only read the file. I didn't run it, and `test_export_job.py`, which the docstring says covers it, isn't in this directory.

**Blocking**

1. **Failures are hidden (`export_job.py:56-57`).** `run()` catches every exception, logs it, and exits with status 0. Suppose the upload endpoint returns a 500. Cron sees success, finance gets no file, and nobody is alerted. The job should re-raise, or call `sys.exit(1)`, after logging.
2. **Customer emails are logged (`export_job.py:52`).** Every night the log gets the full list of customer emails, which is personal data. Log only the count and the date.
3. **No tests are available to me.** The docstring says `test_export_job.py` covers "CSV header and one row", but that file isn't there. Even if it exists elsewhere, that coverage doesn't touch the failure paths or the date and money handling below. Please add the tests listed at the end.

**Should fix**

4. **"Yesterday" depends on the server's timezone.** `datetime.date.today()` uses the server's local time. The query compares `paid_at` against bare dates, so the result also depends on the column type and the database session timezone. If `paid_at` is stored in UTC and the server isn't, invoices near midnight land in the wrong day's file. Pick one timezone and make both sides explicit.
5. **Money is formatted with floating point (`export_job.py:37`).** `amount_cents / 100` gives `12.5`, not `12.50`. Some amounts can also print with long floating-point tails. For example, 1999 cents gives `19.99`, but other values aren't guaranteed to print cleanly. Use `Decimal(amount_cents) / 100` and format it to two places, for example `f"{Decimal(amount_cents) / 100:.2f}"`. Whether the finance team wants cents or a decimal amount is something to confirm with them.
6. **`FINANCE_UPLOAD_URL` is read at import time (`export_job.py:16`).** Importing the module without that variable set raises `KeyError`. That makes the module hard to test and hides a clear configuration error. Read it inside `run()`.
7. **The upload has no timeout (`export_job.py:42`).** `requests.post` can hang forever, so a stuck cron run at 02:00 may block the next night's run. Add `timeout=`.
8. **Re-runs are unsafe, and the export directory is assumed to exist.** A re-run overwrites the file and uploads again, so finance may get duplicates unless their endpoint deduplicates by filename. A missing `/var/exports` fails at `open`, and that failure is currently swallowed (see item 1). Confirm how finance handles duplicates.

**Minor**

- The CSV header says `amount` but the value is a decimal currency amount, so a name like `amount` is fine. Document the unit or keep it consistent with finance's expectations.
- The `EXPORT_DIR` path is hard-coded. Making it an environment variable would be cleaner.
- `logging` is never configured. Under cron, `log.info` output goes nowhere unless the entry point calls `basicConfig`.

**Tests to add**

- Header and rows for several amounts: 0, 1, 1250, 1999.
- An empty day: decide whether to upload an empty file or skip, then test it.
- A failed upload: the job must exit non-zero.
- A failed database fetch: same.
- A boundary check on `paid_at` at 23:59:59 and 00:00:00.
- Logs contain no email addresses.

Fixing items 1 to 3 gets this to READY WITH CHANGES. I'd also do 4 and 5 before it goes live. A wrong-day export or a wrong amount in finance's data is worse than a loud failure.

VERDICT: NOT READY
