Three new export formats, all reusing this pipeline's existing
transactions data with no new extraction logic:
- QBO (QuickBooks Web Connect / Quicken): qbo_service.py writes OFX 1.x
SGML directly, including <INTU.BID>3000 so it actually qualifies as a
real QBO/QFX file (corrected same day from an initial build that
produced plain generic OFX with a .qbo extension slapped on - see
CLAUDE.md for the research trail). Needs a reusable, project-scoped
bankAccountProfiles record (pb_migrations/14) so a user isn't re-typing
routing/account numbers on every export of the same real account.
- Xero (import CSV): xero_csv_service.py, no bank-account concept at all
(Xero's own CSV import has none) - genuinely simpler than QBO.
- A plain, generic transactions CSV (csv_service.py) - distinct from
Xero's import-specific shape, writes every row regardless of a missing
date/amount since a plain dump has no structural requirement to violate.
The three original separate download buttons were consolidated into one
Download trigger + hover dropdown (QuickBooks/Xero/CSV/Excel), reusing
the Results dropdown's own zero-dead-zone hover structure. Excel's and
the new CSV's single/all download logic was generalized behind one
DOWNLOAD_FORMATS lookup rather than duplicated.
Also adds a per-transaction "include in downloads" checkbox - a lighter,
reversible alternative to permanently deleting a row: excludedFromExport
lives on the document's own result, read only at download time, with
zero effect on the live review screen's own data/checks.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>