How to Generate Invoices using Generate Invoices (Manual) in iDempiere

Generate Invoices (Manual) is the iDempiere batch window used to convert completed source documents into billing documents on demand.

The Document Source setting changes how the process behaves, affecting Accounts Receivable, and customer RMA.

Process Flow

TenthPlanet iDempiere Invoice Generate Manual

Business Rules

  • Document Source determines whether invoices are built from Orders or from Customer RMAs.
  • Only completed Orders or completed Customer RMAs are eligible for invoice generation.
  • Order-based generation follows the Invoice Rule, such as Immediate or After Delivery.
  • Each RMA line must reference a Shipment Line or a Charge to be invoiced.
  • Vendor RMAs are excluded; only Sales Transaction RMAs are processed.
  • The Invoice Document Type is derived from the source document’s configured type.
  • Document Action (Prepare or Complete) controls whether the invoice posts automatically.

Prerequisites

  • Business Partner configured with valid Accounts Receivable settings.
  • Sales Order or Customer RMA completed and ready for invoicing.
  • Document Type configured with a linked Invoice Document Type (for RMA source).
  • Organization and Document Sequence configured for the invoice type.
  • User role has access to Generate Invoices (manual) and the Invoice window.

Configuration Steps

Step 1: Set the Document Source

Open Generate Invoices (manual) and choose Sales Orders or RMA to credit completed Customer Returns. This choice hides or shows other available filters.

FieldSample ValueDescription
Document SourceOrderSelects Sales Order as the origin for invoicing
Document SourceRMASelects Customer RMA as the origin for crediting
TenthPlanet iDempiere Sales InvoiceManual

Step 2: Enter Selection Criteria

For Order source, enter Business Partner, Document Type, Date Ordered, and Invoice Rule. For RMA source, only Business Partner, Date Ordered and Document Type apply; Invoice Rule is unavailable.

FieldSample ValueDescription
Business PartnerNanotech Equipment Pvt LtdFilters documents for one customer
Document TypeStandard OrderFilters by the source document type
Date Ordered <=06/09/2026Limits Orders up to a cutoff date
Invoice RuleImmediateFilters Orders ready for immediate billing
All / AnyCheckedMatches all entered criteria together

Step 3: Query Eligible Documents

Click the refresh icon to load results. The grid shows Organization, Document Type, Document No, Business Partner, Date Ordered, Total Lines, and Invoice Rule for each match.

FieldSample ValueDescription
OrganizationChennai StoreStore or org that owns the document
Document No50006Order or RMA document number
Total Lines460.00Total line amount on the document

Step 4: Select Records for Invoicing

Tick the checkbox next to each row to include. Multiple rows can be selected to batch-generate several invoices or credit memos in one run.

Step 5: Run Generate Invoices (Manual)

Click Generate Invoices (manual). Enter Invoice Date and set Document Action to Prepare or Complete, then confirm to start the process.

Step 6: Verify the Generated Document

Open the Invoice window and locate the new document by Business Partner and Document No. Check lines, amounts, and status match the source document.

Common Issues and Resolutions

IssueCauseResolution
No records found in gridQuery criteria too narrow or source document not completedWiden the criteria or complete the Order/RMA first
“Invoice can only be generated from selection”No row checkbox selected before running RMA sourceSelect at least one row, then run the process again
“Could not get invoice document type”RMA Document Type has no linked Invoice Document TypeConfigure the target Invoice type in Document Type window
Invoice not created for an eligible OrderInvoice Rule set to Do Not Invoice, or Order incompleteUpdate the Invoice Rule and confirm Order status
Organization or Business Partner filter missingRMA source does not support these filter fieldsUse the selection grid checkboxes instead of filters

Next Steps

  • Review the generated Invoice or Credit Memo in the Invoice window.
  • Configure Payment Allocation for the resulting AR documents.