Import open invoices
To keep collecting and paying after cut-over, ERPNext needs each unpaid invoice, not only the total balance. The Opening Invoice Creation Tool creates opening Sales Invoices and Purchase Invoices for the outstanding amounts, without the original Items and stock.
Each opening invoice debits the receivable (or credits the payable) and posts the other side to the company's Temporary Opening account. The invoices have Is Opening set to Yes.
Use it for unpaid or partly paid invoices. Do not use it for paid invoices, orders, sales history, stock, or invoices that must keep Item-level tax or income detail.
Prerequisites
- The customers and suppliers exist. See Import accounting masters.
- The chart of accounts has an account with Account Type Temporary. Most standard charts have Temporary Opening.
- A fiscal year covers every posting date.
- Your file totals match the customer and supplier ageing reports of the old system, by currency. Zero-outstanding rows are removed.
Create the invoices
- Open the Opening Invoice Creation Tool.
- Select the Company and the Invoice Type: Sales or Purchase.
- Optional: select Create Missing Party. ERPNext then creates a basic party from the name. Importing reviewed parties first is safer.
- Optional: set a default Cost Center and Project.
- Add a row for each invoice, or import the rows from a file:
- Party ID or Party Name;
- Invoice Number (the old invoice number);
- Posting Date and Due Date;
- Outstanding Amount: the amount still unpaid at cut-over, not the original total;
- Temporary Opening Account, filled by ERPNext;
- for purchases, the Supplier Invoice Date.
- Select Create Invoices.
ERPNext creates up to 49 invoices at once. For 50 or more, it creates them in the background and shows the progress. Run sales and purchase invoices as separate batches.
Check the result
- Open a few invoices. Check the party, account, dates, outstanding amount, old invoice number, and cost center.
- Run the Accounts Receivable and Accounts Payable reports on the cut-over date. Compare the totals by party, the invoice counts, the ageing, and the due dates with the old system.
Partly paid invoices and credit notes
- For a partly paid invoice, import only the outstanding amount. Keep the original amounts in your migration file.
- Test one sales and one purchase credit note before the full batch, and check that each reduces the party's balance.
Avoid double counting
The opening invoices already create the receivable and payable balances. Do not add these balances again in the opening Journal Entry. See Enter opening balances.
Troubleshooting
Please add a Temporary Opening account in Chart of Accounts
Create a ledger account with Account Type Temporary for the company.
Some rows failed
Read the error of each row, correct the file, and run only the failed rows again. If an invoice has the wrong amount or party, cancel it and create it again before go-live.