Skip to content

Implement Draft Invoice State #138

@0xDeon

Description

@0xDeon

Description 📝

Introduce a Draft status for invoices. Draft invoices are stored but are not visible to public queries or payable by customers until they are "finalized" by the merchant.

Proposed Steps 📝

  • Update Types: Add Draft to InvoiceStatus.
  • Implement functions: finalize_invoice(env, merchant, id).

Acceptance Criteria ✅

  • Draft invoices do not appear in standard get_invoices lists.
  • Draft invoices cannot be paid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions