**export_job.py is not ready to merge tomorrow.** As written, the job can fail without anyone noticing, and the nightly finance export can silently stop arriving. Two of the fixes are small.

I reviewed the file only. I didn't run it. `test_export_job.py` isn't in this directory, so I couldn't read it or run it. The docstring says it covers only the CSV header and one row.

**Blockers**

1. **Failures are swallowed** (`export_job.py:56-57`). `run()` catches every exception, logs one line, and exits with status 0.
   - Example: the finance endpoint returns a 500 at 02:00. `raise_for_status()` raises, the error is logged, and cron sees success. Finance gets no file, and nobody is alerted.
   - Fix: log with `log.exception` and re-raise, or call `sys.exit(1)`, so cron reports the failure.

2. **Customer emails go into the logs** (`export_job.py:52`). The log line prints the email of every exported invoice. That is personal data, and it will be written to the logs every night.
   - Fix: log only the count and the date.

**Should fix before merge**

3. **Amount is converted with float division** (`export_job.py:37`). `amount_cents / 100` writes values like `12.5` instead of `12.50`, and it can introduce float rounding artifacts in a financial file.
   - Example: 1250 cents is written as `12.5`.
   - Fix: use `Decimal(amount_cents) / 100` and format it to two decimal places, or write cents as an integer column.

4. **The day boundary depends on timezone** (`export_job.py:47` and the query). `date.today()` uses the server's local timezone. `paid_at` is compared against bare dates, which the database interprets in its own timezone setting. If those two differ, invoices paid near midnight land in the wrong day's file, or in none.
   - Fix: pick one timezone (probably UTC) explicitly and apply it in both places.

5. **No retry or idempotency on upload** (`export_job.py:42`). `requests.post` has no timeout, so a hung endpoint blocks the job indefinitely. A re-run after a partial failure re-uploads the same file, and the code doesn't show whether finance dedupes.
   - Fix: add a timeout, and confirm with finance how duplicate uploads are handled.

6. **Test coverage is thin.** A header and one row doesn't exercise any of the above. Add tests for:
   - an empty day
   - the day boundaries
   - the amount formatting
   - an upload failure that propagates (blocker 1)

**Minor**

7. `UPLOAD_URL = os.environ["FINANCE_UPLOAD_URL"]` is read at import time. Importing the module without that variable set raises `KeyError`, which makes tests awkward. Read it inside `run()` or pass it in.
8. `EXPORT_DIR` is hardcoded. The file is also written with default permissions even though it contains customer emails. Make the directory configurable and restrict the permissions.
9. `run()` mixes querying, writing and uploading. This is acceptable at this size. It becomes a problem only if the job grows.

Given the deadline, blockers 1 and 2 are each a one-line change. If you must merge tomorrow, those two plus the upload timeout are the minimum. Items 3 and 4 are real correctness risks for finance data, so I'd also fix them or get finance to explicitly accept them as known debt.

VERDICT: NOT READY
