#ian-goldberg_invoice-line-item-order

1 messages ยท Page 1 of 1 (latest)

viral hullBOT
#

๐Ÿ‘‹ 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/1294002503708573758

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

minor vortex
#

Hi ๐Ÿ‘‹

There currently is no way to order the line items in the Invoice object returned from the API. This is a known shortcoming of the API versus the Dashboard.

little crow
#

hmm okay, thanks

#

its hard because pro-rations can be in any order

minor vortex
#

Yeah so you're looking for a way to group related Invoice Item lines like unused time and remaining time?

#

I usually see these invoice items grouped together in the API response. Do you have an example where they weren't?

little crow
#

Well they are grouped, but not always in order

#

because we have multiple quantities of a product on our invoice and we prorate them as the quantities change throughout the month

minor vortex
#

Can you provide an example Invoice ID?

little crow
#

in_1Q4tVqFNVbYFceRMjRtW6fCg

minor vortex
#

What is the specific issue you have with the ordering of these invoice items?

viral hullBOT