Skip to content

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

@reshmabidikar

Description

@reshmabidikar

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions