Discount Code (AP05.7)
Use Discount Code (AP05.7) to define and maintain discount codes. A discount code links a general ledger discount account to an invoice.
The discount account you select for a discount code is used to record invoice discount amounts to a separate general ledger account in AP170 (Payment Closing).
Discount codes follow a system default hierarchy that ultimately assigns the codes to invoices in the invoice entry forms (AP20.x).