{"id":21263,"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\/template\/"},"modified":"2026-05-13T09:36:47","modified_gmt":"2026-05-13T07:36:47","slug":"template","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/template\/","title":{"rendered":"Template"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"Template-Structure\">Structure<\/h1>\n\n<p>The Template type is made up of several attributes associated with a Template:<\/p>\n\n<ul class=\"wp-block-list\"><li><strong>name<\/strong>: Name of the template<\/li><li><strong>ID<\/strong>: Internal unique identifier of the template. It is unique for a related third party, file, or group of third parties<\/li><li><strong>parentID<\/strong> : The ID of the template&#8217;s parent template. It is unique to all a model group.<\/li><li><strong>accountingEnable<\/strong>: Indicates whether the template can handle ledger entries<\/li><\/ul>\n\n<h1 class=\"wp-block-heading\" id=\"Template-Exemple\">Example<\/h1>\n\n<pre class=\"wp-block-code\"><code>{ \n\tname : \"Facture d'achat\", \n\tid : \"5ad8af3cb56fef36703d56a9\", \n\tparentID : \"5e217a90942fbd3bf5fde81e\", \n\taccountingEnable : true,\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Structure The Template type is made up of several attributes associated with a Template: name: Name of the template ID: Internal unique identifier of the template. It is unique for a related third party, file, or group of third parties parentID : The ID of the template&#8217;s parent template. It is unique to all a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":21242,"menu_order":10,"comment_status":"closed","ping_status":"closed","template":"templates\/ob-help-products.php","meta":{"footnotes":""},"class_list":["post-21263","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21263","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=21263"}],"version-history":[{"count":1,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21263\/revisions"}],"predecessor-version":[{"id":21265,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21263\/revisions\/21265"}],"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=21263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}