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) | 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
| ||||||
credit_period_uot (mandatory) | String | Defines whether the credit period of the account will be specified in Days, Months or a Fixed period. Available values are DAYS, MONTHS and FIXED. The default value is DAYS
| ||||||
credit_period_operator (semi-optional) | String | The credit period's operator which can either be set to PLUS or MINUS.
| ||||||
credit_period_setting (semi-optional) | String | The credit period's setting if the credit period operator is set to "FIXED". 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:
|