How D365FO cash discounts work on vendor payments and settlements
Understand when Dynamics 365 Finance applies a vendor cash discount, how the settlement logic decides whether a payment qualifies, and which parameter controls the accounting entry. This article focuses on the practical cases that usually confuse AP teams: due date vs cash discount date, partial payments, overpayments, and where the discount posts.
How D365FO cash discounts work on vendor payments and settlements#
If a vendor invoice is paid within the cash discount date, Dynamics 365 Finance can automatically reduce the amount to settle and post the discount to the correct ledger account. The part that usually causes confusion is that the system does not simply look at the invoice due date. It checks the cash discount terms, settlement date, payment amount, and AP parameter settings that control partial payments and overpayments. (learn.microsoft.com)
Quick answer#
For a vendor invoice to take the discount, all of these have to line up:
- The invoice must have a cash discount code.
- The payment or settlement must happen on or before the cash discount date.
- The settlement method must actually evaluate cash discounts.
- If you're making a partial payment, the AP parameter for calculating cash discounts on partial payments must be enabled.
When that happens, D365FO reduces the amount required to close the invoice and posts the discount according to the cash discount posting setup and settlement parameters. (learn.microsoft.com)
Why the invoice does not always take the discount#
The most common mistake is assuming the due date and cash discount date are the same thing. They are not.
A vendor invoice can be due later than the cash discount date, and the discount is still only available until the discount date. If you settle after that date, the discount is gone even if the invoice is still not due. Microsoft’s payment proposal and settlement documentation consistently treats cash discount as a separate criterion from due date. (learn.microsoft.com)
Another common source of confusion is settlement behavior. In D365FO, the system considers the cash discount during settlement logic, but the actual result depends on the transaction type and parameters. For example, vendor payment proposals can select invoices by due date, cash discount, or both, and the settlement page exposes the cash discount amount that will be taken. (learn.microsoft.com)
What controls the discount amount#
The discount is defined on the cash discount terms attached to the invoice. D365FO also supports tiered discounts by chaining codes with the Next discount code field. That means one discount can succeed another when the payment date passes the earlier discount window. (learn.microsoft.com)
For foreign currency transactions, the discount is converted using the exchange rate in effect on the payment or credit note date. If partial payments are enabled for cash discounts, each partial payment can use the rate in effect on that payment date. (learn.microsoft.com)
Where the cash discount posts#
When the invoice is settled in time, the discount posts to a cash discount account based on a defaulting order. In practice, D365FO checks these in sequence:
- The alternative cash discount account on the settle open transactions page.
- The customer/vendor cash discount account from the ledger posting group assigned to the sales tax code.
- The main account set directly on the Cash discounts page.
- The cash discount account from Accounts for automatic transactions. (learn.microsoft.com)
For AP specifically, settlement settings also control whether the discount is posted to the vendor discount account or to the original invoice lines, depending on the Discount offset accounts setup. (learn.microsoft.com)
Partial payments: the setting people miss#
If you pay only part of a vendor invoice, D365FO will not always calculate the discount automatically. You must enable Calculate cash discounts for partial payments in Accounts payable parameters. When that is turned on, the system can calculate a proportional cash discount for the partial amount being settled. Microsoft’s example shows a partial payment creating a cash discount amount that appears on the settlement page. (learn.microsoft.com)
This is the setting to check first when users say, “The invoice should have taken the discount, but it didn’t.” If the payment is partial and the parameter is off, the behavior is expected. (learn.microsoft.com)
Overpayments and underpayments#
AP also has cash discount administration settings for overpayments. This matters when the payment amount does not exactly match the open invoice amount. Depending on the parameter setup, D365FO can reduce the discount, treat the difference as a posting to a difference account, or leave a balance on account. (learn.microsoft.com)
So if the payment amount is slightly off and the settlement behaves differently than expected, do not just check the invoice terms. Check the overpayment/underpayment and cash discount administration parameters too. (learn.microsoft.com)
Practical checklist when a vendor cash discount is not taken#
Use this order in a live system:
- Confirm the invoice has a cash discount code.
- Confirm the payment date is on or before the cash discount date.
- Check whether the payment is a full or partial settlement.
- If it is partial, verify that partial cash discounts are enabled.
- Review settlement parameters and discount offset account setup.
- Check whether overpayment or underpayment settings are changing the result.
- For payment proposals, confirm the proposal criteria are actually using cash discount. (learn.microsoft.com)
Example#
Suppose a vendor invoice is for 1,000.00 with terms of 2% if paid within 10 days.
- If you settle the invoice on day 8, the discount is eligible.
- If the payment proposal is configured to consider cash discount, the proposal can select the invoice for settlement based on that eligibility.
- If you pay only 500.00 and partial cash discounts are enabled, D365FO can calculate a partial discount instead of ignoring it.
- If you settle after day 10, the discount is no longer available even though the invoice may still be open. (learn.microsoft.com)
The short version#
When D365FO takes a vendor cash discount, it is not just applying a percentage on the invoice. It is evaluating settlement timing, payment type, AP parameters, and posting setup. If the discount is missing, the fastest path is usually to check the cash discount date first, then partial-payment settings, then the settlement/posting parameters. (learn.microsoft.com)
Sources#
- Cash discounts — Microsoft Learn
- Vendor payments for a partial amount — Microsoft Learn
- Configure settlement — Microsoft Learn
- Create vendor payments by using a payment proposal — Microsoft Learn
- Vendor payment overview — Microsoft Learn
- Accounts payable postings — Microsoft Learn
Missing something?
Suggest a topic you'd like to see covered next. The most requested topics help shape future XppForge documentation.
Sign in to suggest a topic