Record an advance payment
An advance is money that a customer pays you, or that you pay a supplier, before the invoice exists. Record it as a Payment Entry against the party, and link it to the Sales Order or Purchase Order when there is one. When the invoice exists, allocate the advance to it.
Until you allocate it, the advance stays in the party's account as an unallocated amount. For example, a customer advance is a credit on the customer's receivable account.
To post advances to a separate liability or asset account instead, see Book advances in a separate account.
Prerequisites
- The customer or supplier exists. Create the party before you record the advance.
- Optional: the Sales Order or Purchase Order is submitted.
Record the advance
From a Sales Order or Purchase Order
- Open the submitted Sales Order or Purchase Order.
- Select Create > Payment. ERPNext creates a Payment Entry with the order in the Payment References table.
- Change the Paid Amount and the Allocated amount to the amount of the advance, if it is less than the order total.
- Enter the Cheque/Reference No and Cheque/Reference Date.
- Submit the Payment Entry.
The Advance Payment Status of a Sales Order changes to Partially Paid or Fully Paid.
Without an order
- Create a Payment Entry with Payment Type Receive (customer) or Pay (supplier). See Create a Payment Entry.
- Select the Party and enter the Paid Amount and the bank reference.
- Leave the Payment References table empty, or select Get Outstanding Orders to link an order.
- Submit the Payment Entry. The whole amount is the Unallocated Amount.
If your tax rules require tax on advances, select the taxes template in the Taxes and Charges section. ERPNext fills the Advance Taxes and Charges table.
Allocate the advance to the invoice
Use one of these methods:
- In the invoice: on a draft Sales Invoice, open the Payments tab and select Get Advances Received. On a Purchase Invoice, select Get Advances Paid. ERPNext lists the open advances of the party in the Advances table. Set the Allocated amount of each row, then submit the invoice.
- Automatically: on a Sales Invoice, select Allocate Advances Automatically (FIFO). ERPNext allocates the oldest advances first. Select Only Include Allocated Payments to use only the advances that are linked to the order of the invoice. On a Purchase Invoice, the checkbox is Set Advances and Allocate (FIFO).
- After the invoice is submitted: use Payment Reconciliation to match the advance with the invoice.
When an advance is larger than the invoice, allocate only the invoice amount. The rest stays available for later invoices or a refund.
Main fields
| Field | What it controls |
|---|---|
| Party | The customer or supplier who owns the advance. |
| Payment References | The Sales Order or Purchase Order that the advance belongs to. Optional. |
| Unallocated Amount | The part of the advance that is not yet allocated to an invoice. |
| Advance Taxes and Charges | Taxes on the advance, when your tax rules require them. |
| Cheque/Reference No and Cheque/Reference Date | The bank reference of the advance. |
Cancel an order that has an advance
When you cancel a Sales Order or Purchase Order, ERPNext removes the link between the order and its advance if Unlink Advance Payment on cancellation of order is selected in Accounts Settings. This option is selected by default. The advance stays as an unallocated amount of the party.
Troubleshooting
The advance does not appear in the invoice
Check that the Payment Entry is submitted and uses the same party, company, party account, and currency as the invoice. If Only Include Allocated Payments is selected, only advances linked to the order of the invoice appear. Otherwise, allocate the advance with Payment Reconciliation.
The advance is linked to the wrong order
Cancel and amend the Payment Entry while no invoice uses it. If it is allocated, unreconcile it first. See Unreconcile payments.
An advance posted to a separate account cannot be allocated
Allocation works only for advances that ERPNext posted to a party account. A manual Journal Entry to an unrelated liability or asset account is not an advance of the party. See Book advances in a separate account.
Frequently asked questions
Can one advance settle several invoices?
Yes. Allocate part of the advance to each invoice. ERPNext keeps the rest as unallocated until you allocate or refund it.
How do I refund an advance?
Record the refund as a payment in the other direction, for example a Payment Entry of type Pay to the customer, and reconcile it against the original advance. Do not delete the original advance. See Handle excess payments.
Is a customer advance income?
No. The advance is a balance that you owe the customer until you deliver. The invoice books the income.