In the online accounting program mKsiegowa.pl you can configure automatic posting (account assignment) of documents. Below is an example of the configuration of a sales invoice issued with a discount.
Configuring the posting of discounts (rebates)
Discounts granted can be posted in two ways:
- to the sales account set in the configuration
- to a dedicated account
Posting a sales invoice with the value reduced by the discount
If the discount was granted on the sale of goods, the configuration is as follows:1. In the items master file you must specify the appropriate Sales account for each item. Net revenue from the invoice will be posted to the sales account (as for an invoice without a discount).

2. In the customers master file you must set:
- Discount account to the value None

We set the remaining accounts as in the other examples:
An example posting will look like this:
- invoice issued for PLN 100 net
- discount 5%

Posting discounts after the invoice has been issued
If the discount was granted after the VAT invoice was issued, a sales adjustment must be made.
An example posting of a 5% discount using an adjustment document will look as follows:

Posting discounts to a separate account
In a few cases it may be necessary to accumulate information about discounts granted in a separate account. In that case, set the appropriate account in the Discount account field in the customer master file.
In this case, the full sales value will be posted to the sales account, and the discount to the discount account on the opposite side (Debit).