{"id":2907,"date":"2025-04-08T15:59:59","date_gmt":"2025-04-08T14:59:59","guid":{"rendered":"https:\/\/france.magicsoftware.com\/blog\/?p=2907"},"modified":"2026-01-16T09:13:56","modified_gmt":"2026-01-16T08:13:56","slug":"mistral-ai-document-understanding-magic-xpi","status":"publish","type":"post","link":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/","title":{"rendered":"Mistral Document AI Understanding &amp; OCR &#8211; Magic xpi"},"content":{"rendered":"\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Goal<\/strong> 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Goal 2<\/strong> : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prerequisites <\/strong>: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Mistral AI API Key<\/li>\n\n\n\n<li>Poppler utility installed (https:\/\/poppler.freedesktop.org\/)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">1\/ Transform your document (Invoice PDF file or any kind of document) to PNG image.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Assume that you have this invoice below in PDF format (<em>testfact.pdf<\/em>) and want to extract information from it in json format<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"890\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG2.png\" alt=\"\" class=\"wp-image-2922\" style=\"width:377px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG2.png 713w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG2-240x300.png 240w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Use poppler utility in a command line in the first Magic xpi step to convert your pdf to png file. (use FileManagement connector)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Define 2 Environment variables :<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>cmd_processor<\/em> : *C:\\windows\\system32\\cmd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Poppler_Bin_Path<\/em> : C:\\poppler-24.08.0\\Library\\bin\\<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"725\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG3-1-1024x725.png\" alt=\"\" class=\"wp-image-2928\" style=\"width:732px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG3-1-1024x725.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG3-1-300x212.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG3-1-768x544.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG3-1.png 1268w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2\/ Upload your image file using the Mistal IA REST API (https:\/\/api.mistral.ai\/v1\/files)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can create your API KEY on your Mistral console (<a href=\"https:\/\/console.mistral.ai\/api-keys\">La Plateforme &#8211; Mistral AI<\/a>) like below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"381\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG14-1024x381.png\" alt=\"\" class=\"wp-image-2965\" style=\"width:783px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG14-1024x381.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG14-300x112.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG14-768x286.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG14-1536x572.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG14.png 1599w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Define your Mistral AI REST Client resource with your Authorization header (API KEY) and 3 paths<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG13-1024x490.png\" alt=\"\" class=\"wp-image-2949\" style=\"width:823px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG13-1024x490.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG13-300x143.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG13-768x367.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG13-1536x734.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG13.png 1663w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Add 2 parameters (purpose, file) to Request (\/v1\/files)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"192\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG16-1024x192.png\" alt=\"\" class=\"wp-image-2975\" style=\"width:861px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG16-1024x192.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG16-300x56.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG16-768x144.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG16.png 1105w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\/Configure your REST Client connector like below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG4-1024x681.png\" alt=\"\" class=\"wp-image-2929\" style=\"width:780px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG4-1024x681.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG4-300x199.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG4-768x511.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG4.png 1235w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Retrieve the Uploaded Id File from the DataMapper using JSON Source in a Flow variable (F.FileId)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"217\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG5-1024x217.png\" alt=\"\" class=\"wp-image-2931\" style=\"width:938px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG5-1024x217.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG5-300x63.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG5-768x162.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG5-1536x325.png 1536w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG5.png 1645w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3\/ Retrieve your uploaded Image URL by passing the id (https:\/\/api.mistral.ai\/v1\/files\/:file_id\/url) <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"844\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG6-1024x844.png\" alt=\"\" class=\"wp-image-2933\" style=\"width:619px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG6-1024x844.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG6-300x247.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG6-768x633.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG6.png 1036w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Click OK and pass your F.FileId in the mapper<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Retrieve the URL from the JSON URL with a Datamapper<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4\/ Populate the prompt body and post it to the URL : https:\/\/api.mistral.ai\/v1\/chat\/completions<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Build your prompt JSON Body using Magic xpi Template (use the &lt;!$MG_xxx&gt; Tags in the template file) or a JSON schema<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"493\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG7.png\" alt=\"\" class=\"wp-image-2937\" style=\"width:440px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG7.png 728w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG7-300x203.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Important<\/strong> : to get a generic JSON response, you can use the tag <strong>response_format<\/strong> with type : <strong>json_schema<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">than you need to define the json schema that you want inside this tag<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"320\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG17.png\" alt=\"\" class=\"wp-image-3005\" style=\"width:310px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG17.png 559w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG17-300x172.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Use the Datamapper to populate the template tags with values or your json file<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"388\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG8-1024x388.png\" alt=\"\" class=\"wp-image-2938\" style=\"width:716px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG8-1024x388.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG8-300x114.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG8-768x291.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG8.png 1076w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG18-1024x542.png\" alt=\"\" class=\"wp-image-3015\" style=\"width:593px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG18-1024x542.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG18-300x159.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG18-768x407.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG18.png 1035w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The text prompt could be like below ( we use the model (<strong>mistral-small-latest<\/strong>) with <strong>Mistral Vision capabilities<\/strong>)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&lsquo;<em>From this json, extract the Date, Address To, Ship To and Model name and color and associated product code, unitprice and total price and return it as a string in a Json object<\/em>&lsquo;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your prompt Body should be like below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"764\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG9-1024x764.png\" alt=\"\" class=\"wp-image-2940\" style=\"width:842px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG9-1024x764.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG9-300x224.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG9-768x573.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG9.png 1238w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">(*) if your first step is generating several png files, you need to iterate on the \u00ab\u00a0image_url\u00a0\u00bb node. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this case, you have use the &lt;!$MGREPEAT&gt;and &lt;!$MGENDREPEAT&gt;tags or Multiple JSON node<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(**) you can add a role \u00ab\u00a0system\u00a0\u00bb node with any content to enrich your prompt with the user text<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">(***) you can change the <strong>response_format<\/strong> type to <strong>json_schema<\/strong> and add inside this tag, your generic json schema<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5\/ Extract the JSON Content part from the result and parse it to send data to any backend system <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can use Strtoken function to extract the Content part : (StrToken (StrToken (C.UserBlob,2,'\u00a0\u00bbcontent\u00a0\u00bb:\u00a0\u00bb&lsquo;),1,'\u00a0\u00bb},\u00a0\u00bbfinish_reason\u00a0\u00bb:\u00a0\u00bbstop\u00a0\u00bb}]&rsquo;))<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And then replace the \\n with empty space and \\\u00a0\u00bb with \u00a0\u00bb  (RepStr (RepStr (C.UserBlob,&rsquo;\\n&rsquo;,\u00a0\u00bb),&rsquo;\\\u00a0\u00bb&lsquo;,'\u00a0\u00bb&lsquo;))<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"804\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG10-1024x804.png\" alt=\"\" class=\"wp-image-2942\" style=\"width:737px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG10-1024x804.png 1024w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG10-300x236.png 300w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG10-768x603.png 768w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG10.png 1061w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"856\" src=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG11.png\" alt=\"\" class=\"wp-image-2944\" style=\"width:364px;height:auto\" srcset=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG11.png 559w, https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG11-196x300.png 196w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">(*) <a href=\"https:\/\/docs.mistral.ai\/capabilities\/reasoning\">OCR and Document Understanding | Mistral AI Large Language Models<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : 1\/ Transform your document (Invoice PDF file or any kind of document) to PNG image. Assume that you have this invoice [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2909,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[76,4,80],"tags":[79,14],"class_list":["post-2907","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai","category-magic-xpi","category-mistral-ai","tag-ai","tag-magic-xpi"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : Mistral AI API Key Poppler utility installed (https:\/\/poppler.freedesktop.org\/) 1\/ Transform your document (Invoice PDF file or any kind of document) to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sa\u00e2d Alem\"\/>\n\t<meta name=\"google-site-verification\" content=\"5yLZLt_RgZVqkETQDrOlMUHaNTra2i5W8dtHQoCMueY\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Le Blog Techno | Magic Software France\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Mistral Document AI Understanding &amp; OCR \u2013 Magic xpi | Le Blog Techno\" \/>\n\t\t<meta property=\"og:description\" content=\"Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : Mistral AI API Key Poppler utility installed (https:\/\/poppler.freedesktop.org\/) 1\/ Transform your document (Invoice PDF file or any kind of document) to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico\" \/>\n\t\t<meta property=\"og:image:width\" content=\"16\" \/>\n\t\t<meta property=\"og:image:height\" content=\"16\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-04-08T14:59:59+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-01-16T08:13:56+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagicSoftwareEnterprises\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@MagicSoftware\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Mistral Document AI Understanding &amp; OCR \u2013 Magic xpi | Le Blog Techno\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : Mistral AI API Key Poppler utility installed (https:\/\/poppler.freedesktop.org\/) 1\/ Transform your document (Invoice PDF file or any kind of document) to\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@MagicSoftware\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#blogposting\",\"name\":\"Mistral Document AI Understanding & OCR \\u2013 Magic xpi | Le Blog Techno\",\"headline\":\"Mistral Document AI Understanding &amp; OCR &#8211; Magic xpi\",\"author\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/MAI_MG1.png\",\"width\":559,\"height\":78},\"datePublished\":\"2025-04-08T15:59:59+01:00\",\"dateModified\":\"2026-01-16T09:13:56+01:00\",\"inLanguage\":\"fr-FR\",\"commentCount\":1,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#webpage\"},\"articleSection\":\"AI, Magic xpi, Mistral AI, AI, Magic xpi\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog#listItem\",\"position\":1,\"name\":\"Domicile\",\"item\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/#listItem\",\"name\":\"Magic xpi\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/#listItem\",\"position\":2,\"name\":\"Magic xpi\",\"item\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/ai\\\/#listItem\",\"name\":\"AI\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog#listItem\",\"name\":\"Domicile\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/ai\\\/#listItem\",\"position\":3,\"name\":\"AI\",\"item\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/ai\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/ai\\\/mistral-ai\\\/#listItem\",\"name\":\"Mistral AI\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/#listItem\",\"name\":\"Magic xpi\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/ai\\\/mistral-ai\\\/#listItem\",\"position\":4,\"name\":\"Mistral AI\",\"item\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/ai\\\/mistral-ai\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#listItem\",\"name\":\"Mistral Document AI Understanding &amp; OCR &#8211; Magic xpi\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/ai\\\/#listItem\",\"name\":\"AI\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#listItem\",\"position\":5,\"name\":\"Mistral Document AI Understanding &amp; OCR &#8211; Magic xpi\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/category\\\/magic-xpi\\\/ai\\\/mistral-ai\\\/#listItem\",\"name\":\"Mistral AI\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#organization\",\"name\":\"Blog Magic France\",\"description\":\"Magic Software France\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/\",\"telephone\":\"+33149105858\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Magic.ico\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#organizationLogo\",\"width\":16,\"height\":16},\"image\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/MagicSoftwareEnterprises\",\"https:\\\/\\\/twitter.com\\\/MagicSoftware\",\"https:\\\/\\\/youtube.com\\\/MagicSoftware\",\"https:\\\/\\\/linkedin.com\\\/company\\\/magic-software-enterprises\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/#author\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/\",\"name\":\"Sa\\u00e2d Alem\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/38fae53569553d87ce6ffb3b936e4df6feecf6069ddb238526105d8d906273c4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Sa\\u00e2d Alem\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#webpage\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/\",\"name\":\"Mistral Document AI Understanding & OCR \\u2013 Magic xpi | Le Blog Techno\",\"description\":\"Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : Mistral AI API Key Poppler utility installed (https:\\\/\\\/poppler.freedesktop.org\\\/) 1\\\/ Transform your document (Invoice PDF file or any kind of document) to\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/author\\\/saad\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/MAI_MG1.png\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#mainImage\",\"width\":559,\"height\":78},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/magic-xpi\\\/mistral-ai-document-understanding-magic-xpi\\\/#mainImage\"},\"datePublished\":\"2025-04-08T15:59:59+01:00\",\"dateModified\":\"2026-01-16T09:13:56+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/\",\"name\":\"Blog Magic France\",\"description\":\"Magic Software France\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/france.magicsoftware.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Mistral Document AI Understanding & OCR \u2013 Magic xpi | Le Blog Techno","description":"Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : Mistral AI API Key Poppler utility installed (https:\/\/poppler.freedesktop.org\/) 1\/ Transform your document (Invoice PDF file or any kind of document) to","canonical_url":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"5yLZLt_RgZVqkETQDrOlMUHaNTra2i5W8dtHQoCMueY","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#blogposting","name":"Mistral Document AI Understanding & OCR \u2013 Magic xpi | Le Blog Techno","headline":"Mistral Document AI Understanding &amp; OCR &#8211; Magic xpi","author":{"@id":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/#author"},"publisher":{"@id":"https:\/\/france.magicsoftware.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG1.png","width":559,"height":78},"datePublished":"2025-04-08T15:59:59+01:00","dateModified":"2026-01-16T09:13:56+01:00","inLanguage":"fr-FR","commentCount":1,"mainEntityOfPage":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#webpage"},"isPartOf":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#webpage"},"articleSection":"AI, Magic xpi, Mistral AI, AI, Magic xpi"},{"@type":"BreadcrumbList","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog#listItem","position":1,"name":"Domicile","item":"https:\/\/france.magicsoftware.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/#listItem","name":"Magic xpi"}},{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/#listItem","position":2,"name":"Magic xpi","item":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/","nextItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/#listItem","name":"AI"},"previousItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog#listItem","name":"Domicile"}},{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/#listItem","position":3,"name":"AI","item":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/","nextItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/mistral-ai\/#listItem","name":"Mistral AI"},"previousItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/#listItem","name":"Magic xpi"}},{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/mistral-ai\/#listItem","position":4,"name":"Mistral AI","item":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/mistral-ai\/","nextItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#listItem","name":"Mistral Document AI Understanding &amp; OCR &#8211; Magic xpi"},"previousItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/#listItem","name":"AI"}},{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#listItem","position":5,"name":"Mistral Document AI Understanding &amp; OCR &#8211; Magic xpi","previousItem":{"@type":"ListItem","@id":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/mistral-ai\/#listItem","name":"Mistral AI"}}]},{"@type":"Organization","@id":"https:\/\/france.magicsoftware.com\/blog\/#organization","name":"Blog Magic France","description":"Magic Software France","url":"https:\/\/france.magicsoftware.com\/blog\/","telephone":"+33149105858","logo":{"@type":"ImageObject","url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#organizationLogo","width":16,"height":16},"image":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/MagicSoftwareEnterprises","https:\/\/twitter.com\/MagicSoftware","https:\/\/youtube.com\/MagicSoftware","https:\/\/linkedin.com\/company\/magic-software-enterprises"]},{"@type":"Person","@id":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/#author","url":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/","name":"Sa\u00e2d Alem","image":{"@type":"ImageObject","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/38fae53569553d87ce6ffb3b936e4df6feecf6069ddb238526105d8d906273c4?s=96&d=mm&r=g","width":96,"height":96,"caption":"Sa\u00e2d Alem"}},{"@type":"WebPage","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#webpage","url":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/","name":"Mistral Document AI Understanding & OCR \u2013 Magic xpi | Le Blog Techno","description":"Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : Mistral AI API Key Poppler utility installed (https:\/\/poppler.freedesktop.org\/) 1\/ Transform your document (Invoice PDF file or any kind of document) to","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/france.magicsoftware.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#breadcrumblist"},"author":{"@id":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/#author"},"creator":{"@id":"https:\/\/france.magicsoftware.com\/blog\/author\/saad\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG1.png","@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#mainImage","width":559,"height":78},"primaryImageOfPage":{"@id":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/#mainImage"},"datePublished":"2025-04-08T15:59:59+01:00","dateModified":"2026-01-16T09:13:56+01:00"},{"@type":"WebSite","@id":"https:\/\/france.magicsoftware.com\/blog\/#website","url":"https:\/\/france.magicsoftware.com\/blog\/","name":"Blog Magic France","description":"Magic Software France","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/france.magicsoftware.com\/blog\/#organization"}}]},"og:locale":"fr_FR","og:site_name":"Le Blog Techno | Magic Software France","og:type":"article","og:title":"Mistral Document AI Understanding &amp; OCR \u2013 Magic xpi | Le Blog Techno","og:description":"Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : Mistral AI API Key Poppler utility installed (https:\/\/poppler.freedesktop.org\/) 1\/ Transform your document (Invoice PDF file or any kind of document) to","og:url":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/","og:image":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico","og:image:secure_url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico","og:image:width":16,"og:image:height":16,"article:published_time":"2025-04-08T14:59:59+00:00","article:modified_time":"2026-01-16T08:13:56+00:00","article:publisher":"https:\/\/www.facebook.com\/MagicSoftwareEnterprises","twitter:card":"summary_large_image","twitter:site":"@MagicSoftware","twitter:title":"Mistral Document AI Understanding &amp; OCR \u2013 Magic xpi | Le Blog Techno","twitter:description":"Goal 1 : Use Mistral AI Document Understanding and OCR REST API with your Magic xpi Platform Goal 2 : Enable flexible, full document lifecycle workflows, and make your archives instantly accessible. Prerequisites : Mistral AI API Key Poppler utility installed (https:\/\/poppler.freedesktop.org\/) 1\/ Transform your document (Invoice PDF file or any kind of document) to","twitter:creator":"@MagicSoftware","twitter:image":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2023\/11\/Magic.ico"},"aioseo_meta_data":{"post_id":"2907","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2025-04-01 15:26:16","updated":"2026-01-16 08:14:26","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/france.magicsoftware.com\/blog\" title=\"Domicile\">Domicile<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/\" title=\"Magic xpi\">Magic xpi<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/\" title=\"AI\">AI<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/mistral-ai\/\" title=\"Mistral AI\">Mistral AI<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMistral Document AI Understanding &amp; OCR \u2013 Magic xpi\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Domicile","link":"https:\/\/france.magicsoftware.com\/blog"},{"label":"Magic xpi","link":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/"},{"label":"AI","link":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/"},{"label":"Mistral AI","link":"https:\/\/france.magicsoftware.com\/blog\/category\/magic-xpi\/ai\/mistral-ai\/"},{"label":"Mistral Document AI Understanding &amp; OCR &#8211; Magic xpi","link":"https:\/\/france.magicsoftware.com\/blog\/magic-xpi\/mistral-ai-document-understanding-magic-xpi\/"}],"jetpack_featured_media_url":"https:\/\/france.magicsoftware.com\/blog\/wp-content\/uploads\/2025\/04\/MAI_MG1.png","_links":{"self":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/2907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/comments?post=2907"}],"version-history":[{"count":66,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/2907\/revisions"}],"predecessor-version":[{"id":3424,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/2907\/revisions\/3424"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/media\/2909"}],"wp:attachment":[{"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/media?parent=2907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/categories?post=2907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/france.magicsoftware.com\/blog\/wp-json\/wp\/v2\/tags?post=2907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}