{"id":21250,"date":"2022-04-11T13:56:06","date_gmt":"2022-04-11T11:56:06","guid":{"rendered":"https:\/\/help.openbee.com\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/info-articlelineinfo\/"},"modified":"2026-05-13T09:36:46","modified_gmt":"2026-05-13T07:36:46","slug":"info-articlelineinfo","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/info-articlelineinfo\/","title":{"rendered":"Info &amp; ArticleLineInfo"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"InfoetArticleLineInfo-TypeInfo\">Type Info<\/h1>\n\n<h2 class=\"wp-block-heading\">Structure:<\/h2>\n\n<p>The Info type consists of several attributes:<\/p>\n\n<ul class=\"wp-block-list\"><li><strong>id<\/strong>: Unique identifier of the index found<\/li><li><strong>name<\/strong>: Name of the index found<\/li><li><strong>numPage<\/strong>: The number of the page where the index was found<\/li><li><strong>idUnit<\/strong>: number that determines the instance to which this date belongs (Useful if the index multiplies e.g.: HT1, HT2, HT3 will have the same index information (name and id) but with a different idUnit:1, 2 or 3  <\/li><li><strong>marker<\/strong>: An object that determines the marker found. Consisting of:<ul><li><strong>text: <\/strong>marker found on document<\/li><li><strong>rectangle: <\/strong>rectangle(x1,y1,x2,y2): where the marker was found<\/li><li><strong>sourceValue<\/strong>: the original text found on the document<\/li><\/ul><\/li><li><strong>value<\/strong>: An object that determines the value found on the document. Consisting of:<ul><li><strong>text: <\/strong>value found<\/li><li><strong>rectangle: <\/strong>rectangle(x1,y1,x2,y2): where the value was found<\/li><li><strong>sourceValue<\/strong>: the original text found on the document<\/li><\/ul><\/li><li><strong>customZonePage<\/strong>: <em>If there is a customization<\/em> : number of the page where this customization is located<\/li><li><strong>customZone<\/strong>: rectangle(x1,y1,x2,y2): <em>If there is a customization<\/em> : area corresponding to the customization<\/li><\/ul>\n\n<h2 class=\"wp-block-heading\">Example:<\/h2>\n\n<pre class=\"wp-block-code\"><code>{  \n   \"marker\":{  \n      \"text\":\"facture\",\n      \"sourceValue\":\"facture\",\n      \"rectangle\":{  \n         \"x1\":724.0,\n         \"y1\":641.0,\n         \"x2\":876.0,\n         \"y2\":665.0\n      }\n   },\n   \"value\":{  \n      \"text\":\"31\/10\/2015\",\n      \"sourceValue\":\"31.10.2015\",\n      \"rectangle\":{  \n         \"x1\":683.0,\n         \"y1\":779.0,\n         \"x2\":805.0,\n         \"y2\":798.0\n      }\n   },\n   \"idUnit\":1,\n   \"id\":\"DATE_INDEX\",\n   \"name\":\"Date\",\n   \"numPage\":1\n}<\/code><\/pre>\n\n<h1 class=\"wp-block-heading\" id=\"InfoetArticleLineInfo-TypeArticleLineInfo\">Type ArticleLineInfo<\/h1>\n\n<h2 class=\"wp-block-heading\">Structure:<\/h2>\n\n<p>An article line is simply a slightly more advanced Info type containing a list of info:<\/p>\n\n<ul class=\"wp-block-list\"><li><strong>ID<\/strong>: The unique identifier of the index row found. Works in the same way as an index ID<\/li><li><strong>name<\/strong>: Name of the index row found<\/li><li><strong>numPage<\/strong>: The number of the page where the row was found<\/li><li><strong>idUnit<\/strong>: Row instance number Ex: If Open Bee\u2122 Scan Capture finds 27 rows, all rows will have the same index information (id and name) since they come from the same row pattern. But each one will have a different idUnit: 1, 2, 3, 4, 5, &#8230; 27  <\/li><li><strong>indexInfo:<\/strong> List of Info Objects Found in the Current <strong>Row<\/strong> : A row is made up of values to be found, each value corresponds to an Info object found.<\/li><\/ul>\n\n<h2 class=\"wp-block-heading\">Example:<\/h2>\n\n<pre class=\"wp-block-code\"><code>{  \n   \"indexInfos\":&#91;  \n      {  \n         \"marker\": voir info,\n         \"value\": voir info,\n         \"idUnit\":8,\n         \"id\":\"MONTANT_ARTICLES_INDEX\",\n         \"name\":\"Montant\",\n         \"numPage\":3\n      },\n      {  \n         \"marker\": voir info,\n         \"value\": voir info,\n         \"idUnit\":8,\n         \"id\":\"DATE_ARTICLES_INDEX\",\n         \"name\":\"Date\",\n         \"numPage\":0\n      },\n      {  \n         \"marker\": voir info,\n         \"value\": voir info,\n         \"idUnit\":8,\n         \"id\":\"SITE_ARTICLES_INDEX\",\n         \"name\":\"Site\",\n         \"numPage\":3\n      }\n   ],\n   \"idUnit\":8,\n   \"id\":\"ARTICLES_INDEX\",\n   \"name\":\"Articles\",\n   \"numPage\":3\n},<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Type Info Structure: The Info type consists of several attributes: id: Unique identifier of the index found name: Name of the index found numPage: The number of the page where the index was found idUnit: number that determines the instance to which this date belongs (Useful if the index multiplies e.g.: HT1, HT2, HT3 will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":21242,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"templates\/ob-help-products.php","meta":{"footnotes":""},"class_list":["post-21250","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/comments?post=21250"}],"version-history":[{"count":1,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21250\/revisions"}],"predecessor-version":[{"id":21253,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21250\/revisions\/21253"}],"up":[{"embeddable":true,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21242"}],"wp:attachment":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/media?parent=21250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}