You will be able to associate an item in a purchase transaction if purchase information is enabled for that item. If it is not enabled, you will face an error while importing. Here’s how you rectify:
Now, you can try importing the file again.
Books
Simplify accounting
and GST filing.