There are multiple ways you can achieve it, you would need to define these as templates and execute with the help of an document extraction engine… it can not be done effectively with plain vanilla OCR… here are few pointers to get started…
1- UiPath Document Understanding (Receipt and Invoice AI - Now available in Public Preview!)
2- UIPath with Rossum AI solution (Rossum and UiPath: Invoice extraction in 15 minutes | Rossum)
3- UiPath with Abbyy Flexcapture (Making Robots Smarter - ABBYY and UiPath)
I hope its helpful for your pursuit… I have implemented all 3 approaches with sample templates… will be happy to answer any questions you may have…