Discounts per client: webhook?

I see here that this feature is not supported (or at least it wasn’t in 2019).

Is it possible to configure a webhook in this way?

  1. Add boolean/checkbox custom value to client: has discount
  2. Configure API webhook on invoice creation, if client has discount, then include 3% discount in invoice

Is that possible? Does the API offer an endpoint to do this?

(Sorry for so many questions, I gave my client a beta version and asked for a lot of changes)

Hi,

One option may be to create a script which is triggered by the webhook, it would check which client was invoiced and conditionally update the invoice with a discount.

How do I create this script? Is this a standard procedure in Invoice Ninja and webhooks?

Webhooks send data to a URL, it would be up to you to use this data on the server.

It may be possible to use Make.com for this.