**`export_job.py` is not ready to merge.** If the database, the disk, or the finance endpoint fails, the job still exits 0, so cron never reports a failure. Finance would silently miss that day's invoices.

I read only `export_job.py`. I did not open `test_export_job.py`. I'm relying on its docstring, which says it covers the CSV header and one row.

## Must fix before merge

1. **`run()` swallows every error** (`export_job.py:56-57`).
   - **Failing case:** the upload returns a 500. The job logs one line, exits 0, and cron sees success. Nobody is alerted and finance has no file.
   - **Expected:** the job exits non-zero so cron or monitoring can alert.
   - **Fix:** use `log.exception(...)`, which includes the traceback, then re-raise or call `sys.exit(1)`.

2. **Customer emails are logged at INFO** (`export_job.py:52`). Every run writes the full list of customer emails to the logs. Log the count and the day only.

3. **`requests.post` has no timeout** (`export_job.py:42`). If the finance endpoint hangs, the cron job hangs with it. Because the job runs nightly, hung runs can pile up. Add something like `timeout=30`.

4. **The tests don't cover the risky parts.** There is no test for:
   - the failure path, which is the bug in item 1
   - an empty day
   - `fetch_invoices` date boundaries
   - `upload`
   - `run()`

   Per your standards, the fix for item 1 should come with a failing-then-passing test.

## Should fix (could be a follow-up if you name it)

- **Amounts are written as floats** (`export_job.py:37`). `amount_cents / 100` produces floats in a finance file. Use `Decimal(amount_cents) / 100`. It also assumes every currency has 2 decimal places, which is wrong for JPY, for example. Confirm which currencies you actually have.
- **Timezone is ambiguous.** `date.today()` uses the server's local time. The query compares `paid_at` to plain dates using the database session's timezone. If these differ, invoices paid near midnight land in the wrong day's file. Pin both to UTC or to a business timezone.
- **`UPLOAD_URL = os.environ[...]` runs at import time** (`export_job.py:16`). Importing the module without that variable set, including from tests, raises `KeyError`. Read it inside `run()` or `upload()`.
- **Re-running isn't safe.** A re-run overwrites the local file and re-uploads it. Check whether the finance endpoint de-duplicates by filename.
- **CSV formula injection.** An email starting with `=` or `+` would be treated as a formula when finance opens the file in Excel. This is low risk, but cheap to guard against.

VERDICT: NOT READY
