How I can make discount for customer at the end of transactions?

how I can make discount for customer at the end of transactions?

You cannot.

However, there is a Guide that explains how to add a discount as a separate line item.

I need to make discount after 10 invoices (at the amount of total). not in the invoice

Issue the customer a Credit Note

2 Likes