Method

rxc-billingpolicyproduct-add

Description

This method will add a product to a billing policy.

Parameters

Name Input Value Type Description
bill_policy_id Integer This is the ID of the billing policy we are adding a product to.
product_id Integer This is the ID of the product we are adding to the billing policy.
rate_type Integer 1 = User Defined, 2 = Pull from rates each time.
quantity Integer The quantity of the product to charge.
base_rate BigDecimal The quantity of the product to charge.
open_date Date Date range this policy applies for, if null, default to policy open.
close_date Date Date range this policy applies for, if null, default to policy close.
tax1_id Integer This is the tax id of tax 1 that needs to be applied.
tax2_id Integer This is the tax id of tax 2 that needs to be applied.
tax3_id Integer This is the tax id of tax 3 that needs to be applied.
tax4_id Integer This is the tax id of tax 4 that needs to be applied.
cumulative_type Integer 0 = none, 1= rate each period, 2 = percentage each period.
cumulative_amount BigDecimal The amount to be cumulative each period.
maximum_amount BigDecimal The maximum amount that this policy will charge of this product.
rate_group_id BigDecimal This is the rate group to use if pulling the rate from the rates table.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request





Result