@Matej Bednár Thanks for the question. The prebuilt Invoice model is designed to extract information from invoices and is trained on a wide range of invoice templates. It is not currently possible to add custom fields to the prebuilt Invoice model. However, you can use the custom model capabilities of Form Recognizer to train a machine learning model on your own invoices with the custom fields that you want to extract.
To use the Custom Form Recognizer, you will need to provide a set of labeled training documents that include both the invoice documents and the custom fields that you want to extract. The Custom Form Recognizer will use these training documents to learn how to extract the custom fields from the invoices.
Once you have trained the Custom Form Recognizer model, you can use it to extract the custom fields from new invoices by making a request to the model's API. The model will return the extracted fields in a JSON response, which you can then use in your application as needed.