Currently, when creating a document, there is a line discount and a global discount.
Sometimes there may be a need for two discounts per line (not overall).