Search the Aria Knowledgebase for
User Documentation, APIs, SDKs, and more!



 

Home > Aria Crescendo Documentation > Aria Crescendo core api > adjust_acct_plan_billing_dates_m

adjust_acct_plan_billing_dates_m

Adjusts the billing date for a specified set of master plans under one or more accounts to date(s) in the future or in the past. You can adjust billing dates for plans with a daily, weekly, monthly, or any other billing interval.

Note: When you call this API, Aria will not preform proration. Examples:

  • If you move a plan's billing date 15 days forward, Aria will not collect recurring charges for the additional 15 days.
  • If you move a plan's billing date backward, Aria will double-bill for the recurring charges that apply to the overlapping period.


For information on error messages generated by this API, see adjust_acct_plan_billing_dates_m error messages.

Input Arguments

Req Field Name Field Type Max Length Description
required-icon.png client_no long 22 Aria-assigned unique identifier indicating the Aria client providing service to this account.
required-icon.png auth_key string 32 Aria-assigned unique key to be passed with each method call for authenticating the validity of the requestor.
required-icon.png acct_no long 22 Aria-assigned account identifier. This value is unique across all Aria-managed accounts.
Start of billing_dates array
  billing_dates array   Array of master plan instances associated with the account for which billing data is to be modified
  Field Name Field Type Max Length Description
required-icon.png brd_arrow.gifmaster_plan_instance_no long 22 The unique identifier of the plan instance.
  OR      
  brd_arrow.gifclient_master_plan_instance_id string 100 The client-defined identifier of the plan instance.
required-icon.png brd_arrow.gifaction_directive long   Determines whether the billing date is adjusted forward or backward.   Allowable Values
  brd_arrow.gifadjustment_days long 4

Number of days to adjust the billing date.

The number of days cannot exceed 27 days before or after the current next billing date. This applies regardless of the master plan's or any associated supplemental plan's billing interval.

This field is required if <action_directive> is set to 1 or 2.

  OR      
  brd_arrow.gifadjustment_date string 10

The date to set the next billing date. The adjustment date cannot exceed 27 days before or after the current next billing date. This applies regardless of the master plan's or any associated supplemental plan's billing interval.

This field is required if <action_directive> is set to 3.

Note: These rules apply to <adjustment_days> and <adjustment_date>:

  • For a daily or weekly master plan

    whose billing interval is 27 days or less, the <adjustment_days> or <adjustment_date> cannot exceed the plan's billing interval -1 day. This applies regardless of the billing interval of any associated supplemental plan(s).

    Example: If you have a 5-day master plan with a billing date of
    15 July 2020 and you try to adjust the billing date by +5 days or more, Aria will automatically adjust the billing date to 19 July 2020 (+4 days).

  • You cannot use this API to adjust the billing date of a 1-day plan.

 

 

End of billing_dates array
 
  comments string   Additional explanatory text relating to this API call.
  alt_caller_id string 30 Person or process that submitted the API call. This can be someone's user ID, or the name of an application.
Start of optional_transaction_qualifiers array
  optional_transaction_qualifiers array   Array of additional values you can associate with this API call.
  Field Name Field Type Max Length Description
  brd_arrow.gif qualifier_name string 100 Name of the field you want to associate with this API call.
  brd_arrow.gif qualifier_value string 100 Corresponding value of the field you want to associate with this API call.
End of optional_transaction_qualifiers array
 
  application_id string 300 The application identifier in which the API is being used in. (Example: “Sales Force”)
  application_date string 300 The application date/timestamp, ie. 01/01/2014 10:00:00 to track when the application called the API.

Output Arguments

Field Name Field Type Description
error_code long Aria-assigned error identifier. 0 indicates no error.
error_msg string Description of any error that occurred. "OK" if there was no error.
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.