I think your invoiceIds variable in the map/reduce...
# suitescript
j
I think your invoiceIds variable in the map/reduce script isn't correct, and the search may be getting every invoice in the account