POST jobs/all_scopes/calculate_rates

Available from CRM.COM R10.0.0

This method is used to calculate the rates that will be applied while processing a job and before submitting the actual request. The rates calculation can be applied on a single job of any fulfillment scope per each call. The method can only be used for calculating the rates of jobs whose job type defines them as billable.

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

job_identifier

(semi-optional)

Job Identifier

The identifier of the existing job that should be rated. The allowed job identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the job

number

(semi-optional)

String

The number of the job

accounts_receivable_identifier

(semi-optional)

Accounts Receivable Identifier

The identifier of the accounts receivable of the job that should be rated. Applicable only if the account owner of the job already exists. The allowed accounts receivable identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the accounts receivable

number

(semi-optional)

String

The number of the accounts receivable

name

(semi-optional)

String

The name of the accounts receivable

accounts_receivable

(mandatory and applicable on conditions)

Accounts Receivable ObjectInformation related with the accounts receivable for which the new job is created for. Applicable only when the rates are calculated for new jobs and for new account owners.

job

(mandatory and applicable on conditions)

Job Object

Information related with the job that will be rated.

Note that this information is applicable and mandatory only when a new job is to be rated.

requested_physical_goods_set

(optional)

Set of Job Requested Physical Goods

Information with new physical goods that will be added on the job that was specified as requested physical goods

Note that this information is applicable and mandatory only when an existing job is to be rated.

requested_activity_services_set

(optional)

Set of Job Requested Activity Services

Information with new activity services that will be added on the job that was specified as requested activity services

Note that this information is applicable and mandatory only when an existing job is to be rated.

requested_expenses_set

(optional)

Set of Requested Job Expenses

Information with new expenses that will be added on the job that was specified as requested expenses

Note that this information is applicable and mandatory only when an existing job is to be rated.

requested_subscription_physical_goods_set

(optional)

Set of Requested Subscription Physical Goods

Information with new subscription service products that will be added on the subscription through the job. This is applicable only for jobs with fulfillment scopes NEW_SUBSCRIPTION, ADD_SUBSCRIPTION_SERVICES and SWAP_SUBSCRIPTION_INSTALLED_ITEMS

Note that this information is applicable and mandatory only when an existing job is to be rated.

requested_subscription_services_set

(optional)

Set of Requested Subscription Services

Information with new subscription service products that will be added on the subscription through the job. This is applicable only for jobs with fulfillment scopes NEW_SUBSCRIPTION, ADD_SUBSCRIPTION_SERVICES, CANCEL_SUBSCRIPTION_SERVICES and SWAP_SUBSCRIPTION_SERVICES

Note that this information is applicable and mandatory only when an existing job is to be rated.

fields_set

(optional)

List of Strings, comma separated A list of fields that should be included in the results. If not specified then all the available fields will be returned

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. More than one of those parameters are allowed to be specified.

Referred Parameters Objects Data

 accounts_receivable_parameter object data

Name

Type

Description

classification_identifier

(mandatory)

Accounts receivable classification identifier

 The accounts receivable classification identifier.  The allowed classification identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the classification

name

(semi-optional)

String

The name of the classification

alternative_code

(semi-optional)

String

The alternative code of  the classification

billing_address

(optional)

Billing address ObjectThe accounts receivable billing address

presentment_preferences_set 

(optional)

Set of Presentment Preferences Object            

The presentment preferences of the accounts receivable.

payment_preferences_set

(optional)

Set of Payment Preferences Object      

The payment preferences of the retrieved accounts receivable.

Referred Parameter Objects Data

 billing_address object parameter data
Name
Type
Description
action

(mandatory)

String

Defines if a new or existing address will be used. In the case of an existing address then it also defines if the existing address should be updated or not. The supported values are the following:

NEW, EXISTING, EXISTINGUPDATED

type

(mandatory on conditions)

String

The contact information address that should be set as the billing address address. This is applicable and mandatory only if the action is set to EXISTING or EXISTINGUPDATED. The supported options are the following:

HOME, BUSINESS, POBOX, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, CUSTOM5

address

(mandatory on conditions)

Address objectThe address to be created (if action is set to NEW) or updated (if action is set to EXISTINGUPDATED). This is applicable and mandatory only if the action is set to NEW or EXISTINGUPDATED.

Referred Objects Response Data

 address parameter object data

From R14.2.0, the following object is applicable for CRM.COM Address Format

NameTypeDescription

type

(mandatory)

String

The type of the address which can be added

HOME, BUSINESS, POBOX, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, CUSTOM5

is_primary

(mandatory on conditions)

Boolean

Weather the address is the primary one


Applicable from CRM.COM R16.1.0 onwards

postal_code

(optional)

String

The postal code of the address

street_name

(mandatory on conditions)

String

The street name of the address

street_number

(optional)

String

The street number of the address


floor

(optional)

Integer

The floor of the address


apartment_number

(optional)

String

The apartment number of the address


area

(optional)

String

The area of the address


town_city

(optional)

String

The town/city of the address


district

(optional)

String

The district of the address


municipality

(optional)

         

String

The municipality of the address


country_identifier

(optional)

Country identifier

The country of the address. The allowed country identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the country

name

(semi-optional)

String

The name of the country

alternative_code

(semi-optional)

String

The alternative code of the retrieved country

two_character_code

(semi-optional)

String

 The two character code of the retrieved country


three_character_code

(semi-optional)

String

 The three character code of the retrieved country

po_box

(optional)

String

The PO box of the address

po_box_postal_code

(optional)

String

The PO box postal code of the address

care_of

(optional)

String

The care of person of the address

udf_string_1

(optional)

String

User Defined Field of type String

udf_string_2

(optional)

String

User Defined Field of type String

udf_string_3

(optional)

String

User Defined Field of type String

udf_string_4

(optional)

String

User Defined Field of type String

udf_string_5

(optional)

String

User Defined Field of type String

udf_string_6

(optional)

String

User Defined Field of type String

udf_string_7

(optional)

String

User Defined Field of type String

udf_string_8

(optional)

String

User Defined Field of type String

udf_string_9

(optional)

String

User Defined Field of type String

udf_string_10

(optional)

String

User Defined Field of type String

udf_string_11

(optional)

String

User Defined Field of type String

udf_string_12

(optional)

String

User Defined Field of type String

udf_string_13

(optional)

String

User Defined Field of type String

udf_string_14

(optional)

String

User Defined Field of type String

udf_string_15

(optional)

String

User Defined Field of type String

udf_string_16

(optional)

String

User Defined Field of type String

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1

(optional)

Date

User Defined Field of type Date

udf_date_2

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date


From R14.2.0, the following object is applicable for International Address Format
NameTypeDescription

type

(mandatory)

String

The type of the address which can be added

HOME, BUSINESS, POBOX, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, CUSTOM5

postal_code

(optional)

String

The postal code of the address


town_city

(optional)

String

The town/city of the address

country_identifier

(optional)

Country identifier

The country of the address. The allowed country identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the country

name

(semi-optional)

String

The name of the country

alternative_code

(semi-optional)

String

The alternative code of the retrieved country

two_character_code

(semi-optional)

String

 The two character code of the retrieved country


three_character_code

(semi-optional)

String

 The three character code of the retrieved country

address_line_1

(mandatory)

String

The address line 1

address_line_2

(optional)

String

 The address line 2

state_province_county

(optional)

String

The state or province or county of the address.


udf_string_1

(optional)

String

User Defined Field of type String

udf_string_2

(optional)

String

User Defined Field of type String

udf_string_3

(optional)

String

User Defined Field of type String

udf_string_4

(optional)

String

User Defined Field of type String

udf_string_5

(optional)

String

User Defined Field of type String

udf_string_6

(optional)

String

User Defined Field of type String

udf_string_7

(optional)

String

User Defined Field of type String

udf_string_8

(optional)

String

User Defined Field of type String

udf_string_9

(optional)

String

User Defined Field of type String

udf_string_10

(optional)

String

User Defined Field of type String

udf_string_11

(optional)

String

User Defined Field of type String

udf_string_12

(optional)

String

User Defined Field of type String

udf_string_13

(optional)

String

User Defined Field of type String

udf_string_14

(optional)

String

User Defined Field of type String

udf_string_15

(optional)

String

User Defined Field of type String

udf_string_16

(optional)

String

User Defined Field of type String

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1

(optional)

Date

User Defined Field of type Date

udf_date_2

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

 accounts_receivable_presentment_preference object parameter data
Name
Type
Description
presentment_preference_identifier

