DELETE api/2.0/crm/invoice/tax/{id} This function requires authentication

Description

Deletes an invoice tax with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in url
Tax ID number 1234
Example
DELETE api/2.0/crm/invoice/tax/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Invoice tax

Example Response

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>