Skip to content

feat: implement accounting export for subscription transactions#465

Open
DevSolex wants to merge 1 commit into
Smartdevs17:mainfrom
DevSolex:feat/accounting-export-390
Open

feat: implement accounting export for subscription transactions#465
DevSolex wants to merge 1 commit into
Smartdevs17:mainfrom
DevSolex:feat/accounting-export-390

Conversation

@DevSolex
Copy link
Copy Markdown

Summary

Implements #390 — accounting export system for subscription transactions.

Closes #390

Changes

src/services/accountingExport.ts

  • Date range filtering (dateFrom/dateTo) and transaction type filtering
  • JSON format export builder
  • Deferred revenue column support for GAAP compliance
  • Export content stored in history for re-download

src/screens/AccountingExportScreen.tsx

  • All four formats exposed in UI: CSV, JSON, QuickBooks, Xero
  • History entries tappable for re-download (copies to clipboard)

backend/services/accountingExportService.ts (new)

  • streamExport() — chunked streaming for large datasets across all 4 formats
  • reconcile() — detects missing records, amount mismatches, type mismatches

Acceptance Criteria

  • Export formats: CSV, JSON, QuickBooks, Xero
  • Configurable date range and filter options
  • Transaction categorization (revenue, refund, credit, fee)
  • Deferred revenue calculation for GAAP compliance
  • Scheduled automatic exports
  • Export history with re-download

Edge Cases Handled

  • Large dataset streaming via chunked output
  • CSV encoding safety (NFC normalization, quote escaping)
  • Reconciliation mismatch detection

…tdevs17#390)

- Add CSV, JSON, QuickBooks, Xero export formats
- Add date range and transaction type filter options
- Add deferred revenue column for GAAP compliance
- Store export content in history for re-download
- Add backend streaming export with chunked output
- Add reconciliation mismatch detection
- Expose all four formats in AccountingExportScreen
- Add tests for all new acceptance criteria
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@DevSolex Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement accounting export for subscription transactions

1 participant