Use a prebuilt model to extract info from invoices or receipts in Microsoft SharePoint Syntex
Prebuilt models are pretrained to recognize documents and the structured information in the documents. Instead of having to create a new custom model from scratch, you can iterate on an existing pretrained model to add specific fields that fit the needs of your organization.
Currently, there are two prebuilt models available: invoice and receipt.
The invoice prebuilt model analyzes and extracts key information from sales invoices. The API analyzes invoices in various formats and extracts key invoice information such as customer name, billing address, due date, and amount due.
The receipt prebuilt model analyzes and extracts key information from sales receipts. The API analyzes printed and handwritten receipts and extracts key receipt information such as merchant name, merchant phone number, transaction date, tax, and transaction total.
Additional prebuilt models will be available in future releases.
Create a prebuilt model
Follow these steps to create a prebuilt model to classify documents in SharePoint Syntex.
From the Models page, select Create a model.
On the Create a model panel, in the Name field, type the name of the model.
In the Model type section, select one of the prebuilt models:
- Invoice processing prebuilt
- Receipt processing prebuilt
If you want to create a traditional, untrained document understanding model instead of a prebuilt model, select Custom document understanding.
If you want to change the content type or add a retention label, select Advanced settings.
Sensitivity labels are not available for prebuilt models at this time.
Select Create. The model will be saved in the Models library.
Add a file to analyze
On the Models page, in the Add a file to analyze section, select Add file.
On the Files to analyze the model page, select Add to find the file you want to use.
On the Add a file from the training files library page, select the file, and then select Add.
On the Files to analyze the model page, select Next.
Select extractors for your model
On the extractor details page, you'll see the document area on the right and the Extractors panel on the left. The Extractors panel shows the list of extractors that have been identified in the document.
The entity fields that are highlighted in green in the document area are the items that were detected by the model when it analyzed the file. When you select an entity to extract, the highlighted field will change to blue. If you later decide not to include the entity, the highlighted field will change to gray. The highlights make it easier to see the current state of the extractors you have selected.
You can use the scroll wheel on your mouse or the controls at the bottom of the document area to zoom in or out as needed to read the entity fields.
Select an extractor entity
You can select an extractor either from the document area or from the Extractors panel, depending on your preference.
To select an extractor from the document area, select the entity field.
To select an extractor from the Extractors panel, select the checkbox to the right of the entity name.
When you select an extractor, a Select extractor? box is displayed in the document area. The box shows the extractor name, the original value, and the option to select it as an extractor. For certain data types such as numbers or dates, it will also show an extracted value.
The original value is what is actually in the document. The extracted value is what will be written into the column in SharePoint. When the model is applied to a library, you can use column formatting to specify how you want it to look in the document.
Continue to select additional extractors you want to you use. You can also add other files to analyze for this model configuration.
Rename an extractor
You can rename an extractor either from the model home page or from the Extractors panel. You might consider renaming selected extractors because these names will be used as the column names when the model is applied to the library.
To rename an extractor from the model home page:
In the Extractors section, select the extractor you want to rename, and then select Rename.
On the Rename entity extractor panel, enter the new name of the extractor, and then select Rename.
To rename an extractor from the Extractors panel:
Select the extractor you want to rename, and then select Rename.
In the Rename extractor box, enter the new name of the extractor, and then select Rename.
Apply the model
To save changes and return to the model home page, on the Extractors panel, select Save and exit.
If you're ready to apply the model to a library, in the document area, select Next. On the Add to library panel, choose the library to which you want to add the model, and then select Add.
Change the view in a document library
There are multiple ways to view how you see the information in a SharePoint document library. You can change the view in your document library to fit your needs or preferences.
To change the view on the library page, select the view dropdown menu to show the options, and then select the view you want to use.
For example, if you select Tiles from the list, the page will display as shown.
The Tiles view displays up to eight user-created fields. If there are fewer than eight, up to four system-generated fields are shown: Sensitivity (if available), Retention (if available), Content type, Modified date, Modified by, and Classification date.
To edit any current view, on the view dropdown menu, select Edit current view.
Submit and view feedback for