Issuing policies
Use the following endpoint to issue policies in BillingCenter:
- POST
billing/v1/accounts/{accountId}/issuances
Minimum creation criteria
The policy issuance request object consists of several required objects and one array. Some of these top-level entities have required fields. The following table details these entities and their required fields:
Object | Description | Required fields |
---|---|---|
charges |
An array of |
For each
|
paymentPlan |
An object specifying the policy’s payment plan. |
|
policy |
An object containing optional information about the policy. |
No required fields |
policyPeriod |
An object containing information on the policy period. |
|
Minimal policy issuance request
The following request provides an example of issuing a minimal policy on account
bc:101
This request performs the following:
- Creates a personal auto policy with the policy number PA-234553
- Creates a policy period on that policy
- Sets the payment plan to an existing payment plan
- Creates two charges on the policy period: one $1200 premium charge and one $60 tax charge. The charge pattern is identified by the id.
policy
object is always required, even
when there are no fields to specify. This is why the payload includes an empty
policy object.The issuance response object
Specifying additional information
When specifying policy and policy period details, take note of the following guidelines.
Overriding payer accounts and invoice streams - Invoice streams must be on the same account as the payer account. If you add an overriding payer account, the invoice stream will automatically be set to this payer’s default invoice stream. This can be set on either the policy period or on specific charges.
Policy number - The policy number for a newly issued policy must be unique.
Currency - Payment plans and delinquency plans have arrays of supported currencies. The payer account’s currency must be included in those arrays.
In a mono-currency instance of BillingCenter, any monetary amount specified
in a request must have the same currency as the payer account. This includes
charges, deposit requirements, and other monetary information provided in the
policyPeriod
object. Additionally, the overriding payer account
and the account that owns the policy must both have the same currency.
In a multicurrency instance of BillingCenter, the currency of a charge can be different than the account's currency. However, as of this release, Cloud API does not support billing requests where the currency of any charge is different than the account's currency. For billing requests submitted through Cloud API, all charges must have the same currency as the associated account
Charge breakdowns - As of this release, Cloud API does not support adding charge breakdown information when issuing a policy.
Billing method - As of this release, the only supported billing method is direct bill.