Invoices
Add or update miscellaneous charges in Invoice
Changed onAdd or update miscellaneous charges in Invoice
put/invoices/{invoice_id}/miscellaneous_charges
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
invoice_idstring required
Example:ACC001
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
- breaking
- info
added the new optional request property
// - info
added the optional property
//to the response with the status
- info