Record deductions in a Payment Entry ​

The amount that reaches the bank is not always the amount that settles the invoice. The bank keeps a charge, a small balance is written off, or the exchange rate moved. Record each difference as a row in the Payment Deductions or Loss table, with its own account, instead of changing the invoice.

For example, a customer pays an invoice of 10,000, and the bank keeps a charge of 25. The bank receives 9,975. The Payment Entry allocates 10,000 to the invoice and has one deduction row of 25 to the Bank Charges account. The invoice is fully paid, and the bank charge shows as an expense.

For tax that a customer withholds, see Record tax withheld by a customer. For an early payment discount, see Record a payment discount.

Prerequisites ​

  • An account for each kind of difference, for example Bank Charges, Write Off, or Exchange Gain/Loss.
  • A Write Off Account and an Exchange Gain / Loss Account set on the company, if you use them.

Add a deduction row ​

  1. Create the Payment Entry. See Create a Payment Entry.
  2. In Paid Amount, enter the amount that the bank actually received or paid.
  3. In the Payment References table, allocate the full amount that settles each invoice.
  4. Difference Amount (Company Currency) now shows the gap.
  5. In the Deductions or Loss section, add one row to Payment Deductions or Loss for each kind of difference:
    • Account: the account that explains the difference.
    • Cost Center: the cost center for the amount.
    • Amount (Company Currency): the amount, with the sign from the table below.
    • Description: optional reason.
  6. Check that Difference Amount (Company Currency) is zero.
  7. Submit the Payment Entry.

Choose the sign of the amount ​

A positive amount debits the deduction account. A negative amount credits it. Use the sign that brings Difference Amount (Company Currency) to zero:

SituationPayment TypeAmountEffect
The bank keeps a charge on a receiptReceivePositiveDebits Bank Charges (expense).
The customer pays a little less, and you write it offReceivePositiveDebits the write-off account (expense).
You pay a bank charge on top of a supplier paymentPayPositiveDebits Bank Charges (expense).
The supplier accepts less than the invoicePayNegativeCredits the discount or write-off account (income).

Select Preview > Accounting Ledger to check the entries before you submit.

Write off the whole difference ​

To post the whole difference to one account, select Write Off Difference Amount. ERPNext adds a row with the Write Off Account of the company and the difference amount. If the company has no write-off account, ERPNext asks for one.

Exchange gain or loss ​

ERPNext handles two kinds of exchange difference:

  • Between the two accounts of the payment: when Account Paid From and Account Paid To use different currencies, and Paid Amount (Company Currency) differs from Received Amount (Company Currency), ERPNext adds a row with the Exchange Gain / Loss Account of the company and selects Is Exchange Gain / Loss? on it. You cannot delete this row. ERPNext recalculates it when the amounts or rates change.
  • Between the invoice and the payment: when the exchange rate of the payment differs from the rate of the invoice, ERPNext posts the difference in a separate Journal Entry of type Exchange Gain Or Loss when you submit. To see it, select Actions > View Exchange Gain/Loss Journals on the Payment Entry.

Troubleshooting ​

Difference Amount is not zero after you add a row ​

Check the sign of the row amount, and check that the Paid Amount is the actual bank amount. The allocation is the amount that settles the invoice. The Paid Amount is the money that moved.

A bank charge was posted as a tax ​

Move the charge to a row of Payment Deductions or Loss. The Advance Taxes and Charges table is for taxes on an advance, not for money that the bank keeps.

A deduction changed the balance of the customer or supplier ​

The row uses a receivable or payable account. Use an expense, income, or bank charges account instead.

Currency for the account must be the company currency ​

Deduction rows post in the company currency. Select an account in the company currency.

Cannot delete Exchange Gain/Loss row ​

ERPNext manages this row. Correct the exchange rates or amounts, and ERPNext updates or removes the row.