(mandatory)

Identifier  

The identifier of the presentment preference to be added on account presentment preference object. The allowed presentment preference identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of presentment preference

name 

(semi-optional)

String

The name of presentment preference

alternative_code

(semi-optional)

String

The alternative code of presentment preference

 accounts_receivable_payment_preference object parameter data

Name

Type

Description

payment_preference_identifier

(mandatory)

Identifier  

The identifier of the payment preference to be added on account payment preference object. The allowed payment preference identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of payment preference

name 

(semi-optional)

String

The name of payment preference

alternative_code 

(semi-optional)

String

The alternative code of payment preference


 job_parameter object data

Name

Type

Description

type_identifier

(mandatory)

Job type identifier

The type of the job. The allowed job type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the job type

name

(semi-optional)

String

The name of the job type

alternative_code

(semi-optional)

String

The alternative code of  the job type

owned_by_group_identifier

(optional)

Group identifier

The group that will be owning the job. The allowed group identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the group

name

(semi-optional)

String

The code of the group

alternative_code

(semi-optional)

String

The alternative code of  the group

Deprecated from CRM.COM R18.0.0

owned_by_business_unit_identifier

(optional)

Business Unit identifier

The business unit that will be owning the job. The allowed business unit identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the business unit

name

(semi-optional)

String

The code of the business unit

code

(semi-optional)

String

The code of the business unit

Available from CRM.COM R18.0.0

billing_terms

(mandatory on conditions)

Billing terms objectThe billing terms of the job. Mandatory and applicable on all fulfillment scopes except NEW_SUBSCRIPTION

requested_subscription_billing_terms

(mandatory on conditions)

Subscription Billing terms object

The billing terms of the job's subscription. Mandatory and applicable if the job is of fulfillment scope NEW_SUBSCRIPTION

requested_subscription_services_set

(optional)

Set of Requested Subscription Service Objects

The services that will be added on the subscription through the Job. Applicable only if the job's fulfillment scope is set to ADD_SUBSCRIPTION_SERVICES, CANCEL_SUBSCRIPTION_SERVICES, NEW_SUBSCRIPTION, SWAP_SUBSCRIPTION_SERVICES

requested_subscription_physical_goods_set

(optional)

Set of Requested Subscription Physical Good Objects The physical goods that will be added on the subscription through the Job. Applicable only if the job's fulfillment scope is set to ADD_SUBSCRIPTION_SERVICES, NEW_SUBSCRIPTION, SWAP_SUBSCRIPTION_INSTALLED_ITEMS

requested_physical_goods_set

(optional)

Set of Requested Physical Good Objects

A list of requested physical goods that are requested by the customer and should be delivered as part of fulfilling the ordered job. The requested physical goods are filtered based on the selected job type. Mandatory physical goods are added automatically

requested_expenses_set

(optional)

Set of Requested Expense Objects

A list of requested expenses that are requested by the customer and should be delivered as part of fulfilling the ordered job. The requested expenses are filtered based on the selected job type. Mandatory expenses are added automatically

requested_activity_services_set

(optional)

Set of Requested Activity Service Objects

A list of one time services that are requested by the customer and should be delivered by a scheduling and performing a specific activity. The requested activity services are defined by specifying the type of the activity and the activity services that should be performed. The activity types are filtered based on the selected job type. The activity services are filtered based on the selected activity type. Mandatory activity types and services are added automatically.

Referred Parameter Objects Data

 billing_terms object parameter data

Name

Type

Description

billing_term_scheme_identifier

(mandatory on conditions)

Billing term scheme identifier

The billing term scheme that will be used on the billing terms. The allowed billing term scheme identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the billing term scheme

code

(semi-optional)

String

The code of the billing term scheme

The billing_term_scheme_identifier is considered as mandatory up until CRM.COM R13.0.0. 

From CRM.COM R14.0.0 the identifier becomes mandatory on conditions, which means that it is mandatory only as long as the subscription's type is not of classification Package. Subscription Types of classification Package provide a default Billing Term scheme and the billing_term_scheme_identifier is not applicable in such cases.

price_plan_identifier

(mandatory on conditions)

Price plan identifier

The price plan that will be used on the billing terms. The allowed price plan identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the price plan

code

(semi-optional)

String

The code of the price plan

The price_plan_identifier is considered as mandatory up until CRM.COM R11.2.0.  From CRM.COM R11.2.0 the identifier becomes mandatory on conditions, which means that it is mandatory only as long as no default price plan is specified in the Billing Term Scheme

From CRM.COM R14.0.0 if the subscription's type is of classification Package which provides a default Price Plan, then that price plan is automatically applied and the price_plan_identifier is not applicable.

Deprecated from CRM.COM R15.0.0

is_auto_renewed

(optional)

Boolean

Defines whether the subscription's billing terms will be auto-renewed or not. If not specified, then the subscription's billing terms are marked as auto-renewed.

Available from CRM.COM R15.0.0

billing_cycle_day

(mandatory on conditions)

Number

The billing cycle day of the billing terms that will be created. Billing cycle day is used to specify up to which day of the month a subscription should be billed. Applicable and mandatory only when Billing Term Scheme specifies an Anniversary Billing. Mandatory if no automations on how the billing cycle day should be set are defined in the Billing Term Scheme. Either a specific billing cycle day or the fact that the billing cycle day is the last day of each month are mandatory in this case.

From CRM.COM R12.0.0, billing_cycle_day becomes mandatory on conditions. In previous releases this is optional.

billing_cycle_last_day_of_month

(mandatory on conditions)

 

Boolean

Defines whether Anniversary Subscriptions will be billed up until the last day of each month. Applicable only for Anniversary subscriptions and only if no automations on how the billing cycle day is set are defined on the Billing Term Scheme. Either a specific billing cycle day or the fact that the billing cycle day is the last day of each month are mandatory in this case.

Available from CRM.COM R12.0.0

agreement_date

(mandatory)

DateThe agreement date of the billing terms that will be created. Billing terms agreement date is used to log the date that the billing terms were agreed and signed by the customer.

billing_frequency

(mandatory on conditions)

String

The billing frequency of the billing terms that will be created. Billing Frequencies are used to denote how often a subscription should be billed.The supported options are the following:

DAILY, WEEKLY, MONTHLY, QUARTERLY, BIANNUAL, ANNUAL, TWOYEARS, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, CUSTOM5

Billing frequency is applicable and mandatory only if the specified billing term scheme is of type "Normal"

From CRM.COM R14.0.0 the billing frequency is not mandatory if the subscription's type is of classification Package that provides a default Billing Frequency (it can be amended though).

binding_information

(optional)

Binding information objectThe binding information of the billing term that will be created. Binding information is used to determine if a customer is contractually committed to receive services from the service provider for a fixed period of time.

concurrent_usage_based_pricing

(mandatory on conditions)

Concurrent usage based pricing objectConcurrent usage based pricing is used to apply pricing and billing rules based on the subscription's concurrent usage which is agreed between the customer and the company providing those service. Concurrent usage based pricing is applicable and mandatory only if it is supported by the billing term schemes

period_billed_in_advance

(mandatory on conditions)

float

The period that the specified service will be billed in advance. Applicable and mandatory only for prepaid and pre-rated billing term scheme. If nothing is specified then the default value will be provided

Icon

Available from CRM.COM R15.0.0

period_billed_in_advance_uot

(mandatory on conditions)

String

The unit of time for the period that the specified service will be billed in advance. Applicable and mandatory only for prepaid and pre-rated billing term scheme. The supported values are DAYS, WEEKS or MONTHS. If nothing is specified then the default value will be provided

Icon

Available from CRM.COM R15.0.0

Referred Objects Response Data

 binding_information object parameter data

Name

Type

Description

binding_period

(mandatory)

String

The binding period which can be one of the following:

WEEK, MONTH, QUARTER, BIANNUAL, ANNUAL, TWOYEARS, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, CUSTOM5

From CRM.COM R14.0.0 the binding period becomes mandatory on conditions, which means that it is mandatory only as long as the subscription's type is not of classification Package which provides a default Binding period (it can be amended though).

From CRM.COM R18.0.0 the binding period is mandatory (Package subscription types are deprecated)

start_date

(mandatory on conditions)

Date

The date that the binding period starts.

From CRM.COM R14.0.0 onwards start_date is mandatory only if no configuration exists in Subscription Billing Term Definitions related to Binding Start Date Automation.

From CRM.COM R18.0.0 the binding period is mandatory (Package subscription types are deprecated)

 concurrent_usage_based_pricing object parameter data

