Skip to content

Add downloadable tax receipts - #618

Merged
dotunv merged 1 commit into
Savitura:mainfrom
kitWarse:feat/589-tax-receipts
Jul 28, 2026
Merged

Add downloadable tax receipts#618
dotunv merged 1 commit into
Savitura:mainfrom
kitWarse:feat/589-tax-receipts

Conversation

@kitWarse

Copy link
Copy Markdown
Contributor

Summary

  • Added downloadable PDF tax receipts for contributor contribution history.
  • Added individual receipt downloads and a batch PDF download for all contribution receipts.
  • Added a protected frontend tax receipts page linked from the contributor dashboard.

Issue

Changes

  • Added authenticated receipt listing and PDF download endpoints under /api/contributions/tax-receipts.
  • Added dependency-free PDF generation for contribution receipt records.
  • Added frontend API helpers for receipt listing and downloads.
  • Added /tax-receipts page and linked it from the contributor dashboard.

Validation

  • Ran node --check backend/src/routes/contributions.js.
  • Ran node --check backend/src/services/taxReceiptPdf.js.
  • Ran git diff --check.
  • Did not run full lint/test/build because dependencies are not installed in this fresh clone and the request was to PR after required changes without CI cleanup.

Notes

  • Receipts include contribution amount, date, campaign details, contributor details, and transaction hash.
  • Batch download generates one PDF with one receipt page per contribution.

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@kitWarse 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

@dotunv
dotunv merged commit 2c6afba into Savitura:main Jul 28, 2026
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.

FEATURE: Tax Receipt Generation

2 participants