Update an invoice tax
PUT /api/2.0/crm/invoice/tax/{id:[0-9]+}
Updates the selected invoice tax with the parameters (name, description, rate) specified in the request.
Request body
id
type: integer
Tax ID
Example: 0
name
type: string
New tax name
Example: "string"
description
type: string
New tax description
Example: "string"
rate
type: number
New tax rate
Example: 0
Request example
{
"id": 0,
"name": "string",
"description": "string",
"rate": 0
}
Returns
Updated invoice tax. A request that is not authenticated returns 401.
Name
type: string
Example: "Name"
Description
type: string
Example: "Description"
Rate
type: number
Example: "Rate"
CreateOn
type: string
Example: "2020-12-14T22:13:41.5378233Z"
CreateBy
type: EmployeeWraper
CanEdit
type: boolean
Example: true
CanDelete
type: boolean
Example: true
ID
type: integer
Example: 1234
Response example
{
"Name": "Name",
"Description": "Description",
"Rate": "Rate",
"CreateOn": "2020-12-14T22:13:41.5378233Z",
"CreateBy": {
"Id": "00000000-0000-0000-0000-000000000000",
"DisplayName": "Mike Zanyatski",
"Title": "Manager",
"AvatarSmall": "url to small avatar",
"ProfileUrl": "/Products/People/Profile.aspx?user=administrator"
},
"CanEdit": true,
"CanDelete": true,
"ID": 1234
}