The error message suggests that a field normally found in the Purchase Invoice doctype is not there. This could be due to inadvertent deletion during customization, or a fault in the installation of ERPNext. If this is a new installation and loss of data is not important, then:
bench --site [sitename] --force reinstall
Reinstall with fresh database (Caution: Will wipe out old database)
A backup of data before reinstalling , then restoring, may or may not succeed.
I suppose you could also try adding the field to the table via a sql command, however there may be other issues and the message you see is only this first.