Skip to content

feat: add invoice document upload with IPFS integration#30

Merged
Jayrodri088 merged 2 commits intoStellarState:mainfrom
Emmy123222:feature/invoice-document-upload
Mar 28, 2026
Merged

feat: add invoice document upload with IPFS integration#30
Jayrodri088 merged 2 commits intoStellarState:mainfrom
Emmy123222:feature/invoice-document-upload

Conversation

@Emmy123222
Copy link
Copy Markdown
Contributor

Closes #8

  • Add POST /api/v1/invoices/:id/document endpoint for file uploads
  • Integrate with Pinata IPFS for tamper-evident document storage
  • Implement file validation (size, MIME type) and rate limiting
  • Add authentication/authorization (sellers can only upload to own invoices)
  • Store IPFS hash in Invoice.ipfsHash field
  • Add comprehensive test coverage (unit + integration tests)
  • Update environment configuration with IPFS settings
  • Add detailed documentation and usage examples

- Add POST /api/v1/invoices/:id/document endpoint for file uploads
- Integrate with Pinata IPFS for tamper-evident document storage
- Implement file validation (size, MIME type) and rate limiting
- Add authentication/authorization (sellers can only upload to own invoices)
- Store IPFS hash in Invoice.ipfsHash field
- Add comprehensive test coverage (unit + integration tests)
- Update environment configuration with IPFS settings
- Add detailed documentation and usage examples

Closes StellarState#8
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 28, 2026

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

@Jayrodri088
Copy link
Copy Markdown
Contributor

Please resolve conflicts @Emmy123222

@Jayrodri088 Jayrodri088 merged commit 95eb0ab into StellarState:main Mar 28, 2026
2 checks passed
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.

IPFS (Pinata) upload for invoice documents

2 participants