Skip to content

feat: add bulk invoice export - #210

Open
Thushara3005 wants to merge 1 commit into
StabilityNexus:mainfrom
Thushara3005:feat/bulk-invoice-export
Open

feat: add bulk invoice export#210
Thushara3005 wants to merge 1 commit into
StabilityNexus:mainfrom
Thushara3005:feat/bulk-invoice-export

Conversation

@Thushara3005

@Thushara3005 Thushara3005 commented Sep 3, 2026

Copy link
Copy Markdown

Description

Fixes #162

This PR adds bulk invoice export functionality to the Sent and Received invoice pages.

Previously, invoices could only be exported individually. This change allows users to select multiple invoices and export them together in CSV, JSON, or PDF format.

What's included

  • Added invoice selection for bulk exports.
  • Added support for CSV, JSON, and PDF formats.
  • Added Single File export option.
  • Added Separate Files (ZIP) export option.
  • Multiple PDF invoices can now be combined into a single PDF.
  • Added ZIP generation for exporting invoices as separate files.
  • Reused the existing invoice export functionality where possible.
  • Added jszip and pdf-lib dependencies.
  • Kept bulk export selection independent from the existing batch payment selection.

Export options

Formats:

  • CSV
  • JSON
  • PDF

Modes:

  • Single File — exports all selected invoices into one file.
  • Separate Files — creates individual invoice files and downloads them together as a ZIP.

Testing

The following were tested with multiple invoices:

  • CSV bulk export
  • JSON bulk export
  • PDF bulk export
  • Separate files ZIP export
  • Merged PDF export
  • Frontend production build

Closes #162

@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: 0c6e2e31-3be2-455f-b6d1-4581af968510


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​jszip@​3.10.1100100848070
Addednpm/​pdf-lib@​1.17.18810010080100

View full report

@socket-security

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm pdf-lib is 75.0% likely obfuscated

Confidence: 0.75

Location: Package overview

From: frontend/package.jsonnpm/pdf-lib@1.17.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/pdf-lib@1.17.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@Thushara3005

Copy link
Copy Markdown
Author

Hi, the implementation is ready for review. The PR currently has no merge conflicts, and the available checks have passed. One workflow is awaiting maintainer approval because this PR comes from a fork.

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]: Bulk Export Multiple Invoices (CSV / JSON / PDF) with Single File & Separate Files Option

1 participant