PUT api/2.0/crm/invoice/settings/terms This function requires authentication

Description

Saves the default settings for the invoice terms specified in the request.

Parameters
Name Description Type Example
terms
sent in body
Invoice terms string some text
Example
PUT api/2.0/crm/invoice/settings/terms
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "terms": "some text"
}
Returns

Invoice settings

Example Response

application/json

{
  "status": 0,
  "response": {
    "Autogenerated": true,
    "Prefix": "Prefix",
    "Number": "Number",
    "Terms": "Terms",
    "CompanyName": "CompanyName",
    "CompanyLogoID": 123,
    "CompanyAddress": "CompanyAddress"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Autogenerated>True</Autogenerated>
    <Prefix>Prefix</Prefix>
    <Number>Number</Number>
    <Terms>Terms</Terms>
    <CompanyName>CompanyName</CompanyName>
    <CompanyLogoID>123</CompanyLogoID>
    <CompanyAddress>CompanyAddress</CompanyAddress>
  </response>
</result>