Virginia Sales Tax for something bought online while in TN?

Doing my VA state tax return and it asked about purchases made over the past year. So if I bought something online and didn't pay VA tax, I need to report it and actually pay tax now on it. However, I lived temporarily in TN for a short time this year and bought something online and I didn't pay any sales tax for (for either state). Do I need to report and pay sales tax for VA since that was my permanent residence? Or do I report and pay through TN since I was located there when I bought it? Thanks!