#ebin-chandy_usage-billing-discounts

1 messages ¡ Page 1 of 1 (latest)

brave fieldBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1229398078122098748

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

ancient robinBOT
tranquil stirrup
#

You can apply credit via API to discount their invoice(s) according to their usage in your app

opaque gorge
#

Thanks for the quick response.
But can we place the usage in the invoice, if we are using the credit balance.

tranquil stirrup
#

But you can't use usage based records to automatically apply discounts, so you'd need to combine the two concepts stil

brave fieldBOT
#

ebin-chandy_usage-billing-discounts

opaque gorge
#

Is there another option available, such as establishing a product based on usage, monitoring daily usage, and deducting the calculated amount from the invoice at the end of the billing cycle?

gaunt garden
#

hi! I'm taking over this thread.

opaque gorge
#

in this case the usage will be shown in the invoice. I will like to explain more the scenario

#

Consider this scenario: I have a subscription encompassing three products (Product 1, Product 2, Product 3), all configured with usage-based pricing. Upon generating an invoice, the usage cost is $100 for Product 1 and $150 for Product 2. The calculated value for Product 3 needs to be deducted from the invoice without indicating any unit price. In the description column of the invoice, it should state "rebate for the usage of Product 3," and in the Amount column, the value should be displayed with a negative sign, indicating that the calculated amount is discounted from the invoice. Consequently, in the final invoice, the total amount will be the sum of Product 1 and Product 2, reduced by the amount of Product 3.

gaunt garden
#

we don't support this. you would need a Subscription with 2 products: Product 1 and Product 2. and then apply a discount on the Invoice.

opaque gorge
#

Got it. Thanks

#

one more thing. can we add a new line item to the existing generated invoice.

gaunt garden
#

if the invoice is in Draft, then yes.

opaque gorge
#

what about the invoice is in Open status

gaunt garden
#

then you can't add new line items, but you can use Credit Notes

opaque gorge
#

ok make sense