#squirrel-invoice-aggregate

1 messages · Page 1 of 1 (latest)

full berryBOT
#

Hello! We'll be with you shortly. 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.

neat parcel
#

squirrel-invoice-aggregate

#

@sly mist no we don't have that kind of "aggregation APIs"

sly mist
#

I've tried List Invoices and Search Invoices but am not able to return an exact number

neat parcel
#

ah you mean a number of Invoices, like the count, not the sum of the amount for each?

sly mist
#

correct, just looking for the number of invoices in my account

neat parcel
#

yeah I don't see this feature right now so only way is to list them all and count. We do recommend mirroring most of the data in your own database for cases like this

sly mist
#

oof, alright. Thank you!

neat parcel
#

wait I lied I think

#

I can see the count with expand: ['total_count'], can you try?

sly mist
#

oh awesome, let me try

#

@neat parcel looks like it maxes out at 10,000