`export_job.py` is not ready to merge tomorrow: a failed export is invisible to cron, and the amounts and day boundaries it sends to finance can be wrong. I reviewed by reading only; nothing was run, and `test_export_job.py`, which the docstring cites, is not in this folder, so I could not check it.

## Must fix before merge

1. **Failures are swallowed (`export_job.py:56-57`).** The `except Exception` logs the error and returns, so the process exits 0.
   - Example: the finance endpoint returns 503. Cron sees success, no alert fires, and finance has no file for that day.
   - Fix: use `log.exception(...)` and re-raise, or exit non-zero.

2. **The upload has no timeout (`export_job.py:42`).** `requests.post` without `timeout=` can wait forever if the endpoint hangs. The job then never finishes and holds its database connection open.
   - Fix: add a timeout, and ideally a bounded retry.

3. **Money is converted with float division (`export_job.py:37`).** `amount_cents / 100` produces floats.
   - Example: 1000 cents is written as `10.0` rather than `10.00`, and very large values can lose precision.
   - It also assumes every currency has two decimal places: 500 JPY is written as `5.0`.
   - Fix: format with `Decimal` or integer arithmetic, using the currency's exponent, or export `amount_cents` unchanged.

4. **"Yesterday" depends on the server's timezone (`export_job.py:47`, `:28`).** `date.today()` uses server local time, and the bare dates are compared with `paid_at` in the database session's timezone.
   - Example: if `paid_at` is `timestamptz`, the server is in UTC and finance works in local time, an invoice paid at 23:30 local time lands in the wrong day's file.
   - Fix: build explicit timezone-aware start and end datetimes in the agreed business timezone.

5. **Customer emails are written to the log (`export_job.py:52`).** Every customer email for the day goes into one info line. That is personal data in the logs and a very long line on busy days.
   - Fix: log the count only.

6. **Tests cover only the CSV header and one row.** By your own standard this is not done. Missing tests:
   - the date window passed to the query
   - amount formatting, including a zero-decimal currency
   - upload failure causing a non-zero exit
   - a day with no invoices

## Should fix

- **No way to re-run a missed day.** `run()` takes no date argument, so a failed night needs a code edit to backfill. Accept an optional date on the command line.
- **Re-runs may double-post.** A re-run overwrites the local file and uploads again. Confirm that the finance endpoint deduplicates by filename, or add a guard.
- **The upload is unauthenticated.** No auth header or token is sent. Confirm this is intended for an endpoint that receives customer emails and payment amounts.
- **Config is read at import time (`export_job.py:16`).** `os.environ["FINANCE_UPLOAD_URL"]` runs on import, so tests must set the variable before importing the module. Read it inside `run()` or pass it in.
- **No logging setup.** Without `logging.basicConfig`, the info lines are dropped when the script runs from cron; only the error line reaches stderr.
- **The whole result set is held in memory (`export_job.py:29`).** `fetchall()` is fine at small volumes; iterate the cursor if daily volume is large.
- **A partial file can be left behind.** If writing fails midway, a truncated CSV stays in `/var/exports`. Write to a temporary file and rename it.

The SQL is parameterised, the half-open date range is correct, and the split into fetch, write and upload functions is clean.

VERDICT: NOT READY
