Not ready to merge tomorrow as written. The job can fail every night without anyone knowing, and it writes customer emails to the logs. Both are small fixes.

I read `export_job.py` only. I didn't run it, and I can't see your requirements document, so "ready" here means correct and safe for a nightly cron job that sends paid invoices to finance.

## Must fix before merge

**1. Failures are swallowed, so cron never sees them (high).** `run()` catches every exception at lines 56-57, logs one line, and exits with status 0.
- Example: finance's endpoint returns 500 at 02:00. `raise_for_status()` raises, the job logs "export failed", and exits successfully. Finance has no file for that day and nothing alerts.
- Expected: a non-zero exit code, and the traceback in the log.
- Fix: use `log.exception(...)` and re-raise, or call `sys.exit(1)`.

**2. Customer emails are written to the logs (high).** Line 52 logs `[row[1] for row in rows]`, which is the full list of customer emails for the day. That is personal data in the log files, and the list grows with every invoice. Log the count and the date only.

**3. The test file isn't there (high).** The docstring says `test_export_job.py` covers "CSV header and one row". I looked in this directory and the file doesn't exist. If it lives elsewhere, point me to it. Either way, the cases that matter most have no coverage:
- the failure path from item 1
- the day-boundary query
- `upload()` when the endpoint returns an error
- an empty day
- amounts that don't divide evenly

Under your own standard this is a blocker, not polish.

## Should fix (medium)

**4. Amounts are formatted as floats (line 37).** `amount_cents / 100` gives `10.0` for 1000 cents, not `10.00`, and floats can drift on other values. Finance usually expects exactly two decimals. Use `Decimal(amount_cents) / 100` and format it as `f"{...:.2f}"`.

**5. The upload has no timeout (line 42).** `requests.post` with no `timeout` can hang forever if finance's server stalls. The cron job would then sit there and may overlap with the next night's run. Add something like `timeout=30`.

**6. Importing the module crashes if `FINANCE_UPLOAD_URL` is unset (line 16).** `os.environ[...]` runs at import time, so any test that imports the file fails with a `KeyError` before it starts. Read the variable inside `run()` or `upload()`, or inject it as a parameter.

## Minor

- `run()` does four things: pick the day, query, write, upload. That is fine at this size, but pulling `day` and `path` out as parameters would make it testable without patching dates.
- `EXPORT_DIR` is hard-coded to `/var/exports`. Make it an environment variable with that default.

## Speculative (not confirmed from the code)

- **Time zones.** `day` comes from `date.today()` in the server's zone, but `paid_at` may be stored in UTC. If it is, invoices paid near midnight could land in the wrong day's file. Check the column type (`timestamptz` or not) and the DB session zone before deciding whether this is real.
- **Retries.** A transient upload failure means that day is never sent unless someone reruns the job by hand. Whether that matters depends on whether finance expects a rerun process.

Items 1-3 are quick, so tomorrow is realistic if you fix those first. Items 4-6 are each about a line or two, and I'd do them too.

VERDICT: NOT READY
