Skip to content

feat: add invoice line-item metadata - #1832

Merged
github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
damiedee96:feat/1734-line-item-metadata
Oct 19, 2026
Merged

github-actions[bot] merged 1 commit into
Smartdevs17:mainfrom
damiedee96:feat/1734-line-item-metadata

Conversation

@damiedee96

Copy link
Copy Markdown
Contributor

Summary

Implements support for arbitrary key/value metadata on invoice line items.

Changes

  • Added optional string metadata to InvoiceLineItem.
  • Added validation for metadata shape, entry count, key length, and value length.
  • Preserved metadata through invoice creation, updates, persistence, and retrieval.
  • Rendered line-item metadata in printable invoice HTML and branded invoice output.
  • Added metadata storage, validation, retrieval, and PDF rendering to the Soroban invoice contract.
  • Added coverage for metadata validation and printable invoice rendering.

Testing

  • Invoice print and metadata tests pass.
  • Backend invoice customization test suite passes.
  • Existing unrelated TypeScript errors remain in the repository.

Closes #1734

@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

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

@github-actions
github-actions Bot merged commit 03522b1 into Smartdevs17:main Oct 19, 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.

Add invoice line-item metadata

1 participant