Hello Ingo, I see 3 possibilities (depends to the global context, that I unknown) : * Your payment come before the order sent, you set it as order payment preference so you apply a orderAdjustment with timelife to 10 days (you run every days a job to disable adjustment over) * The Invoice is already ready, you can generate during the paymentApplication an invoice refund with the discount and link it to the first invoice * During the payment process, generate add a "discount payment" to the invoice to not impact it.
I hope this help to found the good way, Nicolas On 03/12/2021 08:49, Ingo Wolfmayr wrote: > > Hi everybody, > > > > I have an accounting question regarding discount on early payment. > > > > For example a customer has a payment target of 10 days. If he pays > within those 10 days, he can subtract a discount of 2%. > > There is an invoice amount of € 100,- (the invoice is sent to the > customer and therefore editing the invoice is disabled) > > > > The customer pays € 98,- A payment is created and assigned to the > invoice. The invoice says € 2,- open. > > > > How do I get the discount into the system? > > > > Best regards, > Inog > > > > Mag. (FH) Ingo Wolfmayr > > *Wolfix Solutions* > > Gänsgasse 14 > > A-5282 Ranshofen > > > > Tel.: +43 (0) 664 2549626 > > Web: https://www.wolfix.at <https://www.wolfix.at/> > > Xing: https://www.xing.com/profile/Ingo_Wolfmayr/ > <https://www.xing.com/profile/Ingo_Wolfmayr/> > > > > emailsignatur > > > > >
