Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Invoice::void method #517

Open
ferrohd opened this issue Mar 14, 2024 · 0 comments
Open

Add Invoice::void method #517

ferrohd opened this issue Mar 14, 2024 · 0 comments

Comments

@ferrohd
Copy link
Contributor

ferrohd commented Mar 14, 2024

Is your feature request related to a problem? Please describe.

The Invoice object has some useful ext methods such as:

  • Invoice::upcoming
  • Invoice:finalize
  • Invoice::pay
  • Invoice::delete

Invoices generated from a Subscription cannot be deleteed, instead must be voided.
My feature request is to add Invoice::void.

Describe the solution you'd like

Add in the Invoice::void method, used to void invoices.

Describe alternatives you've considered

Invoice::void, like Invoice::delete feels like should already exists in the OpenAPI spec instead of adding it to invoice_ext

Additional context

I can try to work on the PR.

@ferrohd ferrohd mentioned this issue Mar 14, 2024
2 tasks
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

No branches or pull requests

1 participant