Use MD5 as primary key for incoming invoices instead of ID