PUT api/2.0/crm/invoice/settings/terms
Saves the default settings for the invoice terms specified in the request.
Name |
Description |
Type |
Example |
terms
sent in body
|
Invoice terms
|
string
|
some text
|
PUT api/2.0/crm/invoice/settings/terms
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"terms": "some text"
}
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>