Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This method allows you to add additional invoice charges under your company settings.

Request

https://api.kometsales.com/api/additional.charge.add

  • Method: POST

  • Content-Type: application/json

Input Parameters:

  • authenticationToken (required)(string:50): Komet Sales security token.

  • name (required)(string:200): name of the additional charge.

  • code (optional)(string:10): code of the additional charge.

{
  "authenticationToken": "token_info_goes_here",
  "name": "Fuel Surcharge",
  "code": "FS"
}

Response

Output:

  • status (integer:1): transaction status. 1 for success or 0 for failure.

  • message (string:500): description of the status of the transaction.

  • additionalChargeId (integer:20): Additional Charge internal ID that was just created.

{
  "status": "1",
  "message": "The additional charge was successfully saved.",
  "additionalChargeId": 234234
}


  • No labels