Tip |
---|
Available from CRM.COM R14.0.0 |
Excerpt |
---|
This method changes the credit period of accounts receivable in order to override the active Accounts Receivable Definition's default credit period settings. A single accounts receivable's credit period can be updated by each call. |
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
accounts_receivable_identifier (mandatory) | Account Receivable Identifier | The identifier of the account receivable whose credit period will be updated. The allowed account receivable identifier fields are the following:
| ||||||
credit_period (mandatory on conditions) | Number | The credit period of the accounts receivable in days which overrides the active accounts receivable definition's default credit period. The number of days must not exceed the active Accounts Receivable Definition's proximity range. Available and mandatory only if the credit_period_operatoris set to PLUS or MINUS
| ||||||
credit_period_uot (mandatory on conditions) | String | Defines whether the credit period of the account will be specified in Days and Months. Available values are DAYS and MONTHS. The default value is DAYS
| ||||||
credit_period_operator (mandatory) | String | The credit period's operator which can either be set to PLUS or MINUS., MINUS or SPECIFIC_PERIOD.
| ||||||
credit_period_setting (mandatory on conditions) | String | The credit period's setting if the credit period operator is set to "SPECIFIC_PERIOD". Available values are:
| ||||||
credit_period_days (mandatory on conditions) | Number | The credit period's number of days after the transaction's posted date. Available and mandatory only if the credit_period_setting is set to "X_DAYS_AFTER"
| ||||||
credit_period_nth_day (mandatory on conditions) | Number | The credit period's Nth day after X months after the transaction's posted date. Available and mandatory only if the credit_period_setting is set to "NTH_DAY_AFTER_X_MONTHS"
| ||||||
credit_period_x_month (mandatory on conditions) | Number | The credit period's Nth day after X months after the transaction's posted date. Available and mandatory only if the credit_period_setting is set to "NTH_DAY_AFTER_X_MONTHS"
| ||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
...
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
HTTP Method: POST
Request: Body:
Response:
|
Expand | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
HTTP Method: POST
Request: Body:
Response:
|