P4 Software
/
cifraHQ
The Panama custom of "sell 12, deliver 13" (or "sell 24, deliver 26") is everywhere in wholesale, and until now it meant fudging lines by hand. Bonus Rules encode that free-goods logic once so CifraHQ adds the free units automatically on every quote, sales order, and invoice. The customer pays only for what they bought, the tax is charged only on the paid units, and the free line flows all the way through delivery and invoicing without a single manual step.
Go to Master Data > Sales > Bonus Rules.
Save stays off until the rule is complete, and the reason is written next to the button (for example "Enter how many free units the customer gets before you can save.").
A rule can name a product or a product group, and a customer or a customer group, never both: the dialog only lets you choose one of each, and the server refuses a rule that names both. If several rules fit a sale line, only the most specific one is used: product first, then customer, then product group, then customer group.
An older rule may name both a product and a product group, or both a customer and a customer group. When you open it, an amber message says it "needs one change" (or "needs changes") before it can be saved, that question opens with nothing chosen, and a line shows what is currently saved, for example "Currently saved with the customer Distribuidora Norte S.A. and the customer group Wholesale. Nothing is lost until you choose and save." Nothing changes until you choose one option and save; the rest of the rule opens exactly as it was saved. If you choose Everyone or All Products instead, the line says "Saving removes both." The rule keeps working in the meantime.
A rule saved for a customer that was later merged into another customer still shows that customer in its Customer box, labelled "(merged)", so editing the description, dates or status never widens the rule to every customer. A merged customer is not offered when you pick a customer for a new rule.
Rules saved before 15 November 2026 under the old convention (End = the day after the last selling day) now also apply on that End day: review them and move the End date back one day if needed.
An existing rule whose End date is before its Start date still appears in the list and still opens, but no change can be saved until one of the dates is fixed: the dialog shows the reason next to Save, and the API refuses the rule too. This does not open the amber message, which is only for a question that names both sides.
The two quantities are stored and shown as single units. A rule that used to be entered as "1 Caja x18" now opens as 18 units; the rule itself did not change. The dialog no longer converts boxes or cases for you, so type the number of single units (the box hint under the example tells you what that means in boxes).
When a matching product is added to a quote, sales order, or invoice, CifraHQ adds a second line marked Bonus for the free units, calculated automatically:
When a product with an active Bonus Rule is added to a quote, sales order, or invoice but the quantity entered hasn't yet reached the next buy multiple, a small amber icon appears next to the line's Quantity field. Hover over it and CifraHQ tells you exactly how many more units would earn a free one - for example, "Add 1 more unit for 1 free unit (Buy 12, Get 1)". A customer never quietly misses out on a bonus just because nobody noticed they were short.
The hint is calculated live from the quantity on the line - there's nothing to save to see it, and it disappears on its own the moment the quantity reaches the threshold.
The free units appear as their own line at 100% discount, so the line total is 0.00. The customer is billed only for the units they bought, and ITBMS is charged only on the paid units - the free unit is left out of the tax base, which is the treatment the DGI expects for a bonificacion. The free line carries through the whole chain: the warehouse picks all 13 units, the invoice bills 12 and shows 13, and electronic Invoices are accepted by the DGI with the free unit at zero.
yyyy-MM-dd, for example 2026-12-31). A value with a time zone offset is converted to the server's time before it is stored and can land on the next day.Bonus Rules is off until an administrator enables it for your company. An administrator needs to turn on the Bonus Rules setting and make sure the Sales Discount Expense account is configured, so the free line posts correctly. Once that is done, any rule you create takes effect immediately.
Related: Products · Customers · Price Rules · Product Bundles · Quotes · Sales Orders · Invoices
Was this page helpful?