**Not ready to merge tomorrow.** Two problems should be fixed first. The nightly job reports success to cron even when it fails, and it writes customer emails to the logs. Both are small fixes.

I didn't see `test_export_job.py` itself. The only test information is the docstring in `export_job.py`, which says it covers the CSV header and one row.

## Blocking

1. **High: failures are swallowed (`export_job.py:56-57`).**
   - `run()` catches every exception, logs it, and exits 0.
   - Example: the finance endpoint returns a 500 at 02:00. `raise_for_status()` raises and the error is logged. The process still exits 0, so cron and any monitoring see a success. Finance never gets yesterday's invoices and nobody is alerted.
   - Fix: re-raise after logging, or call `sys.exit(1)`.

2. **High: customer emails are logged (`export_job.py:52`).**
   - `log.info(..., [row[1] for row in rows])` writes every exported customer's email to the application logs every night.
   - Fix: log only the count and the date.

## Should fix (not blocking if you accept the risk)

3. **Medium: no timeout on the upload (`export_job.py:42`).** `requests.post` has no `timeout`, so a hung endpoint blocks the cron run indefinitely. Add something like `timeout=30`.

4. **Medium: money is converted with float division (`export_job.py:37`).**
   - `amount_cents / 100` produces floats.
   - It also assumes every currency has two decimal places. For example, JPY 500 would be exported as `5.0`.
   - Fix: use `Decimal` and a per-currency exponent, or export the integer cents and the currency as they are.

5. **Medium: the "yesterday" boundary may be wrong (`export_job.py:47`, `export_job.py:28`).**
   - `date.today()` uses the server's timezone. The query compares it against `paid_at` in the database's timezone. If the two differ, invoices paid near midnight land in the wrong day's file.
   - Fix: decide on UTC or the finance team's timezone and apply it explicitly.

6. **Medium: test coverage is thin.** Nothing covers the failure path (which would have caught item 1), an empty day, the day boundaries, or the upload call.

## Minor

7. **Low: `UPLOAD_URL = os.environ["FINANCE_UPLOAD_URL"]` runs at import (`export_job.py:16`).** Importing the module without that variable set raises `KeyError`, so tests need the variable set first. Read it inside `run()` instead.

8. **Low: reruns are not safe.**
   - A rerun overwrites the local file and uploads again, so finance may get a duplicate.
   - If the job fails after the file is written, the file stays in `/var/exports` with customer emails in it.
   - Both are worth a ticket if not a fix now.

9. **Low: spreadsheet formula injection.** An email value starting with `=` or `+` would be treated as a formula if finance opens the CSV in Excel. This is unlikely for emails, but it's cheap to guard against.

If you want to keep tomorrow's date, items 1 and 2 are minutes of work. Add a test that the job exits non-zero when the upload fails, and a test that the log output contains no email. Item 3 is a one-line change, and I'd include it. Items 4 to 6 can follow in a separate PR if you note them as known debt.

VERDICT: NOT READY
