Updates the selected invoice tax with the parameters (name, description, rate) specified in the request.
Name | Description | Type | Example |
id
sent in url
|
Tax ID | number | 1234 |
name
sent in body
|
New tax name | string | some text |
description
sent in body
|
New tax description | string | some text |
rate
sent in body
|
New tax rate | decimal | 1.1 |
PUT api/2.0/crm/invoice/tax/1234 Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "name": "some text", "description": "some text", "rate": 1.1 }
Updated invoice tax
application/json
{ "status": 0, "response": { "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 } }
text/xml
<result> <status>0</status> <response> <Name>Name</Name> <Description>Description</Description> <Rate>Rate</Rate> <CreateOn>2020-12-14T22:13:41.5378233Z</CreateOn> <CreateBy> <Id>00000000-0000-0000-0000-000000000000</Id> <DisplayName>Mike Zanyatski</DisplayName> <Title>Manager</Title> <AvatarSmall>url to small avatar</AvatarSmall> <ProfileUrl>\/Products\/People\/Profile.aspx?user=administrator</ProfileUrl> </CreateBy> <CanEdit>True</CanEdit> <CanDelete>True</CanDelete> <id>1234</id> </response> </result>