Discounting an Invoice


Adds a discount for a given invoice.


Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
invoice-id Integer Required Invoice id to be discounted
discount-without-tax Float Required Discount amount without tax
transaction-key String Required A unique Transaction key
role String Required reseller/customer

HTTP Method


Example Test URL Request


Returns 'true' when successful.

In case of any errors, a status key with value as ERROR along with an error message will be returned. For example:

"status":"ERROR","message":"Duplicate Transaction.This transaction already present in the system.