#josula_invoice-credit
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1489284332756664351
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
josula_invoice-credit
On the Invoice object in the API you have starting_balance and ending_balance properties that indicate whether the Customer has any invoice credit balance at the start and how much is left at the end
ahh ok
so I could say "if starting balance <0 we could derive it was paid via customer balance"?
yes though the customer balance can also be positive if they owe you money which can increase the total amount owed too. But yes
ah ok. in what case would they be owing me money in stripe terms?
so a negative starting balance means its "bad for me" because I owe them?
"bad" relatively of course
yes
Sorry but I don't understand in what cases would they be owing me money?
Say a customer has an outstanding invoice and then they open another one. Would that be the case where the balance would be positive because they still owe me from the other invoice?
Just trying to grab this concept