Need guidance regarding Document AI model

Hi,

I needed some guidance regarding development of a document AI model (or maybe pipeline of models) for parsing complex invoice documents that contains some header level data and complex tables. I've chosen to use foundational models as much as possible(opposed to LLM) due to very large volume of documents. So far with my research I've seen people suggesting SpaCy with Tessaract and also for table detection found Microsoft's table-transformer-detection model. But unfortunately I can't put all the pieces of puzzle together. Can anyone have any idea or suggestions?