{"id":19669,"date":"2026-07-07T12:08:08","date_gmt":"2026-07-07T12:08:08","guid":{"rendered":"https:\/\/tenthplanet.in\/idempiere\/?p=19669"},"modified":"2026-07-13T09:34:44","modified_gmt":"2026-07-13T09:34:44","slug":"how-to-generate-invoices-in-idempiere","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-to-generate-invoices-in-idempiere\/","title":{"rendered":"How to Generate Invoices in iDempiere"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The Generate Invoices window in iDempiere automates AR Invoice creation from completed Sales Orders, removing the need to build every customer invoice manually.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It directly affects Accounts Receivable, revenue posting, and shipment reconciliation, since invoices are only created once the invoice rule and delivery conditions are satisfied.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Process Flow Diagram<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/Generate_Invoices-1024x344.png\" alt=\"\" class=\"wp-image-20441\" title=\"\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/Generate_Invoices-1024x344.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/Generate_Invoices-300x101.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/Generate_Invoices-768x258.png 768w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/Generate_Invoices-1536x515.png 1536w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/07\/Generate_Invoices-2048x687.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Business Rules<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Only completed Sales Orders are eligible for invoice generation.<\/li>\n\n\n\n<li>Orders that are already fully invoiced are excluded automatically.<\/li>\n\n\n\n<li>The Invoice Rule on the Sales Order determines when invoicing is allowed.<\/li>\n\n\n\n<li>Immediate rule invoices directly from order lines without requiring a shipment.<\/li>\n\n\n\n<li>After Delivery rule requires a completed Customer Shipment before invoicing.<\/li>\n\n\n\n<li>After Complete Order rule waits until the entire order has been delivered.<\/li>\n\n\n\n<li>Consolidate to One Document merges multiple eligible orders into a single invoice.<\/li>\n\n\n\n<li>Minimum Amt skips invoice creation when the total is below the configured value.<\/li>\n\n\n\n<li>Shipment lines are marked Invoiced automatically to prevent duplicate billing.<\/li>\n\n\n\n<li>Payment Term and due dates are copied from the Sales Order to the invoice.<\/li>\n\n\n\n<li>Document Action Complete posts accounting entries immediately after generation.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Prerequisites<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Business Partner configured with a valid Payment Term and Price List.<\/li>\n\n\n\n<li>Sales Order completed with the Invoice Rule field set.<\/li>\n\n\n\n<li>Customer Shipment completed for After Delivery or After Complete Order rules.<\/li>\n\n\n\n<li>Document Type for AR Invoice configured for the organization.<\/li>\n\n\n\n<li>Organization and Warehouse configured for the selling location.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Configuration Steps<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1: Set the Invoice Date<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Enter or accept the default Date Invoiced. Use the current billing date that matches your open accounting period.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Date Invoiced<\/td><td>07\/03\/2026<\/td><td>Accounting date applied to all generated invoice documents<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Filter the Orders to Process<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Select an Organization or leave it as * for all branches. Optionally choose a single Order or Business Partner to restrict the run.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Organization<\/td><td>*<\/td><td>Restricts invoice generation to one branch or all organizations<\/td><\/tr><tr><td>Order<\/td><td>10000<\/td><td>Generates an invoice for a single selected Sales Order only<\/td><\/tr><tr><td>Business Partner<\/td><td>Alpha retail solutions<\/td><td>Generates invoices only for the selected customer<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Choose the Document Action<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set Document Action to Complete to post the invoice immediately, or Prepare to review it before completion.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Document Action<\/td><td>Complete<\/td><td>Defines the invoice status after generation: Complete or Prepare<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Enable Consolidate to One Document<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check Consolidate to One Document to merge eligible orders for the same customer into one invoice. Leave unchecked for one invoice per order.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Consolidate to one Document<\/td><td>Checked<\/td><td>Merges multiple orders of the same customer into a single invoice<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 5: Set a Minimum Invoice Amount<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Enter a value in Minimum Amt. Orders totaling below this amount are skipped and remain uninvoiced until combined with future orders.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Minimum Amt<\/td><td>1000<\/td><td>Skips invoice creation if the eligible total is below this value<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 6: Run as Job and Start the Process<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Check Run as Job for background processing on large data sets, then click Start. Review the process log for the created invoice count.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Field<\/strong><\/td><td><strong>Sample Value<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><\/thead><tbody><tr><td>Run as Job<\/td><td>Unchecked<\/td><td>Executes the process asynchronously as a background job<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Common Issues and Resolutions<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><td><strong>Issue<\/strong><\/td><td><strong>Cause<\/strong><\/td><td><strong>Resolution<\/strong><\/td><\/tr><\/thead><tbody><tr><td>No invoices generated<\/td><td>Invoice Rule is After Delivery but shipment not completed<\/td><td>Complete the Customer Shipment before running the process<\/td><\/tr><tr><td>Order not billed again<\/td><td>Shipment lines already marked Invoiced<\/td><td>Check existing invoices; no action needed if already billed<\/td><\/tr><tr><td>Orders merged unexpectedly<\/td><td>Consolidate to One Document was checked<\/td><td>Uncheck the option to generate one invoice per order<\/td><\/tr><tr><td>Small orders never invoiced<\/td><td>Order total is below the configured Minimum Amt<\/td><td>Lower the threshold or wait until combined orders exceed it<\/td><\/tr><tr><td>Invoice stuck in Prepare status<\/td><td>Document Action was set to Prepare<\/td><td>Manually complete the invoice or rerun with Complete selected<\/td><\/tr><tr><td>Wrong payment terms on invoice<\/td><td>Business Partner Payment Term changed after order creation<\/td><td>Update the Sales Order Payment Term before invoicing<\/td><\/tr><tr><td>Process shows zero created count<\/td><td>No Sales Orders match Completed status with open quantity<\/td><td>Confirm the Sales Orders are completed and not already fully invoiced<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Next Steps<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Configure Payment Selection to apply customer payments to the generated invoices.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Generate Invoices window in iDempiere automates AR Invoice creation from completed Sales Orders, removing the need to build every [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,67,76],"tags":[],"class_list":["post-19669","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-retail","category-sales"],"acf":[],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/19669","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=19669"}],"version-history":[{"count":4,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/19669\/revisions"}],"predecessor-version":[{"id":20442,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/19669\/revisions\/20442"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=19669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=19669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=19669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}