Skip to main content
Avalara Help Center

How do I resolve "Unexpected XML Declaration..." in QuickBooks Desktop?


When pushing items to the error list it results in the message ""Unexpected XML Declaration. The XML declaration must be in the first node in the document, and no white space characters are allowed to appear before it."




  • Make sure everyone is out of QuickBooks
  • In QuickBooks hit F2 to find the location of your QuickBooks data file
  • Close QuickBooks
  • Go to that location > open the Avalara folder > open the company folder > delete the file yourcompanyname_Errolist.XML