Discount Accounting
With discount accounting on, you can lower the price of an item on a sales quote, a sales invoice or a purchase invoice. Hicom Books keeps the full price in the income or expense account and records the discount separately in a discount account. Your reports then show how much you sold at full price and how much you gave away in discounts.
Discounts are always given per item row. There is no single discount field for the whole invoice: to give 10% off everything, enter 10% on each row.
Turn on discount accounting
You need the Books Manager or System Manager role.
- Go to Setup > Settings.
- On the General tab, tick Enable Discount Accounting.
- Optional: in the Accounts section, pick the Discount Account. It must be a ledger account (not a group) under Income.
- Click Save, then Yes to reload the page.
If you leave Discount Account empty, Hicom Books uses an account called Discounts, and creates it under your indirect income if it does not exist yet.
WARNING
Discount accounting cannot be turned off again after you save it.
Turning it on also unlocks Enable Pricing Rule, which in turn unlocks Enable Coupon Code. See Pricing Rule and Coupon Code.
Discount one item
- Open a draft sales quote, sales invoice or purchase invoice.
- On the item row, click the Edit row button at the right end of the row.
- Enter the Discount Percent, for example
10. - Check the Discounted Amount that Hicom Books calculates.
To give a fixed amount instead, tick Set Discount Amount and enter the Discount Amount. This is the discount for the whole row, not per unit, and it cannot be more than the row's Amount.
The Discount field in the Tax and Totals section adds up the discounts of all rows.

Pricing rules and coupons can fill in item discounts for you. At the Point of Sale, a cashier can only type a discount when Can Change Discount is on.
Before or after tax
By default the discount comes off first and tax is calculated on what is left. If your agreement with the customer is that the discount comes off the price including tax, open the Settings tab of the invoice or quote and tick Apply Discount After Tax.
Example: Toko Bangunan Makmur sells cement for Rp1.000.000, with PPN 11% and a fixed discount of Rp100.000.
| Discount before tax (default) | Discount after tax | |
|---|---|---|
| Net Total | Rp1.000.000 | Rp1.000.000 |
| PPN 11% | Rp99.000 (11% of Rp900.000) | Rp110.000 (11% of Rp1.000.000) |
| Discount | Rp100.000 | Rp100.000 |
| Grand Total | Rp999.000 | Rp1.010.000 |
With a percentage discount after tax, the percentage is taken from the row amount including tax.
What gets posted
When you submit, Hicom Books posts the item at its full amount and the total discount to the discount account. For the sales invoice above with the discount before tax:
| Account | Debit | Credit |
|---|---|---|
| Customer's receivable account (the invoice Account) | Rp999.000 | |
| Discount account | Rp100.000 | |
| Item's income account | Rp1.000.000 | |
| PPN tax account | Rp99.000 |
A purchase invoice posts the other way round: the discount is credited to the discount account. A return reverses the discount entries of its original invoice, in proportion to what comes back.
You can check these entries in the General Ledger.
