How to classify same type of Invoices into different categories not according to layout

I have doubt regarding how should we classify documents based on its categories. for eg supplier or carrier and accordingly we need to extract the data and put it into separate tables

@Aditya_Rajpurohit

-Train a machine learning model, such as a text classification model, using a labeled dataset. This dataset should include examples of documents labeled as “Supplier” or “Carrier.”
-If a document is classified as a supplier document, you can define rules or use pre-trained models to extract supplier-related information. This might include fields such as supplier name, address, contact details, etc.
-Use activities in UiPath, like Regex, intelligent OCR, or other data extraction methods, to capture the relevant information.

-After extracting data, organize it into separate tables based on document type (supplier or carrier).

-Create DataTables in UiPath to store the extracted information for each category.

-Use activities like Add Data Row to populate the appropriate DataTable with the extracted data.

Cheers…!