{"id":18195,"date":"2026-01-30T12:32:11","date_gmt":"2026-01-30T12:32:11","guid":{"rendered":"https:\/\/tenthplanet.in\/idempiere\/?p=18195"},"modified":"2026-01-30T12:32:12","modified_gmt":"2026-01-30T12:32:12","slug":"how-document-type-works-in-idempiere","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-document-type-works-in-idempiere\/","title":{"rendered":"How Document Type Works in iDempiere"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <strong>Document Type<\/strong> window in iDempiere defines <strong>how business documents behave across the system<\/strong>. It controls numbering, document flow, accounting impact, and processing rules for transactions such as Sales Orders, Purchase Orders, Invoices, Shipments, Receipts, and Payments.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Every transactional document in iDempiere is governed by a Document Type. Without a properly configured Document Type, documents cannot be completed, posted, or linked correctly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Document Type Configuration Role<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Document Type<\/strong>\u00a0serves as the\u00a0<strong>rule engine<\/strong>\u00a0for documents, controlling\u00a0<strong>sequence numbering<\/strong>,\u00a0<strong>inventory impact<\/strong>,\u00a0<strong>accounting posting<\/strong>, and\u00a0<strong>next document generation<\/strong>. This foundational setup ensures\u00a0<strong>operational flow<\/strong>\u00a0and\u00a0<strong>financial integrity<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"721\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-1-1024x721.png\" alt=\"TenthPlanet-iDempiere-AccountingManagement-DocumentType-1\" class=\"wp-image-18197\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-1-1024x721.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-1-300x211.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-1-768x541.png 768w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-1-1536x1082.png 1536w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-1-2048x1442.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Document Type Flow Control<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Each Document Type belongs to a <strong>Document Base Type<\/strong> (for example: Sales Order, Material Receipt, AP Invoice). Based on this base type, iDempiere enforces system-level behavior such as mandatory fields, allowed processing actions, and posting logic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Additionally, Document Type can define <strong>related document types<\/strong>, enabling automatic document creation. For example, a completed Sales Order can automatically generate a Shipment and later an Invoice, each driven by its own Document Type configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Document Numbering Process<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Document numbering<\/strong> is controlled at the <strong>Document Type<\/strong> level\u2014upon <strong>completion<\/strong>, iDempiere fetches the <strong>assigned sequence<\/strong>, <strong>locks<\/strong> the document number (making it <strong>immutable<\/strong>), ensuring <strong>audit-safe, gap-controlled<\/strong> numbering. Different <strong>Document Types<\/strong> enable separate sequences for <strong>domestic\/export invoices<\/strong>, <strong>manual\/automated documents<\/strong>, and <strong>system\/user transactions<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"721\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-2-1024x721.png\" alt=\"TenthPlanet-iDempiere-AccountingManagement-DocumentType-2\" class=\"wp-image-18198\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-2-1024x721.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-2-300x211.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-2-768x541.png 768w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-2-1536x1082.png 1536w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-2-2048x1442.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Accounting Trigger Configuration<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Document Type<\/strong> determines <strong>accounting relevance<\/strong>\u2014when enabled, <strong>completion triggers posting<\/strong> per <strong>Accounting Schema<\/strong>, with <strong>reversals\/voids<\/strong> following document rules. For example, a <strong>Material Receipt<\/strong> posts inventory value, while <strong>non-financial<\/strong> types skip accounting entries.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><br><strong>Inventory Impact Control<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Document Type settings<\/strong> control <strong>inventory movement<\/strong>\u2014only enabled documents <strong>update on-hand quantities<\/strong>, <strong>generate cost transactions<\/strong>, and <strong>affect inventory valuation<\/strong>. This prevents <strong>non-logistics documents<\/strong> from accidentally altering stock levels.<br><br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"721\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-3-1024x721.png\" alt=\"TenthPlanet-iDempiere-AccountingManagement-DocumentType-3\" class=\"wp-image-18200\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-3-1024x721.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-3-300x211.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-3-768x541.png 768w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-3-1536x1082.png 1536w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-AccountingManagement-DocumentType-3-2048x1442.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In iDempiere, <strong>Document Type<\/strong> defines how documents are numbered, processed, posted, and linked across the system. It is the backbone of document control, ensuring consistent workflow execution, accurate accounting, and audit-ready operations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Document Type window in iDempiere defines how business documents behave across the system. It controls numbering, document flow, accounting [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[58],"tags":[],"class_list":["post-18195","post","type-post","status-publish","format-standard","hentry","category-accounting"],"acf":[],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/18195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=18195"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/18195\/revisions"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=18195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=18195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=18195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}