Name

Type

Description

concurrent_usage

(mandatory)

Number

Defines the concurrent usage of services which will be billed based on the specified billing terms

Deprecated from CRM.COM R15.0.0

rate_percentage

(mandatory)

Number

Defines the rate percentage that should be applied on all services which will be billed based on the specified billing terms

Deprecated from CRM.COM R15.0.0

number_of_installed_items

(mandatory on conditions)

Number

The agreed number of installed items that will be concurrently consuming the related subscription's services. Applicable and mandatory if concurrent usage billing method is set to "based on number of installed items".

Available from CRM.COM R15.0.0

concurrent_usage_billing_method

(mandatory)

String

Defines how the subscription will be billed for the agreed concurrent usage. Available options are:

  • BASED_ON_NUMBER_OF_INSTALLED_ITEMS
  • BASED_ON_MAXIMUM_CAPACITY
  • BASED_ON_ACTUAL_CAPACITY

If not specified, then the billing method is considered as "based on number of installed items".

Available from CRM.COM R15.0.0

 subscription_billing_terms object parameter data

Name

Type

Description

price_plan_identifier

(mandatory on conditions)

Price plan identifier

The price plan that will be used on the billing terms. The allowed price plan identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the price plan

code

(semi-optional)

String

The code of the price plan

The price_plan_identifier is considered as mandatory up until CRM.COM R11.2.0.  From CRM.COM R11.2.0 the identifier becomes mandatory on conditions, which means that it is mandatory only as long as no default price plan is specified in the Billing Term Scheme

billing_cycle_day

(optional)

NumberThe billing cycle day of the billing terms that will be created. Billing cycle day is used to specify up to which day of the month a subscription should be billed. If not specified then it defaults to the billing cycle day specified on the billing term scheme

agreement_date

(mandatory)

DateThe agreement date of the billing terms that will be created. Billing terms agreement date is used to log the date that the billing terms were agreed and signed by the customer.

billing_frequency

(mandatory on conditions)

String

The billing frequency of the billing terms that will be created. Billing Frequencies are used to denote how often a subscription should be billed.The supported options are the following:

DAILY, WEEKLY, MONTHLY, QUARTERLY, BIANNUAL, ANNUAL, TWOYEARS, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, CUSTOM5

Billing frequency is applicable and mandatory only if the specified billing term scheme is of type "Normal"

performed_by_user_identifier

(optional)

User identifier

 The user that actually performed the action. This information is applicable only if the job type fulfillment scope is set to New Subscription. The allowed user identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the user

username

(semi-optional)

String

The username of the user

performed_on

(optional)

Date The date that the action was actually performed. This information is applicable only if the job type fulfillment scope is set to New Subscription.

binding_information

(optional)

Binding information objectThe binding information of the billing term that will be created. Binding information is used to determine if a customer is contractually committed to receive services from the service provider for a fixed period of time.

concurrent_usage_based_pricing

(mandatory on conditions)

Concurrent usage based pricing objectConcurrent usage based pricing is used to apply price plan rates based on the number of concurrent usage of the services or the installed items that will be billed, and a rate percentage which is agreed between the customer and the company providing those service. Concurrent usage based pricing is applicable and mandatory only if it is supported by the billing term schemes

Referred Objects Response Data

 binding_information object parameter data

Name

Type

Description

binding_period

(mandatory)

String

The binding period which can be one of the following:

WEEK, MONTH, QUARTER, BIANNUAL, ANNUAL, TWOYEARS, CUSTOM1, CUSTOM2, CUSTOM3, CUSTOM4, CUSTOM5

From CRM.COM R14.0.0 the binding period becomes mandatory on conditions, which means that it is mandatory only as long as the subscription's type is not of classification Package which provides a default Binding period (it can be amended though).

From CRM.COM R18.0.0 the binding period is mandatory (Package subscription types are deprecated)

start_date

(mandatory on conditions)

Date

The date that the binding period starts.

From CRM.COM R14.0.0 onwards start_date is mandatory only if no configuration exists in Subscription Billing Term Definitions related to Binding Start Date Automation.

From CRM.COM R18.0.0 the binding period is mandatory (Package subscription types are deprecated)

 concurrent_usage_based_pricing object parameter data

Name

Type

Description

concurrent_usage

(mandatory)

Number

Defines the concurrent usage of services which will be billed based on the specified billing terms

Deprecated from CRM.COM R15.0.0

rate_percentage

(mandatory)

Number

Defines the rate percentage that should be applied on all services which will be billed based on the specified billing terms

Deprecated from CRM.COM R15.0.0

number_of_installed_items

(mandatory on conditions)

Number

The agreed number of installed items that will be concurrently consuming the related subscription's services. Applicable and mandatory if concurrent usage billing method is set to "based on number of installed items".

Available from CRM.COM R15.0.0

concurrent_usage_billing_method

(mandatory)

String

Defines how the subscription will be billed for the agreed concurrent usage. Available options are:

  • BASED_ON_NUMBER_OF_INSTALLED_ITEMS
  • BASED_ON_MAXIMUM_CAPACITY
  • BASED_ON_ACTUAL_CAPACITY

If not specified, then the billing method is considered as "based on number of installed items".

Available from CRM.COM R15.0.0

 job_requested_subscription_service object parameter data
Name
Type
Description
service_identifier

(mandatory)

Service identifier  

The identifier of the subscription service. Only products classified as services are retrieved. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

swap_service_identifier

(mandatory)

Service identifier

 

The service of the subscription service which will swap the existing subscription service. This is applicable and mandatory only if the job type's fulfillment scope is set to Swap Subscription Services. Only products classified as services are retrieved.

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

Available from CRM.COM R9.0.0

period_billed_in_advance

(mandatory on conditions)

Integer

The period that the specified service will be billed in advance. Applicable and mandatory only for prepaid and pre-rated services.

Available from CRM.COM R14.0.0

period_billed_in_advance_uot

(mandatory on conditions)

String

The unit of time for the period that the specified service will be billed in advance. Applicable and mandatory only for prepaid and pre-rated services. The supported values are DAYS, WEEKS or MONTHS

Available from CRM.COM R14.0.0

provisioning_distribution_set

(optional)

Set of Subscription Service Distribution objects The distribution of the requested subscription services

components_set

(mandatory on conditions)

Set of Subscription Service Components objects

The service components that should be composing the specified service. This information is available and mandatory if the specified service is a flexible product bundle

Referred Parameter Objects Data

 subscription_service_distribution object parameter data
Name
Type
Description

provisioning_distributor_identifier

(mandatory)

Provisioning distributor identifier  

The identifier of the provisioning distributor. The allowed provisioning distributor identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the provisioning distributor

name

(semi-optional)

String

The name of the provisioning distributor

alternative_code

(semi-optional)

String

The alternative code of  the provisioning distributor

 subscription_service_component object parameter data
Name
Type
Description
service_identifier

(mandatory)

Service identifier  

The identifier of the service. Only products classified as services, which are also included in the product components of the related flexible product bundle are retrieved. The allowed service identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

 job_requested_subscription_physical_good object parameter data

Name

Type

Description

product_identifier
(mandatory based on conditions)

Product Identifier

The identifier of the physical good related with the requested subscription physical good. This is applicable and mandatory if the job type's fulfillment scope is not set to Swap Subscription Installed Items. The allowed physical good product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

Job Type fulfillment scope Swap Subscription Installed Items is available from CRM.COM R9.0.0

installed_item_identifier

(mandatory based on conditions)

Installed Item IdentifierThe identifier of the installed item which is requested to be swapped with another installed item. This is applicable and mandatory only if the job type fulfillment scope is set to Swap Subscription Installed Items. The allowed installed item identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the installed item

serial_number

(semi-optional)

String

The serial number of the installed item

alternative_code

(semi-optional)

String

The alternative code of  a installed item

Available from CRM.COM R9.0.0

quantity
(optional)

NumberThe quantity of the requested subscription physical good. If not specified then it is set to 1

warranty_coverage_reason_identifier

(mandatory based on conditions)

Warranty Coverage Reason Identifier

The Warranty Coverage Reason which indicates if the requested to be swapped subscription installed item's warranty will eventually cover the replacement or not. This is applicable and mandatory in Swap Subscription Installed Items jobs and only if the requested to be swapped installed item is still under warranty.

Name

Type

Description

id

(semi-optional)

String

The ID of the warranty coverage reason

name

(semi-optional)

String

The name of the warranty coverage reason

alternative_code

(semi-optional)

String

The alternative code of the warranty coverage reason

Available from CRM.COM R9.0.0

notes

(optional)

String

The notes of the job requested subscription physical goods

Available form CRM.COM R12.3.0

provisioning_distribution_set

(optional)

Set of Subscription Physical Good Provisioning Distribution objectsThe distribution of the requested subscription physical good

Referred Parameter Objects Data

 subscription_physical_good_distribution object parameter data
Name
Type
Description

provisioning_distributor_identifier

(mandatory)

Provisioning distributor identifier  

The identifier of the provisioning distributor. The allowed provisioning distributor identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the provisioning distributor

name

(semi-optional)

String

The name of the provisioning distributor

alternative_code

(semi-optional)

String

The alternative code of  the provisioning distributor

 job_requested_physical_good object parameter data

Name

Type

Description

product_identifier
(mandatory)

Product Identifier

The identifier of the physical good related with the requested physical good. The allowed physical good product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

quantity
(optional)

NumberThe quantity of the requested physical good. If not specified then it is set to 1

notes

(optional)

String

The notes of the retrieved job requested physical goods

Available form CRM.COM R12.3.0

components_set

(applicable on conditions)

Set of Product Components objects

The physical good components that should be composing the specified physical good. This information is applicable only if the specified physical good is classified as a flexible product bundle

Available form CRM.COM R12.3.0

Referred Parameter Objects Data

 product component object parameter data
Name
Type
Description
product_identifier

(mandatory)

Product identifier  

The identifier of the product component. Only products that are allowed to be added on the related flexible product bundle are retrieved. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

 job_requested_expense object parameter data
Name
Type
Description
product_identifier

(mandatory)

Identifier  

The identifier of the product related with the job requested expense. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product


 job_requested_activity_service object parameter data

Name

Type

Description

activity_type_identifier

(mandatory)

Activity Type Identifier

The identifier of the activity type that will be created in order to deliver the requested activity service. The activity service is filtered based on the services allowed by the specified activity type. The allowed activity type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the activity type

name

(semi-optional)

String

The code of the activity type

alternative_code

(semi-optional)

String

The alternative code of  the activity type

product_identifier
(mandatory)

Product Identifier

The identifier of the product related with the requested activity service. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

 job_requested_physical_good object parameter data

Name

Type

Description

product_identifier
(mandatory)

Product Identifier

The identifier of the physical good related with the requested physical good. The allowed physical good product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

quantity
(optional)

NumberThe quantity of the requested physical good. If not specified then it is set to 1

notes

(optional)

String

The notes of the retrieved job requested physical goods

Available form CRM.COM R12.3.0

components_set

(applicable on conditions)

Set of Product Components objects

The physical good components that should be composing the specified physical good. This information is applicable only if the specified physical good is classified as a flexible product bundle

Available form CRM.COM R12.3.0

Referred Parameter Objects Data

 product component object parameter data
Name
Type
Description
product_identifier

(mandatory)

Product identifier  

The identifier of the product component. Only products that are allowed to be added on the related flexible product bundle are retrieved. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

 job_requested_activity_service object parameter data

Name

Type

Description

activity_type_identifier

(mandatory)

Activity Type Identifier

The identifier of the activity type that will be created in order to deliver the requested activity service. The activity service is filtered based on the services allowed by the specified activity type. The allowed activity type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the activity type

name

(semi-optional)

String

The code of the activity type

alternative_code

(semi-optional)

String

The alternative code of  the activity type

product_identifier
(mandatory)

Product Identifier

The identifier of the product related with the requested activity service. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

 job_expense object parameter data
Name
Type
Description
product_identifier

(mandatory)

Identifier  

The identifier of the product related with the job expense. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product


 job_requested_subscription_physical_good object parameter data

Name

Type

Description

product_identifier
(mandatory based on conditions)

Product Identifier

The identifier of the physical good related with the requested subscription physical good. This is applicable and mandatory if the job type's fulfillment scope is not set to Swap Subscription Installed Items. The allowed physical good product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

Job Type fulfillment scope Swap Subscription Installed Items is available from CRM.COM R9.0.0

installed_item_identifier

(mandatory based on conditions)

Installed Item IdentifierThe identifier of the installed item which is requested to be swapped with another installed item. This is applicable and mandatory only if the job type fulfillment scope is set to Swap Subscription Installed Items. The allowed installed item identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the installed item

serial_number

(semi-optional)

String

The serial number of the installed item

alternative_code

(semi-optional)

String

The alternative code of  a installed item

Available from CRM.COM R9.0.0

quantity
(optional)

NumberThe quantity of the requested subscription physical good. If not specified then it is set to 1

warranty_coverage_reason_identifier

(mandatory based on conditions)

Warranty Coverage Reason Identifier

The Warranty Coverage Reason which indicates if the requested to be swapped subscription installed item's warranty will eventually cover the replacement or not. This is applicable and mandatory in Swap Subscription Installed Items jobs and only if the requested to be swapped installed item is still under warranty.

Name

Type

Description

id

(semi-optional)

String

The ID of the warranty coverage reason

name

(semi-optional)

String

The name of the warranty coverage reason

alternative_code

(semi-optional)

String

The alternative code of the warranty coverage reason

Available from CRM.COM R9.0.0

notes

(optional)

String

The notes of the job requested subscription physical goods

Available form CRM.COM R12.3.0

provisioning_distribution_set

(optional)

Set of Subscription Physical Good Provisioning Distribution objectsThe distribution of the requested subscription physical good

Referred Parameter Objects Data

 subscription_physical_good_distribution object parameter data
Name
Type
Description

provisioning_distributor_identifier

(mandatory)

Provisioning distributor identifier  

The identifier of the provisioning distributor. The allowed provisioning distributor identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the provisioning distributor

name

(semi-optional)

String

The name of the provisioning distributor

alternative_code

(semi-optional)

String

The alternative code of  the provisioning distributor

 job_requested_subscription_service object parameter data
Name
Type
Description
service_identifier

(mandatory)

Service identifier  

The identifier of the subscription service. Only products classified as services are retrieved. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

swap_service_identifier

(mandatory)

Service identifier

 

The service of the subscription service which will swap the existing subscription service. This is applicable and mandatory only if the job type's fulfillment scope is set to Swap Subscription Services. Only products classified as services are retrieved.

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

Available from CRM.COM R9.0.0

period_billed_in_advance

(mandatory on conditions)

Integer

The period that the specified service will be billed in advance. Applicable and mandatory only for prepaid and pre-rated services.

Available from CRM.COM R14.0.0

period_billed_in_advance_uot

(mandatory on conditions)

String

The unit of time for the period that the specified service will be billed in advance. Applicable and mandatory only for prepaid and pre-rated services. The supported values are DAYS, WEEKS or MONTHS

Available from CRM.COM R14.0.0

provisioning_distribution_set

(optional)

Set of Subscription Service Distribution objects The distribution of the requested subscription services

components_set

(mandatory on conditions)

Set of Subscription Service Components objects

The service components that should be composing the specified service. This information is available and mandatory if the specified service is a flexible product bundle

Referred Parameter Objects Data

 subscription_service_distribution object parameter data
Name
Type
Description

provisioning_distributor_identifier

(mandatory)

Provisioning distributor identifier  

The identifier of the provisioning distributor. The allowed provisioning distributor identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the provisioning distributor

name

(semi-optional)

String

The name of the provisioning distributor

alternative_code

(semi-optional)

String

The alternative code of  the provisioning distributor

 subscription_service_component object parameter data
Name
Type
Description
service_identifier

(mandatory)

Service identifier  

The identifier of the service. Only products classified as services, which are also included in the product components of the related flexible product bundle are retrieved. The allowed service identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

Response Data

Name

Type

Description

job_ratesCalculated Job Rates Object

The job rates are the rates that will be charged based on the job's requested physical goods, activity services and expenses.

upcoming_subscription_ratesCalculated Upcoming Subscription Rates Object

The upcoming subscription rates are the rates that the job's related subscription will be charged for the next (upcoming) billing period, which in some cases might be prorated. Applicable only for jobs with one of the following fulfillment scopes:

  • NEW_SUBSCRIPTION
  • ACTIVATE_SUBSCRIPTION
  • CANCEL_SUBSCRIPTION
  • ADD_SUBSCRIPTION_SERVICES
  • CANCEL_SUBSCRIPTION_SERVICES
  • SWAP_SUBSCRIPTION_SERVICES

additional_subscription_period_rates_set

Set of Calculated Subscription Additional Period Rates Object

The rates for the additional billing periods of the job's related subscription that will occur after the upcoming billing period.

Applicable only for jobs with one of the following fulfillment scopes:

  • NEW_SUBSCRIPTION
  • ACTIVATE_SUBSCRIPTION
  • CANCEL_SUBSCRIPTION
  • ADD_SUBSCRIPTION_SERVICES
  • CANCEL_SUBSCRIPTION_SERVICES
  • SWAP_SUBSCRIPTION_SERVICES

Referred Objects Response Data

 calculated job rates object response data

Name

Type

Description

total_amount

Number

The total amount that the job is rated for

total_discount_amountNumber

The total discount amount

total_vat_amountNumber

The total VAT amount

Available from CRM.COM R12.0.0

total_tax_amountNumber

The total Tax amount

Available from CRM.COM R12.0.0

currencyCurrency Object

The currency related to the rates

Available from CRM.COM R10.0.0

job_product_rates_setSet of job product ratesThe rates that are applied on each job requested product

Referred Objects Response Data

 currency object response data

Name

Type

Description

id

String

The ID of the retrieved currency

code

String

The code of the retrieved currency

prefix_symbolStringThe prefix symbol for the specified currency

suffix_symbol

StringThe suffix symbol for the specified currency
life_cycle_stateString

The life cycle state for the specified currency, which can be EFFECTIVE or NOT EFFECTIVE

Available from CRM.COM R14.0.0

integer_part_nameStringThe integer part name for the specified currency
decimal_part_nameStringThe decimal part name for the specified currency

 job product rates object response data

Name

Type

Description

total_amount

Number

The total amount that the service is rated for

total_discount_amountNumber

The total discount amount

currencyCurrency Object

The currency related to the rates

Available from CRM.COM R10.0.0

job_productProduct ObjectThe job product that was rated

Referred Objects Response Data

 currency object response data

Name

Type

Description

id

String

The ID of the retrieved currency

code

String

The code of the retrieved currency

prefix_symbolStringThe prefix symbol for the specified currency

suffix_symbol

StringThe suffix symbol for the specified currency
life_cycle_stateString

The life cycle state for the specified currency, which can be EFFECTIVE or NOT EFFECTIVE

Available from CRM.COM R14.0.0

integer_part_nameStringThe integer part name for the specified currency
decimal_part_nameStringThe decimal part name for the specified currency

 product object response data
Name
Type
Description
IdStringThe ID of the product
codeStringThe code of product

alternative_code

String

The alternative code of product

description

String

The description of product

priority_levelInteger

The priority level of the product

Available from CRM.COM R12.3.0

global_rateGlobal Rate Object

The global rate of the retrieved product

Available from CRM.COM R15.0.0

product_typeProduct type objectThe type of the product

Referred Objects Response Data

 product_type object data response
NameType Description
IdStringThe ID of the retrieved product type
nameStringThe Name of the retrieved product type
alternative_codeStringThe Alternative Code of the retrieved product type
descriptionStringThe Description of the retrieved product type
classificationStringThe Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS
service_typeStringThe Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE
physical_good_typeStringThe physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE
composition_methodStringThe Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE
used_for_provisioningBooleanThe flag shows if the retrieved product type is used for provisioning
udr_typeUsage Detail Record TypeThe UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE
meter_reading_typeMeter Reading Type

The Meter Reading type related with the product type. This is applicable only for traceable physical goods

Available from CRM.COM R14.0.0

Referred Objects Response Data

 usage_detail_record_type object data response
NameType Description
IdStringThe ID of the retrieved usage detail record type
nameStringThe Name of the retrieved usage detail record type
alternative_codeStringThe Alternative Code of the retrieved usage detail record type
descriptionStringThe Description of the retrieved usage detail record type
unit_of_measurementStringThe Unit of measurement of the retrieved usage detail record type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 

 meter_reading_type object data response
NameType Description
IdStringThe ID of the retrieved meter reading type
nameStringThe Name of the retrieved meter reading type
alternative_codeStringThe Alternative Code of the retrieved meter reading type
classificationStringThe Classification of the retrieved meter reading type
descriptionStringThe Description of the retrieved meter reading type
unit_of_measurementStringThe Unit of measurement of the retrieved meter reading type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 global rate object response data

Name

Type

Description

id

String

The ID of the retrieved rate

rate_model

String

The price plan rate model which can be one of the following:

  • QUANTITYBASED
  • QUANTITYANDPERIODBASED
  • BILLABLEPERIODBASED
  • DURATIONBASED
  • FLATFEEBASED
  • USAGEBASED

From CRM.COM R17.0.0, QUANTITYANDMATURITYBASED is renamed to QUANTITYANDPERIODBASED

global_base_amountNumber

The base price of the product in the Global Price Plan

base_rate_applied_perString

The value for 'Base Rate Applied per'

Available when the rate model is 'Quantity & Quantity Based' and it is a selection between

  • Period
  • Period_Item
uotString

The 'UOT' applicable for the rate

  • Seconds
  • Minute
  • Hour
  • Day
  • Week
  • Month
  • Year

Available for one-time services

time_periodTime Period Object

 The period and unit of time for which the base amount is applicable for. This is available only on termed services rates.

uomString

The 'UOM' applicable for the rate

Available when the product type is of Usage Service Classification 

Referred Objects Response Data

 period object response data

Name

Type

Description

time_period_valueNumber

The time period value

time_period_uot

String

The time period unit of time. The supported values are the following:

MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

 calculated upcoming rates object response data

Name

Type

Description

total_amount

Number

The total amount that the subscription is rated for

total_amount_of_parentNumber

The total rated amount that should be paid by the parent account. Applicable only if the subscription is owned by a member account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated

total_amount_of_memberNumber

The total rated amount that should be paid by the member account. Applicable only if the subscription is owned by a member account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated

total_discount_amountNumber

The total discount amount

total_discount_amount_of_parentNumber

The discount amount that the parent account will benefit from. Applicable only if the subscription is owned by a member account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated


total_discount_amount_of_memberNumber

The discount amount that will be given to the member account. Applicable only if the subscription is owned by a member account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated

total_vat_amountNumber

The total VAT amount

Available from CRM.COM R12.0.0

total_vat_amount_of_parentNumber

The VAT amount that the parent account will be rated for. Applicable only if the subscription is owned by a member account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated

total_vat_amount_of_memberNumber

The VAT amount that the member account will be rated for. Applicable only if the subscription is owned by a member account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated

total_tax_amountNumber

The total Tax amount

Available from CRM.COM R12.0.0

total_tax_amount_of_parentNumber

The Tax amount that the parent account will be rated for. Applicable only if the subscription is owned by a member account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated


total_tax_amount_of_memberNumber

The Tax amount that the member account will be rated for. Applicable only if the subscription is owned by a member account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated

amount_to_be_paid

NumberThe amount that should be paid at the time of calculation, considering any balance brought forward
amount_to_be_paid_by_parent 

The amount that should be paid at the time of calculation by the parent account. Applicable only if the account owner is a member of a group which is funded by another account

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated


amount_to_be_paid_by_memberNumber

The amount that should be paid at the time of calculation by the member account. Applicable only if the account owner is a member of a group

Available from CRM.COM R13.0.0

Starting from CRM.COM R14.0.0, this parameter will be deprecated

as_of_dateDateThe date that was used to rate the services
currencyCurrency Object

The currency related to the rates

Available from CRM.COM R10.0.0

service_rates_setSet of upcoming service ratesThe rates that are applied on each subscription service

Referred Objects Response Data

 currency object response data

Name

Type

Description

id

String

The ID of the retrieved currency

code

String

The code of the retrieved currency

prefix_symbolStringThe prefix symbol for the specified currency

suffix_symbol

StringThe suffix symbol for the specified currency
life_cycle_stateString

The life cycle state for the specified currency, which can be EFFECTIVE or NOT EFFECTIVE

Available from CRM.COM R14.0.0

integer_part_nameStringThe integer part name for the specified currency
decimal_part_nameStringThe decimal part name for the specified currency

 service rates object response data

Name

Type

Description

total_amount

Number

The total amount that the service is rated for

total_discount_amountNumber

The total discount amount

from_dateDateThe start of the time period, that the calculated rate will be covering, for the specific service
to_dateDateThe end of the time period, that the calculated rate will be covering, for the specific service
currencyCurrency Object

The currency related to the rates

Available from CRM.COM R10.0.0

serviceProduct ObjectThe service that was rated

Referred Objects Response Data

 currency object response data

Name

Type

Description

id

String

The ID of the retrieved currency

code

String

The code of the retrieved currency

prefix_symbolStringThe prefix symbol for the specified currency

suffix_symbol

StringThe suffix symbol for the specified currency
life_cycle_stateString

The life cycle state for the specified currency, which can be EFFECTIVE or NOT EFFECTIVE

Available from CRM.COM R14.0.0

integer_part_nameStringThe integer part name for the specified currency
decimal_part_nameStringThe decimal part name for the specified currency

 product object response data
Name
Type
Description
IdStringThe ID of the product
codeStringThe code of product

alternative_code

String

The alternative code of product

description

String

The description of product

priority_levelInteger

The priority level of the product

Available from CRM.COM R12.3.0

global_rateGlobal Rate Object

The global rate of the retrieved product

Available from CRM.COM R15.0.0

product_typeProduct type objectThe type of the product

Referred Objects Response Data

 product_type object data response
NameType Description
IdStringThe ID of the retrieved product type
nameStringThe Name of the retrieved product type
alternative_codeStringThe Alternative Code of the retrieved product type
descriptionStringThe Description of the retrieved product type
classificationStringThe Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS
service_typeStringThe Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE
physical_good_typeStringThe physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE
composition_methodStringThe Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE
used_for_provisioningBooleanThe flag shows if the retrieved product type is used for provisioning
udr_typeUsage Detail Record TypeThe UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE
meter_reading_typeMeter Reading Type

The Meter Reading type related with the product type. This is applicable only for traceable physical goods

Available from CRM.COM R14.0.0

Referred Objects Response Data

 usage_detail_record_type object data response
NameType Description
IdStringThe ID of the retrieved usage detail record type
nameStringThe Name of the retrieved usage detail record type
alternative_codeStringThe Alternative Code of the retrieved usage detail record type
descriptionStringThe Description of the retrieved usage detail record type
unit_of_measurementStringThe Unit of measurement of the retrieved usage detail record type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 

 meter_reading_type object data response
NameType Description
IdStringThe ID of the retrieved meter reading type
nameStringThe Name of the retrieved meter reading type
alternative_codeStringThe Alternative Code of the retrieved meter reading type
classificationStringThe Classification of the retrieved meter reading type
descriptionStringThe Description of the retrieved meter reading type
unit_of_measurementStringThe Unit of measurement of the retrieved meter reading type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 global rate object response data

Name

Type

Description

id

String

The ID of the retrieved rate

rate_model

String

The price plan rate model which can be one of the following:

  • QUANTITYBASED
  • QUANTITYANDPERIODBASED
  • BILLABLEPERIODBASED
  • DURATIONBASED
  • FLATFEEBASED
  • USAGEBASED

From CRM.COM R17.0.0, QUANTITYANDMATURITYBASED is renamed to QUANTITYANDPERIODBASED

global_base_amountNumber

The base price of the product in the Global Price Plan

base_rate_applied_perString

The value for 'Base Rate Applied per'

Available when the rate model is 'Quantity & Quantity Based' and it is a selection between

  • Period
  • Period_Item
uotString

The 'UOT' applicable for the rate

  • Seconds
  • Minute
  • Hour
  • Day
  • Week
  • Month
  • Year

Available for one-time services

time_periodTime Period Object

 The period and unit of time for which the base amount is applicable for. This is available only on termed services rates.

uomString

The 'UOM' applicable for the rate

Available when the product type is of Usage Service Classification 

Referred Objects Response Data

 period object response data

Name

Type

Description

time_period_valueNumber

The time period value

time_period_uot

String

The time period unit of time. The supported values are the following:

MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

 service rates object response data

Name

Type

Description

total_amount

Number

The total amount that the service is rated for

total_discount_amountNumber

The total discount amount

currencyCurrency Object

The currency related to the rates

Available from CRM.COM R10.0.0

time_periodTime Period ObjectThe period (number & UOT) that the calculated rate will be covering, for the specific service
serviceProduct ObjectThe service that was rated

Referred Objects Response Data

 currency object response data

Name

Type

Description

id

String

The ID of the retrieved currency

code

String

The code of the retrieved currency

prefix_symbolStringThe prefix symbol for the specified currency

suffix_symbol

StringThe suffix symbol for the specified currency
life_cycle_stateString

The life cycle state for the specified currency, which can be EFFECTIVE or NOT EFFECTIVE

Available from CRM.COM R14.0.0

integer_part_nameStringThe integer part name for the specified currency
decimal_part_nameStringThe decimal part name for the specified currency

 period object response data

Name

Type

Description

time_period_valueNumber

The time period value

time_period_uot

String

The time period unit of time. The supported values are the following:

MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

 product object response data
Name
Type
Description
IdStringThe ID of the product
codeStringThe code of product

alternative_code

String

The alternative code of product

description

String

The description of product

priority_levelInteger

The priority level of the product

Available from CRM.COM R12.3.0

global_rateGlobal Rate Object

The global rate of the retrieved product

Available from CRM.COM R15.0.0

product_typeProduct type objectThe type of the product

Referred Objects Response Data

 product_type object data response
NameType Description
IdStringThe ID of the retrieved product type
nameStringThe Name of the retrieved product type
alternative_codeStringThe Alternative Code of the retrieved product type
descriptionStringThe Description of the retrieved product type
classificationStringThe Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS
service_typeStringThe Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE
physical_good_typeStringThe physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE
composition_methodStringThe Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE
used_for_provisioningBooleanThe flag shows if the retrieved product type is used for provisioning
udr_typeUsage Detail Record TypeThe UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE
meter_reading_typeMeter Reading Type

The Meter Reading type related with the product type. This is applicable only for traceable physical goods

Available from CRM.COM R14.0.0

Referred Objects Response Data

 usage_detail_record_type object data response
NameType Description
IdStringThe ID of the retrieved usage detail record type
nameStringThe Name of the retrieved usage detail record type
alternative_codeStringThe Alternative Code of the retrieved usage detail record type
descriptionStringThe Description of the retrieved usage detail record type
unit_of_measurementStringThe Unit of measurement of the retrieved usage detail record type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 

 meter_reading_type object data response
NameType Description
IdStringThe ID of the retrieved meter reading type
nameStringThe Name of the retrieved meter reading type
alternative_codeStringThe Alternative Code of the retrieved meter reading type
classificationStringThe Classification of the retrieved meter reading type
descriptionStringThe Description of the retrieved meter reading type
unit_of_measurementStringThe Unit of measurement of the retrieved meter reading type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 global rate object response data

Name

Type

Description

id

String

The ID of the retrieved rate

rate_model

String

The price plan rate model which can be one of the following:

  • QUANTITYBASED
  • QUANTITYANDPERIODBASED
  • BILLABLEPERIODBASED
  • DURATIONBASED
  • FLATFEEBASED
  • USAGEBASED

From CRM.COM R17.0.0, QUANTITYANDMATURITYBASED is renamed to QUANTITYANDPERIODBASED

global_base_amountNumber

The base price of the product in the Global Price Plan

base_rate_applied_perString

The value for 'Base Rate Applied per'

Available when the rate model is 'Quantity & Quantity Based' and it is a selection between

  • Period
  • Period_Item
uotString

The 'UOT' applicable for the rate

  • Seconds
  • Minute
  • Hour
  • Day
  • Week
  • Month
  • Year

Available for one-time services

time_periodTime Period Object

 The period and unit of time for which the base amount is applicable for. This is available only on termed services rates.

uomString

The 'UOM' applicable for the rate

Available when the product type is of Usage Service Classification 

Referred Objects Response Data

 period object response data

Name

Type

Description

time_period_valueNumber

The time period value

time_period_uot

String

The time period unit of time. The supported values are the following:

MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

Examples

 Example 1

HTTP Method: POST

Request:

Body:

{
  "token": "637583768",
  "accounts_receivable_identifier": {
    "number": "ACR001143"
  },
  "job": {
    "type_identifier": {
      "name": "Installation Job"
    },
    "owned_by_group_identifier": {
      "name": "Main Group"
    },
    "billing_terms": {
      "billing_term_scheme_identifier": {
        "code": "PJBTS"
      },
      "price_plan_identifier": {
        "code": "BPP0614"
      },
      "agreement_date": "2016-07-04T17:11:00"
    },
    "requested_physical_goods_set": [
      {
        "product_identifier": {
          "code": "Antenna 1"
        },
        "quantity": 31
      },
      {
        "product_identifier": {
          "code": "Smartcard 1"
        }
      }
    ],
    "requested_expenses_set": [
      {
        "product_identifier": {
          "code": "Expence 1"
        }
      },
      {
        "product_identifier": {
          "code": "Expence 2"
        }
      }
    ]
  }
}

 

Response:

 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "job_rates": {
      "total_amount": 264.6,
      "amount_to_be_paid": 999.3,
      "total_discount_amount": 491.4,
      "service_rates_set": [
        {
          "total_amount": 7.7,
          "service": {
            "product_type": {
              "service_type": "EXPENSE",
              "physical_good_type": null,
              "used_for_provisioning": false,
              "classification": "SERVICES",
              "composition_method": "FLAT",
              "id": "67FA013211E348C58F7CD27F8399AADE",
              "name": "Expense Type",
              "description": null,
              "alternative_code": "ET"
            },
            "id": "2855ACFCB7D94ED69A5FC3B9557EB6D6",
            "description": "Expence 1",
            "code": "Expence 1",
            "alternative_code": "exp1"
          },
          "total_discount_amount": 14.3
        },
        {
          "total_amount": 3.5,
          "service": {
            "product_type": {
              "service_type": null,
              "physical_good_type": "TRACEABLE",
              "used_for_provisioning": false,
              "classification": "PHYSICALGOODS",
              "composition_method": "FLAT",
              "id": "6173FC99331504AD1ACB5D697D54DA8C",
              "name": "Smartcards",
              "description": "Smartcards",
              "alternative_code": "SC"
            },
            "id": "EAC7A30429364176616CFEF5DF709941",
            "description": "Smartcard 1",
            "code": "Smartcard 1",
            "alternative_code": "SC1"
          },
          "total_discount_amount": 6.5
        },
        {
          "total_amount": 20.3,
          "service": {
            "product_type": {
              "service_type": null,
              "physical_good_type": "NONTRACEABLE",
              "used_for_provisioning": false,
              "classification": "PHYSICALGOODS",
              "composition_method": "FLAT",
              "id": "0F94B51F175F06A475EB2948B4030074",
              "name": "Accessories",
              "description": "A type which is used for accessories physical goods",
              "alternative_code": "005"
            },
            "id": "70FFDF2B2A74466DD7D0D5246ED1DD2D",
            "description": "Antenna v1",
            "code": "Antenna 1",
            "alternative_code": "ANT1"
          },
          "total_discount_amount": 37.7
        },
        {
          "total_amount": 233.1,
          "service": {
            "product_type": {
              "service_type": "EXPENSE",
              "physical_good_type": null,
              "used_for_provisioning": false,
              "classification": "SERVICES",
              "composition_method": "FLAT",
              "id": "67FA013211E348C58F7CD27F8399AADE",
              "name": "Expense Type",
              "description": null,
              "alternative_code": "ET"
            },
            "id": "81D5550CF6004CE0B206A371F9F3A18A",
            "description": "Expence 2",
            "code": "Expence 2",
            "alternative_code": "exp2"
          },
          "total_discount_amount": 432.9
        }
      ]
    }
  }
}
 Example 2

HTTP Method: POST

Request:

Body:

{
"token":"1110930787",
"accounts_receivable_identifier":{"number":"ACR001181"},
"job":
{
"type_identifier": {
      "name": "New Subscription MA"
    },
    
    "requested_subscription_billing_terms": 
    {
      "price_plan_identifier": 
      {
        "code": "BPP0614"
      },
      "agreement_date": "2016-07-25T11:00:00",
      "concurrent_usage_based_pricing":
      {
          "concurrent_usage":1,
          "rate_percentage":100
      }
    },
    "requested_physical_goods_set": 
    [
      {
        "product_identifier": {
          "code": "Smartcard 1"
        },
        "quantity": 3
      },
      {
        "product_identifier": {
          "code": "Smartcard 2"
        }
      }
    ],
    "requested_subscription_services_set": 
    [
        {
            "service_identifier":
            {
                "code":"Gold"
            }
        },
        {
            "service_identifier":
            {
                "code":"Movies 1"
            }
        }
    ],
    "requested_expenses_set": [
      {
        "product_identifier": {
          "code": "Expence 1"
        }
      },
      {
        "product_identifier": {
          "code": "Expence 2"
        }
      }
    ]
  }
}

 

Response:

 {
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "upcoming_rates": {
      "total_amount": 10.49,
      "as_of_date": "Tue Jul 26 00:00:00 EEST 2016",
      "amount_to_be_paid": 10.49,
      "total_discount_amount": 0,
      "service_rates_set": [
        {
          "to_date": "Thu Aug 04 00:00:00 EEST 2016",
          "from_date": "Mon Jul 25 00:00:00 EEST 2016",
          "total_amount": 0.81,
          "service": {
            "product_type": {
              "service_type": "TERMED",
              "physical_good_type": null,
              "used_for_provisioning": true,
              "classification": "SERVICES",
              "composition_method": "FLAT",
              "id": "600438B64B0F05AB3D020C902674949F",
              "name": "Subscription services",
              "description": "Subscription services",
              "alternative_code": "SS"
            },
            "id": "5B3841D63F6CAE5973366EEAFF3444E3",
            "description": "Movies 1",
            "code": "Movies 1",
            "alternative_code": "M1"
          },
          "total_discount_amount": 0
        },
        {
          "to_date": "Wed Aug 24 00:00:00 EEST 2016",
          "from_date": "Mon Jul 25 00:00:00 EEST 2016",
          "total_amount": 9.68,
          "service": {
            "product_type": {
              "service_type": "TERMED",
              "physical_good_type": null,
              "used_for_provisioning": true,
              "classification": "SERVICES",
              "composition_method": "FLAT",
              "id": "BC954969D3172372D498D3BB2BA590A0",
              "name": "Subscription Packages",
              "description": "Subscription main packages",
              "alternative_code": "SP"
            },
            "id": "6DF884D00A643D9E5E3E95A5ABCCFDF8",
            "description": "Gold Premium Package",
            "code": "Gold",
            "alternative_code": "GPP"
          },
          "total_discount_amount": 0
        }
      ]
    },
    "additional_period_rates_set": [
      {
        "total_amount": 0.81,
        "period_number": 1,
        "as_of_date": "Fri Aug 05 00:00:00 EEST 2016",
        "total_discount_amount": 0,
        "service_rates_set": [
          {
            "to_date": "Sun Aug 14 00:00:00 EEST 2016",
            "time_period": {
              "time_period_value": null,
              "time_period_uot": null
            },
            "from_date": "Thu Aug 04 00:00:00 EEST 2016",
            "total_amount": 0.81,
            "service": {
              "product_type": {
                "service_type": "TERMED",
                "physical_good_type": null,
                "used_for_provisioning": true,
                "classification": "SERVICES",
                "composition_method": "FLAT",
                "id": "600438B64B0F05AB3D020C902674949F",
                "name": "Subscription services",
                "description": "Subscription services",
                "alternative_code": "SS"
              },
              "id": "5B3841D63F6CAE5973366EEAFF3444E3",
              "description": "Movies 1",
              "code": "Movies 1",
              "alternative_code": "M1"
            },
            "total_discount_amount": 0
          }
        ]
      },
      {
        "total_amount": 0.81,
        "period_number": 2,
        "as_of_date": "Mon Aug 15 00:00:00 EEST 2016",
        "total_discount_amount": 0,
        "service_rates_set": [
          {
            "to_date": "Wed Aug 24 00:00:00 EEST 2016",
            "time_period": {
              "time_period_value": null,
              "time_period_uot": null
            },
            "from_date": "Sun Aug 14 00:00:00 EEST 2016",
            "total_amount": 0.81,
            "service": {
              "product_type": {
                "service_type": "TERMED",
                "physical_good_type": null,
                "used_for_provisioning": true,
                "classification": "SERVICES",
                "composition_method": "FLAT",
                "id": "600438B64B0F05AB3D020C902674949F",
                "name": "Subscription services",
                "description": "Subscription services",
                "alternative_code": "SS"
              },
              "id": "5B3841D63F6CAE5973366EEAFF3444E3",
              "description": "Movies 1",
              "code": "Movies 1",
              "alternative_code": "M1"
            },
            "total_discount_amount": 0
          }
        ]
      },
      {
        "total_amount": 10.72,
        "period_number": 3,
        "as_of_date": "Thu Aug 25 00:00:00 EEST 2016",
        "total_discount_amount": 0,
        "service_rates_set": [
          {
            "to_date": "Fri Sep 23 00:00:00 EEST 2016",
            "time_period": {
              "time_period_value": null,
              "time_period_uot": null
            },
            "from_date": "Wed Aug 24 00:00:00 EEST 2016",
            "total_amount": 9.91,
            "service": {
              "product_type": {
                "service_type": "TERMED",
                "physical_good_type": null,
                "used_for_provisioning": true,
                "classification": "SERVICES",
                "composition_method": "FLAT",
                "id": "BC954969D3172372D498D3BB2BA590A0",
                "name": "Subscription Packages",
                "description": "Subscription main packages",
                "alternative_code": "SP"
              },
              "id": "6DF884D00A643D9E5E3E95A5ABCCFDF8",
              "description": "Gold Premium Package",
              "code": "Gold",
              "alternative_code": "GPP"
            },
            "total_discount_amount": 0
          },
          {
            "to_date": "Sat Sep 03 00:00:00 EEST 2016",
            "time_period": {
              "time_period_value": null,
              "time_period_uot": null
            },
            "from_date": "Wed Aug 24 00:00:00 EEST 2016",
            "total_amount": 0.81,
            "service": {
              "product_type": {
                "service_type": "TERMED",
                "physical_good_type": null,
                "used_for_provisioning": true,
                "classification": "SERVICES",
                "composition_method": "FLAT",
                "id": "600438B64B0F05AB3D020C902674949F",
                "name": "Subscription services",
                "description": "Subscription services",
                "alternative_code": "SS"
              },
              "id": "5B3841D63F6CAE5973366EEAFF3444E3",
              "description": "Movies 1",
              "code": "Movies 1",
              "alternative_code": "M1"
            },
            "total_discount_amount": 0
          }
        ]
      },
      {
        "total_amount": 0.83,
        "period_number": 4,
        "as_of_date": "Sun Sep 04 00:00:00 EEST 2016",
        "total_discount_amount": 0,
        "service_rates_set": [
          {
            "to_date": "Tue Sep 13 00:00:00 EEST 2016",
            "time_period": {
              "time_period_value": null,
              "time_period_uot": null
            },
            "from_date": "Sat Sep 03 00:00:00 EEST 2016",
            "total_amount": 0.83,
            "service": {
              "product_type": {
                "service_type": "TERMED",
                "physical_good_type": null,
                "used_for_provisioning": true,
                "classification": "SERVICES",
                "composition_method": "FLAT",
                "id": "600438B64B0F05AB3D020C902674949F",
                "name": "Subscription services",
                "description": "Subscription services",
                "alternative_code": "SS"
              },
              "id": "5B3841D63F6CAE5973366EEAFF3444E3",
              "description": "Movies 1",
              "code": "Movies 1",
              "alternative_code": "M1"
            },
            "total_discount_amount": 0
          }
        ]
      },
      {
        "total_amount": 0.83,
        "period_number": 5,
        "as_of_date": "Wed Sep 14 00:00:00 EEST 2016",
        "total_discount_amount": 0,
        "service_rates_set": [
          {
            "to_date": "Fri Sep 23 00:00:00 EEST 2016",
            "time_period": {
              "time_period_value": null,
              "time_period_uot": null
            },
            "from_date": "Tue Sep 13 00:00:00 EEST 2016",
            "total_amount": 0.83,
            "service": {
              "product_type": {
                "service_type": "TERMED",
                "physical_good_type": null,
                "used_for_provisioning": true,
                "classification": "SERVICES",
                "composition_method": "FLAT",
                "id": "600438B64B0F05AB3D020C902674949F",
                "name": "Subscription services",
                "description": "Subscription services",
                "alternative_code": "SS"
              },
              "id": "5B3841D63F6CAE5973366EEAFF3444E3",
              "description": "Movies 1",
              "code": "Movies 1",
              "alternative_code": "M1"
            },
            "total_discount_amount": 0
          }
        ]
      },
      {
        "total_amount": 10.83,
        "period_number": 6,
        "as_of_date": "Sat Sep 24 00:00:00 EEST 2016",
        "total_discount_amount": 0,
        "service_rates_set": [
          {
            "to_date": "Mon Oct 03 00:00:00 EEST 2016",
            "time_period": {
              "time_period_value": null,
              "time_period_uot": null
            },
            "from_date": "Fri Sep 23 00:00:00 EEST 2016",
            "total_amount": 0.83,
            "service": {
              "product_type": {
                "service_type": "TERMED",
                "physical_good_type": null,
                "used_for_provisioning": true,
                "classification": "SERVICES",
                "composition_method": "FLAT",
                "id": "600438B64B0F05AB3D020C902674949F",
                "name": "Subscription services",
                "description": "Subscription services",
                "alternative_code": "SS"
              },
              "id": "5B3841D63F6CAE5973366EEAFF3444E3",
              "description": "Movies 1",
              "code": "Movies 1",
              "alternative_code": "M1"
            },
            "total_discount_amount": 0
          },
          {
            "to_date": "Sun Oct 23 00:00:00 EEST 2016",
            "time_period": {
              "time_period_value": null,
              "time_period_uot": null
            },
            "from_date": "Fri Sep 23 00:00:00 EEST 2016",
            "total_amount": 10,
            "service": {
              "product_type": {
                "service_type": "TERMED",
                "physical_good_type": null,
                "used_for_provisioning": true,
                "classification": "SERVICES",
                "composition_method": "FLAT",
                "id": "BC954969D3172372D498D3BB2BA590A0",
                "name": "Subscription Packages",
                "description": "Subscription main packages",
                "alternative_code": "SP"
              },
              "id": "6DF884D00A643D9E5E3E95A5ABCCFDF8",
              "description": "Gold Premium Package",
              "code": "Gold",
              "alternative_code": "GPP"
            },
            "total_discount_amount": 0
          }
        ]
      }
    ],
    "job_rates": {
      "total_amount": 713,
      "amount_to_be_paid": 930,
      "total_discount_amount": 0,
      "service_rates_set": [
        {
          "total_amount": 666,
          "service": {
            "product_type": {
              "service_type": "EXPENSE",
              "physical_good_type": null,
              "used_for_provisioning": false,
              "classification": "SERVICES",
              "composition_method": "FLAT",
              "id": "67FA013211E348C58F7CD27F8399AADE",
              "name": "Expense Type",
              "description": null,
              "alternative_code": "ET"
            },
            "id": "81D5550CF6004CE0B206A371F9F3A18A",
            "description": "Expence 2",
            "code": "Expence 2",
            "alternative_code": "exp2"
          },
          "total_discount_amount": 0
        },
        {
          "total_amount": 5,
          "service": {
            "product_type": {
              "service_type": null,
              "physical_good_type": "TRACEABLE",
              "used_for_provisioning": false,
              "classification": "PHYSICALGOODS",
              "composition_method": "FLAT",
              "id": "6173FC99331504AD1ACB5D697D54DA8C",
              "name": "Smartcards",
              "description": "Smartcards",
              "alternative_code": "SC"
            },
            "id": "80EEE8F6F46767AE32E6ABE68603E9F2",
            "description": "SmartCards 2",
            "code": "Smartcard 2",
            "alternative_code": "SC2"
          },
          "total_discount_amount": 0
        },
        {
          "total_amount": 20,
          "service": {
            "product_type": {
              "service_type": null,
              "physical_good_type": "TRACEABLE",
              "used_for_provisioning": false,
              "classification": "PHYSICALGOODS",
              "composition_method": "FLAT",
              "id": "6173FC99331504AD1ACB5D697D54DA8C",
              "name": "Smartcards",
              "description": "Smartcards",
              "alternative_code": "SC"
            },
            "id": "EAC7A30429364176616CFEF5DF709941",
            "description": "Smartcard 1",
            "code": "Smartcard 1",
            "alternative_code": "SC1"
          },
          "total_discount_amount": 0
        },
        {
          "total_amount": 22,
          "service": {
            "product_type": {
              "service_type": "EXPENSE",
              "physical_good_type": null,
              "used_for_provisioning": false,
              "classification": "SERVICES",
              "composition_method": "FLAT",
              "id": "67FA013211E348C58F7CD27F8399AADE",
              "name": "Expense Type",
              "description": null,
              "alternative_code": "ET"
            },
            "id": "2855ACFCB7D94ED69A5FC3B9557EB6D6",
            "description": "Expence 1",
            "code": "Expence 1",
            "alternative_code": "exp1"
          },
          "total_discount_amount": 0
        }
      ]
    }
  }
}