I can't call it ready as it stands, but you can get it there before tomorrow. The overall design is solid: the query, the CSV writing and the upload are each their own small function, and the query is parameterised. Two problems need fixing before you merge, and both are small.

## Must fix before merging

**1. When the export fails, the job still reports success** (`export_job.py:56-57`)
`run()` catches every exception, logs it and returns normally, so the script exits with code 0. For example, if the finance endpoint returns a 500, `raise_for_status()` raises, the error is logged, and cron sees a successful run. Finance gets no file and nothing alerts anyone. The fix is to log and then re-raise, which gives a non-zero exit:
```python
except Exception:
    log.exception("export failed for %s", day)
    raise
```
Also, logging is never configured in `__main__`, so the `log.info` lines are thrown away. Add `logging.basicConfig(level=logging.INFO)`.

**2. Every customer email gets written to the log** (`export_job.py:52`)
`[row[1] for row in rows]` puts every customer's email address into the log each night. Logs are usually kept longer and read by more people than the database, so this is a privacy leak. Log only the count.

**3. The tests aren't here**
The docstring says the job is covered by `test_export_job.py`, but that file isn't in this directory, so I couldn't check it. Even if it exists somewhere else, a header-and-one-row test doesn't cover the paths most likely to break. Before merging, I'd add tests for:
- upload failure: the job exits non-zero (this test would have caught problem 1)
- a day with no invoices: you get a CSV with just the header, and it still uploads
- amount formatting (see point 4 below)

## Worth fixing, but fine as a follow-up

4. **Amounts are wrong for some currencies.** `amount_cents / 100` assumes every currency has two decimal places. 500 JPY is exported as `5.0`, and KWD has three decimals. If you only ever handle two-decimal currencies, add a comment saying so. Otherwise, format the amount based on the currency.
5. **The upload has no timeout.** `requests.post` with no `timeout` can hang the cron job forever if the endpoint stops responding. Add something like `timeout=60`.
6. **Timezone at the day boundary.** "Yesterday" comes from `date.today()`, which uses the server's local time. If `paid_at` is stored in UTC and the server isn't on UTC, invoices near midnight end up on the wrong day. Check what your server uses.
7. **A missed day can't be re-run.** The day is hard-coded to yesterday. An optional `--date` argument would let you backfill a night the job failed.
8. **Importing the module needs an environment variable.** `UPLOAD_URL` is read when the module is imported, so tests fail unless `FINANCE_UPLOAD_URL` is set. Reading it inside `upload()` or `run()` fixes that.

Fixing points 1 to 3 is probably half an hour of work, and after that I'd be comfortable merging.

VERDICT: READY WITH CHANGES
