{"id":21262,"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\/accounting-entry\/"},"modified":"2026-05-13T09:35:39","modified_gmt":"2026-05-13T07:35:39","slug":"accounting-entry","status":"publish","type":"page","link":"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/accounting-entry\/","title":{"rendered":"Accounting Entry"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"EcritureComptable-EcritureComptable\">Accounting Entry<\/h1>\n\n<h2 class=\"wp-block-heading\" id=\"EcritureComptable-Structure\">Structure<\/h2>\n\n<p>The ledger entry type consists of several attributes associated with a ledger entry:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>bundleId<\/strong>: The unique identifier of the batch in which the entry is located. This value is empty as long as the entry is in the &#8220;current batch&#8221;<\/li>\n\n\n\n<li><strong>accountEntrySource<\/strong>: Unique identifier of the modified ledger entry (only in the case of a change in entry)<\/li>\n\n\n\n<li><strong>date<\/strong>: Date of the entry entered by the user in the format dd\/mm\/yyyy<\/li>\n\n\n\n<li><strong>dateCreation<\/strong>: Date the entry was created in the format dd\/mm\/yyyy hh:mm:ss<\/li>\n\n\n\n<li><strong>exported<\/strong>: Indicates whether the ledger entry has already been exported<\/li>\n\n\n\n<li><strong>financialPeriod<\/strong>: The accounting year of the entry\n<ul class=\"wp-block-list\">\n<li><strong>startDate<\/strong>: Fiscal year start date in format: dd\/mm\/yyyy<\/li>\n\n\n\n<li><strong>endDate<\/strong>: Fiscal year end date in format: dd\/mm\/yyyy<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>ledger<\/strong>: The journal of the accounting entry\n<ul class=\"wp-block-list\">\n<li><strong>name<\/strong>: Name of the log<\/li>\n\n\n\n<li><strong>code<\/strong>: Log code<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>lines<\/strong>: Entry lines in list form\n<ul class=\"wp-block-list\">\n<li><strong>labelLine<\/strong>: The label of the writing line<\/li>\n\n\n\n<li><strong>accountNumber<\/strong>: The account number. In the case of a business partner line, it corresponds to the number of the business partner account.<\/li>\n\n\n\n<li><strong>genericAccountNumber<\/strong>: When the entry line is associated with a business partner account, this value represents the sub-account of the business partner account<\/li>\n\n\n\n<li><strong>amount<\/strong>: Amount of the entry line<\/li>\n\n\n\n<li><strong>meaning<\/strong>: The direction of the entry line: DEBIT\/CREDIT<\/li>\n\n\n\n<li><strong>customInformations<\/strong>: List of additional information associated with the entry line\n<ul class=\"wp-block-list\">\n<li><strong>id<\/strong>: The unique identifier of the additional information<\/li>\n\n\n\n<li><strong>value<\/strong>: The value of this additional information for this line<\/li>\n\n\n\n<li><strong>idBinding<\/strong>: The identifier of the index, or value that allows Open Bee\u2122 Scan Capture to auto-populate this value (not be empty)<\/li>\n\n\n\n<li><strong>title<\/strong>: The name of the additional information displayed as an accounting entry column.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>analyticalBreakdown<\/strong> Analytical breakdown. There are 2 types of analytical breakdowns depending on the accounts (they cannot be mixed):\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/accounting-entry\/#EcritureComptable-Ventilationparplan\" data-type=\"page\">Breakdown by plan<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/help.openbee.com\/en\/open-bee-scan-capture\/knowledge-base\/how-to-guides\/scripts-in-capture\/objects\/accounting-entry\/#EcritureComptable-Ventilationparsection\" data-type=\"page\">Breakdown by section<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>ID<\/strong>: Internal Unique Identifier of the Entry<\/li>\n<\/ul>\n\n<h2 class=\"wp-block-heading\" id=\"EcritureComptable-Exemple\">Example<\/h2>\n\n<pre class=\"wp-block-code\"><code>{ \n\tbundleId: \"5e1f383cef15050956fd8f9b\",\n\taccountEntrySource: \"2c9c383cef15050956fd5e8d\",\n\tdate : \"25\/01\/2020\",\n\tdateCreation : \"26\/01\/2020 15:31:21\",\n\texported : false,\n\tfinancialPeriod : {\n\t\tstartDate: \"01\/01\/2020\",\n\t\tendDate: \"31\/12\/2020\"\n\t},\n\tledger : {\n\t\tname : \"Achats\",\n\t\tcode : \"ACH\"\n\t},\n\tlines : &#91;\n\t{\n\t\tlabelLine : \"Fac Orange 25\/01\/2020\",\n\t\taccountNumber : \"FORANGE\",\n\t\tgenericAccountNumber : \"4010000\",\n\t\tamount : \"20,50\",\n\t\tmeaning : \"CREDIT\",\n\t\tcustomInformations : &#91;\n\t\t{\n\t\t\tid : \"f3670cb56fe3d56a95ad8af3\",\n\t\t\tvalue : \"256888\",\n\t\t\tidBinding : \"\",\n\t\t\ttitle : \"Colonne libre\"\n\t\t}, ...],\n\t\tanalyticalBreakdown: {}\n\t},\n\t{\n\t\tlabelLine : \"Fac Orange 25\/01\/2020\",\n\t\taccountNumber : \"6021000\",\n\t\tgenericAccountNumber : \"\",\n\t\tamount : \"17,35\",\n\t\tmeaning : \"DEBIT\",\n\t\tcustomInformations : &#91;],\n\t\tanalyticalBreakdown: {}\n\t}, ...]\n\tid : \"5ad8af3cb56fef36703d56a9\"\n}<\/code><\/pre>\n\n<h1 class=\"wp-block-heading\" id=\"EcritureComptable-Ventilationparplan\">Breakdown by plan<\/h1>\n\n<h2 class=\"wp-block-heading\" id=\"EcritureComptable-Structure.1\">Structure<\/h2>\n\n<p>The breakdown by plan type is made up of a ledger entry line:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>Type<\/strong>: Constant: &#8220;VentilatedByPlan&#8221;<\/li>\n\n\n\n<li><strong>ventilatedPlanList:<\/strong> List of broken down plans\n<ul class=\"wp-block-list\">\n<li><strong>Plan<\/strong>: Broken Down Analytical Plan\n<ul class=\"wp-block-list\">\n<li><strong>Type<\/strong>: Constant &#8220;BasicPlan&#8221;<\/li>\n\n\n\n<li><strong>mandatoryPlan<\/strong>: Indicates whether the plan is required<\/li>\n\n\n\n<li><strong>name<\/strong>: Name of the plan<\/li>\n\n\n\n<li><strong>code<\/strong>: Plan code<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>lines:&nbsp;<\/strong>Lignes ventil\u00e9 pour le plan\n<ul class=\"wp-block-list\">\n<li><strong>allocatedAmount<\/strong> : Allocated amount<\/li>\n\n\n\n<li><strong>Section<\/strong>: Section of the Ventilated Plane\n<ul class=\"wp-block-list\">\n<li><strong>name<\/strong> : The name of the section<\/li>\n\n\n\n<li><strong>Code<\/strong> : Section code<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n<pre class=\"wp-block-code\"><code>analyticalBreakdown: {\n\ttype: \"VentilatedByPlan\",\n\tventilatedPlanList : &#91;\n\t{\n\t\tplan : {\n\t\t\ttype: \"BasicPlan\",\n\t\t\tmandatoryPlan: false,\n\t\t\tname: \"Service\",\n\t\t\tcode: \"AS-001\"\n\t\t},\n\t\tlines : &#91;\n\t\t{\n\t\t\tallocatedAmount: 17.35,\n\t\t\tsection: {\n\t\t\tname: \"Administratif\",\n\t\t\tcode: \"AS-001-ADM\"\n\t\t}, ...] \n\t},...]\n}<\/code><\/pre>\n\n<h2 class=\"wp-block-heading\" id=\"EcritureComptable-Ventilationparsection\">Breakdown by section<\/h2>\n\n<h3 class=\"wp-block-heading\" id=\"EcritureComptable-Structure.2\">Structure<\/h3>\n\n<p>The ledger entry type consists of several attributes associated with a ledger entry:<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>Type<\/strong>: Constant: &#8220;VentilatedBySection&#8221;<\/li>\n\n\n\n<li><strong>multipleVentilatedLines:<\/strong> List of breakdowns\n<ul class=\"wp-block-list\">\n<li><strong>allocatedAmount<\/strong>: Allocated amount<\/li>\n\n\n\n<li><strong>sectionCombinations<\/strong>: Combination of broken sections\n<ul class=\"wp-block-list\">\n<li><strong>groupSectionDetails<\/strong>: Represents the group to which the section belongs\n<ul class=\"wp-block-list\">\n<li>name: Name of the group<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>section<\/strong> : Represents the ventilated section\n<ul class=\"wp-block-list\">\n<li><strong>name<\/strong> : The name of the section<\/li>\n\n\n\n<li><strong>Code<\/strong> : Section code<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n<pre class=\"wp-block-code\"><code>analyticalBreakdown: {\n\ttype: \"VentilatedBySection\",\n\tmultipleVentilatedLines: &#91;\n\t{\n\t\tallocatedAmount:17.35,\n\t\tsectionCombinations: &#91;\n\t\t{\n\t\t\tgroupSectionDetails: {\n\t\t\t\tname: \"Service\"\n\t\t\t},\n\t\t\tsection : {\n\t\t\t\tname: \"Administratif\",\n\t\t\t\tcode: \"AS-001-ADM\"\n\t\t\t}\n\t\t},...]\n\t},...]\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Accounting Entry Structure The ledger entry type consists of several attributes associated with a ledger entry: Example Breakdown by plan Structure The breakdown by plan type is made up of a ledger entry line: Breakdown by section Structure The ledger entry type consists of several attributes associated with a ledger entry:<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":21242,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"templates\/ob-help-products.php","meta":{"footnotes":""},"class_list":["post-21262","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21262","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=21262"}],"version-history":[{"count":1,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21262\/revisions"}],"predecessor-version":[{"id":21264,"href":"https:\/\/help.openbee.com\/en\/wp-json\/wp\/v2\/pages\/21262\/revisions\/21264"}],"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=21262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}