marymunsell Tutor


Posts: 10
Registered: a month ago

Apply Discount to One Time Charge based on Volume

How do I apply a discount to a one time charge based on the volume?    For example, one widget cost $50, but if you order ten wedgets, we will discount the customer $45.   I do not want to use volume pricing, as we want the discount to be more visible.  


So invoice = $500 with a $45 discount  = $455.    Any help would be appreciated!


Need help with both API and UI on this one!



Richard Master ZEO

Master ZEO

Master ZEO
Posts: 43
Registered: ‎01-19-2016

Re: Apply Discount to One Time Charge based on Volume

While volume pricing, as you noted, 'buries' the discount in the small print, it does have the advantage that it's applied automatically. There are two other ways to discount in Zuora that will call out the discount as a separate charge so it will display clearly on the invoice.


The first of these is quite simple, just add a second negative price charge, one for -$50 in the case of your example. If the expectation is that few, if any, people will ever pay list, and that most will receive at least some discount, then a single rate plan with two one time charges should work. One one-time rate plan charge with a per unit charge of $50 and the other one-time charge a per unit charge of -$4.50. The downside to this approach is that you need to specify the quantity twice when adding this rate plan to a subscription but otherwise it should give you the behavior you are looking for. Also if the discount is more aggressive at higher quantities, say twenty widgets earns me a discount of $100 you'll also need to modify the discount charge from -$4.50 to -$5. This may be fine if you're negotiating the discount with every deal but if this is 'locked' discounting with no negotiation you either need to remember to tweak the negative one time charge or create another rate plan for the higher volume and discount. Not ideal, hence my earlier comment about the advantage of the volume model is that the discounts are locked into the rate plan and you only need the one rate plan where you've specified all the discounts.


A second approach is to use a discount charge model, either percentage or fixed amount, but from your example a percentage, 9% would work. While counter intuitive you'd create a second RECURRING charge, set the Charge Model to be DIscount-Percentage and once you do that you'll then be able to constrain the discount to operate only on one-time charges, there's a check box, it'll be obvious once you go into the UI. But using a recurring charge to define a one time discount is not one of Zuora's finest UI design choices. Otherwise this operates in a similar fashion to the first choice, with the same restriction in that if the discount is more aggressive at higher volumes you may need to edit the discount when adding to the subscription or have multiple rate plans based on volume.


While I've described the above using the UI, the same basic things happen in the API, you just add the rate plan as usual and if needed update the quantities/discount using the chargeOverrides section of the subscription POST:


One final comment on the volume charge model approach, since the discount isn't explicity called out using charges, in contrast to the two alternatives above, an effective, if blunt, alternative is to include the list price in the name of your rate plan or rate plan charge. So instead of having a rate plan charge called, 'Product X Charge', call it, 'Product X (DIscounted - $50/unit list) Charge'. Now the invoice line item can show the charge name,'Product X (DIscounted - $50/unit list) Charge', a quantity of 10 and an effective price of $455. Even my limited math skills can figure out I've gotten a nice discount. But this approach is not for everyone Smiley Happy


Hope this helps.