Set up payment terms ​

A sale or a purchase is not always due in one amount on one date. Payment terms describe when each part is due: a deposit, instalments, or a credit period. ERPNext builds a payment schedule on the document from the terms. The schedule drives due dates, overdue amounts, and the receivable and payable reports.

For example, you collect 30% when a customer confirms an order, and 70% within 30 days after the invoice.

  • A Payment Term is one instalment rule, such as "30% on order".
  • A Payment Terms Template combines terms that add up to 100%, such as "30% deposit, 70% net 30".

Create a payment term ​

  1. Open the Payment Term list and select Add Payment Term.
  2. Enter the Payment Term Name.
  3. Enter the Invoice Portion (%) for this instalment.
  4. Select Due Date Based On:
    • Day(s) after invoice date: enter Credit Days.
    • Day(s) after the end of the invoice month: enter Credit Days.
    • Month(s) after the end of the invoice month: enter Credit Months.
  5. Optional: select the Mode of Payment.
  6. Optional: set an early-payment discount (see below).
  7. Save.

Create a payment terms template ​

  1. Open the Payment Terms Template list and select Add Payment Terms Template.
  2. Enter a name, for example 30% deposit, 70% net 30.
  3. Add one row for each payment term, in the order of payment. Check the Invoice Portion (%) of each row.
  4. Save. The portions must add up to 100%.

Apply payment terms to a document ​

Select the Payment Terms Template on a Quotation, Sales Order, Purchase Order, Sales Invoice, or Purchase Invoice. ERPNext creates the Payment Schedule from the document date.

To set a template for all documents of a party, select it on the customer or supplier. To set a company-wide default, use the Default Payment Terms Template on the company.

To copy the schedule from the order to the invoice, select Automatically fetch Payment Terms from Order/Quotation in Accounts Settings.

Check the schedule before you submit.

Offer an early-payment discount ​

In the Discount Settings section of a payment term:

  1. Select the Discount Type: Percentage or Amount.
  2. Enter the Discount.
  3. Select Discount Validity Based On and enter the Discount Validity.

If the party pays within the validity period, the Payment Entry applies the discount and posts it to the company's Default Payment Discount Account. Test the ledger result before you use discounts in production.

Troubleshooting ​

The due date is not what you expected ​

Check the posting date, Due Date Based On, and the credit days or months.

The template cannot be saved ​

Check that the invoice portions add up to 100%, and that each row has a payment term.

The schedule was not copied to the invoice ​

Check whether the invoice or the party has another template, whether the schedule was edited by hand, and the Automatically fetch Payment Terms from Order/Quotation setting.