#josh_invoice-meter
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/1233514980381298718
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- joshglazebrook_unexpected, 31 minutes ago, 24 messages
So I'm working on using the new usage based pricing with the new meters that were recently released. One thing I'm wondering is, is there any way to know what meter events are included in an invoice? Like lets say I increment a meter 5 times in one billing cycle, and I'm using a unique identifier for each meter event, is there any way to get a list of meter event identifiers that are included in said invoice for metered usage during that period?
Doesn't look like it unfortunately
There's no relationship between meter event and invoice in the api ref
Hmm okay. So I'm trying to use it as a way to keep track of "orders" in my case. And I'd like to reconcile orders with the invoices they eventually end up being associated with. I guess the only other way would be to keep track of which orders i've incremented the meter for, and listen for when the invoice is generated for the customer, and associate that invoice with all the orders that have incremented the meter but don't have an associated invoice
Yeah I think you could do it that way