Skip to main content
Avalara Help Center

How do I resolve 'Index was out of range. Must be non-negative and less than the size of the collection.' in Dynamics NAV?

Overview

You are trying to use the Statistics button to release a sales order to post as invoice but receive "A call to Avalara.AvaTax.Adapter.InvoiceMessages.Item failed with this message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index.  

Environment

Dynamics NAV

Resolution

  • Contact Avalara support for assistance.  Support can be reached at (877) 780-4848 or support@avalara.com