Calc average payment days This feature adds the Average Due Date Days field to payment terms. It shows after how many days, on average, payments with that term fall due. The value is calculated automatically and makes it easy to compare different payment terms (for example "30 days invoice date" and "60 days end of month"). Search for and open the Payment Terms page. The Average Due Date Days field is shown as the last column of the list. Field Description Average Due Date Days Average number of days between the document date and the payment due date. It is calculated automatically and should not be filled in manually. When the value is zero the field is shown blank. Term with a single due date: when you change the Due Date Calculation of the payment term, the average days are recalculated. The calculation uses the 15th of the month as reference, so "end of month" formulas count as an average half month. Example: "30 days end of month" corresponds to about 45 days. Term with installments: when the payment term has several installment lines (each with its own due date formula and payment percentage), the average days are the average of the installment due dates, weighted by each installment's percentage. Example: 50% at 30 days and 50% at 60 days gives 45 days. If the due date formula is cleared, the field goes back to zero. Open the Payment Terms page and select the term. Open the payment (installment) lines of the term. Enter or change due date formulas and percentages. Close the lines page: on closing, the term's Average Due Date Days field is recalculated automatically. When the feature is installed or upgraded, the average days are calculated for all existing payment terms. During recalculation, the system also stores for each installment its due days and whether it falls due at the end of the month.