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

Retrieve invoice by number returns incorrect balance for written off invoice #2000

Open
reshmabidikar opened this issue Apr 10, 2024 · 1 comment

Comments

@reshmabidikar
Copy link
Contributor

reshmabidikar commented Apr 10, 2024

Steps to reproduce:

  1. Create a new account
  2. Create an external charge of $100
  3. Write off the invoice
  4. Retrieve the invoice by number - This returns the invoice balance as $100. Expected Behavior: The invoice balance should be $0 since the invoice is written off.
  5. If the Retrieve Invoice by Id endpoint is used at step 4, it correctly returns the invoice balance as $0.
@reshmabidikar
Copy link
Contributor Author

reshmabidikar commented Apr 10, 2024

Based on some initial investigations, I found the following:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants