Skip to main content
Aria Knowledge Central

update_acct_plan_multi_m

Summary

API Name update_acct_plan_multi_m
Class account_services_m
Update Version 71

Description

Performs multiple plan operations (assign, replace, update, and/or cancel) on an account in a single atomic API call. This is the most powerful and flexible plan management API, allowing you to make complex subscription changes — such as adding new plans while cancelling old ones — all in one request with coordinated proration and billing date alignment.

Each entry in the plan_updates array specifies an operation (directive) for one plan instance:

  • Assign: Add a new master or supplemental plan to the account, creating a new plan instance (subscription).
  • Replace: Swap an existing plan instance for a different plan, preserving the subscription relationship while changing the product/pricing.
  • Update: Modify settings on an existing plan instance (rate schedules, billing dates, services, units, etc.) without changing the plan itself.
  • Cancel: Cancel an existing plan instance with optional retroactive or future-dated effective dates.

Each plan instance can only have ONE operation per call — you cannot update and cancel the same plan instance in the same request. In addition to plan operations, each entry can configure: billing/dunning/collection group assignments, promotion codes and coupons, rate schedules (standard and custom), surcharges, payment responsibility level, proration and invoicing options, usage pooling, NSO (non-subscription order) items, and payment terms/methods.

Key date alignment features:

  • override_dates_mp_instance_no: Align a new plan's anniversary date with an existing plan's dates.
  • auto_offset_months: Align supplemental plan dates to the master plan.
  • alt_proration_start_date: Coordinate start dates across all affected plans.

Nullable string fields can be cleared by passing '~'. For single-plan operations, consider the simpler assign_acct_plan_m, update_acct_plan_m, replace_acct_plan_m, or cancel_acct_plan_m APIs instead.

Inputs

Name Type Length Required Description
client_no long 22 Yes

Aria-assigned unique identifier indicating the Aria client providing service to this account.

auth_key string 32 Yes

Aria-assigned unique key for authenticating the validity of the requestor. This key is passed with each method call.

acct_no long   Yes

Aria-assigned account identifier. This value is unique across all Aria-managed accounts.

Alternative required field: client_acct_id

client_acct_id string 50 Yes

Client(or user)-assigned account identifier. If "acct_no" is not provided, must correctly identify the account to which the given usage record is to be assigned. All usage records must identify either an "acct_no" or a "userid".

Alternative required field: acct_no

plan_updates object   Yes

See fields below

assignment_directive long 8 No

The rule to be applied to this assignment request, governing the proration rule is applied. Default behavior is to make the plan change (assign/deassign a plan to an account, change units on an existing plan, etc.) immediately based on client-defined default proration rule, resulting in appropriate prorated charge and credit.

Allowed values:

Value Description
1 Perform the requested plan change on the account's next scheduled billing anniversary date. The account does receive service under this plan (for plan assignments) or have it removed (for de-assignments) until that date. If a plan is being assigned, initial billing for a full period of the given plan is performed on the account's next scheduled anniversary date. No charge or credit proration effect. No new invoice/charges are generated when no proration occurs.
2 Perform the requested plan change immediately, honoring the client's pre-configured universal rule for performing or not performing proration as a result of a mid-billing-period plan assignment or de-assignment. No new invoice/charges are generated when no proration occurs. (default)
3 Perform the requested plan change immediately, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing NO PRORATION. No new invoice/charges are generated when no proration occurs.
4 Perform the requested plan change immediately, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION.
5 Perform the requested plan change immediately, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION FOR CHARGES ONLY. NOTE: This value is not permitted when cancelling supplemental plans.
6 Perform the requested plan change immediately, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION FOR CREDITS ONLY. NOTE: This value is not permitted when assigning supplemental plans.
7 Perform the requested plan change on the specified effective_date, honoring the client's pre-configured universal rule for performing or not performing proration as a result of a mid-billing-period plan assignment or de-assignment. No new invoice/charges are generated when no proration occurs.
8 Perform the requested plan change on the specified effective_date, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing NO PRORATION. No new invoice/charges are generated when no proration occurs.
9 Perform the requested plan change on the specified effective_date, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION.
10 Perform the requested plan change on the specified effective_date, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION FOR CHARGES ONLY. NOTE: This value is not permitted when cancelling a supplemental plan.
11 Perform the requested plan change on the specified effective_date, ignoring the client's pre-configured universal rule for performing or not performing proration and forcing PRORATION FOR CREDITS ONLY. NOTE: This value is not permitted when assigning a supplemental plan.
alt_start_date string 10 No

Alternative start date, in yyyy-mm-dd format, for the master plan instance being assigned on the account. This date can be used to delay providing services to the account holder (for example: until they have been email validated), and must be within one billing interval of the plan being assigned.

retroactive_start_date string 10 No

Date, in yyyy-mm-dd format, to set for retroactive start.

override_bill_thru_date string 14 No

Applicable only for master plan assignment. When provided, this date will be used as the bill thru date for the master plan instance. The alt_start_date or retroactive_start_date input will be honored with override_bill_thru_date, but invoicing_option must be set to Perform Prorated Invoicing. The override_dates_mp_instance_no or override_dates_client_mp_instance_id parameters take precedence over this input parameter, and if provided together the override_bill_thru_date input will be ignored. The date provided must be in the future, must be after the alt_start_date (if provided), and cannot exceed one recurring billing interval. This parameter cannot be used with alt_bill_day or status_until_alt_start (defaults to Inactive). A prorated invoice will be generated for recurring services from the effective start date of the plan instance through the override_bill_thru_date provided. If the plan being assigned has no usage services, the next_bill_date (aka anniversary date) will be the override_bill_thru_date + 1 day. If the plan has usage services, then the next_bill_date will be calculated based on the usage interval to be the earliest date in the future that will ensure usage and recurring services will be invoiced together on the override_bill_thru_date + 1 day.

override_dates_mp_instance_no long 100 No

Applicable only for master plan assignment. When provided, the billing dates for the new master plan being assigned will be aligned with the billing dates of the existing master plan instance specified (honoring the bill day of the existing master plan instance). The alt_start_date or retroactive_start_date input will be honored with the override_dates_mp_instance_no or the override_dates_client_mp_instance_id, but invoicing_option must be set to Perform Prorated Invoicing. These parameters take precedence over the override_bill_thru_date parameter, and cannot be used with alt_bill_day or status_until_alt_start (defaults to Inactive). If the recurring interval of the new master plan instance will be the same as or longer than the existing master plan instance, a prorated invoice for the master plan being assigned will be generated for recurring services from the effective start date of the plan instance through the bill_thru_date of the existing master plan instance. If the recurring interval of the new master plan instance will be shorter than the existing master plan instance, the bill_thru_date for the new master plan instance will be calculated based on its recurring interval to be the earliest date in the future that will ensure the recurring services for both master plan instances will be invoiced together on the existing master plan instance's bill_thru_date + 1 day. In the above scenarios, if the new master plan instance has no usage services, the next_bill_date (aka anniversary date) will be the bill_thru_date + 1 day. If the new master plan instance has usage services, then the next_bill_date will be calculated based on the usage interval to be the earliest date in the future that will ensure usage and recurring services will be invoiced together on the bill_thru_date + 1 day.

Alternative field: override_dates_client_mp_instance_id

override_dates_client_mp_instance_id string 100 No

Applicable only for master plan assignment. When provided, the billing dates for the new master plan being assigned will be aligned with the billing dates of the existing master plan instance specified (honoring the bill day of the existing master plan instance). The alt_start_date or retroactive_start_date input will be honored with the override_dates_mp_instance_no or the override_dates_client_mp_instance_id, but invoicing_option must be set to Perform Prorated Invoicing. These parameters take precedence over the override_bill_thru_date parameter, and cannot be used with alt_bill_day or status_until_alt_start (defaults to Inactive). If the recurring interval of the new master plan instance will be the same as or longer than the existing master plan instance, a prorated invoice for the master plan being assigned will be generated for recurring services from the effective start date of the plan instance through the bill_thru_date of the existing master plan instance. If the recurring interval of the new master plan instance will be shorter than the existing master plan instance, the bill_thru_date for the new master plan instance will be calculated based on its recurring interval to be the earliest date in the future that will ensure the recurring services for both master plan instances will be invoiced together on the existing master plan instance's bill_thru_date + 1 day. In the above scenarios, if the new master plan instance has no usage services, the next_bill_date (aka anniversary date) will be the bill_thru_date + 1 day. If the new master plan instance has usage services, then the next_bill_date will be calculated based on the usage interval to be the earliest date in the future that will ensure usage and recurring services will be invoiced together on the bill_thru_date + 1 day.

Alternative field: override_dates_mp_instance_no

alt_bill_day long 2 No

Number specifying a day of the month to use as an alternate bill day. You can enter a bill date other than the anniversary date in this field. The invoice_mode must be set to 0 or must be blank to enter a date in this field, it cannot be set to 1.

invoicing_option long 1 No

Indicator for performing full invoicing, and Perform Prorated Invoicing or client-defined on this account as part of this call.

Allowed values:

Value Description
1 Perform full invoicing
2 Perform Prorated invoicing
3 Use client default configuration setting
4 None
acct_billing_groups object   Yes

See fields below

acct_payment_methods object   No

See fields below

acct_dunning_groups object   No

See fields below

auto_collect_on_plan_chng long 1 No

Determines whether to automatically perform a collection attempt after an invoice is generated as a result of an immediate plan addition, modification or replacement. (This also applies when only an order is billed immediately while plan changes are queued for future).

Allowed values:

Value Description
Null Collect based on the value in the client parameter "auto collect on master plan change" and / or "auto collect on supplemental plan change". If both a master and supplemental plan are updated and invoiced in the same call, the master plan setting will override the supplemental plan setting. When mpi order lines are present in the invoice, the client parameter “auto_collect_on_order_invoicing” should also be honored. If only order is getting billed when plan changes are queued for future, only client parameter “auto_collect_on_order_invoicing” should be honored.
0 Do not collect automatically when the plan in changed.
1 Collect automatically when the plan is changed.
rollback_plan_chng_collect_fail long 1 No

When a collection failure occurs, determines whether the plan changes associated with that collection attempt are automatically rolled back. Note that if this API call results in multiple collection attempts, only those plan changes associated with collection failures are rolled back. All plan changes for which collection is successful are not rolled back.

Allowed values:

Value Description
1 Roll back plan change when collection fails (default).
0 Do not roll back the plan change when the collection fails.
auto_send_stmt_on_plan_chng long 1 No

When an immediate plan addition, modification or replacement results in an invoice, determines whether a statement is immediately generated for that invoice and sent to the appropriate contact on the account. (This also applies when only an order is billed immediately while plan changes are queued for future).

Allowed values:

Value Description
Null Statement will be sent based on the value in the client parameter "send statement on master plan change" and / or "send statement on supplemental plan change". If both a master and supplemental plan are updated and invoiced in the same call, the master plan setting will override the supplemental plan setting. When mpi order lines are also present in the invoice, the client parameter “auto_send_stmt_on_order_invoicing_m” should also be honored. If only order is getting billed when plan changes are queued for future, only client parameter “auto_send_stmt_on_order_invoicing_m” should be honoured.
0 Do not send a statement automatically when the plan in changed.
1 Send a statment automatically when the plan is changed.
comments string 500 No

Additional explanatory text relating to this API call.

do_write string 5 No

Boolean indicator that specifies whether to actually perform the requested operation. If 'false' is passed in this field, Aria calculates, if applicable, any potential effects from this call such as proration, plan assignments, etc. and return all relevant data without actually performing the requested operation or making any changes to the account. This is useful to interfaces that want to present the user with a 'confirmation page' informing them of the potential effects of the requested operation prior to actually performing it. Do_write defaults to 'true'

Allowed values:

Value Description
True  
False  
list_start_master_file long 1 No

Indicates whether the account is listed at the start of a master file.

Allowed values:

Value Description
0  
1 When value=1, account is listed at the top of the master file when generated.
client_receipt_id string 50 No

Client-defined unique identifier used to track related system actions

contacts object   No

List of contacts to be created on the account. Note that contacts not used as an account contact, billing contact, or statement contact will be saved on the account.

See fields below

combine_invoices long 1 No

Indicator for combining invoices when retroactive start dates, negative bill lag days, or plan changes just prior to the next billing date would otherwise have generated multiple invoices. The allowable values are 1, 2, or 3.

Allowed values:

Value Description
1 Combine Invoices (long cycle)
2 Do Not Combine Invoices (short cycle)
3 Use client default configuration setting
recurring_processing_model_ind long 1 No

Defines a recurring payment type for Credit Card and Tokenized Credit Cards. A null value will default to 0 - Cardholder-Initiated Transaction - Credentials on File.

Allowed values:

Value Description
0 Cardholder-Initiated Transaction - Credentials on File: a credit card transaction initiated by the cardholder for a new order or a plan upgrade that uses a credit card that is currently stored in Aria.
1 Cardholder-Initiated Transaction: a credit card transaction initiated by the cardholder for a new account or creating an order that uses an alternate credit card that is not currently stored in Aria.
2 Merchant-Initiated Transaction - Standing Instruction - Recurring: a credit card transaction initiated by Aria's clients for a recurring charge that uses a credit card that is currently stored in Aria.
3 Merchant-Initiated Transaction - Unscheduled Credentials on File: a credit card transaction initiated by Aria's clients for a non-recurring charge (one-time order or plan upgrade) that uses a credit card that is currently stored in Aria.
include_plan_instance_queue string 5 No

Boolean indicator to return the queues created on this api call.

Allowed values:

Value Description
False Created queues will not be returned in the api call (default).
True Created queues will be returned in plan_instance_queue array.
force_currency_change string 5 No

Force currency change during update. Generally this is necessary when the update is taking place to accommodate for an account holder moving from one area to another where the local currency is different.

Allowed values:

Value Description
True When the plan being updated has a rate schedule with a different currency or the supplied alternate rate schedule has rates defined in different currency, a 'true' value will allow the currency change provided that there are no transactions (or only $0 transaction present) for that account and the new plan/alt rate schedule has the rates defined in the target currency.
False When the plan being updated has a rate schedule with a different currency the supplied alternate rate schedule has rates defined in different currency, a 'false' value will not allow the currency change.
auto_assign_mandatory_supp_plans string 5 No

Governs the behavior of mandatory supplemental plans. If set to true, it will include all the mandatory supplemental plans belonging to the parent plan without having to explicitly set them. If set to false, you must enter each of those mandatory supplemental plans. Defaults to 'True'. "auto_assign_mandatory_supp_plans" can only be used for "assign" and "replace" directives and not for plan "update" and "cancel" directives. This will override the "Included by Default" setting in the Product Catalog for a given supplemental plan.

Allowed values:

Value Description
true It automatically includes the mandatory supp plans. (default)
false We have to provide the mandatory supp plans manually during the api call.
proc_field_override array   No

The processor-specific fields passed as an array of proc_field_name/proc_field_value key-value pairs. The allowable fields and values for the key-value pairs are highlighted in blue below.

See allowable proc_field_names

mpi_orders object   No

See fields below

plan_updates.assign_plan_unit_instances.plan_unit_instance_services fields

Name Type Length Required Description
service_no long 22 No

Specifies the Aria-assigned unique service identifier against which fulfillment details must be captured and stored. Either this field, or client_service_id is required when updating fulfillment details.

Alternative field: client_service_id

client_service_id string   No

Client-assigned identifier for the service (only for fulfillment based service).

Alternative field: service_no

service_fulfillment_date string 10 No

It is a Fulfillment completion date. It can be in past, today or future date.

fulfillment_directive long 8 No

This derives whether the fulfillment date should be assigned/modified or removed from the fulfillment based service on the plan unit instance.

Allowed values:

Value Description
1 Complete fulfillment with immediate affect. This would be accomplished by specifying fulfillment date in past or today or without any fulfillment date. (default)
2 Complete fulfillment with effective date specified in future. A user must specify service_fulfillment_date with this directive.
3 Remove the already assigned fulfillment date.

plan_updates.assign_plan_unit_instances fields

Name Type Length Required Description
client_plan_unit_inst_id string 100 No

Client-assigned identifier for the plan unit instance.

plan_unit_inst_idx long 8 No

Non-persistent reference for a plan unit instance (being created within the API request) to cross-reference for plan unit instance fields.

plan_unit_instance_services object   No

Array of plan unit instance services.

See fields below

plan_updates.update_plan_unit_instances.plan_unit_instance_services fields

Name Type Length Required Description
service_no long 22 No

Specifies the Aria-assigned unique service identifier against which fulfillment details must be captured and stored. Either this field, or client_service_id is required when updating fulfillment information.

Alternative field: client_service_id

client_service_id string   No

Client-assigned identifier for the service (only for fulfillment based service).

Alternative field: service_no

service_fulfillment_date string 10 No

It is a Fulfillment completion date. It can be in past, today or future date.

fulfillment_directive long 8 No

This derives whether the fulfillment date should be assigned/modified or removed from the fulfillment based service on the plan unit instance.

Allowed values:

Value Description
1 Complete fulfillment with immediate affect. This would be accomplished by specifying fulfillment date in past or today or without any fulfillment date. (default)
2 Complete fulfillment with effective date specified in future. A user must specify service_fulfillment_date with this directive.
3 Remove the already assigned fulfillment date.

plan_updates.update_plan_unit_instances fields

Name Type Length Required Description
plan_unit_inst_no long 22 No

Aria-assigned identifier for the plan unit instance to specify an existing plan unit instance. Either this field, or client_plan_unit_inst_id is required when updating a plan unit.

Alternative field: client_plan_unit_inst_id

client_plan_unit_inst_id string 100 No

Client-defined identifier for the plan unit instance to specify an existing plan unit instance. This field is required when updating a plan unit.

Alternative field: plan_unit_inst_no

new_client_plan_unit_inst_id string 100 No

New client-defined identifier to be saved on the plan unit instance.

plan_unit_instance_services object   No

Array of plan unit instance services.

See fields below

plan_updates.remove_plan_unit_instances fields

Name Type Length Required Description
plan_unit_inst_no long 22 No

Aria-assigned identifier for the plan unit instance to specify an existing plan unit instance.

Alternative field: client_plan_unit_inst_id

client_plan_unit_inst_id string 100 No

Client-defined identifier for the plan unit instance to specify an existing plan unit instance.

Alternative field: plan_unit_inst_no

plan_updates.plan_unit_inst_field_details.plan_unit_inst_field_list.plan_unit_inst_field_values fields

Name Type Length Required Description
field_value string 1000 No

The value stored under this field.

plan_unit_inst_field_val_directive long 8 No

The directive is mandatory if field name/value pair are specified.

Allowed values:

Value Description
1 Add Value
2 Replace Value
3 Remove Value

plan_updates.plan_unit_inst_field_details.plan_unit_inst_field_list fields

Name Type Length Required Description
field_name string 300 No

Field name of plan unit instance field.

plan_unit_inst_field_values object   No

Array of client-defined plan unit instance fields.

See fields below

plan_updates.plan_unit_inst_field_details fields

Name Type Length Required Description
plan_unit_inst_no long 22 No

Aria-assigned identifier for the plan unit instance to specify an existing plan unit instance.

Alternative field: client_plan_unit_inst_id or plan_unit_inst_idx

client_plan_unit_inst_id string 100 No

Client-defined identifier for the plan unit instance to specify an existing plan unit instance.

Alternative field: plan_unit_inst_no or plan_unit_inst_idx

plan_unit_inst_idx long 8 No

Non-persistent reference for a plan unit instance (being created within the API request) to cross-reference for plan unit instance fields.

Alternative field: plan_unit_inst_no or client_plan_unit_inst_id

plan_unit_inst_field_list object   No

Array of client-defined plan unit instance fields.

See fields below

plan_updates.custom_rates fields

Name Type Length Required Description
custom_rate_service_no long 22 No

Required when applying custom rates to an account's plan. The service number the corresponds to the service associated with the plan specified by custom_rate_plan_no, to which this custom rate is to be applied for this account.

Alternative field: custom_rate_client_service_id

custom_rate_client_service_id string 32 No

Client-defined alternate rate schedule number to assign (if any). If none is specified, the default rate schedule number will be used.

Alternative field: custom_rate_service_no

custom_rate_seq_no long 22 No

Rate tier number to which this custom rate is to be applied.

custom_rate_from_unit double 22 No

Starting unit of a range of units to which this custom rate is to be applied.

custom_rate_to_unit double 22 No

Ending unit of a range of units to which this custom rate is to be applied.

custom_rate_per_unit double 22 No

The custom rate per unit, relative to the values provided in corresponding "custom_rate_plan_no", "custom_rate_service_no" and "custom_rate_seq_no", to be applied for this account.

plan_updates.coupon_code_updates fields

Name Type Length Required Description
coupon_cd string 30 No

Note that only those coupons with Coupon Applicablity Scope of Master Plan Instance or Account and Master Plan Instance should be accepted.

coupon_directive long 1 No

Indicates what operation to perform on each coupon specified.

Allowed values:

Value Description
0 Remove coupon from master plan instance
1 Add coupon to master plan instance
assignment_scope long 1 No

Determines whether the coupon should be assigned at MPI stack level, or to the PI passed as input or if it is also to be assigned to the mandatory child plans of the PI.

Allowed values:

Value Description
1 MPI Stack level (default).
2 Specific Plan Instance level.
3 Specific Plan Instance level to given PI and also to its mandatory child plans.

plan_updates.surcharge_updates fields

Name Type Length Required Description
surcharge_no long 22 No

Note that only those surcharges with Surcharge Applicablity Scope of Account or Account and Master Plan Instance are acceptable input. Either this field, or client_surcharge_id is required when assigning/removing/updating surcharge for this plan instance.

Alternative field: client_surcharge_id

client_surcharge_id string 100 No

Note that only those surcharges with Surcharge Applicablity Scope of Account or Account and Master Plan Instance should be accepted.

Alternative field: surcharge_no

rate_schedule_no long 22 No

If not specified, the default rate schedule matching the currency on the account will be used.

surcharge_directive long 1 No

Required for each surcharge specified in this array.

Allowed values:

Value Description
1 Add surcharge to plan instance
2 Remove surcharge from plan instance

plan_updates.plan_instance_field_update fields

Name Type Length Required Description
plan_instance_field_name string 300 No

Required based on the definition of each plan instance field associated with the new plan.

plan_instance_field_value string 1000 No

Required based on the definition of each plan instance field associated with the new plan.

plan_instance_field_directive long 8 No

Required for each plan instance field provided.

Allowed values:

Value Description
1 Add name and value for a new plan instance field.'
2 Replace value of an existing plan instance field.
3 Remove the value of an existing plan instance field, note that if the plan instance field is required based on the field definition, the Replace directive should be used.
4 Remove the name and value of an existing plan instance field from the plan instance.

plan_updates.nso_item_array fields

Name Type Length Required Description
item_no long 22 No

NSO / inventory item number. This field is required when creating an NSO bundling orde

Alternative field: client_sku

client_sku string 100 No  

Alternative field: item_no

item_units double 22 No

Quantity of the NSO / inventory item being purchased.

item_svc_location_no long 22 No

The Aria-assigned unique identifier for the origin location for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence..

client_item_svc_location_id string 100 No

The client-defined unique identifier for the origin location for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

item_dest_contact_idx long 2 No

For non-persistent referencing of a destination contact in the contacts array within the API request. Depending on taxation configuration, the address associated with this destination contact may be used for tax calculations.

item_dest_contact_no long 22 No

The Aria-assigned unique identifier for the destination contact for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations. If both item_dest_contact_idx and item_dest_contact_no are provided, item_dest_contact_no will take precedence.

plan_updates.plan_service_updates fields

Name Type Length Required Description
service_no long 22 No

The Aria-assigned unique identifier for the service associated with the plan instance. Either this field, or client_service_id is required to map plan services to the plan instance.

Alternative field: client_service_id

client_service_id string 100 No

The client-defined identifier for the service associated with the plan instance.

Alternative field: service_no

svc_location_no long 22 No

The Aria-assigned unique identifier for the origin location for the specified service associated with the plan. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

client_svc_location_id string 100 No

The client-defined unique identifier for the origin location for the service associated with the plan. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

dest_contact_no long 22 No

The Aria-assigned unique identifier for the destination contact for the specified service associated with the plan. Depending on taxation configuration, this address may be used for tax calculations. If both dest_contact_idx and dest_contact_no are provided, dest_contact_no will take precedence.

dest_contact_idx long 32 No

For non-persistent referencing of a destination contact in the contacts array within the API request. Depending on taxation configuration, the address associated with this destination contact may be used for tax calculations. If both dest_contact_idx and dest_contact_no are provided, dest_contact_no will take precedence.

plan_updates.installment_updates fields

Name Type Length Required Description
installment_no long   No

Aria assigned installment schedule no

installment_directive long 1 No

Installment directive governs what needs to be done with an installment when a master plan instance is cancelled or replaced. Allowable values are: 1 - Cancelled and due immediately; 2 - Map installment to a different master plan instance. If NULL, no update will be done to installment.

installment_master_plan_instance_no long 22 No

The unique identifier of the existing master plan instance that will be associated with the installment. Applicable only when installment_directive = 2 (map installment to a different master plan instance).

Alternative field: installment_client_master_plan_instance_id or installment_master_plan_instance_idx

installment_client_master_plan_instance_id string 100 No

The client-defined identifier of the existing master plan instance that will be associated with installment. Applicable only when installment_directive = 2 (map installment to a different master plan instance).

Alternative field: installment_master_plan_instance_no or installment_master_plan_instance_idx

installment_master_plan_instance_idx long 22 No

A non-persistent reference of a master plan instance associated with installment within the API request.

Alternative field: installment_master_plan_instance_no or installment_client_master_plan_instance_id

plan_updates.limit_update_to_object_types fields

Name Type Length Required Description
object_type_no long 1 No

Governs which fields will be updated. Currently supports Plan Instance and Plan Instance Services, with the flexibility to include additional object types in the future. If multiple fields need to be updated, all corresponding object types can be included in the array.

Allowed values:

Value Description
1 Plan Instance Updates to include Plan Instance Description or Client Defined Plan Instance ID.
2 Plan Instance Services to include Service Location Number, Client Defined Service Location ID, or Destination Contact Number.
3 Plan Instance Updates to include Schedule Number, Client Defined Schedule ID.
4 Plan Instance Updates to include Custom rate.

plan_updates fields

Name Type Length Required Description
plan_directive long   Yes

Indicates what operation to perform on each plan or plan instance specified.

Allowed values:

Value Description
1 Assign plan as new plan instance
2 Replace the plan on the specified plan instance
3 Update specified attributes on the given plan instance
4 Cancel the specified plan instance
existing_plan_instance_no long   No

The unique identifier of the plan instance (can be either a master or supplemental plan). Either this field, or existing_client_plan_instance_id is required when updating plan units or a rate schedule on this instance.

Alternative field: existing_client_plan_instance_id

existing_client_plan_instance_id string 38 No

The client-defined identifier of the plan instance (can be either a master or supplemental plan).

Alternative field: existing_plan_instance_no

new_client_plan_instance_id string 50 No

Updates the client-defined identifier associated with the plan instance.

plan_instance_idx long 8 No

For non-persistent referencing of a plan instance within the API request.

plan_instance_description string 1000 No

Description for the plan instance.

new_plan_no long 22 No

The unique identifier of the new plan being assigned or replacing the existing plan on the instance. Either this field, or new_client_plan_id is required when replacing a plan on a plan instance.

Alternative field: new_client_plan_id

new_client_plan_id string 100 No

The client-defined identifier of the new plan being assigned or replacing the existing plan on the instance.

Alternative field: new_plan_no

promo_cd string 30 No

For master plan instances only. Ignore if submitted for a supplemental plan.

plan_units double 8 No

Number of units purchased of the specified plan.

assign_plan_unit_instances object   No

Array of plan unit instances to be assigned for this account. This array is relevant only when assigning a new plan to an account (plan_directive = 1) or when increasing the number of units purchased for a given plan instance (plan_directive = 3 and plan_units specified in this API request is greater than what is currently on the account). Any existing plan unit instances for a given plan instance can be updated using the update_plan_unit_instances array. In all other scenarios, the inputs provided in this array will be ignored. Plan unit instances in this array should be applied using a first-in-first-associated methodology. 1) If for example fewer plan unit instances are specified than the number of plan units being assigned, then the remaining plan unit instances will not have a client-defined plan unit instance ID. 2) If for example the number of plan unit instances exceeds the number of plan units being assigned, then the extra client-defined plan unit instance ids will be ignored.

See fields below

alt_proration_end_date string   No

Applicable only for plan instance that is of daily/weekly billing interval type. It is for supplemental plan only in assigning and for both master plan and supplemental plan in replacing. The date, in yyyy-mm-dd format, should never be before the alt_proration_start_date if specified, the retroactive_start_date if specified, or the current date.

update_plan_unit_instances object   No

Array of plan unit instances to be updated. This array is relevant only for updating existing plan unit instances.

See fields below

remove_plan_unit_instances object   No

Array of plan unit instances to be removed from this account. This array is relevant only decreasing the number of units purchased for a given plan instance (plan_directive = 3 and plan_units specified in this API request is less than what is currently on the account). Note that as part of a downgrade scenario, no new plan unit instances can be assigned for this plan instance, and no fulfillment-based services associated with an existing plan unit instance can be fulfilled. If plan unit instances are provided in the remove_plan_unit_instances array, inputs provided in the assign_plan_unit_instances and update_plan_unit_instances arrays will be ignored. The plan_units parameter in this API request will take precedence over plan unit instances provided in this array. If fewer plan unit instances are specified in this array than the number of plan units being removed from the account (defined by the plan_units parameter), then the remaining plan unit instances will be removed from the plan instance using a last-in-first-out methodology. If the number of plan unit instances specified in this array exceeds the number of plan units being removed from the account (defined by the plan_units parameter), then the extra plan unit instances will be ignored and will remain on the account.

See fields below

plan_unit_inst_field_details object   No

Array of client-defined plan unit instance fields.

See fields below

alt_rate_schedule_no long 1 No

Alternative Rate Schedule Number. The alt_rate_schedule_no is the unique identifier for an alternative rate schedule that can be assigned to the account holder in place of the default rate schedule. This is often done by CSR's to provide special compensation or discounts as incentives to account holders.

Alternative field: client_alt_rate_schedule_id

client_alt_rate_schedule_id string 100 No

Client-defined alternate rate schedule identifier to assign (if any). If none is specified, the default rate schedule number is used.

Alternative field: alt_rate_schedule_no

proration_invoice_timing long 1 No

Determines whether to create a separate invoice for prorated charges immediately, or defer to the next anniversary date. Note that this overrides the Proration Invoice Timing configuration saved with the plan in the product catalog. This field is ignored on master plan assignment actions.

Allowed values:

Value Description
Null Honor Proration Invoice Timing configuration saved with the plan in the product catalog
0 Invoice immediately
1 Invoice on next anniversary date
custom_rates object   No

An array of custom rates for the specified account number

See fields below

coupon_code_updates object   No

See fields below

surcharge_updates object   No

See fields below

balance_forward double 22 No

Balance forward should be applied against the corresponding master plan instance balance.

parent_plan_instance_no long 22 No

Unique identifier of a plan in the plan instance hierarchy under which the new plan will be assigned. Applicable only for plan assignments.

Alternative field: parent_client_plan_instance_id or parent_plan_instance_idx

parent_client_plan_instance_id string 100 No

Unique identifier of a plan in the plan instance hierarchy under which the new plan will be assigned. Applicable only for plan assignments.

Alternative field: parent_plan_instance_no or parent_plan_instance_idx

parent_plan_instance_idx long 22 No

Non-persistent reference for a plan instance (being created within the API request, under which the new plan will be assigned. Applicable only for plan assignments.

Alternative field: parent_client_plan_instance_id or parent_plan_instance_no

plan_status_cd long   No

The status of this plan instance

Allowed values:

Value Description
0 INACTIVE
1 ACTIVE
2 CANCELLATION PENDING
3 TERMINATION PENDING
31 INSTALLATION PENDING
32 REGISTERED PENDING ACTIVATION
41 ACTIVE TRIAL
61 ACTIVE NON-BILLABLE
-1 SUSPENDED
-2 CANCELLED
-3 TERMINATED
status_until_alt_start_cd long 22 No

Status of the master plan instance prior to alt_start_date or alt_bill_day. If the alt_start_date or alt_bill_day field is used, this field is required and defaults to 0 (inactive) if no value is provided. If an alternate starting date or alternate bill day is provided, the master plan instance remains in this status until its start date arrives. This only applies if a prorated invoice is not created. If a prorated invoice is created, this field is ignored.

Allowed values:

Value Description
1 ACTIVE
2 CANCELLATION PENDING
3 TERMINATION PENDING
10 ACTIVE DUNNING PENDING
31 INSTALLATION PENDING
32 REGISTERED PENDING ACTIVATION
41 ACTIVE TRIAL
61 ACTIVE NON-BILLABLE
-1 SUSPENDED
-2 CANCELLED
-3 TERMINATED
dunning_state long 1 No

Dunning state assigned to the master plan instance. In Progress indicates the master plan is in dunning. None indicates the master plan is not in dunning. Note that dunning state is applicable only for master plans and is set to Complete by the system once the dunning process is completed.

Allowed values:

Value Description
0 None
1 In Progress
degrade_date string 10 No

Date on which the Dunning Manager evaluates whether the master plan should be advanced to the next step of the dunning process. Applicable only for master plans, and only if the dunning_state is set to 1.

billing_group_no long 22 No

Unique identifier associated with an existing billing group for the specified account.

Alternative field: client_billing_group_id or billing_group_idx

client_billing_group_id string 100 No

Unique client-defined identifier associated with an existing billing group for the specified account.

Alternative field: billing_group_no or billing_group_idx

billing_group_idx long 22 No

For non-persistent referencing of a billing group within the API request.

Alternative field: billing_group_no or client_billing_group_id

resp_level_cd long 1 No

The responsibility level code. These are values 1 through 4 as described in the legend for this argument.

Allowed values:

Value Description
1 Standard Self-Pay: default
2 Parent Pay: Usage accrues under self, invoices are generated per self's plan rules BUT are presented for payment against parent account'
3 Parent Usage & Pay: Usage accrues under parent and applied only to parent's plan rules and presented to parent for payment'
parent_acct_mp_inst_no long 22 No

Note: This field is deprecated. Aria no longer supports parent_acct_mp_inst_no.

parent_acct_client_mp_inst_id string 100 No

Note: This field is deprecated. Aria no longer supports parent_acct_client_mp_inst_id.

dunning_group_no long 22 No

Unique identifier associated with an existing dunning group for the specified account.

Alternative field: client_dunning_group_id or dunning_group_idx

client_dunning_group_id string 100 No

Unique client-defined identifier associated with an existing dunning group for the specified account.

Alternative field: dunning_group_no or dunning_group_idx

dunning_group_idx long 22 No

For non-persistent referencing of a dunning group within the API request.

Alternative field: client_dunning_group_id or dunning_group_no

plan_instance_field_update object   No

See fields below

effective_date string 10 No

Applicable only for supplemental plans. Ignore if submitted for a master plan.

offset_months long 4 No

For plan recurring intervals of longer than one month, the number of months to offset proration and first bill date. For 'update', this is only applicable when there is a pullback of the recurring bill thru date either due to change in rate schedule with a change in billing interval or when the plan instance is being activated/re-activated. Additionally, when this is given for a parent plan instance being activated, then the auto-activated child plan instances will be automatically applied with auto_offset_months_option = 1 so that they remain synchronized with the parent plan instance.

alt_proration_start_date string 10 No

The date, in yyyy-mm-dd format, from which the proration calculations begin. If this field is NULL, then the proration calculations begin from the current date. This date cannot be before the beginning of the current billing period.

auto_offset_months_option long 1 No

Automatically set the offset for the billing anniversary month. For 'update', this is only applicable when there is a pullback of the recurring bill thru date either due to change in rate schedule with a change in billing interval or when the plan instance is being activated/re-activated.

Allowed values:

Value Description
1 sync to master/parent plan instance recurring bill thru date
2 sync to old supplemental plan recurring bill thru date (only applies to supplemental plan)
alt_collect_group_no long 22 No

The one-time collections account group for this account for this API call only. Available only for plan assignments and plan replacements

alt_client_collect_group_id string 100 No

The one-time collections account group for this account for this API call only.

offset_interval long 4 No

If assigning a change on an anniversary day, the number of billing periods by which to delay that change. If the new plan is different from the old plan, and this value is greater than 0, then the billing date continues to be the annniversary date.

invoice_unbilled_usage string 5 No

Specifies whether to invoice the unbilled usage.

Allowed values:

Value Description
False Do not allow invoicing the unbilled usage during mid-term plan termination.
True Allow invoicing the unbilled usage during mid-term plan termination.
force_supp_bill_date_reset long 1 No

Note: This field is deprecated. Aria no longer supports force_supp_bill_date_reset.

force_master_bill_date_reset long 1 No

Overrides the "Sync_mstr_bill_dates_on_1st_supp" client-level setting that determines whether or not no-charge master plan billing dates should be reset when assigning a new supplemental plan or when the supplemental plan instance status is updated to a billable status. If this value is left empty, the client-level setting will take effect.

Allowed values:

Value Description
Null If this value is left empty, the client-level setting (Sync_mstr_bill_dates_on_1st_supp) will take effect.
1 Do not reset master plan billing dates.
2 Reset master plan billing dates if master plan is "free", the account has no "billable" supplemental plans, and the newly-assigned supplemental plan is "billable.
3 Reset master plan billing dates if master plan is "free" and the account has no active supplemental plans.
usage_accumulation_reset_months string 4 No

For the plan specified, the number of months to accumulate before being reset.

usage_accumulation_reset_months_renewal_option long 1 No

Determines whether the usage accumulation reset months will automatically reset to same value at the end of the current period or will expire at end of current period.

Allowed values:

Value Description
1 Recurring / Auto-Renew (default)
2 Single Use
usage_pooling string 5 No

Indicates whether usage pooling is enabled for this plan instance. Allowable values are 'true' and 'false'.

Allowed values:

Value Description
True Usage pooling is enabled for this plan instance.
False Usage pooling is not enabled for this plan instance. (default)
usage_threshold_applicability string 2 No

Usage tracking options on the specified plan.

nso_bill_immediately long 1 No

Determines when the NSO order is fulfilled and then billed.

Allowed values:

Value Description
0 Fulfill immediately. Bill on next anniversary.(default)
1 Fulfill immediately. Bill immediately.
2 Order Held.
3 Fulfill on fulfillment date. Bill on the next anniversary bill after the fulfillment date. Note that if the fulfilled date is in the past/current day, then the fulfillment will happen in API itself as in nso_bill_immediately = 0.
4 Fulfill on fulfillment date. Bill on the fulfillment date. Note that if the fulfilled date is in the past/current day, then the fulfillment and billing will happen in API itself as in nso_bill_immediately = 1.
5 Fulfill on fulfillment date. Bill on the next anniversary bill that bills arrears services through the fulfillment date. Note that if the fulfilled date is in the past/current day, then the fulfillment will happen in API itself as in nso_bill_immediately = 0.
nso_item_array object   No

See fields below

plan_service_updates object   No

List of services associated with the plan being assigned or updated on the account.

See fields below

po_num string 100 No

Purchase order number assigned to the plan instance.

nso_po_num string 100 No

Purchase order number assigned to the one-time order.

plan_instance_supp_field_update_only long 1 No

This field controls the ability to update plan instance fields on a plan that is in non-provisioned status.

Allowed values:

Value Description
Null This input will not allow plan instance fields to be update for plans that are in a non-provisioned status
0 This input will not allow plan instance fields to be update for plans that are in a non-provisioned status
1 This input will allow plan instance fields to be update for plans that are in a non-provisioned status
force_bill_date_reset long 1 No

When a master plan's status changes from non-billable to billable, this input will determine what the billing dates of the specific master plan and all associated supplemental plans anniversary date will be.

Allowed values:

Value Description
Null Reset the billing dates when the status changes from non-billable to billable depending on client parameter 'AUTO_RESET_MASTER_PLAN_BILLING_DATES_ON_NON_BILLABLE_TO_BILLABLE_MASTER_PLAN_STATUS_CHANGE' setting.
0 Do not reset the billing dates for this plan.
1 Reset the billing anniversary date to coincide with the status change date.
2 Reset the billing anniversary date to coincide with the current anniversary date.
3 Reset the billing anniversary date to coincide with next future anniversary date by offsetting with its billing interval.
bill_lag_days long 10 No

Bill lag days refer to the number of days prior to (negative) or after (positive) an account billing date at which an invoice should be generated for this Master Plan Instance. Negative bill lag days are typically used for subscription-based services (often subscription-based services paid using net-terms), in which the user would like to send out invoices to customers well in advance of the real invoice date. Positive bill lag days are typically used for usage-based services.

remove_pi_custom_rates string 5 No

Determines the behavior when changing the rate schedule of a plan instance that is using custom rates. The default value is false and will leave the custom rates in place. A value of true will remove the custom rates and use the default rates of the new rate schedule.

Allowed values:

Value Description
False will leave the custom rates in place (default)
True remove the custom rates and use the default rates of the new rate schedule
new_dunning_step long   No

Determines which dunning step to place the MPI into if you are placing this MPI into dunning or for moving the step of a MPI that is already in dunning. The default is 1 (step 1).

config_dunning_late_fee_option long 1 No

Determines whether or not to use the dunning configuration setting to charge a late fee applicable to that dunning step if you are placing this MPI/BG into dunning. The default is to use the configuration setting.

Allowed values:

Value Description
1 Use Dunning Process configuration settings (default)
0 Do not use Dunning Process configuration / Do not charge
config_dunning_email_option long 1 No

Determines whether or not to use the dunning configuration setting to send an email applicable to that dunning step if you are placing this MPI/BG into dunning. The default is to use the configuration setting.

Allowed values:

Value Description
1 Use Dunning Process configuration settings (default)
0 Do not use Dunning Process configuration / Do not send
resp_master_plan_instance_no long 22 No

The unique identifier of the master plan instance on the responsible account. Required if responsibility level is set to one of the two parent pay options.

Alternative field: resp_client_master_plan_instance_id

resp_client_master_plan_instance_id string 100 No

The client-defined identifier of the master plan instance on the responsible account. Required if responsibility level is set to one of the two parent pay options.

Alternative field: resp_master_plan_instance_no

nso_fulfillment_date string 10 No

The date the Non Subscription Offering is fulfilled. A date in the past, present, or future can be specified.

installment_updates object   No

Array of installment updates

See fields below

limit_update_to_object_types object   No

Limit updates to specific objects only if a plan instance is already queued for a future assignment.

See fields below

acct_billing_groups.collection_group_bg_update fields

Name Type Length Required Description
collections_group_bg_no long 22 No

Collection Group Number to which this billing group should be assigned.

Alternative field: client_collections_group_bg_id

client_collections_group_bg_id string 100 No

Collection Group ID to which this billing group should be assigned.

Alternative field: collections_group_bg_no

collections_grp_directive long 1 No

Whether to add or remove the collection group to or from the specified billing group.

Allowed values:

Value Description
1 Assign the collection group to the billing group.
2 Remove the collection group from the billing group.

acct_billing_groups.bg_einvoicing_field_updates fields

Name Type Length Required Description
bg_einvoicing_field_name string 100 No

Name of the e-invoicing field.

Allowed values:

Value Description
government_invoice_id Stores the Government Invoice ID (Leitweg-ID) used to route e-invoices to German public sector recipients. Takes priority over the account-level value when set.
bg_einvoicing_field_value string 100 No

The value corresponding to the e-invoicing field name. Required when bg_einvoicing_field_directive is 1 (save); ignored when it is 2 (delete).

bg_einvoicing_field_directive long 1 No

Action for this entry. Defaults to 1 (save) when omitted.

Allowed values:

Value Description
1 Save - add the field if it does not exist, otherwise update its value.
2 Delete - remove the field.

acct_billing_groups fields

Name Type Length Required Description
billing_group_directive long 4 No

Indicates what operation to perform on each billing group specified. This field is required when performing any action on a billing group.

Allowed values:

Value Description
1 Create new billing group
2 Update billing group
existing_billing_group_no long 22 No

The unique identifier of the billing group. Either this field, or existing_client_billing_group_id is required when updating or removing the billing group.

Alternative field: existing_client_billing_group_id

existing_client_billing_group_id string 100 No

The client-defined identifier of the billing group.

Alternative field: existing_billing_group_no

billing_group_name string 100 No

Name of the billing group.

billing_group_description string 1000 No

Description of the billing group.

new_client_billing_group_id string 100 No

Unique client-defined identifier of the billing group. If provided for an existing billing group, this value will overwrite the existing client-defined ID for that billing group.

billing_group_idx long 22 No

For non-persistent referencing of a billing group within the API request.

notify_method long 2 No

How the client communicates with the account holder. If a notification method is not provided, this value defaults to "1" (HTML email).

Allowed values:

Value Description
0 None
1 HTML Email
2 Text Email
3 Text Email w/link to HTML
4 Data export
5 Printable (no Email) w/Surcharge
6 Printable & Text Email
7 Printable & HTML Email w/Surcharge
8 Printable (no Email)
9 PDF (Printing required, no Email)
10 PDF (delivered by Email)
11 PDF (Printing req & Email)w/surcharge
12 PDF (Printing req, no Email)w/surcharge
13 XML Master File
14 PDF Master File
15 XML Master File and HTML Email
16 XML Master File and Text Email
17 PDF Master File and HTML Email
notify_template_group long 22 No

Aria-assigned unique identifier for the notification template group to be associated with the billing group.

Alternative field: client_notification_template_group_id

statement_template double 22 No

Statement template No.

credit_note_template double 22 No

Credit note template No.

payment_option string 7 No

This allows you to select either payment methods (such as a credit card or other electronic form of payment) or payment terms (such as a physical check) when creating or modifying a billing group'

Allowed values:

Value Description
Methods  
Terms  
primary_payment_method_no long 22 No

Unique identifier associated with an existing payment method for the specified account to be used as the primary payment method on the billing group

Alternative field: primary_client_payment_method_id or primary_payment_method_idx

primary_client_payment_method_id string 100 No

Unique client-defined identifier associated with an existing payment method for the specified account to be used as the primary payment method on the billing group

Alternative field: primary_payment_method_no or primary_payment_method_idx

primary_payment_method_idx long 4 No

For non-persistent referencing of a payment method within the API request to be used as the primary payment method on the billing group.

Alternative field: primary_payment_method_no or primary_client_payment_method_id

backup_payment_method_no long 22 No

Unique identifier associated with an existing payment method for the specified account to be used as the backup payment method on the billing group.

Alternative field: backup_client_payment_method_id or backup_payment_method_idx

backup_client_payment_method_id string 100 No

Unique client-defined identifier associated with an existing payment method for the specified account to be used as the backup payment method on the billing group.

Alternative field: backup_payment_method_no or backup_payment_method_idx

backup_payment_method_idx long 32 No

For non-persistent referencing of a payment method within the API request to be used as the backup payment method on the billing group.

Alternative field: backup_payment_method_no or backup_client_payment_method_id

stmt_first_name string 300 No

Statement contact first name

stmt_mi string 2 No

The Middle Initial of the statement contact.

stmt_last_name string 300 No  
stmt_company_name string 100 No

Company name of the statement contact

stmt_address1 string 300 No

First address line of the statement contact

stmt_address2 string 300 No

Second address line of the statement contact. If you want to delete existing data in this field, leaving it blank, you must enter a '~' in this field.

stmt_address3 string 300 No

Third address line of the statement contact

stmt_city string 300 No

City of the statement contact

stmt_locality string 300 No

Use this field instead of the state_prov field to designate the state, province or other local designation as appropriate for addresses in all countries other than the United States, Australia, and Canada. This field is ignored for all United States, Australia and Canada addresses.

stmt_state_prov string 10 No

State or Province of the billing contact. The official postal-service codes for all United States, Australia and Canada states, provinces, and territories. This field does not support states, provinces or territories from other countries. Use the locality field for other countries.

stmt_country string 25 No

Country of the contact. The ISO-compliant 2-character country code abbreviation in uppercase.

stmt_postal_cd string 15 No

Postal/Zip code for the statement contact address.

stmt_phone string 25 No

The phone number of the statement contact

stmt_phone_ext string 10 No

The extension for the statement contact phone

stmt_cell_phone string 20 No

The contact cell phone of the statement contact.

stmt_work_phone string 25 No

Work phone number of the statement contact.

stmt_work_phone_ext string 10 No

The extension for the statement contact work phone

stmt_fax string 25 No

The fax number for the statement contact.

stmt_email string 320 No

Email of the statement contact

stmt_birthdate string 10 No

The birthdate, in yyyy-mm-dd format, of the statement contact.

bg_list_start_master_file long 1 No

Indicates whether or not the account shall be listed at the start of a master file.

Allowed values:

Value Description
0  
1 When value=1, account is listed at the top of the master file when generated.
stmt_contact_idx long 2 No

For non-persistent referencing of a contact in the contacts array within the API request. If an idx value is specified, inputs provided for other statement contact fields will be ignored.

stmt_contact_no long 22 No

The Aria-assigned unique identifier for the statement contact associated with a billing group on the account.

payment_terms_no long 22 No

Payment terms number assigned to the account.

payment_terms_name string 50 No

Payment terms name assigned to the account.

client_payment_term_id string 32 No

Client-defined identifier for the billing group's payment term

ean_gln_num string 50 No

'This is the European Article Number or Global Location Number that is a required field if a payment option is terms AND one of the input parameters payment terms number/payment terms name/ client payment term ID matches a term in which the payment term type equals EAN/GLN. This number should be provided by Aria's clients' customers and is unique to each customer (account).'

ean_gln_requisition_num string 50 No

'This is the European Article Number requisition number or Global Location Number requisition number that is a required field if a payment option is terms AND one of the input parameters payment terms number/payment terms name/client payment term ID matches a term in which the payment term type equals EAN/GLN. This number should be provided by Aria's client's customers and is used to track their individual projects similarly to a purchase order. This number is generated by the individual customer (account) and is not provided by any other party'

credit_memo_template double 22 No

Credit template No.

rebill_template double 22 No

Rebill template No.

collection_group_bg_update object   No

Update Array for collection groups for billing group.

See fields below

client_notification_template_group_id string 50 No

Client-defined unique identifier for the notification template group to be associated with the billing group.

Alternative field: notify_template_group

taxation_company_code string 10 No

A unique ID number defined in a taxation provider (like Avalara) to identify your different company's or business units.

bg_einvoicing_field_updates object   No

Array of e-invoicing fields associated with the billing group.

See fields below

acct_payment_methods fields

Name Type Length Required Description
payment_method_name string 100 No

Payment method name.

client_payment_method_id string 100 No

Client-defined unique identifier for the payment method.

payment_method_description string 1000 No

Payment method description

payment_method_idx long 32 No

For non-persistent referencing of a payment method within the API request to be used as the primary or backup payment method on the billing group.

payment_method_type long 8 No

This is the method_id corresponding to a payment method such as credit card, Electronic Check, Pre-Paid, Net Terms, etc.

Allowed values:

Value Description
-1 External Payment
0 Other
1 Credit card
2 Electronic Check (ACH)
3 Pre-paid
4 Deprecated Net Terms 30 - use Payment Terms
5 Deprecated Net Terms 10 - use Payment Terms
6 Deprecated Net Terms 15 - use Payment Terms
7 Deprecated Net Terms 60 - use Payment Terms
8 Click&Buy
9 Deprecated Net Terms 0 - use Payment Terms
10 PayByCash
11 PayPal Express Checkout
12 Deprecated Net Terms 45 - use Payment Terms
13 Tokenized Credit Card
14 Purchase Power
15 Deprecated Net Terms 35 - use Payment Terms
16 Deprecated Net Terms 75 - use Payment Terms
17 Deprecated Net Terms 90 - use Payment Terms
18 Deprecated Net Terms 120 - use Payment Terms
19 Deprecated Net Terms 25 - use Payment Terms
26 Direct Debit
37 Tokenized Direct Debit
48 Tokenized ACH Payment
53 Tokenized BECS
cc_num string 20 No

Credit card number.

cc_expire_mm long 2 No

Expiration month for the credit card payment instrument.

cc_expire_yyyy long 4 No

Expiration year for the credit card payment instrument.

bank_acct_num string 19 No

The bank account number.

bank_routing_num string 9 No

The American Banking Association (ABA) routing number for the financial institution.

cvv string 6 No

Card Verification Value, used to help verify a transaction is being requested by the card holder since this value is physically printed on the credit card.

track_data1 string 300 No

Raw "track 1" data from a swiped credit card used in a card-present transaction to initiate this request

track_data2 string 300 No

Raw "track 2" data from a swiped credit card used in a card-present transaction to initiate this request

bill_agreement_id string 32 No

Unique ID of the bill agreement (also referred to as a token).

iban string 50 No

International Bank Account Number(IBAN). Used for the Direct Debit payment method. It consists of 16 to 34 alphanumeric characters. Only hyphen and space are allowed to format the IBAN.

bank_check_digit long 2 No

Bank check digits enable a sanity check of the bank account number to confirm its integrity before submitting a transaction. Used for the Direct Debit payment method.

bank_swift_cd string 15 No

SWIFT code is a standard format of Bank Identifier Codes (BIC). It is used for the Direct Debit payment method. It consists of 8 or 11 alphanumeric characters. Only hyphen and space are allowed to format the SWIFT code. It is required for IBAN.

bank_country_cd string 2 No

Country of the bank. The ISO-compliant 2-character country code abbreviation in uppercase. Used for the Direct Debit payment method. It is required for IBAN and BBAN.

mandate_id string 35 No

Used for the Direct Debit payment method. A mandate is signed by the debtor to authorize the creditor to collect a payment and to instruct the bank of the debtor to pay those collections.

bank_id_cd string 15 No

Up to 10 digit numeric bank identifier code. Used for the Direct Debit payment method. Only hyphen and space are allowed to format the bank ID code. It is required for BBAN.

bank_branch_cd string 15 No

Up to 10 digit numeric bank branch code. Used for the Direct Debit payment method. Only hyphen and space are allowed to format the bank branch code.

bill_first_name string 300 No

First name of the billing contact.

bill_mi string 2 No

Middle initial of the billing contact

bill_last_name string 300 No

Last name of the billing contact.

bill_company_name string 100 No

Company name of the billing contact.

bill_address1 string 100 No

First address line of the billing contact.

bill_address2 string 300 No

Second address line of the billing contact. If you want to delete existing data in this field, leaving it blank, you must enter a '~' in this field.

bill_address3 string 300 No

The third line of the billing address.

bill_city string 300 No

City of the billing contact.

bill_locality string 300 No

Use this field instead of the state_prov field to designate the state, province or other local designation as appropriate for addresses in all countries other than the United States, Australia, and Canada. This field is ignored for all United States, Australia and Canada addresses.

bill_state_prov string 10 No

State or Province of the billing contact. The official postal-service codes for all United States, Australia and Canada states, provinces, and territories. This field does not support states, provinces or territories from other countries. Use the locality field for other countries.

bill_country string 25 No

Country of the billing contact. The ISO-compliant 2-character country code abbreviation in uppercase.

bill_postal_cd string 15 No

Postal code for the billing contact.

bill_phone string 25 No

Phone number of the billing contact.

bill_phone_ext string 10 No

Phone extension of the billing contact.

bill_cell_phone string 20 No

Cell phone number of the billing contact.

bill_work_phone string 25 No

Work phone number of the billing contact.

bill_work_phone_ext string 10 No

This is the work phone extension for the billing contact work phone.

bill_fax string 25 No

Fax number of the billing contact.

bill_email string 320 No

Email of the billing contact.

bill_birthdate string 10 No

Birthdate of the billing contact.

bill_contact_idx long 32 No

For non-persistent referencing of a contact in the contacts array within the API request. If an idx value is specified, inputs provided for other billing contact fields will be ignored..

bill_contact_no long 22 No

The Aria-assigned unique identifier for the contact on this account to be used as the billing contact for the payment method. If bill_contact_no is included in the API request, all other billing contact parameters are ignored.

bank_name string 100 No

Bank name for the account payment method

bank_city string 100 No

Bank city for the account payment method

bank_acct_type string 32 No

The type of bank account being used.

Allowed values:

Value Description
savings  
checking  
business  
bank_acct_holder_type string 32 No

This field denotes the bank account holder type. The value can be either individual or company.

Allowed values:

Value Description
individual  
company  
mandate_signature_date string   No

The date, in yyyy-mm-dd format, on which the mandate was signed.

payment_method_verification_code string 1000 No

The code provided by the account validator.

emandate_signature string 1000 No

This is the electronic signature returned after successfully completing an e-mandate request through an e-Mandate service.

acct_dunning_groups fields

Name Type Length Required Description
dunning_group_directive long 4 No

Indicates what operation to perform on each dunning group specified.

Allowed values:

Value Description
1 Create new dunning group
2 Update dunning group
existing_dunning_group_no long 22 No

The dunning group number mapped against each master plan.

Alternative field: existing_client_dunning_group_id

existing_client_dunning_group_id string   No

The client-defined dunning group ID mapped against each master plan.

Alternative field: existing_dunning_group_no

dunning_group_name string 100 No

Name of the dunning group.

dunning_group_description string 1000 No

Description of the dunning group.

new_client_dunning_group_id string 100 No

Client-defined dunning group identifier.

dunning_group_idx long 22 No

Overrides the client-level setting that determines whether or not master plan billing dates should be reset when assigning a new supplemental plan. If this value is left empty, the client-level setting will take effect.

dunning_process_no long 22 No

Dunning process code.

Alternative field: client_dunning_process_id

client_dunning_process_id string 100 No

Client-defined dunning process identifier.

Alternative field: dunning_process_no

contacts fields

Name Type Length Required Description
contact_idx long 32 No

A caller-defined numeric value is required if you wish to add a new contact as an account contact, billing contact, statement contact, or destination contact. This value can then be used to reference this new contact within the context of this API request (and is not stored in Aria).

first_name string 32 No

The first name of the contact.

middle_initial string 2 No

The middle initial of the contact.

last_name string 32 No

The last name of the contact.

company_name string 100 No

The company name of the contact.

address1 string 100 No

The first address line of the contact.

address2 string 100 No

The second address line of the contact.

address3 string 100 No

The third address line of the contact.

city string 32 No

The city of the contact.

locality string 32 No

Use this field instead of the state_prov field to designate the state, province or other local designation as appropriate for addresses in all countries other than the United States, Australia, and Canada. This field is ignored for all United States, Australia and Canada addresses.

state_prov string 10 No

The state or province of the contact. Note that only the official postal-service codes for states, provinces, and territories in the United States, Australia and Canada are supported. Use the other_locality field for states, provinces, or territories in other countries.

country string 2 No

The country of the contact. Provide the ISO-compliant 2-character country code abbreviation in uppercase.

postal_cd string 14 No

The postal/zip code of the contact.

phone string 25 No

The phone number of the contact.

phone_ext string 10 No

The phone number extension of the contact.

cell_phone string 20 No

The cell phone number of the contact.

work_phone string 25 No

The work phone number of the contact.

work_phone_ext string 10 No

The work phone number extension of the contact.

fax string 25 No

The fax number of the contact.

email string 320 No

The email address of the contact.

birthdate string 10 No

Birthdate of the contact in yyyy-mm-dd format.

proc_field_override fields

proc_field_name proc_field_value
transaction_type

Defines a transaction type for Credit Cards and Tokenized Credit Cards. If a value is not entered, it will default to your client configuration settings. Please note that the values differ per processor. For a list of transaction types, please read our documentation.

Allowed values:

proc_field_value Description
-1 Use client configuration settings for "Send Transaction Type as Recurring for Initial Request Where Possible" or "Send Transaction Type as Recurring for Subsequent Request" as applicable.
1 (Chase) Single Transaction mail/telephone order (MOTO) - Designates a transaction where the accountholder is not present at a merchant location and consummates the sale via the phone or through the mail. The transaction is not for recurring services or product and does not include sales that are processed via an installment plan.
2 (Chase) Recurring Transaction - Designates a transaction that represents an arrangement between an accountholder and the merchant where transactions are going to occur on a periodic basis.
3 (Chase) Installment Transaction - Designates a group of transactions that originated from a single purchase where the merchant agrees to bill the accountholder in installments.
4 (Chase) Deferred Transaction - Designates a transaction that represents an order with a delayed payment for a specified amount of time.
5 (Chase) Secure Electronic Commerce Transaction - Designates a transaction consummated via the Internet at a 3-D Secure capable merchant and the accountholder is fully authenticated. (e.g. 3-D Secure includes Verified by Visa, Mastercard Identity Check, American Express SafeKey and Discover ProtectBuy).
6 (Chase) Non-Authenticated Electronic Commerce Transaction - Designates a transaction consummated via the Internet at a 3-D Secure capable merchant that attempted to authenticate the accountholder using 3-D Secure (e.g. 3-D Secure includes Verified by Visa and Mastercard Identity Check). Verified by Visa, Mastercard Identity Check, American Express SafeKey and Discover ProtectBuy transactions in the event of: * A non-participating Issue * A non-participating accountholder of a participating Issuer * A participating Issuer, but the authentication server is not available
7 (Chase) Channel Encrypted Transaction - Designates a transaction between an accountholder and a merchant consummated via the Internet where the transaction includes the use of transaction encryption such as SSL, but authentication was not performed. The accountholder payment data was protected with a form of Internet security, such as SSL, but authentication was not performed. For Discover, indicates an e-commerce Card Transaction with data protection but not using ProtectBuy for Cardholder authentication.
8 (Chase) Non-Secure Electronic Commerce Transaction - Designates a transaction between an accountholder and a merchant consummated via the Internet where: * The transaction does not include the use of any transaction encryption such as SSL * Authentication is not performed * An accountholder certificate is not managed.
I (Chase) IVR Transaction (PINless Debit only) - Designates a transaction where the accountholder consummates the sale via an interactive voice response (IVR) system.
R (Chase) Retail Transaction - Designates a transaction where the accountholder was present at a merchant location.
telephone (Vantiv) The transaction is for a single telephone order.
mailorder (Vantiv) The transaction is for a single mail order transaction.
client_3ds_nonce The 3ds enriched nonce used for the card authorization.
payer_auth_reference_id Reference id for 3ds transaction session.
payer_auth_transaction_mode

The transaction mode identifies the channel from which the transactions are originated of Cybersource 3ds 2.0.

Allowed values:

proc_field_value Description
M MOTO
R Retail
S eCommerce
P Mobile Device
T Tablet
payer_auth_transaction_id Authentication Transaction id for 3ds authorization.
end_user_browser_accept_header Browser Accept Header that was used for placing an online order. Some examples might include 'text/html,application/xhtml+xml,application/xml ;q=0.9,*/*;q=0.8'.
end_user_browser_agent Browser that was used for placing an online order. Some examples might include "Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/31.0".
end_user_browser_color_depth Browser color depth in bits per pixel. This should be obtained by using the browser's screen.colorDepth property. Accepted values: 1, 4, 8, 15, 16, 24, 32 or 48 bit color depth.
end_user_browser_java_enabled_ind Boolean value indicating if the shopper's browser is able to execute Java.
end_user_browser_language Browser supported language(as defined in IETF BCP 47). This should be obtained by using the browser's navigator.language property.
end_user_browser_screen_height Browser total height that was used for placing an online order.
end_user_browser_screen_width Browser total width that was used for placing an online order.
end_user_browser_timezone_offset_mins Time difference between UTC time and the shopper's browser local time, in minutes.
pa_3ds_completion_ind In Adyen, for 3DS v2.0 transaction, if the response of DDC is received within 10sec set this to 'Y', else set this to 'N'.
pa_3ds_trans_status In Adyen, for 3DS v2.0 transaction, if the response of Challenge Shopper is NOT received within 10mins set this to 'U', else set the value from Challenge shopper response.
pa_3ds_termination_url Termination url for 3DS transaction.
pa_machine_id HTTP cookie to be used in the HTTP header for Worldpay 3DS transaction.
sca_exemption_type Defines a exemption type indicator for 3D secure transactions. Depending upon the exemption reason, it can bypass Strong Customer Authentication. If a value is not entered, it will default to your client configuration settings. Please note that the values differ per processor. For a list of exemption types, please read our documentation. (values: -1 - Use client configuration settings for determining the exemption type. 0 - Transaction will be performed with no exemption. 1 - (Chase) Transaction will be performed with low value exemption.)
mandate_collection_method

Use this field to specify how the customer will authorize the mandate for direct debit collection. It is required for ACH, SEPA, and BACS. If the the mandate is collected online, the customer IP address and useragent must be collected and passed in the collection API. If offline, you must collect and maintain the authorization in your records. This is applicable for Stripe Payment Processor.

Allowed values:

proc_field_value Description
0 Offline - Default
1 Online
end_user_ip_address IP address that was used for placing an online order.
end_user_browser_agent Browser that was used for placing an online order. Some examples might include "Mozilla/5.0 (X11; Linux i586; rv:31.0) Gecko/20100101 Firefox/31.0".
bank_acct_holder_type

The type of entity that holds the account. This is applicable for Stripe Payment Processor.

Allowed values:

proc_field_value Description
I This bank account belongs to an individual
C This bank account belongs to a company
kount_session_id kount_session_id is a unique identifier generated by Kount, a fraud prevention and risk management platform for Evertec.

mpi_orders.order_qualifier_list fields

Name Type Length Required Description
order_qualifier_name string 100 No

Name of the field you want to associate with order.

order_qualifier_value string 100 No

Corresponding value of the field you want to associate with order.

mpi_orders.order_line_items.order_line_qualifiers fields

Name Type Length Required Description
order_line_qualifier_name string 100 No

Name of the field you want to associate with order line item

order_line_qualifier_value string 100 No

Corresponding value of the field you want to associate with order line item

mpi_orders.order_line_items fields

Name Type Length Required Description
client_sku string   No  
units double 12 No

The number of units indicated for this SKU on the line item.

amount double 12 No

The amount for this line item.

unit_discount_amount double 12 No

Note: This field is deprecated. Aria no longer supports unit_discount_amount.

line_comments string   No

Any client-defined comments, from a CSR or automated system, for this particular line item. Note: The field size limit is less than 3000 characters or 4000 bytes.

item_svc_location_no long 22 No

The Aria-assigned unique identifier for the origin location for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

client_item_svc_location_id string 100 No

The client-defined unique identifier for the origin location for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations. If both svc_location_no and client_svc_location_id are provided, svc_location_no will take precedence.

item_dest_contact_no long 22 No

The Aria-assigned unique identifier for the destination contact for the item (NSO) being purchased. Depending on taxation configuration, this address may be used for tax calculations. If both item_dest_contact_idx and item_dest_contact_no are provided, item_dest_contact_no will take precedence.

item_dest_contact_idx long 32 No

For non-persistent referencing of a destination contact in the contacts array within the API request. Depending on taxation configuration, the address associated with this destination contact may be used for tax calculations.

nso_rate_schedule_no long   No

Aria-assigned unique identifier for the rate schedule.

Alternative field: client_nso_rate_schedule_id

client_nso_rate_schedule_id string   No

Client-defined unique identifier for the rate schedule.

Alternative field: nso_rate_schedule_no

client_order_line_id string 100 No

Client-defined unique identifier for order line item.

order_line_qualifiers object   No

Array of additional values you can associate with each order line item

See fields below

assign_installment_term string 1 No

Allowed values:

Value Description
Y Yes
N No
installment_term_no long 100 No

Installment no on product catalog. If null, then it selects installment default.

Alternative field: client_installment_term_id

client_installment_term_id string 100 No

Specifies client installment id. If null, then it selects the installment default.

Alternative field: installment_term_no

independent_installment_date string 100 No

Defines the start date of independent installment, needs to be the same or greater than the current date. If passed, the associated "days_to_start" and "lump_sum_days" value will be ignored.

installment_amount double   No

Specifies the individual installment amount, inclusive of tax. For example, if a purchase is taxed at 15%, a $20 installment amount will be split into $17.39 (charge) and $2.61 (tax). The total tax-inclusive purchase amount will be divided by this amount to calculate the length of installment. Note: If this field is provided, the installment_term_length field will be ignored.

aligned_installment string 1 No

Specifies installment type for the account, whether installment should be aligned with master plan instance or independent. Allowable values are: Yes (Y) - Aligned with existing master plan instance OR No (N) - Independent, its own installment schedule and due dates.

Allowed values:

Value Description
Y Yes (Aligned)
N No (Independent)
installment_term_type string 1 No

Specifies the installment term type for the assigned installment, applicable only for independent. Allowable values are: M (Months), W (Weeks), D (Days).

Allowed values:

Value Description
M Months
W Weeks
D Days
~ Null
installment_term_length long   No

Specifies the installment term length for the assigned installment. For installment_type = 2, the input will be used jointly with the interval type. For installment_type = 1, this will be the number of statements that the installment amount will be part of.

installment_interval long   No

Specifies the installment interval for the assigned installment, applicable only for independent installment. It works jointly with terms type. If defined, must be less than terms length.

days_until_due long   No

Specifies the number of days until due for the independent installment. Applicable only when installment_type = 2 or installment term defined on product catalog is aligned_installment =N. Determines how many days after customer is notified on the installment that it's due. If 5 is passed, then 5 days after customers are notified, the installment will be due.

installment_lump_sum_type string 1 No

Specifies the installment lump sum type for the assigned installment. Allowable values are: P - for proportionately split charge/tax; T - for purchase tax only.

Allowed values:

Value Description
P Proportionately split charge/tax
T Purchase tax only
~ Null
installment_lump_sum_amount double   No

Specifies the lump sum amount, mandatory when lump sump type is proportionately split (lump_sum_type = P).

installment_aligned_lump_sum long   No

Applicable only for aligned installment. Determines when to notify customers of the lump sum. Allowable values are: 0 - Aligned with when an invoice is created; 1 - Aligned with the 1st installment

installment_lump_sum_days long   No

Specifies the lump sum days. Applicable only for independent installment (update_installment_type = 2 or installment term defined on product catalog is aligned_installment = N). Determines how many days after a purchase or invoice date that a lump sum is charged and be notified to customers.

installment_lump_sum_days_until_due long   No

Specifies the lump sum days until due, applicable for both types of installment. Determines how many days after customers are notified that a lump sum is due.

last_installment_amount_threshold long   No

Specifies the percentage used to calculate the allowable additional amount for the last installment's threshold. For example: If the installment amount is $50 and the remainder is $80, with 0%, the remainder is split into $50 and $30 (last installment). With 90%, the allowable additional amount is $45, making the last installment threshold $95. In this case, the last installment amount will be $80. If set to NULL, it defaults to 0%. Valid values are 0 to 99.

mpi_orders fields

Name Type Length Required Description
master_plan_instance_no long 22 Yes

The unique identifier of the master plan instance. The master_plan_instance_no passed here should be present in plan updates array.

Alternative required field: master_plan_instance_idx or client_master_plan_instance_id

client_master_plan_instance_id string 100 Yes

The client-defined identifier of the master plan instance.

Alternative required field: master_plan_instance_idx or master_plan_instance_no

master_plan_instance_idx long 22 Yes

Used for non-persistent referencing of a plan instance within the API request. This field will map the order to the master plan instance by linking it to the plan_instance_idx in the plan_updates array. Either this field, client_master_plan_instance_id, or master_plan_instance_no must be provided to create the order.

Alternative required field: master_plan_instance_no or client_master_plan_instance_id

order_bill_immediately long 1 No

Determines when the order is fulfilled and then billed. If no value is defined (the field is null), then billing timing is determined by the client parameter AUTO BILL ORDERS. Contact Customer Support for more information about the AUTO BILL ORDERS parameter.

Allowed values:

Value Description
0 Fulfill immediately. Bill on next anniversary.
1 Fulfill immediately. Bill immediately.
2 Order Held. This places the billing for the newly created order in a pending state labeled Order Held. The billing status can be updated using the update_order_m API, or through the interface.
3 Fulfill on fulfillment date. Bill on the next anniversary bill after the fulfillment date. Note that if the fulfilled date is in the past, then the fulfillment will happen in API itself as in bill_immediately = 0.
4 Fulfill on fulfillment date. Bill on the fulfillment date. Note that if the fulfilled date is in the past, then the fulfillment and billing will happen in API itself as in bill_immediately = 1.
5 Fulfill on fulfillment date. Bill on the next anniversary bill that bills arrears services through the fulfillment date. Note that if the fulfilled date is in the past, then the fulfillment will happen in API itself as in bill_immediately = 0.
client_order_id string 32 No

Client assigned ID for this order

order_comments string 3000 No

Comments for this order

order_po_num string 100 No

Purchase order number assigned to the one-time order.

order_fulfill_date string 10 No

Date on which order is fulfilled.

order_qualifier_list object   No

Array of additional values you can associate with each order.

See fields below

order_line_items object   No

This is an array of line items appearing on the order. The array elements for this argument immediately follow and are indicated as elements with a right-arrow icon.

See fields below

Outputs

Name Type Length Required Description
error_code long   No

Aria-assigned error identifier. 0 indicates no error.

error_msg string   No

Description of any error that occurred. "OK" if there was no error.

out_acct_no long   No

Aria generated unique identifier for the account.

out_client_acct_id string   No

Client-assigned identifier for the account.

billing_errors object   No

See fields below

plans_updated object   No

See fields below

billing_groups_updated object   No

See fields below

dunning_groups_updated object   No

See fields below

multi_plan_invoice_details object   No

See fields below

billing_contact_details object   No

Note: This field is deprecated. Aria no longer supports billing_contact_details.

statement_contact_details object   No

Note: This field is deprecated. Aria no longer supports statement_contact_details.

other_contact_details object   No

Note: This field is deprecated. Aria no longer supports other_contact_details.

plan_instance_queue object   No

This array contains a list of queued plans, their identifier, and type.

See fields below

third_party_errors object   No

Errors from third-party systems like taxation engines are returned here. Aria-generated error codes are returned in the error_code and error_msg fields at the root level of the API return.

See fields below

billing_contact_details_2 object   No

See fields below

statement_contact_details_2 object   No

See fields below

other_contact_details_2 object   No

See fields below

cc_auth_details object   No

Collection group and processor details when there is a cc auth or validation failure.

See fields below

installments_updated object   No

Array of results of installment updates.

See fields below

payment_method_proc_response object   No

The processor returned response fields at the time of payment method creation failure

See fields below

mpi_orders_created object   No

Array of the orders created with this request.

See fields below

billing_errors fields

Name Type Length Required Description
invoicing_error_code long   No

Aria-defined error code specific to any error encountered during any invoicing/billing processes performed inline as a result of this method call.

invoicing_error_msg string   No

The explanatory text corresponding to the value returned (if any) in output "invoicing_error_code".

collection_error_code long   No

If a collection is attempted, returns the error code associated with the collection.

collection_error_msg string   No

The error message associated with collection_error_code.

statement_error_code long   No

The error code if statement generation fails.

statement_error_msg string   No

The text message associated with 'statement_error_code'

billing_group_no long 22 No

The billing group number mapped against each master plan.

client_billing_group_id string 100 No

Client-defined billing group ID

plans_updated.plan_unit_instance_details fields

Name Type Length Required Description
out_plan_unit_inst_no long   No

Aria unique Plan Unit Instance Number

out_client_plan_unit_inst_id string   No

Client-assigned identifier for the plan unit instance.

plans_updated.plan_service_proration_results fields

Name Type Length Required Description
plan_no long 22 No

Aria-assigned unique plan identifier

client_plan_id string   No

Client-defined Plan ID for the plan.

service_no long 22 No

Specifies the Aria-assigned unique service identifier.

client_service_id string   No

A client-defined Service ID for this service

proration_text string 100 No

Note: This field is deprecated. Aria no longer supports proration_text.

proration_remaining_days long 100 No

Note: This field is deprecated. Aria no longer supports proration_remaining_days.

proration_description string   No

Note: This field is deprecated. Aria no longer supports proration_description.

proration_result_total double   No

plan proration total amount.

proration_amount double 100 No

Proration amount.

proration_tax_charges double   No

Proration tax charges.

proration_tax_credits double   No

Tax credits applied as a result of proration.

proration_surcharge_amount double 100 No

Surcharge amount applied as a result of proration.

proration_credit_amount double   No

The non-tax pro-rated credit amount

proration_start_date string   No

Start date of the time period used for calculating proration.

proration_end_date string 100 No

End date of the time period used for calculating proration.

plans_updated fields

Name Type Length Required Description
plan_instance_no long   No

Unique plan instance number for each assigned plan.

client_plan_instance_id string   No

Client-defined plan instance ID for each assigned master plan.

plan_no long 22 No

Aria-assigned unique plan identifier.

client_plan_id string   No

Client-defined Plan ID for the plan.

plan_name string   No

Name of the plan.

plan_operation long   No

Indicates what operation was performed on each plan instance.

Allowed values:

Value Description
1 Plan assigned and plan instance created
2 Plan replaced on existing plan instance
3 Plan instance updated
4 Plan cancelled
plan_unit_instance_details object   No

Array of plan unit instances.

See fields below

proration_credit_result_amount double   No

The total pro-rated credit amount

proration_credit_amount double   No

The non-tax pro-rated credit amount

proration_tax_amount double   No

The pro-rated tax credit amount

plan_service_proration_results object   No

See fields below

billing_groups_updated fields

Name Type Length Required Description
billing_group_no long 22 No

The unique identifier of the billing group.

client_billing_groups_id string   No

The client-defined identifier of the billing group.

primary_payment_method_no long   No

Primary payment method ID.

primary_client_payment_method_id string   No

Client-defined unique identifier of the primary payment method.

backup_payment_method_no long 22 No

Backup payment method ID.

backup_client_payment_method_id string   No

Client-defined unique identifier of the backup payment method'

billing_group_operation long   No

The billing group number mapped against each master plan.

dunning_groups_updated fields

Name Type Length Required Description
dunning_group_no long   No

The dunning group number mapped against each master plan.

client_dunning_groups_id string   No

The client-defined dunning group ID mapped against each master plan.

dunning_group_operation long   No

If a collection is attempted, returns the error code associated with the collection.

multi_plan_invoice_details.invoice_item_details fields

Name Type Length Required Description
invoice_line_no long   No

The line number on the invoice

line_type long   No

Specifies the type of charge or credit associated with this line item.

Allowed values:

Value Description
1 Recurring charge
2 Tax charge
3 Service credit
4 Coupon Credit
5 Activation Charge
6 Usage Charge
7 Recurring Arrears Charge
8 Order Charge
9 Surcharge
plan_no long 22 No

The unique ID plan this line represents.

client_plan_id string 100 No

The client-defined unique ID for plan this line represents.

plan_name string   No

the name of the service plan this line represents.

service_no long 22 No

The unique ID for the service this line represents.

client_service_id string 100 No

The client-defined unique ID for the service this line represents.

service_name string   No

The name of the service this line represents

service_is_tax_ind long   No

Whether or not this line item represents a tax charge.

plan_instance_no long   No

The unique identifier of the plan instance this line represents.

client_plan_instance_id string   No

The client-defined identifier of the plan instance this line represents.

line_units double   No

Number of units for the specified invoice line.

rate_per_unit double   No

The monetary rate per unit of service.

line_amount double   No

The total line amount for this invoice line.

line_base_units double   No

Specifies the full, non-prorated number of units of the service code.

proration_factor double   No

Specifies the percentage of the line_base_units billed.

line_description string   No

Specifies the description of this line item

start_date_range string   No

Specifies the start date of the date range covered by this line item.

end_date_range string   No

Specifies the end date of the date range covered by this line item.

usage_type_no long   No

The usage type code associated with this line item.

usage_type_cd string   No

The usage type code of the usage type specified.

service_coa_id long   No

The Chart of Accounts ID for the service this line represents.

client_service_coa_code string   No

The client-defined Chart of Accounts code for the service this line represents

ref_charge_line_no long   No

The reference charge line number to indicate the item to which the discount applies.

nso_order_no long   No

The unique identifier for an order that is created for bundled NSOs.

nso_order_status_label string   No

Status label for this order

client_sku string   No  
item_no long   No

The inventory item number for this line item.

client_item_id string   No

Note: This field is deprecated. Aria no longer supports client_item_id.

credit_coupon_code string   No

Specifies the coupon code applied to the invoice.

credit_reason_code_description string   No

The long description of the credit reason code which was applied, if any.

csr_comments string   No

The manually-entered CSR comments, if any

adv_billing_period_total_days long   No

Total days of period in this invoice

rate_schedule_no long   No

Aria-assigned unique identifier for the rate schedule used to generate this invoice line item. Either the catalog rate of this rate schedule is used for this line item or the account custom rate against this underlying rate schedule is used. Please note that there are cases in which the custom_rate_ind is null/0 but rate_schedule_no is also null. These special cases include rebill rate changes and multi-plan contract early cancellation fees where the charges are neither from regular rate schedule nor from custom rates. Another such case is the dummy zero amount line formed when net usage is negative for a usage service.

rate_schedule_tier_no long   No

Sequential number in the rate schedule for determining tiers

bill_from_address_no long   No

Address sent as the bill-from address to the tax engine for tax calculations. Depending on the taxation configuration, this parameter may return the Aria-assigned unique identifier of the service location for the invoice line item. Note that service locations can be associated with a service for a given plan instance on an account, with an item (NSO) purchased as part of a one-time order, or with a service as defined in the product catalog.

ship_from_address_no long   No

Address sent as the ship-from address to the tax engine for tax calculations. Depending on the taxation configuration, this parameter may return the Aria-assigned unique identifier of the service location for the invoice line item. Note that service locations can be associated with a service for a given plan instance on an account, with an item (NSO) purchased as part of a one-time order, or with a service as defined in the product catalog.

bill_to_address_no long   No

Address sent as the bill-to address to the tax engine for tax calculations. This parameter will return the Aria-assigned unique identifier of the contact on the account used as the bill-to address for the invoice line item.

ship_to_address_no long   No

Address sent as the ship-to address to the tax engine for tax calculations. This parameter will return the Aria-assigned unique identifier of the contact on the account used as the ship-to address for the invoice line item.

proration_text string 100 No

Specifies the prorated days in total days.

proration_remaining_days long   No

Prorated days of period in this invoice.

proration_description string   No

Prorated invoice description.

custom_rate_ind long   No

Identifies whether this is a custom rate. A value of 1 indicates that it is a custom rate. A value of 0 indicates that it is a standard rate. Please note that there are cases in which the custom_rate_ind is null/0 but rate_schedule_no is also null. These special cases include rebill rate changes and multi-plan contract early cancellation fees where the charges are neither from regular rate schedule nor from custom rates. Another such case is the dummy zero amount line formed when net usage is negative for a usage service.

line_credit_amount double   No

Specifies the total credit associated with this line item.

multi_plan_invoice_details.tax_details fields

Name Type Length Required Description
tax_detail_line long   No

Line number associated with each tax detail record.

seq_num long   No

The tax line on the invoice which includes the tax amount associated with this tax_detail_line.

taxed_seq_num long   No

The invoice line item for which the tax for this tax_detail_line was calculated.

debit double   No

Amount of tax applied for the given tax type.

tax_authority_level long   No

Tax jurisdiction code: 0 = Federal, 1 = State / Province.

tax_rate double   No

Rate at which tax is calculated for the tax type used by the tax engine.

orig_was_tax_inclusive long   No

Indicates whether or not the invoice line amount was tax inclusive.

tax_srv_tax_type_id string   No

Identifier of the tax type returned by the tax engine.

tax_srv_tax_type_desc string 100 No

Description of the tax type returned by the tax engine.

tax_srv_cat_text string   No

Category of the tax type returned by the tax engine.

tax_srv_juris_nm string   No

Jurisdiction name returned by the tax engine.

tax_srv_tax_sum_text string 100 No

Invoice summary text returned by the tax engine.

unrounded_tax_amt double   No

The amount multiplied by tax rate before rounding precision. Also referred to as raw tax amount. *Note: Aria internal tax rounding method set to invoice.

carryover_from_prev_amt double   No

The amount that is a carryover from previous unrounded tax amt. It is remainder and value can be positive or negative based on the previous remainder. *Note: Aria internal tax rounding method set to invoice.

before_round_adjusted_tax_amt double   No

The amount adjusted Tax before rounding precision. i.e. Sum of unrounded_tax_amt, and carryover_from_prev_amt. *Note: Aria internal tax rounding method set to invoice.

carryover_from_current_amt double   No

The amount that is a carryover from current unrounded tax amt. It is remainder and value can be positive or negative based on the previous remainder. *Note: Aria internal tax rounding method set to invoice.

tax_nominal_rate double   No

Nominal Rate returned by the tax engine.

multi_plan_invoice_details.proc_payment_response_field_list fields

Name Type Length Required Description
proc_payment_response_field_name string 100 No

Field name of various response returned by the processor, example: micro_deposit_verify_url.

Allowed values:

Value Description
micro_deposit_verify_url The URL returned by the processor to share with the customer to validate their bank information and perform the micro deposits.
proc_payment_response_field_value string 4000 No

Field value for the corresponding payment response field, example: Actual URL to be used for the micro deposit verification.

multi_plan_invoice_details fields

Name Type Length Required Description
billing_group_no long 22 No

The unique identifier of the billing group.

client_billing_group_id string 100 No

The client-defined identifier of the billing group.

invoice_no long   No

The Aria-assigned unique identifier of a given invoice.

proc_cvv_response string   No

The processor return code from CVV validation.

proc_avs_response string   No

Processor return code from address validation.

proc_cavv_response string   No

The processors return code for security validation.

proc_status_code string   No

The processor status code

proc_status_text string   No

The processors status description.

proc_payment_id string   No

The processor payment ID.

proc_auth_code string   No

Authorization code provided by the issuing bank.

proc_merch_comments string   No

Additional information passed to payment processor.

proc_initial_auth_txn_id string 100 No

Transaction ID from payment processor. If received as part of an auth request, it must be retained for future settlement and match the value from the auth response. It should also be used for future recurring transaction auths/settlement.

invoice_charges_before_tax double   No

Total charges on this invoice before taxes are applied.

invoice_tax_charges double   No

Total amount of taxes charged.

invoice_charges_after_tax double   No

Subtotal combining the total pre-tax charges and the total taxes charged.

invoice_credit_before_tax double   No

Credit to be applied before tax is taken into account.

invoice_tax_credits double   No

Tax amount of the credit to be applied to the account.

invoice_credits double   No

Credit to be applied after tax is taken into account.

invoice_total_amount double   No

The total owed on the initial invoice for this account.

expectd_activation_fee double   No

Predicted activation fee based on activation fee charges on supplemental plans on this invoice.

expectd_mthly_recurring_cost double   No

Predicted monthly recurring cost of the items and plans on this invoice.

expectd_annu_recurring_cost double   No

Predicted annual recurring cost of the items and plans on this invoice.

invoice_item_details object   No

See fields below

tax_details object   No

See fields below

proc_payment_response_field_list object   No

Payment response fields returned by the processor for further actions if any.

See fields below

collection_payment_method_no long   No

The payment method sequence no for the payment attempted during collection.

plan_instance_queue fields

Name Type Length Required Description
queue_id long   No

Aria queue_id for future plan changes that can be used for follow on actions.

queue_type_ind long   No

This designates the type of queued action.

Allowed values:

Value Description
1 Plan Rollover
2 Future Plan Replace
3 Future Plan Assign
4 Future Plan Cancel
5 Future Plan Update
plan_instance_no long   No

Aria plan instance number

third_party_errors fields

Name Type Length Required Description
error_class string   No

Type of error code being represented, such as taxation

error_code string   No

Error code returned by the third party system

error_msg string   No

Error message returned by the third party system

billing_contact_details_2 fields

Name Type Length Required Description
payment_method_no long 22 No

Aria-assigned sequence number for this payment method.

bill_contact_no long 22 No

The Aria-assigned unique identifier for the contact on this account to be used as the billing contact for the payment method. If bill_contact_no is included in the API request, all other billing contact parameters are ignored.

statement_contact_details_2 fields

Name Type Length Required Description
billing_group_no long 22 No

The Aria-assigned unique identifier for the billing group on the account.

stmt_contact_no long 22 No

The Aria-assigned unique identifier for the statement contact associated with a billing group on the account.

other_contact_details_2 fields

Name Type Length Required Description
other_contact_no long   No

The Aria-assigned unique identifier for the contact saved on the account.

other_contact_idx long 32 No

Value provided for the idx parameter in the API request.

cc_auth_details fields

Name Type Length Required Description
collection_group_no long 22 No

Collection Group number.

collection_group_name string 100 No

Collection Group Name.

processor_id long 22 No

Payment Processor Id.

processor_name string 100 No

Payment Processor Name.

installments_updated fields

Name Type Length Required Description
installment_no long   No

Aria assigned installment schedule no.

installment_operation string   No

Indicates what operation was performed on each installment.

installment_operation_detail string   No

Describes the operation detail done on each installment.

installment_collection_error_code long   No

If a collection for a cancelled installment is attempted, returns the error code associated with the collection.

installment_collection_error_msg string   No

The error message associated with installment_collection_error_code.

installment_collected_amount double   No

Collected amount upon cancelled installment.

installment_payment_transaction_id long   No

Payment transaction ID related to collected amount upon cancelled installment.

payment_method_proc_response fields

Name Type Length Required Description
payment_method_idx long 32 No

For non-persistent referencing of a payment method within the API request to be used as the primary or backup payment method on the billing group.

client_payment_method_id string 100 No

Client-defined unique identifier for the payment method.

proc_status_code string   No

The processor status code

proc_status_text string   No

The processors status description

mpi_orders_created fields

Name Type Length Required Description
master_plan_instance_no long 22 No

The Master Subscription plan instance number.

client_master_plan_instance_id string 100 No

Client-defined Master plan Subscription plan instance ID.

order_no long 22 No

The unique identifier for an order in the context of an client_no and account_no.

order_status_label string   No

Status label for this order

TOP
  • Was this article helpful?