Reconcile an advance payment to a supplier ​

When you pay a supplier before you receive the invoice, the Payment Entry has no invoice to settle. ERPNext keeps the amount as an unallocated advance to the supplier. When the Purchase Invoice arrives, apply the advance to it, so that the invoice's outstanding amount and the supplier's balance are correct.

Prerequisites ​

  • A submitted advance Payment Entry to the supplier with an unallocated amount. See Record an advance payment.
  • The supplier's Purchase Invoice, in the same company, currency, and payable account as the advance.

Apply the advance on a draft Purchase Invoice ​

  1. Open the draft Purchase Invoice.
  2. In the Advance Payments section, select Get Advances Paid. ERPNext lists the supplier's unallocated advances in the Advances table.
  3. In each row, set the Allocated Amount to apply.
  4. Submit the Purchase Invoice.

To let ERPNext do this, select Set Advances and Allocate (FIFO) instead. ERPNext fetches the advances and allocates them oldest first.

Apply the advance to a submitted Purchase Invoice ​

  1. Open Payment Reconciliation.
  2. Select the Company, set Party Type to Supplier, and select the Party.
  3. Check the Payable account in Receivable / Payable Account. If the company books advances in a separate account, select it in Default Advance Account.
  4. Select Get Unreconciled Entries.
  5. Select the Purchase Invoice in the Invoices table and the advance in the Payments table.
  6. Select Allocate, check the Allocated Amount, and select Reconcile.

See Reconcile payments with invoices for details of the tool.

Check the result ​

  • The Purchase Invoice's outstanding amount is lower by the allocated amount.
  • The Payment Entry lists the invoice under Payment References, and its Unallocated Amount is lower.
  • The Accounts Payable report shows the new balance.

When the invoice is smaller than the advance, allocate only the invoice amount. The rest stays as an advance for the next invoice, or you can ask the supplier for a refund.

Troubleshooting ​

The advance does not appear ​

Check that the Payment Entry is submitted, belongs to the same supplier and company, posts to the same payable account (or to the Default Advance Account you selected), and still has an unallocated amount.

Get Advances Paid finds nothing ​

The invoice must be a draft. For a submitted invoice, use Payment Reconciliation. If the advance was made against a Purchase Order, create the invoice from that Purchase Order.

The wrong advance was applied ​

Unreconcile the payment, then apply the correct advance. Compare the reference numbers, dates, and Purchase Orders of the advances before you allocate.

The advance was posted to a separate advance account ​

Use the Default Advance Account filter in Payment Reconciliation. See Book advances in a separate party account. An advance posted with a manual Journal Entry to an unrelated asset account does not appear.