Hello,
For the parameter "discount_kind" used when creating the invoice, the option "percent_unit_gross" is not in the documentation.
The option is there in the web interface documentation :
https://help.invoiceocean.com/24148471-Different-discount-calculations-on-the-invoice