Recognise pdf files

I want to get invoices from een emailbox in pdf format. How do i do that