Invoices

Add or update miscellaneous charges in upcoming Invoice for a account

Changed on

Add or update miscellaneous charges in upcoming Invoice for a account

put/accounts/{account_id}/miscellaneous_charges

Request

  • Base URL
    https://api.togai.com
  • Auth
    HTTP bearer

Path parameters

account_idstring required
Example:ACC00001

account_id corresponding to an account

Request body

Example request

{
  "items": [
    {
      "name": "Charge 1",
      "rate": 20,
      "quantity": 10,
      "considerForRevenue": true
    }
  ]
}

Response

Response for Miscellaneous Charges Request

Example response

{
  "data": [
    {
      "name": "Charge 1",
      "rate": 20,
      "quantity": 10,
      "considerForRevenue": true
    }
  ]
}

Changes

    • breaking

      the response property // became optional for the status

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      the request property // became optional

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status