bettersight-statement-extra.../frontend/src/services
JasonFraser 8a99254d28 Add QBO/Xero/CSV exports, consolidated Download dropdown, per-row exclude checkbox
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>
2026-11-24 08:16:17 -04:00
..
adminLayoutsService.js Layout mapper L.8: superuser review screen (completes the L.1-L.8 plan) 2026-10-15 05:30:14 -04:00
authService.js
…
bankAccountProfilesService.js Add QBO/Xero/CSV exports, consolidated Download dropdown, per-row exclude checkbox 2026-11-24 08:16:17 -04:00
categorizationRulesService.js Add transaction categorization (project-scoped, client-side rules) 2026-11-24 08:15:20 -04:00
documentsService.js Per-document mapping queue + persisted pending-mapping statements 2026-11-24 08:15:45 -04:00
extractionService.js Add QBO/Xero/CSV exports, consolidated Download dropdown, per-row exclude checkbox 2026-11-24 08:16:17 -04:00
flagCatalogService.js Add review screen R.5: edit log, acknowledge/accept workflow, Excel Edits sheet 2026-10-13 20:41:13 -04:00
formatService.js
…
layoutMappingsService.js Add the Layouts page, drift detection on every recheck, and fix two real persistence bugs (L.7) 2026-10-15 05:03:20 -04:00
projectsService.js Add the client-project sidebar UI (PocketBase Stage B.3) 2026-10-13 07:32:08 -04:00
usageService.js Add usage tracking foundation: usageEvents + a visible pages-counter 2026-11-24 08:16:01 -04:00