How to Configure Sales Invoice and Credit/Debit Note in iDempiere

The Sales Invoice and Credit/Debit Note window in iDempiere is the core accounts receivable document used to bill customers, apply tax, and issue credit or debit notes.

Every completed invoice drives receivables balances, tax reporting, and sales revenue accounting, making correct configuration essential for accurate retail financial close.

Process Flow

TenthPlanet iDempiere Sales SalesInvoice ProcessFlow

Business Rules

  • Only active tax rates are available for selection on invoice lines.
  • Target Document Type decides whether the record posts as an Invoice or Credit Memo.
  • Invoice lines can be generated automatically from a linked Shipment or Purchase Order of the business partner.
  • Combined tax rates split automatically into components on the Invoice Tax tab.
  • Price List determines the default Unit Price and List Price on new invoice lines.
  • Grand Total recalculates automatically whenever lines or taxes change.
  • Document Status must move from Drafted to Completed before the invoice posts to accounting.
  • Price includes Tax controls whether entered prices are treated as tax-inclusive.
  • Payment Rule and Payment Term determine the due date used for receivables ageing.

Prerequisites

  • Business Partner and Partner Location configured.
  • Organization (store or branch) configured.
  • Document Type configured for AR Invoice and AR Credit Memo.
  • Price List configured with product pricing.
  • Tax Category and Tax Rate configured.
  • Shipment or Purchase Order completed, if invoice lines will be generated from delivery.
  • Sales Representative and User/Contact linked to the Business Partner.

Configuration Steps

Step 1: Set Up the Invoice Header

Create a new record, select the Business Partner and Partner Location, set the Target Document Type, and confirm Price List, Currency, Payment Rule, and Payment Term.

FieldSample ValueDescription
Target Document TypeAR InvoiceSets the document as a credit note instead of a standard invoice
Business PartnerALPHA RETAIL SOLUTIONSCustomer being billed or credited
Partner LocationChennaiShip-to/bill-to location of the customer
User/ContactKarthikCustomer contact linked to the transaction
Price ListStandard Sales Price ListDetermines default product pricing
CurrencyINRTransaction currency
Sales RepresentativePraveenStore staff responsible for the sale
Payment RuleOn CreditDefines how the invoice will be settled
Payment TermImmediateSets the due date for the receivable
Date Invoiced07/01/2026Transaction date used for invoicing
Account Date07/01/2026Date used for accounting postings
TenthPlanet iDempiere SalesInvoice header 1
TenthPlanet iDempiere SalesInvoice header 2

Step 2: Generate Invoice Lines from a Shipment or Receipt

Click Create lines from, select the matching Shipment/Purchase order, confirm the quantity to invoice, and click Create lines from Invoice to load the lines.

FieldSample ValueDescription
Business PartnerALPHA RETAIL SOLUTIONSFilters shipments for the selected customer
Shipment/Receipt570001_07/01/2026Source delivery document for the invoice lines
Quantity15Delivered quantity available to invoice
UOMEachUnit of measure for the product
ProductAASH-ATTA-5KG_Aashirvaad Atta — 5kgProduct being invoiced
TenthPlanet iDempiere SalesInvoice CreateLine

Step 3: Review and Adjust Invoice Line Details

Open each Invoice Line, confirm Product, Quantity, Price, and Tax, and verify the Line Amount matches quantity multiplied by unit price.

FieldSample ValueDescription
Line No10Sequence of the line on the invoice
Shipment/Receipt Line10_15_AASH-ATTA-5KG…Source shipment line the invoice line was created from
ProductAASH-ATTA-5KG_Aashirvaad Atta — 5kgItem being billed
Quantity15Billed quantity
UOMEachUnit of measure
Price280.00Net price used for the line
Unit Price280.00Price per unit before tax
List Price285.00Reference list price from the price list
TaxCGST/SGST 18%Combined tax rate applied to the line
Line Amount4,200.00Quantity multiplied by unit price
PrintedCheckedControls whether the line appears on the printed invoice
TenthPlanet iDempiere SalesInvoice Line

Step 4: Verify the Tax Breakup

Open the Invoice Tax tab and confirm the Tax base Amount

FieldSample ValueDescription
TaxCGST 9%Central GST component of the combined rate
TaxSGST 9%State GST component of the combined rate
Tax base Amount4,200.00Line amount used to calculate tax
Tax Amount378.00Calculated tax value per component
Price includes TaxUncheckedConfirms the entered price excludes tax
TenthPlanet iDempiere SalesInvoice SalesTax 2
TenthPlanet iDempiere SalesInvoice SalesTax 1

Step 5: Complete and Post the Invoice

Review Total Lines and Grand Total on the Status section, then run Document Action and select Complete to post the invoice or credit memo.

FieldSample ValueDescription
Total Lines4,200.00Sum of all invoice line amounts before tax
Grand Total4,956.00Total invoice amount including tax
Document StatusDraftedCurrent workflow state of the document
Document TypeAR InvoiceConfirms the posting type before completion
Document ActionCompleteAction used to finalize and post the document
Note: Once a document status changes to Completed, header and line fields become read-only. Use a Credit Memo or Reversal for corrections instead of editing a posted invoice.

Common Issues and Resolutions

IssueCauseResolution
Create lines from Invoice returns no recordsShipment/ Purchase order not completed or already fully invoicedComplete the shipment first and confirm remaining quantity
Invoice posts as Invoice instead of Credit MemoTarget Document Type left as AR InvoiceSet Target Document Type to AR Credit Memo before completing
Grand Total does not match expected amountPrice includes Tax checkbox set incorrectlyVerify Price includes Tax matches the store’s pricing policy
Document cannot be completedMandatory header fields missing, such as Price ListFill all mandatory fields before running Document Action
Duplicate Tax lines appearMultiple tax rates mapped to the same tax categoryReview Tax Category setup and remove duplicate rates
Line price differs from Price ListUnit Price manually overridden during entryRecalculate the price using the Price List reference

Next Steps

  • Configure Payment Allocation to settle the invoice against customer receipts.
  • Configure Document Type sequencing for AR Invoice and AR Credit Memo numbering.