Topics on this page

Update payments status in Britecore

Important note on PCI DSS compliance: The Payment Card Industry Data Security Standard (PCI DSS) requires all companies that process, store, or transmit credit card information to maintain a secure environment based on a specific set of standards. Your system must be PCI compliant to accept credit card and ACH payments, even if you don’t store any payment information.

BriteBilling is an accounts receivables system designed to track and bill premium and fees along with collecting and allocating payments received for policies within BriteCore.

Billing occurs in real time and is highly automated in BriteCore. Billing settings are easily configured in the Settings module, which provides users with control over powerful configuration options like billing schedules, payment options, and cancellation terms.

You can configure your portal to directly interact with a third-party payment vendor and update the payment status in BriteCore.

If you choose to integrate directly with a third-party payment vendor, you can use BriteCore to track your payable and receivable data for insurance transactions, managing and tracking:

  • Billing history, invoices, and receipts on individual policies.
  • Non-pays (you can automatically process non-pays as well).
  • Return premiums.
  • Commissions for appointed agents, agencies, and agency groups.

This tutorial walks you through key concepts, a sample workflow, and using BriteAPI endpoints to update payment status in BriteCore. The sample workflow assumes:

  1. The insured uses an integrated consumer portal to pay a policy.
  2. The consumer portal communicates to the vendor and processes the payment.
  3. If the payment succeeded, the vendor will return a payment transaction ID.
  4. Consumer portal calls make_payment_by_invoice_or_policy passing the payment ID so BriteCore can accept the payment.

The steps and related endpoints we cover in this tutorial:

  1. Search policies to retrieve policy ID
  2. Retrieve policy details
  3. Retrieve existing revisions
  4. Retrieve policyholder information
  5. Retrieve billing information
  6. Retrieve invoice information
  7. Update the payment status

Key concepts

  • Alternate first payment: First payment is different than recurring payments.
  • Auto pay: Set up automatic electronic payments.
  • Bill date: The date the invoice is issued. With the exception of weekends and holidays, the bill date matches the date the invoice was printed and mailed.
  • Bill how: Electronic/Manual.
  • Billing schedule: Installment plans with future installment calculations.
  • Bill whom: Who is responsible for payment.
  • Cancel date: The date the policy cancels, if unpaid.
  • Credit: If a prior term has an outstanding credit, that credit will be transferred to the next term when the new term’s effective date comes to pass. The credit is transferred on the effective date to cover any late-term endorsements on the prior term. In other words, credits always move to the latest possible term. Doing so ensures refunds aren’t lost when a policy expires or is canceled.
  • Custom fees billed to date: Fees set up in the Lines module (such as policy fee) billed as of today.
  • Debit: If a prior term has an outstanding debit, the next payment received will be applied to that debit first.
  • Due date: The date a debit is due. On this date, a policy will enter non-pay if unpaid. Depending upon your site configuration, this date may appear differently on invoices (grace period), or the non-pay may process at the end of the day rather than the beginning.
  • Payment method: How will payment be made (manual/auto).
  • Payoff amount: The remaining premium and billed fees left to pay off the policy. This excludes unbilled fees.
  • Premium billed to date: The amount of written premium billed as of today.
  • System fees billed to date: Billing-related fees (installment, non-pay, reinstatement, or NSF) billed as of today.
  • Total paid to date: The total credits received as of today.
  • Total written premium: The written premium as of today, including any endorsements.

Sample workflow

Figure 1 illustrates a client consumer portal integrating with a third-party payment processor and updating the status in Britecore. When you pass payment_transaction_id to Britecore, the status of the payment sets to Paid.

Figure 1: Consumer portal integrating with a third-party payment processor.

How to use BriteAPI endpoints to update payment status in BriteCore

Note: Blocks of code are hidden by default to make the page more navigable. Select View code and Hide code to view or hide these sections as needed.

Step 1: Get a security token

You will need to request an ID and Secret to use OAuth 2.0.

For more information, refer to How do I get started?

Step 2: Search policies to retrieve Policy ID

Use the search endpoint (/v2/policies/search) to get a list of all policies. You will use the policy_id from this list to retrieve policy details in the next step.

You can request parameters to filter by in the request payload:

View code
{
    "sort_obj": "<object>",
    "policy_types": "<array>",
    "current_page": "<integer>",
    "page_size": "<integer>",
    "search_string": "<string>",
    "statuses": "active",
    "revision_states": "<array>"
}

Sample request

View code
curl --location --request POST '<client url>/api/v2/policies/search' \
--header 'Authorization: <enter your token ID here> \
--header 'Content-Type: text/plain' \
--header 'Cookie: webpy_session_id=70e6375d4c1936ff1e7f37a23cdf5b2966cdc104' \
--data-raw '{
    "statuses": "active",
    
}'

Sample response

View code
{
                "status": "Active",
                "namedInsured": "John Doe",
                "policyNumber": "BP0070818",
                "effectiveDate": "07/13/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "629b22fe-c7d5-4163-bef9-79927e3a2c95",
                "policyGroupNumber": null,
                "expirationDate": "07/13/2021"
            },
            {
                "status": "Active",
                "namedInsured": "John Doe",
                "policyNumber": "BP0070817",
                "effectiveDate": "07/27/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "b522089f-8e06-4b9d-8317-b67cb7923271",
                "policyGroupNumber": null,
                "expirationDate": "07/27/2021"
            },
            {
                "status": "Active",
                "namedInsured": "John Doe",
                "policyNumber": "BP0070816",
                "effectiveDate": "07/27/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
                "policyGroupNumber": null,
                "expirationDate": "07/27/2021"
            },
            {
                "status": "Cancellation Pending, Non-Payment of Premium",
                "namedInsured": "Test nonpayMO",
                "policyNumber": "BP0070815",
                "effectiveDate": "08/05/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "c8376bff-573f-4f29-9e0a-ff1a11fe42e1",
                "policyGroupNumber": null,
                "expirationDate": "08/05/2021"
            },
            {
                "status": "Cancellation Pending, Non-Payment of Premium",
                "namedInsured": "Test nonpayIA",
                "policyNumber": "BP0070814",
                "effectiveDate": "08/05/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "1ea264aa-0cfd-42e0-97fd-fc98d4093f02",
                "policyGroupNumber": null,
                "expirationDate": "08/05/2021"
            },
            {
                "status": "Cancellation Pending, Non-Payment of Premium",
                "namedInsured": "Test nonpayAR",
                "policyNumber": "BP0070813",
                "effectiveDate": "08/05/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "c0004cc7-948e-486e-9df2-08db9b1b809d",
                "policyGroupNumber": null,
                "expirationDate": "08/05/2021"
            },
            {
                "status": "Unsubmitted",
                "namedInsured": "",
                "policyNumber": "10-2020-951",
                "effectiveDate": "08/05/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "2c5367fd-1bb6-48f2-a9a5-f42ab8e3da1f",
                "policyGroupNumber": null,
                "expirationDate": "08/05/2021"
            },
            {
                "status": "Active",
                "namedInsured": "pa iowa 296, 544, 546",
                "policyNumber": "BP0070812",
                "effectiveDate": "08/04/2021",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "ec105616-1289-48ab-8fe3-f6dfef18be1b",
                "policyGroupNumber": null,
                "expirationDate": "08/04/2022"
            },
            {
                "status": "Active",
                "namedInsured": "pam ar 295, 544, 546",
                "policyNumber": "BP0070811",
                "effectiveDate": "08/04/2021",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "34928c2f-352c-472d-a09c-5bf3501ae718",
                "policyGroupNumber": null,
                "expirationDate": "08/04/2022"
            },
            {
                "status": "Active",
                "namedInsured": "pam mo 296, 544,546",
                "policyNumber": "BP0070810",
                "effectiveDate": "08/04/2021",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "a4abcc29-b48c-4168-b4ec-c3f99d395600",
                "policyGroupNumber": null,
                "expirationDate": "08/04/2022"
            },
            {
                "status": "Cancellation Pending, Non-Payment of Premium",
                "namedInsured": "Test nonpayMO",
                "policyNumber": "BP0070809",
                "effectiveDate": "07/20/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "748b8632-debb-43ee-8bbb-a0289f673277",
                "policyGroupNumber": null,
                "expirationDate": "07/20/2021"
            },
            {
                "status": "Cancellation Pending, Non-Payment of Premium",
                "namedInsured": "Test nonpayIA",
                "policyNumber": "BP0070808",
                "effectiveDate": "07/20/2020",
                "isGen3": false,
                "flag": "white",
                "policyType": "Businessowners Program",
                "policyId": "e4799b45-6fb0-4f0d-a8b1-4a114019fba9",
                "policyGroupNumber": null,
                "expirationDate": "07/20/2021"
            },

Step 3: Retrieve policy details

Use retrievePolicy endpoint (/v2/policies/retrieve_policy) to get policy details. You must pass the policy_id from the request above.

Sample request

View code
curl --location --request POST '<client uril>/api/v2/policies/retrieve_policy' \
--header 'Authorization: <enter your access token>' \
--header 'Content-Type: text/plain' \
--header 'Cookie: webpy_session_id=eefe42f584f0564be2f20b9d8140cf97f3c7ae00' \
--data-raw '{
    "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a"
}'

Sample response

View code
{
    "data": {
        "submit_bound": false,
        "copied_to_rev_id": null,
        "date_updated": "2020-08-05 20:34:40",
        "previous_policy_numbers": [
            "10-2020-955"
        ],
        "inception_date": "2020-07-27",
        "policy_group_id": null,
        "submit_receipt_email": null,
        "policy_contacts": {
            "agency_contacts": [
                {
                    "x_contact_reference": "fb2215b9-86d2-43ce-84f8-8d58c0fd07f7"
                }
            ],
            "surplus_line_producers": [
                {
                    "x_contact_reference": "a65525fe-2d92-476b-8ddc-f9e0fafb1179"
                }
            ],
            "showAgencyContact": true
        },
        "id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
        "rewritten": false,
        "policy_number": "BP0070816",
        "active_policy_term": {
            "manual_reason": null,
            "override_min_amount_due": null,
            "date_updated": "2020-08-05 20:34:41",
            "generate_pre_pay_schedule": false,
            "bill_sched_id": "6f6892a2-df10-4842-bc0a-12009b8cb30b",
            "first_address_used_id": null,
            "renewal_status": "Renew",
            "email_used_id": null,
            "is_renewal": false,
            "term_type": "1 Year",
            "id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
            "auto_pay_days_before": 0,
            "term_length": 365,
            "renewal_status_description": null,
            "renewal_type": null,
            "first_bill_whom_id": null,
            "effective_date": "2020-07-27",
            "billing_details": {
                "premium_pro_rata": 450.00,
                "total_debits": 495.00,
                "premium_fully_billed": 0.00,
                "system_fee": 45.00,
                "premium_fully_earned": 0.00,
                "custom_fee_fully_earned": 0.00,
                "custom_fee_fully_billed": 0.00,
                "future_fee": 0,
                "custom_fee_pro_rata": 0.00,
                "payments": -200.00,
                "outstanding_debits": [
                    {
                        "record": {
                            "debit_custom_fee_fully_earned": 0.00,
                            "date_updated": "2020-08-07 10:22:56",
                            "voided": false,
                            "date_deleted": null,
                            "date_added": "2020-08-05 20:34:41",
                            "debit_custom_fee_fully_billed": 0.00,
                            "transaction_type": "Invoice",
                            "id": "6f60ef6e-7c7e-4888-b2af-c2a2a5fa8c65",
                            "credit_transfer_id": null,
                            "debit_premium_fully_billed": 0.00,
                            "generated_by": "test",
                            "debit_premium_fully_earned": 0.00,
                            "payment_amount": 0.00,
                            "day_zero_date": "2020-10-27",
                            "snapshot": {
                                "amount": 50.0,
                                "premium_overview": {
                                    "debit_premium_pro_rata": 202.5,
                                    "revision_written_premium": 450.0,
                                    "debit_custom_fee_fully_earned": 0.0,
                                    "revision_annual_fee": 0,
                                    "debit_premium_fully_billed": 0.0,
                                    "debit_custom_fee_pro_rata": 0.0,
                                    "debit_premium_fully_earned": 0.0,
                                    "premium_billed": 202.5,
                                    "revision_annual_premium": 450.0,
                                    "payment_amount": 0,
                                    "revision_written_fee": 0,
                                    "debit_system_fee": 20.0,
                                    "custom_fees_billed": 0.0,
                                    "debit_custom_fee_fully_billed": 0.0,
                                    "payoff_amount": 470.0
                                },
                                "details": {
                                    "paid_in_full": false,
                                    "due_date": "11/26/2020",
                                    "description": "Installment Invoice",
                                    "policy_status": "Active",
                                    "bill_date": "10/12/2020"
                                },
                                "schedule": {
                                    "premium": 45.0,
                                    "system_fees": 5.0,
                                    "custom_fees": 0.0
                                }
                            },
                            "due_date": "2020-11-26",
                            "account_balance": 12.50,
                            "description": "Installment Invoice",
                            "deleted": false,
                            "debit_custom_fee_pro_rata": 0.00,
                            "cancel_date": "2020-12-07",
                            "file_id": "00649612-9d45-4250-8368-3053238496b1",
                            "debit_transfer_id": null,
                            "back_cancel_date": null,
                            "payment_id": null,
                            "debit_premium_pro_rata": 45.00,
                            "date_added_micro": 982870,
                            "waive_id": null,
                            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
                            "paid_in_full": false,
                            "transaction_date_time": "2020-10-12 00:00:00",
                            "dirty": false,
                            "debit_system_fee": 5.00,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "date_voided": null
                        },
                        "unpaid_amount": 12.50
                    },
                    {
                        "record": {
                            "debit_custom_fee_fully_earned": 0.00,
                            "date_updated": "2020-08-07 10:22:56",
                            "voided": false,
                            "date_deleted": null,
                            "date_added": "2020-08-05 20:34:42",
                            "debit_custom_fee_fully_billed": 0.00,
                            "transaction_type": "Invoice",
                            "id": "9d696b64-2e13-49d2-a8bb-7ad3a6c7eaf2",
                            "credit_transfer_id": null,
                            "debit_premium_fully_billed": 0.00,
                            "generated_by": "test",
                            "debit_premium_fully_earned": 0.00,
                            "payment_amount": 0.00,
                            "day_zero_date": "2020-11-27",
                            "snapshot": {
                                "amount": 50.0,
                                "premium_overview": {
                                    "debit_premium_pro_rata": 247.5,
                                    "revision_written_premium": 450.0,
                                    "debit_custom_fee_fully_earned": 0.0,
                                    "revision_annual_fee": 0,
                                    "debit_premium_fully_billed": 0.0,
                                    "debit_custom_fee_pro_rata": 0.0,
                                    "debit_premium_fully_earned": 0.0,
                                    "premium_billed": 247.5,
                                    "revision_annual_premium": 450.0,
                                    "payment_amount": 0,
                                    "revision_written_fee": 0,
                                    "debit_system_fee": 25.0,
                                    "custom_fees_billed": 0.0,
                                    "debit_custom_fee_fully_billed": 0.0,
                                    "payoff_amount": 475.0
                                },
                                "details": {
                                    "paid_in_full": false,
                                    "due_date": "12/26/2020",
                                    "description": "Installment Invoice",
                                    "policy_status": "Active",
                                    "bill_date": "11/12/2020"
                                },
                                "schedule": {
                                    "premium": 45.0,
                                    "system_fees": 5.0,
                                    "custom_fees": 0.0
                                }
                            },
                            "due_date": "2020-12-26",
                            "account_balance": 62.50,
                            "description": "Installment Invoice",
                            "deleted": false,
                            "debit_custom_fee_pro_rata": 0.00,
                            "cancel_date": "2021-01-06",
                            "file_id": "abfab7c7-9849-4fd8-97b3-3e54b88ad5c9",
                            "debit_transfer_id": null,
                            "back_cancel_date": null,
                            "payment_id": null,
                            "debit_premium_pro_rata": 45.00,
                            "date_added_micro": 11089,
                            "waive_id": null,
                            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
                            "paid_in_full": false,
                            "transaction_date_time": "2020-11-12 00:00:00",
                            "dirty": false,
                            "debit_system_fee": 5.00,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "date_voided": null
                        },
                        "unpaid_amount": 50.00
                    },
                    {
                        "record": {
                            "debit_custom_fee_fully_earned": 0.00,
                            "date_updated": "2020-08-07 10:22:55",
                            "voided": false,
                            "date_deleted": null,
                            "date_added": "2020-08-05 20:34:42",
                            "debit_custom_fee_fully_billed": 0.00,
                            "transaction_type": "Invoice",
                            "id": "d5e8fe23-33d2-44dd-846c-af5269ff3a3e",
                            "credit_transfer_id": null,
                            "debit_premium_fully_billed": 0.00,
                            "generated_by": "test",
                            "debit_premium_fully_earned": 0.00,
                            "payment_amount": 0.00,
                            "day_zero_date": "2020-12-27",
                            "snapshot": {
                                "amount": 50.0,
                                "premium_overview": {
                                    "debit_premium_pro_rata": 292.5,
                                    "revision_written_premium": 450.0,
                                    "debit_custom_fee_fully_earned": 0.0,
                                    "revision_annual_fee": 0,
                                    "debit_premium_fully_billed": 0.0,
                                    "debit_custom_fee_pro_rata": 0.0,
                                    "debit_premium_fully_earned": 0.0,
                                    "premium_billed": 292.5,
                                    "revision_annual_premium": 450.0,
                                    "payment_amount": 0,
                                    "revision_written_fee": 0,
                                    "debit_system_fee": 30.0,
                                    "custom_fees_billed": 0.0,
                                    "debit_custom_fee_fully_billed": 0.0,
                                    "payoff_amount": 480.0
                                },
                                "details": {
                                    "paid_in_full": false,
                                    "due_date": "01/26/2021",
                                    "description": "Installment Invoice",
                                    "policy_status": "Active",
                                    "bill_date": "12/12/2020"
                                },
                                "schedule": {
                                    "premium": 45.0,
                                    "system_fees": 5.0,
                                    "custom_fees": 0.0
                                }
                            },
                            "due_date": "2021-01-26",
                            "account_balance": 112.50,
                            "description": "Installment Invoice",
                            "deleted": false,
                            "debit_custom_fee_pro_rata": 0.00,
                            "cancel_date": "2021-02-06",
                            "file_id": "5a1fdd11-cf7d-4f4e-a5cc-c9f8209d7c60",
                            "debit_transfer_id": null,
                            "back_cancel_date": null,
                            "payment_id": null,
                            "debit_premium_pro_rata": 45.00,
                            "date_added_micro": 33558,
                            "waive_id": null,
                            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
                            "paid_in_full": false,
                            "transaction_date_time": "2020-12-12 00:00:00",
                            "dirty": false,
                            "debit_system_fee": 5.00,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "date_voided": null
                        },
                        "unpaid_amount": 50.00
                    },
                    {
                        "record": {
                            "debit_custom_fee_fully_earned": 0.00,
                            "date_updated": "2020-08-07 10:22:54",
                            "voided": false,
                            "date_deleted": null,
                            "date_added": "2020-08-05 20:34:42",
                            "debit_custom_fee_fully_billed": 0.00,
                            "transaction_type": "Invoice",
                            "id": "39c0de96-36cc-4c53-bb8e-4d99239113bb",
                            "credit_transfer_id": null,
                            "debit_premium_fully_billed": 0.00,
                            "generated_by": "test",
                            "debit_premium_fully_earned": 0.00,
                            "payment_amount": 0.00,
                            "day_zero_date": "2021-01-27",
                            "snapshot": {
                                "amount": 50.0,
                                "premium_overview": {
                                    "debit_premium_pro_rata": 337.5,
                                    "revision_written_premium": 450.0,
                                    "debit_custom_fee_fully_earned": 0.0,
                                    "revision_annual_fee": 0,
                                    "debit_premium_fully_billed": 0.0,
                                    "debit_custom_fee_pro_rata": 0.0,
                                    "debit_premium_fully_earned": 0.0,
                                    "premium_billed": 337.5,
                                    "revision_annual_premium": 450.0,
                                    "payment_amount": 0,
                                    "revision_written_fee": 0,
                                    "debit_system_fee": 35.0,
                                    "custom_fees_billed": 0.0,
                                    "debit_custom_fee_fully_billed": 0.0,
                                    "payoff_amount": 485.0
                                },
                                "details": {
                                    "paid_in_full": false,
                                    "due_date": "02/26/2021",
                                    "description": "Installment Invoice",
                                    "policy_status": "Active",
                                    "bill_date": "01/12/2021"
                                },
                                "schedule": {
                                    "premium": 45.0,
                                    "system_fees": 5.0,
                                    "custom_fees": 0.0
                                }
                            },
                            "due_date": "2021-02-26",
                            "account_balance": 162.50,
                            "description": "Installment Invoice",
                            "deleted": false,
                            "debit_custom_fee_pro_rata": 0.00,
                            "cancel_date": "2021-03-09",
                            "file_id": "ed2270e2-d6ac-4584-9b86-14463705f6a9",
                            "debit_transfer_id": null,
                            "back_cancel_date": null,
                            "payment_id": null,
                            "debit_premium_pro_rata": 45.00,
                            "date_added_micro": 70454,
                            "waive_id": null,
                            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
                            "paid_in_full": false,
                            "transaction_date_time": "2021-01-12 00:00:00",
                            "dirty": false,
                            "debit_system_fee": 5.00,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "date_voided": null
                        },
                        "unpaid_amount": 50.00
                    },
                    {
                        "record": {
                            "debit_custom_fee_fully_earned": 0.00,
                            "date_updated": "2020-08-07 10:22:53",
                            "voided": false,
                            "date_deleted": null,
                            "date_added": "2020-08-05 20:34:42",
                            "debit_custom_fee_fully_billed": 0.00,
                            "transaction_type": "Invoice",
                            "id": "88ce7dad-ffd6-44fc-becf-06899be4fb68",
                            "credit_transfer_id": null,
                            "debit_premium_fully_billed": 0.00,
                            "generated_by": "test",
                            "debit_premium_fully_earned": 0.00,
                            "payment_amount": 0.00,
                            "day_zero_date": "2021-02-27",
                            "snapshot": {
                                "amount": 50.0,
                                "premium_overview": {
                                    "debit_premium_pro_rata": 382.5,
                                    "revision_written_premium": 450.0,
                                    "debit_custom_fee_fully_earned": 0.0,
                                    "revision_annual_fee": 0,
                                    "debit_premium_fully_billed": 0.0,
                                    "debit_custom_fee_pro_rata": 0.0,
                                    "debit_premium_fully_earned": 0.0,
                                    "premium_billed": 382.5,
                                    "revision_annual_premium": 450.0,
                                    "payment_amount": 0,
                                    "revision_written_fee": 0,
                                    "debit_system_fee": 40.0,
                                    "custom_fees_billed": 0.0,
                                    "debit_custom_fee_fully_billed": 0.0,
                                    "payoff_amount": 490.0
                                },
                                "details": {
                                    "paid_in_full": false,
                                    "due_date": "03/26/2021",
                                    "description": "Installment Invoice",
                                    "policy_status": "Active",
                                    "bill_date": "02/12/2021"
                                },
                                "schedule": {
                                    "premium": 45.0,
                                    "system_fees": 5.0,
                                    "custom_fees": 0.0
                                }
                            },
                            "due_date": "2021-03-26",
                            "account_balance": 212.50,
                            "description": "Installment Invoice",
                            "deleted": false,
                            "debit_custom_fee_pro_rata": 0.00,
                            "cancel_date": "2021-04-06",
                            "file_id": "b8883c89-beee-46d2-b0ea-5895f99559d6",
                            "debit_transfer_id": null,
                            "back_cancel_date": null,
                            "payment_id": null,
                            "debit_premium_pro_rata": 45.00,
                            "date_added_micro": 100091,
                            "waive_id": null,
                            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
                            "paid_in_full": false,
                            "transaction_date_time": "2021-02-12 00:00:00",
                            "dirty": false,
                            "debit_system_fee": 5.00,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "date_voided": null
                        },
                        "unpaid_amount": 50.00
                    },
                    {
                        "record": {
                            "debit_custom_fee_fully_earned": 0.00,
                            "date_updated": "2020-08-07 10:22:58",
                            "voided": false,
                            "date_deleted": null,
                            "date_added": "2020-08-05 20:34:42",
                            "debit_custom_fee_fully_billed": 0.00,
                            "transaction_type": "Invoice",
                            "id": "c96d8880-f4a0-45b0-bcd3-93e2064717e5",
                            "credit_transfer_id": null,
                            "debit_premium_fully_billed": 0.00,
                            "generated_by": "test",
                            "debit_premium_fully_earned": 0.00,
                            "payment_amount": 0.00,
                            "day_zero_date": "2021-03-27",
                            "snapshot": {
                                "amount": 27.5,
                                "premium_overview": {
                                    "debit_premium_pro_rata": 405.0,
                                    "revision_written_premium": 450.0,
                                    "debit_custom_fee_fully_earned": 0.0,
                                    "revision_annual_fee": 0,
                                    "debit_premium_fully_billed": 0.0,
                                    "debit_custom_fee_pro_rata": 0.0,
                                    "debit_premium_fully_earned": 0.0,
                                    "premium_billed": 405.0,
                                    "revision_annual_premium": 450.0,
                                    "payment_amount": 0,
                                    "revision_written_fee": 0,
                                    "debit_system_fee": 45.0,
                                    "custom_fees_billed": 0.0,
                                    "debit_custom_fee_fully_billed": 0.0,
                                    "payoff_amount": 495.0
                                },
                                "details": {
                                    "paid_in_full": false,
                                    "due_date": "04/26/2021",
                                    "description": "Installment Invoice",
                                    "policy_status": "Active",
                                    "bill_date": "03/12/2021"
                                },
                                "schedule": {
                                    "premium": 22.5,
                                    "system_fees": 5.0,
                                    "custom_fees": 0.0
                                }
                            },
                            "due_date": "2021-04-26",
                            "account_balance": 240.00,
                            "description": "Installment Invoice",
                            "deleted": false,
                            "debit_custom_fee_pro_rata": 0.00,
                            "cancel_date": "2021-05-07",
                            "file_id": "40108208-61a7-47d3-9b30-0bef2338d698",
                            "debit_transfer_id": null,
                            "back_cancel_date": null,
                            "payment_id": null,
                            "debit_premium_pro_rata": 22.50,
                            "date_added_micro": 149609,
                            "waive_id": null,
                            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
                            "paid_in_full": false,
                            "transaction_date_time": "2021-03-12 00:00:00",
                            "dirty": false,
                            "debit_system_fee": 5.00,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "date_voided": null
                        },
                        "unpaid_amount": 27.50
                    },
                    {
                        "record": {
                            "debit_custom_fee_fully_earned": 0.00,
                            "date_updated": "2020-08-07 10:22:52",
                            "voided": false,
                            "date_deleted": null,
                            "date_added": "2020-08-05 20:34:42",
                            "debit_custom_fee_fully_billed": 0.00,
                            "transaction_type": "Invoice",
                            "id": "05c6968a-5d8e-4f4a-b738-1cbe1e750017",
                            "credit_transfer_id": null,
                            "debit_premium_fully_billed": 0.00,
                            "generated_by": "test",
                            "debit_premium_fully_earned": 0.00,
                            "payment_amount": 0.00,
                            "day_zero_date": "2021-04-27",
                            "snapshot": {
                                "amount": 27.5,
                                "premium_overview": {
                                    "debit_premium_pro_rata": 427.5,
                                    "revision_written_premium": 450.0,
                                    "debit_custom_fee_fully_earned": 0.0,
                                    "revision_annual_fee": 0,
                                    "debit_premium_fully_billed": 0.0,
                                    "debit_custom_fee_pro_rata": 0.0,
                                    "debit_premium_fully_earned": 0.0,
                                    "premium_billed": 427.5,
                                    "revision_annual_premium": 450.0,
                                    "payment_amount": 0,
                                    "revision_written_fee": 0,
                                    "debit_system_fee": 50.0,
                                    "custom_fees_billed": 0.0,
                                    "debit_custom_fee_fully_billed": 0.0,
                                    "payoff_amount": 500.0
                                },
                                "details": {
                                    "paid_in_full": false,
                                    "due_date": "05/26/2021",
                                    "description": "Installment Invoice",
                                    "policy_status": "Active",
                                    "bill_date": "04/12/2021"
                                },
                                "schedule": {
                                    "premium": 22.5,
                                    "system_fees": 5.0,
                                    "custom_fees": 0.0
                                }
                            },
                            "due_date": "2021-05-26",
                            "account_balance": 267.50,
                            "description": "Installment Invoice",
                            "deleted": false,
                            "debit_custom_fee_pro_rata": 0.00,
                            "cancel_date": "2021-06-06",
                            "file_id": "2fdbefa7-242c-4dc6-989b-3fb263a2a7f3",
                            "debit_transfer_id": null,
                            "back_cancel_date": null,
                            "payment_id": null,
                            "debit_premium_pro_rata": 22.50,
                            "date_added_micro": 184626,
                            "waive_id": null,
                            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
                            "paid_in_full": false,
                            "transaction_date_time": "2021-04-12 00:00:00",
                            "dirty": false,
                            "debit_system_fee": 5.00,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "date_voided": null
                        },
                        "unpaid_amount": 27.50
                    },
                    {
                        "record": {
                            "debit_custom_fee_fully_earned": 0.00,
                            "date_updated": "2020-08-07 10:22:54",
                            "voided": false,
                            "date_deleted": null,
                            "date_added": "2020-08-05 20:34:42",
                            "debit_custom_fee_fully_billed": 0.00,
                            "transaction_type": "Invoice",
                            "id": "3c61f5b4-74ce-4334-8790-1bff8b1d84b5",
                            "credit_transfer_id": null,
                            "debit_premium_fully_billed": 0.00,
                            "generated_by": "test",
                            "debit_premium_fully_earned": 0.00,
                            "payment_amount": 0.00,
                            "day_zero_date": "2021-05-27",
                            "snapshot": {
                                "amount": 27.5,
                                "premium_overview": {
                                    "debit_premium_pro_rata": 450.0,
                                    "revision_written_premium": 450.0,
                                    "debit_custom_fee_fully_earned": 0.0,
                                    "revision_annual_fee": 0,
                                    "debit_premium_fully_billed": 0.0,
                                    "debit_custom_fee_pro_rata": 0.0,
                                    "debit_premium_fully_earned": 0.0,
                                    "premium_billed": 450.0,
                                    "revision_annual_premium": 450.0,
                                    "payment_amount": 0,
                                    "revision_written_fee": 0,
                                    "debit_system_fee": 55.0,
                                    "custom_fees_billed": 0.0,
                                    "debit_custom_fee_fully_billed": 0.0,
                                    "payoff_amount": 505.0
                                },
                                "details": {
                                    "paid_in_full": false,
                                    "due_date": "06/26/2021",
                                    "description": "Installment Invoice",
                                    "policy_status": "Active",
                                    "bill_date": "05/12/2021"
                                },
                                "schedule": {
                                    "premium": 22.5,
                                    "system_fees": 5.0,
                                    "custom_fees": 0.0
                                }
                            },
                            "due_date": "2021-06-26",
                            "account_balance": 295.00,
                            "description": "Installment Invoice",
                            "deleted": false,
                            "debit_custom_fee_pro_rata": 0.00,
                            "cancel_date": "2021-07-07",
                            "file_id": "496d3ea1-3617-4912-9802-955b6fb9cece",
                            "debit_transfer_id": null,
                            "back_cancel_date": null,
                            "payment_id": null,
                            "debit_premium_pro_rata": 22.50,
                            "date_added_micro": 209708,
                            "waive_id": null,
                            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
                            "paid_in_full": false,
                            "transaction_date_time": "2021-05-12 00:00:00",
                            "dirty": false,
                            "debit_system_fee": 5.00,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "date_voided": null
                        },
                        "unpaid_amount": 27.50
                    }
                ]
            },
            "renewal_status_reason_id": null,
            "first_email_used_id": null,
            "term_credit_score": null,
            "address_used_id": "17bb7127-089e-441e-b0da-c26030c11cf7",
            "auto_payment_method_id": null,
            "preferred_day_of_month_due": null,
            "has_write_off": false,
            "policy_term_number": "",
            "first_payment_method_id": null,
            "expiration_date": "2021-07-27",
            "bill_whom_id": "df29f7ed-b15a-4c06-888d-274b5f21c6d6",
            "first_bill_checked": false,
            "force_comm_recalc": false,
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a"
        },
        "submit_confirm_name": null,
        "show_app": true,
        "do_not_automatically_rewrite": false,
        "system_tags": [],
        "flag": "white",
        "britecore_claims": [],
        "active": true,
        "date_added": "2020-08-05 20:26:25",
        "propertyZip": "71601",
        "policy_number_origin": "v2",
        "submit_confirm_email": null,
        "sequence_id": "4057bfa4-1103-41ad-a47d-0a60105a79b4",
        "account_number": "950000760",
        "submit_receipt_name": null,
        "policy_number_normalized": "BP0070816",
        "copied_from_rev_id": null,
        "active_revision": {
            "commission_rate_adjustment": 0.0000,
            "inspectors": [],
            "commit_date_time": "2020-08-05 20:34:38",
            "last_visited": null,
            "create_date": "2020-08-05 20:26:25",
            "lines_effective_date": "2018-10-25",
            "date_updated": "2020-08-05 20:34:40",
            "review_workflow_state": "NOT_STARTED",
            "agents": [
                {
                    "display_agency_group_info_on_dec": false,
                    "mfa": false,
                    "ssn_group": null,
                    "dba": null,
                    "cc_email_notices": null,
                    "email_print_list": true,
                    "commission_account_id": null,
                    "addresses": [
                        {
                            "address_line2": "",
                            "address_city": "Mound City",
                            "address_line1": "PO Box 206",
                            "type_label": null,
                            "date_updated": "2020-01-30 14:38:19",
                            "type": "Billing",
                            "address_county": null,
                            "contact_id": "6e4361c4-5896-4368-99e5-33668738e7e9",
                            "longitude": null,
                            "attention": null,
                            "address_state": "MO",
                            "latitude": null,
                            "address_country": "USA",
                            "id": "83913944-e9e0-40c8-8975-88aca8e55d85",
                            "address_zip": "64470"
                        }
                    ],
                    "terminated": false,
                    "fein_tax": "47-2406164",
                    "date_updated": "2020-02-11 14:13:21",
                    "vendor_number": null,
                    "issue_commission_payments": false,
                    "is_god": false,
                    "api_key": null,
                    "type": "organization",
                    "purchase_date": null,
                    "website": "",
                    "risk_id_number": null,
                    "sweep_account_id": null,
                    "follow_agency_quoting_restriction": true,
                    "system_tags": null,
                    "isWholeSaleModeAgency": false,
                    "flag": "white",
                    "ssn": null,
                    "mfa_code": null,
                    "background": "",
                    "has_sweep_account": false,
                    "date_added": "2020-01-30 14:38:19",
                    "cognito_username": null,
                    "emails": [
                        {
                            "date_updated": "2020-01-30 14:38:19",
                            "type": "",
                            "id": "8f7dcf33-1224-407e-a515-c2c6ccf83426",
                            "contact_id": "6e4361c4-5896-4368-99e5-33668738e7e9",
                            "email": "jeremyjohnsoninsurance@earthlink.net"
                        }
                    ],
                    "claim_activity_email_id": null,
                    "accept_electronic_comm_statement": true,
                    "photo_id": null,
                    "name": "Johnson Insurance Services LLC",
                    "naic_number": "",
                    "gender": null,
                    "credit_score_account": null,
                    "x_contact_reference": "e0343473-f761-44b1-a53b-cba62686b3be",
                    "terms_conditions_accepted": false,
                    "agency_inactive_timestamp": null,
                    "mfa_counter": 0,
                    "comm_statement_email_id": "8f7dcf33-1224-407e-a515-c2c6ccf83426",
                    "default_state_id": "339ff89b-8c0e-11de-b1cc-000c2976c0ee",
                    "username": null,
                    "interest": null,
                    "phones": [
                        {
                            "date_updated": "2020-01-30 14:38:19",
                            "phone": "660-442-5445",
                            "type": "",
                            "id": "582daaf5-1053-41e5-8feb-c8e89a15f737",
                            "contact_id": "6e4361c4-5896-4368-99e5-33668738e7e9"
                        }
                    ],
                    "date_business_started": null,
                    "agency_number": "1361",
                    "disallow_e2_val": false,
                    "is_approved_vendor": false,
                    "direct_application_activity_to": null,
                    "timezone": "",
                    "default_agency_id": null,
                    "id": "6e4361c4-5896-4368-99e5-33668738e7e9",
                    "issue_payments": false,
                    "agency_group_number": null,
                    "notify_of_overdue_invoices": true,
                    "portal_code": "756691",
                    "last_login": null,
                    "producer_number": "",
                    "added_by": null,
                    "notice_email_id": "8f7dcf33-1224-407e-a515-c2c6ccf83426",
                    "termination_reason": null,
                    "agency_inactive": false,
                    "password_attempts": 0,
                    "do_not_print_when_bill_whom": false,
                    "drivers_license": null,
                    "active": true,
                    "agency_billing_enabled": false,
                    "same_as_ssn": false,
                    "oops_email": null,
                    "email_notices": true,
                    "can_edit": false,
                    "confirmation_email": "jeremyjohnsoninsurance@earthlink.net",
                    "dob": null,
                    "permission_level_id": "2d8a2bcc-beb6-11e4-a8cb-0242ac11005f",
                    "issue_payments_account_id": null,
                    "commission_structure": "Initial Agency Commission Structure",
                    "mortgagee_statement": null,
                    "legal_entity_type": "",
                    "position": null,
                    "cc_claim_email_notices": null
                }
            ],
            "underwriting_questions": null,
            "written_policy_wide_premium": 253.00,
            "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
            "revision_state": "committed",
            "id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
            "builder_pending": false,
            "primary_property_id": "7b5a65a4-13fb-441c-a329-c913cb33f390",
            "annual_fee": 0.00,
            "is_endorsement": false,
            "policy_status_reason_id": null,
            "grant_mortgagee_extension": false,
            "written_fee": 0.00,
            "revision_date": "2020-07-27",
            "annual_premium": 450.00,
            "policy_type": {
                "state_abbreviation": "AR",
                "location_id": "339ff885-8c0e-11de-b1cc-000c2976c0ee",
                "name": "Businessowners Program",
                "underwriting_questions": []
            },
            "named_insureds": [
                {
                    "display_agency_group_info_on_dec": false,
                    "mfa": false,
                    "ssn_group": "3f",
                    "dba": "",
                    "cc_email_notices": null,
                    "email_print_list": false,
                    "commission_account_id": null,
                    "addresses": [
                        {
                            "address_line2": "",
                            "address_city": "Pine Bluff",
                            "address_line1": "123 S Main St",
                            "type_label": "",
                            "date_updated": "2020-03-30 14:44:37",
                            "type": "Mailing/Billing",
                            "address_county": "Jefferson",
                            "contact_id": "df29f7ed-b15a-4c06-888d-274b5f21c6d6",
                            "longitude": 0.00000,
                            "attention": "",
                            "address_state": "AR",
                            "latitude": 0.00000,
                            "address_country": "USA",
                            "id": "17bb7127-089e-441e-b0da-c26030c11cf7",
                            "address_zip": "71601"
                        }
                    ],
                    "terminated": false,
                    "fein_tax": "",
                    "date_updated": "2020-06-09 22:32:48",
                    "vendor_number": null,
                    "issue_commission_payments": false,
                    "is_god": false,
                    "api_key": null,
                    "type": "individual",
                    "purchase_date": null,
                    "website": "",
                    "risk_id_number": "",
                    "sweep_account_id": null,
                    "follow_agency_quoting_restriction": true,
                    "system_tags": null,
                    "isWholeSaleModeAgency": false,
                    "flag": "white",
                    "ssn": "111-11-1111",
                    "mfa_code": null,
                    "background": null,
                    "has_sweep_account": false,
                    "date_added": "2020-03-30 14:44:37",
                    "cognito_username": null,
                    "emails": [],
                    "claim_activity_email_id": null,
                    "accept_electronic_comm_statement": false,
                    "photo_id": null,
                    "name": "John Doe",
                    "naic_number": "",
                    "gender": null,
                    "credit_score_account": null,
                    "x_contact_reference": "e48385fc-6795-44a0-85a8-3745d16bec46",
                    "terms_conditions_accepted": false,
                    "agency_inactive_timestamp": null,
                    "mfa_counter": 0,
                    "comm_statement_email_id": null,
                    "default_state_id": null,
                    "username": null,
                    "interest": null,
                    "phones": [
                        {
                            "date_updated": "2020-03-30 14:44:37",
                            "phone": "222-222-2222",
                            "type": "",
                            "id": "be9aae86-5c99-4df5-8407-4bb72278825e",
                            "contact_id": "df29f7ed-b15a-4c06-888d-274b5f21c6d6"
                        }
                    ],
                    "date_business_started": "2015-03-30",
                    "agency_number": null,
                    "disallow_e2_val": false,
                    "is_approved_vendor": false,
                    "direct_application_activity_to": null,
                    "timezone": null,
                    "default_agency_id": null,
                    "id": "df29f7ed-b15a-4c06-888d-274b5f21c6d6",
                    "issue_payments": false,
                    "agency_group_number": null,
                    "notify_of_overdue_invoices": false,
                    "portal_code": "871780",
                    "last_login": null,
                    "producer_number": null,
                    "added_by": "9615d6a6-bb8f-4482-99c1-0c143fb7c828",
                    "credit_reports": [],
                    "notice_email_id": null,
                    "termination_reason": null,
                    "agency_inactive": false,
                    "password_attempts": 0,
                    "do_not_print_when_bill_whom": false,
                    "drivers_license": null,
                    "active": true,
                    "agency_billing_enabled": false,
                    "same_as_ssn": false,
                    "oops_email": null,
                    "email_notices": false,
                    "can_edit": false,
                    "confirmation_email": null,
                    "dob": "1984-01-01 00:00:00",
                    "permission_level_id": null,
                    "motor_vehicle_reports": [],
                    "issue_payments_account_id": null,
                    "commission_structure": null,
                    "mortgagee_statement": null,
                    "legal_entity_type": "",
                    "position": null,
                    "cc_claim_email_notices": null
                }
            ],
            "print_dec": true,
            "review_workflow_request_reason": null,
            "underwriting_options": null,
            "description": null,
            "additional_interests": [],
            "credit_report_permissions": null,
            "override_commission": false,
            "written_premium": 450.00,
            "policy_status": "Active",
            "premium_finance_companies": [],
            "date_archived": null,
            "cancel_date": null,
            "written_premium_delta": 0.00,
            "sub_lines": [
                {
                    "resolved": false,
                    "inheritance_id": null,
                    "persist_status": "normal",
                    "mandatory": true,
                    "description": "",
                    "hide_checkbox_workflow": "none",
                    "date_updated": "2020-02-10 21:09:14",
                    "system_tags": null,
                    "date_added_micro": "925929",
                    "sort_order": 0,
                    "reference_id": "e23dbaab-4c7b-11ea-b279-12dfd7f5b2f9",
                    "date_added": "2020-08-05 20:26:45",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "status_reason": "",
                    "id": "9e4b8c3e-40f7-4f38-820a-e26401403e7f",
                    "category": "policy",
                    "allow_multiples": false,
                    "name": "Liability Coverages",
                    "default": false,
                    "date_deleted": null,
                    "sub_line_id": "9d2be28e-6ac0-4fd8-a84a-a2980751b0ea",
                    "editable_name": false,
                    "link_obj": null,
                    "deleted_by": null,
                    "deleted": false,
                    "sub_line_name": "Liability Coverages",
                    "items": [
                        {
                            "required_for_quote": true,
                            "persist_status": "normal",
                            "date_updated": "2020-08-05 20:33:34",
                            "combine_premium": false,
                            "questions": [],
                            "has_limit": true,
                            "fully_earned": false,
                            "resolved": false,
                            "round_method": "ROUND_HALF_UP",
                            "written_premium": 0.00,
                            "date_added": "2020-08-05 20:26:46",
                            "status_reason": "",
                            "name": "Liability and Medical Expenses - Per Occurrence",
                            "manual": false,
                            "has_loss_payee": false,
                            "limit_availability": "",
                            "dec_font_size": 10,
                            "pro_rate_fee": false,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "rate_chain": [
                                {
                                    "setLimitToMin": false,
                                    "description": "",
                                    "varName": null,
                                    "source": {
                                        "userChosen": [
                                            {
                                                "name": "",
                                                "limits": [
                                                    "300000",
                                                    "500000",
                                                    "1000000"
                                                ]
                                            }
                                        ],
                                        "defaultLimitRow": 2
                                    },
                                    "omitFromTotal": false,
                                    "type": "Limit",
                                    "round": "1",
                                    "unit": "dollar"
                                },
                                {
                                    "description": "",
                                    "roundMethod": "ROUND_HALF_UP",
                                    "varName": null,
                                    "rates": {
                                        "[]": "1.00/1.00"
                                    },
                                    "sameForAll": false,
                                    "type": "Rate Per",
                                    "input": "selectedPremiums",
                                    "omitFromTotal": false,
                                    "roundTo": "1.000",
                                    "categories": []
                                }
                            ],
                            "prevent_from_being_deleted": false,
                            "mandatory": true,
                            "loss_exposure_group": 0,
                            "disallow_submit_bound": false,
                            "deleted_by": null,
                            "category": "policy",
                            "annual_fee": null,
                            "not_applicable_for_agency_billing": false,
                            "renewal_zip_factors": [],
                            "dec_aliases": null,
                            "round_pro_rata": true,
                            "hide_in_brite_quote": false,
                            "submit_bound_limit_upper": 0,
                            "deleted": false,
                            "loss_free_credit": {},
                            "item_id": "587d21de-74a7-48e5-a32e-233772e1eb10",
                            "skip_pb_on_mandatory_add": false,
                            "display_premium_as_incl": true,
                            "loss_exposure": false,
                            "renewal_split_by": "singleFactor",
                            "prev_adj_amt": -1000000.00,
                            "submit_bound_limit": false,
                            "round_to": "1",
                            "apply_date": "2020-07-27",
                            "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                            "previous_id": null,
                            "rating_details": {
                                "objects": [
                                    {
                                        "runningTotal": 0.0,
                                        "isCustomVar": false,
                                        "name": "",
                                        "omit": false,
                                        "type": "Rate Per",
                                        "description": ""
                                    }
                                ],
                                "finalPremium": "0.000"
                            },
                            "has_rate": true,
                            "sub_line_id": "9d2be28e-6ac0-4fd8-a84a-a2980751b0ea",
                            "written_fee": null,
                            "do_not_display_when_zero": false,
                            "type": "coverage",
                            "annual_premium": 0.00,
                            "inheritance_id": null,
                            "show_limit_and_premium_on_dec": false,
                            "system_tags": null,
                            "limit_updated": false,
                            "reference_id": "e1b9443f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "dec_font_italic": false,
                            "sub_line_instance_id": "9e4b8c3e-40f7-4f38-820a-e26401403e7f",
                            "default": false,
                            "link_obj": null,
                            "fully_billed": false,
                            "rate_chain_refs": [
                                {
                                    "chain_index": 1,
                                    "target_id": "ebba61d3-1a87-4b9b-a2e6-4e1c9c3389a6",
                                    "chain_id": "587d21de-74a7-48e5-a32e-233772e1eb10",
                                    "reference_id": "e2120dff-4c7b-11ea-b279-12dfd7f5b2f9",
                                    "type": "selectedPremiums",
                                    "id": "33738957-7946-4c96-8568-f20dffa07cc5"
                                },
                                {
                                    "chain_index": 1,
                                    "target_id": "ec8cec8d-1845-45a1-af71-fdba1501d01f",
                                    "chain_id": "587d21de-74a7-48e5-a32e-233772e1eb10",
                                    "reference_id": "e215cfae-4c7b-11ea-b279-12dfd7f5b2f9",
                                    "type": "selectedPremiums",
                                    "id": "5d6290e1-06fa-416c-859f-6bf3f6fcac14"
                                },
                                {
                                    "chain_index": 1,
                                    "target_id": "4b69fb7f-6cec-4577-aa65-af05f385f14c",
                                    "chain_id": "587d21de-74a7-48e5-a32e-233772e1eb10",
                                    "reference_id": "e219c3ff-4c7b-11ea-b279-12dfd7f5b2f9",
                                    "type": "selectedPremiums",
                                    "id": "715910eb-4a05-4c53-8718-5fb970c8b11b"
                                }
                            ],
                            "limit": 1000000,
                            "renewal_amount": 0.0000,
                            "deductible": 0.00,
                            "scheduled_item": {},
                            "override_limit": false,
                            "display_user_inputs_above_rate_categories": false,
                            "skip_pb_on_category_add": false,
                            "sort_order": 1,
                            "excluded_prorata_and_factor": false,
                            "id": "f13af222-d00c-4efb-a7ce-6d4417486b9b",
                            "allow_multiples": false,
                            "description": "",
                            "dec_font_bold": false,
                            "show_in_builder": "all",
                            "no_commission_paid_on_line_item": false,
                            "display_on_dec_as": "Section II",
                            "date_added_micro": "089779",
                            "renewal_modify": false,
                            "builder_obj": null,
                            "date_deleted": null,
                            "do_not_display_in_rating_information": false,
                            "added_midterm": false,
                            "dividend_factor": 0.0000
                        },
                        {
                            "required_for_quote": true,
                            "persist_status": "normal",
                            "date_updated": "2020-08-05 20:33:34",
                            "combine_premium": false,
                            "questions": [],
                            "has_limit": true,
                            "fully_earned": false,
                            "resolved": false,
                            "round_method": "ROUND_HALF_UP",
                            "written_premium": 0.00,
                            "date_added": "2020-08-05 20:26:46",
                            "status_reason": "",
                            "name": "Medical Expenses - Per Person",
                            "manual": false,
                            "has_loss_payee": false,
                            "limit_availability": "",
                            "dec_font_size": 10,
                            "pro_rate_fee": false,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "rate_chain": [
                                {
                                    "setLimitToMin": false,
                                    "description": "",
                                    "varName": null,
                                    "source": {
                                        "systemAutomatic": {
                                            "amount": "5000",
                                            "type": "fixed"
                                        }
                                    },
                                    "omitFromTotal": false,
                                    "type": "Limit",
                                    "round": "1",
                                    "unit": "dollar"
                                }
                            ],
                            "prevent_from_being_deleted": false,
                            "mandatory": true,
                            "loss_exposure_group": 0,
                            "disallow_submit_bound": false,
                            "deleted_by": null,
                            "category": "policy",
                            "annual_fee": null,
                            "not_applicable_for_agency_billing": false,
                            "renewal_zip_factors": [],
                            "dec_aliases": null,
                            "round_pro_rata": true,
                            "hide_in_brite_quote": false,
                            "submit_bound_limit_upper": 0,
                            "deleted": false,
                            "loss_free_credit": {},
                            "item_id": "248959c3-06c8-482f-b4c9-62ae2b2f1b02",
                            "skip_pb_on_mandatory_add": false,
                            "display_premium_as_incl": true,
                            "loss_exposure": false,
                            "renewal_split_by": "singleFactor",
                            "prev_adj_amt": -1000000.00,
                            "submit_bound_limit": false,
                            "round_to": "1",
                            "apply_date": "2020-07-27",
                            "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                            "previous_id": null,
                            "rating_details": {
                                "objects": [],
                                "finalPremium": "0"
                            },
                            "has_rate": false,
                            "sub_line_id": "9d2be28e-6ac0-4fd8-a84a-a2980751b0ea",
                            "written_fee": null,
                            "do_not_display_when_zero": false,
                            "type": "coverage",
                            "annual_premium": 0.00,
                            "inheritance_id": null,
                            "show_limit_and_premium_on_dec": false,
                            "system_tags": null,
                            "limit_updated": false,
                            "reference_id": "e1b2a2da-4c7b-11ea-b279-12dfd7f5b2f9",
                            "dec_font_italic": false,
                            "sub_line_instance_id": "9e4b8c3e-40f7-4f38-820a-e26401403e7f",
                            "default": false,
                            "link_obj": null,
                            "fully_billed": false,
                            "rate_chain_refs": [],
                            "limit": 5000,
                            "renewal_amount": 0.0000,
                            "deductible": 0.00,
                            "scheduled_item": {},
                            "override_limit": false,
                            "display_user_inputs_above_rate_categories": false,
                            "skip_pb_on_category_add": false,
                            "sort_order": 2,
                            "excluded_prorata_and_factor": false,
                            "id": "6c430277-c7e2-4c4f-b377-4cff5486599f",
                            "allow_multiples": false,
                            "description": "",
                            "dec_font_bold": false,
                            "show_in_builder": "all",
                            "no_commission_paid_on_line_item": false,
                            "display_on_dec_as": "Section II",
                            "date_added_micro": "414397",
                            "renewal_modify": false,
                            "builder_obj": null,
                            "date_deleted": null,
                            "do_not_display_in_rating_information": false,
                            "added_midterm": false,
                            "dividend_factor": 0.0000
                        },
                        {
                            "required_for_quote": true,
                            "persist_status": "normal",
                            "date_updated": "2020-08-05 20:33:34",
                            "combine_premium": false,
                            "questions": [],
                            "has_limit": true,
                            "fully_earned": false,
                            "resolved": false,
                            "round_method": "ROUND_HALF_UP",
                            "written_premium": 0.00,
                            "date_added": "2020-08-05 20:26:46",
                            "status_reason": "",
                            "name": "Aggregate Limit - Products/Completed Operations",
                            "manual": false,
                            "has_loss_payee": false,
                            "limit_availability": "",
                            "dec_font_size": 10,
                            "pro_rate_fee": false,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "rate_chain": [
                                {
                                    "setLimitToMin": false,
                                    "description": "",
                                    "varName": null,
                                    "source": {
                                        "systemAutomatic": {
                                            "amount": "1.0000",
                                            "type": "factor",
                                            "sharedLimit": false
                                        }
                                    },
                                    "omitFromTotal": false,
                                    "type": "Limit",
                                    "round": "1",
                                    "unit": "dollar"
                                }
                            ],
                            "prevent_from_being_deleted": false,
                            "mandatory": true,
                            "loss_exposure_group": 0,
                            "disallow_submit_bound": false,
                            "deleted_by": null,
                            "category": "policy",
                            "annual_fee": null,
                            "not_applicable_for_agency_billing": false,
                            "renewal_zip_factors": [],
                            "dec_aliases": null,
                            "round_pro_rata": true,
                            "hide_in_brite_quote": false,
                            "submit_bound_limit_upper": 0,
                            "deleted": false,
                            "loss_free_credit": {},
                            "item_id": "d518d978-3709-4513-8153-c8981affe3ff",
                            "skip_pb_on_mandatory_add": false,
                            "display_premium_as_incl": true,
                            "loss_exposure": false,
                            "renewal_split_by": "singleFactor",
                            "prev_adj_amt": -1000000.00,
                            "submit_bound_limit": false,
                            "round_to": "1",
                            "apply_date": "2020-07-27",
                            "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                            "previous_id": null,
                            "rating_details": {
                                "objects": [],
                                "finalPremium": "0"
                            },
                            "has_rate": false,
                            "sub_line_id": "9d2be28e-6ac0-4fd8-a84a-a2980751b0ea",
                            "written_fee": null,
                            "do_not_display_when_zero": false,
                            "type": "coverage",
                            "annual_premium": 0.00,
                            "inheritance_id": null,
                            "show_limit_and_premium_on_dec": false,
                            "system_tags": {
                                "9369867a-478e-4801-ae12-5c6565997174": true
                            },
                            "limit_updated": false,
                            "reference_id": "e1cafcfa-4c7b-11ea-b279-12dfd7f5b2f9",
                            "dec_font_italic": false,
                            "sub_line_instance_id": "9e4b8c3e-40f7-4f38-820a-e26401403e7f",
                            "default": false,
                            "link_obj": null,
                            "fully_billed": false,
                            "rate_chain_refs": [
                                {
                                    "chain_index": 0,
                                    "target_id": "587d21de-74a7-48e5-a32e-233772e1eb10",
                                    "chain_id": "d518d978-3709-4513-8153-c8981affe3ff",
                                    "reference_id": "e2101a23-4c7b-11ea-b279-12dfd7f5b2f9",
                                    "type": "automaticLimit",
                                    "id": "1b6f345d-c280-437e-853c-8a05970cdaac"
                                }
                            ],
                            "limit": 1000000,
                            "renewal_amount": 0.0000,
                            "deductible": 0.00,
                            "scheduled_item": {},
                            "override_limit": false,
                            "display_user_inputs_above_rate_categories": false,
                            "skip_pb_on_category_add": false,
                            "sort_order": 3,
                            "excluded_prorata_and_factor": false,
                            "id": "4e70c78a-2401-4b06-9c8e-98ce510806cf",
                            "allow_multiples": false,
                            "description": "",
                            "dec_font_bold": false,
                            "show_in_builder": "all",
                            "no_commission_paid_on_line_item": false,
                            "display_on_dec_as": "Section II",
                            "date_added_micro": "607247",
                            "renewal_modify": false,
                            "builder_obj": null,
                            "date_deleted": null,
                            "do_not_display_in_rating_information": false,
                            "added_midterm": false,
                            "dividend_factor": 0.0000
                        },
                        {
                            "required_for_quote": true,
                            "persist_status": "normal",
                            "date_updated": "2020-08-05 20:33:34",
                            "combine_premium": false,
                            "questions": [],
                            "has_limit": true,
                            "fully_earned": false,
                            "resolved": false,
                            "round_method": "ROUND_HALF_UP",
                            "written_premium": 0.00,
                            "date_added": "2020-08-05 20:26:46",
                            "status_reason": "",
                            "name": "Aggregate Limit - Other Than Products/Completed Operations",
                            "manual": false,
                            "has_loss_payee": false,
                            "limit_availability": "",
                            "dec_font_size": 10,
                            "pro_rate_fee": false,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "rate_chain": [
                                {
                                    "setLimitToMin": false,
                                    "description": "",
                                    "varName": null,
                                    "source": {
                                        "systemAutomatic": {
                                            "amount": "2.0000",
                                            "type": "factor",
                                            "sharedLimit": false
                                        }
                                    },
                                    "omitFromTotal": false,
                                    "type": "Limit",
                                    "round": "1",
                                    "unit": "dollar"
                                }
                            ],
                            "prevent_from_being_deleted": false,
                            "mandatory": true,
                            "loss_exposure_group": 0,
                            "disallow_submit_bound": false,
                            "deleted_by": null,
                            "category": "policy",
                            "annual_fee": null,
                            "not_applicable_for_agency_billing": false,
                            "renewal_zip_factors": [],
                            "dec_aliases": null,
                            "round_pro_rata": true,
                            "hide_in_brite_quote": false,
                            "submit_bound_limit_upper": 0,
                            "deleted": false,
                            "loss_free_credit": {},
                            "item_id": "8f4e652f-3c71-4f2a-870f-010a33dfe41e",
                            "skip_pb_on_mandatory_add": false,
                            "display_premium_as_incl": true,
                            "loss_exposure": false,
                            "renewal_split_by": "singleFactor",
                            "prev_adj_amt": -1000000.00,
                            "submit_bound_limit": false,
                            "round_to": "1",
                            "apply_date": "2020-07-27",
                            "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                            "previous_id": null,
                            "rating_details": {
                                "objects": [],
                                "finalPremium": "0"
                            },
                            "has_rate": false,
                            "sub_line_id": "9d2be28e-6ac0-4fd8-a84a-a2980751b0ea",
                            "written_fee": null,
                            "do_not_display_when_zero": false,
                            "type": "coverage",
                            "annual_premium": 0.00,
                            "inheritance_id": null,
                            "show_limit_and_premium_on_dec": false,
                            "system_tags": {
                                "9369867a-478e-4801-ae12-5c6565997174": true
                            },
                            "limit_updated": false,
                            "reference_id": "e1c1ad16-4c7b-11ea-b279-12dfd7f5b2f9",
                            "dec_font_italic": false,
                            "sub_line_instance_id": "9e4b8c3e-40f7-4f38-820a-e26401403e7f",
                            "default": false,
                            "link_obj": null,
                            "fully_billed": false,
                            "rate_chain_refs": [
                                {
                                    "chain_index": 0,
                                    "target_id": "587d21de-74a7-48e5-a32e-233772e1eb10",
                                    "chain_id": "8f4e652f-3c71-4f2a-870f-010a33dfe41e",
                                    "reference_id": "e2217de2-4c7b-11ea-b279-12dfd7f5b2f9",
                                    "type": "automaticLimit",
                                    "id": "cfd276c7-fa79-4baa-8b46-ce1271655bfa"
                                }
                            ],
                            "limit": 2000000,
                            "renewal_amount": 0.0000,
                            "deductible": 0.00,
                            "scheduled_item": {},
                            "override_limit": false,
                            "display_user_inputs_above_rate_categories": false,
                            "skip_pb_on_category_add": false,
                            "sort_order": 4,
                            "excluded_prorata_and_factor": false,
                            "id": "4928df69-1887-4499-9f17-127ce7f91a26",
                            "allow_multiples": false,
                            "description": "",
                            "dec_font_bold": false,
                            "show_in_builder": "all",
                            "no_commission_paid_on_line_item": false,
                            "display_on_dec_as": "Section II",
                            "date_added_micro": "794697",
                            "renewal_modify": false,
                            "builder_obj": null,
                            "date_deleted": null,
                            "do_not_display_in_rating_information": false,
                            "added_midterm": false,
                            "dividend_factor": 0.0000
                        }
                    ],
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "type": "liability"
                },
                {
                    "resolved": false,
                    "inheritance_id": null,
                    "persist_status": "normal",
                    "mandatory": true,
                    "description": "",
                    "hide_checkbox_workflow": "none",
                    "date_updated": "2020-02-10 21:09:14",
                    "system_tags": null,
                    "date_added_micro": "653008",
                    "sort_order": 5,
                    "reference_id": "e23d6ff8-4c7b-11ea-b279-12dfd7f5b2f9",
                    "date_added": "2020-08-05 20:26:45",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "status_reason": "",
                    "id": "512e30ce-e0e4-4a0f-9b71-100fc6dde8de",
                    "category": "policy",
                    "allow_multiples": false,
                    "name": "Additional Liability Coverages",
                    "default": false,
                    "date_deleted": null,
                    "sub_line_id": "4c2db60f-d21e-47c6-b707-d86ee5e27ee1",
                    "editable_name": false,
                    "link_obj": null,
                    "deleted_by": null,
                    "deleted": false,
                    "sub_line_name": "Additional Liability Coverages",
                    "items": [
                        {
                            "required_for_quote": true,
                            "persist_status": "normal",
                            "date_updated": "2020-08-05 20:33:34",
                            "combine_premium": false,
                            "questions": [],
                            "has_limit": true,
                            "fully_earned": false,
                            "resolved": false,
                            "round_method": "ROUND_HALF_UP",
                            "written_premium": 0.00,
                            "date_added": "2020-08-05 20:26:45",
                            "status_reason": "",
                            "name": "Employee Dishonesty",
                            "manual": false,
                            "has_loss_payee": false,
                            "limit_availability": "",
                            "dec_font_size": 10,
                            "pro_rate_fee": false,
                            "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                            "rate_chain": [
                                {
                                    "setLimitToMin": false,
                                    "description": "",
                                    "varName": null,
                                    "source": {
                                        "userChosen": [
                                            {
                                                "name": "",
                                                "limits": [
                                                    "10000",
                                                    "25000",
                                                    "50000"
                                                ]
                                            }
                                        ],
                                        "defaultLimitRow": 0
                                    },
                                    "omitFromTotal": false,
                                    "type": "Limit",
                                    "round": "1",
                                    "unit": "dollar"
                                },
                                {
                                    "description": "Mandatory $1,000 deductible applies",
                                    "type": "Deductible",
                                    "roundMethod": "ROUND_HALF_UP",
                                    "varName": null,
                                    "omitFromTotal": false,
                                    "deductibles": [
                                        {
                                            "modification": "1.0000",
                                            "amount": "1000.00",
                                            "defaultDeductible": "true",
                                            "unit": "Factor"
                                        }
                                    ],
                                    "roundTo": ""
                                },
                                {
                                    "description": "Pull in number of locations from policy wide section",
                                    "roundMethod": "ROUND_HALF_UP",
                                    "varName": "locations",
                                    "rates": {
                                        "[]": "1.00/1.00"
                                    },
                                    "sameForAll": false,
                                    "type": "Rate Per",
                                    "input": "selectedPremiums",
                                    "omitFromTotal": true,
                                    "roundTo": "1.000",
                                    "categories": []
                                },
                                {
                                    "description": "Number of locations over 1",
                                    "assignment": "New Variable",
                                    "newVarName": "locationNo",
                                    "evalCode": "this.locations - 1",
                                    "varName": "locationNo",
                                    "omitFromTotal": true,
                                    "type": "Evaluation",
                                    "final": false
                                },
                                {
                                    "description": "Number of Employees",
                                    "roundMethod": "ROUND_HALF_UP",
                                    "varName": "employeeNo",
                                    "defaultValue": "",
                                    "label": "Number of Employees",
                                    "rates": {
                                        "[]": "1.00/1.00"
                                    },
                                    "sameForAll": false,
                                    "type": "Rate Per",
                                    "input": "userInput",
                                    "omitFromTotal": true,
                                    "roundTo": "1.000",
                                    "categories": [],
                                    "validationParam": "pos-int"
                                },
                                {
                                    "description": "5 and Under Employees",
                                    "assignment": "New Variable",
                                    "newVarName": "employeeNoUnder",
                                    "evalCode": "d('41') * items[\"Loss Cost Multiplier - Policy\"].lcmPolicy if this.employeeNo >= 0 and this.limit == 25000\nelse\nd('88') * items[\"Loss Cost Multiplier - Policy\"].lcmPolicy if this.employeeNo >= 0 and this.limit == 50000\nelse\nd('0')",
                                    "varName": "employeeNoUnder",
                                    "omitFromTotal": true,
                                    "type": "Evaluation",
                                    "final": false
                                },
                                {
                                    "description": "Per Employee 6 and over",
                                    "assignment": "New Variable",
                                    "newVarName": "employeeNoOver",
                                    "evalCode": "d('4') * items[\"Loss Cost Multiplier - Policy\"].lcmPolicy * (this.employeeNo - 5) if  this.employeeNo >= 6 and this.limit == 25000\nelse\nd('6') * items[\"Loss Cost Multiplier - Policy\"].lcmPolicy * (this.employeeNo - 5) if  this.employeeNo >= 6 and this.limit == 50000\nelse\nd('0')",
                                    "varName": "employeeNoOver",
                                    "omitFromTotal": true,
                                    "type": "Evaluation",
                                    "final": false
                                },
                                {
                                    "description": "Per Additional Location Charge",
                                    "assignment": "New Variable",
                                    "newVarName": "locationNoCal",
                                    "evalCode": "d('4') * items[\"Loss Cost Multiplier - Policy\"].lcmPolicy* (this.locationNo)  if  this.locationNo >= 1 and this.limit == 25000\nelse\nd('9') * items[\"Loss Cost Multiplier - Policy\"].lcmPolicy * (this.locationNo)  if  this.locationNo >= 1 and this.limit == 50000\nelse\nd('0')",
                                    "varName": "locationNoCal",
                                    "omitFromTotal": true,
                                    "type": "Evaluation",
                                    "final": false
                                },
                                {
                                    "description": "Premium Calculation",
                                    "assignment": "New Variable",
                                    "newVarName": "employeeSubtotal",
                                    "evalCode": "round((this.employeeNoUnder + this.employeeNoOver + this.locationNoCal), 0)",
                                    "varName": "employeeSubtotal",
                                    "omitFromTotal": false,
                                    "type": "Evaluation",
                                    "final": false
                                },
                                {
                                    "description": "",
                                    "assignment": "Premium",
                                    "newVarName": null,
                                    "evalCode": "round(round((this.employeeSubtotal * items[\"IRPM - Calc\"].premium),0) * items[\"CPD - Calc\"].premium, 0)",
                                    "varName": null,
                                    "omitFromTotal": false,
                                    "type": "Evaluation",
                                    "final": false
                                }
                            ],
                            "prevent_from_being_deleted": false,
                            "mandatory": true,
                            "loss_exposure_group": 0,
                            "disallow_submit_bound": false,
                            "deleted_by": null,
                            "category": "policy",
                            "annual_fee": null,
                            "not_applicable_for_agency_billing": false,
                            "renewal_zip_factors": [],
                            "dec_aliases": null,
                            "round_pro_rata": true,
                            "hide_in_brite_quote": false,
                            "submit_bound_limit_upper": 0,
                            "deleted": false,
                            "loss_free_credit": {},
                            "item_id": "be9fcee7-c85f-4b2b-94af-7c24fafac671",
                            "skip_pb_on_mandatory_add": false,
                            "display_premium_as_incl": true,
                            "loss_exposure": false,
                            "renewal_split_by": "singleFactor",
                            "prev_adj_amt": -1000000.00,
                            "submit_bound_limit": false,
                            "round_to": "1",
                            "apply_date": "2020-07-27",
                            "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                            "previous_id": null,
                            "rating_details": {
                                "objects": [
                                    {
                                        "runningTotal": 0.0,
                                        "isCustomVar": false,
                                        "name": "",
                                        "omit": false,
                                        "type": "Deductible",
                                        "description": "Mandatory $1,000 deductible applies"
                                    },
                                    {
                                        "runningTotal": 1.0,
                                        "isCustomVar": true,
                                        "name": "locations",
                                        "omit": false,
                                        "type": "Rate Per",
                                        "description": "Pull in number of locations from policy wide section"
                                    },
                                    {
                                        "runningTotal": 0.0,
                                        "isCustomVar": true,
                                        "name": "locationNo",
                                        "omit": false,
                                        "type": "Evaluation",
                                        "description": "Number of locations over 1"
                                    },
                                    {
                                        "runningTotal": 0.0,
                                        "isCustomVar": true,
                                        "name": "employeeNo",
                                        "omit": false,
                                        "type": "Rate Per",
                                        "description": "Number of Employees"
                                    },
                                    {
                                        "runningTotal": 0,
                                        "isCustomVar": true,
                                        "name": "employeeNoUnder",
                                        "omit": false,
                                        "type": "Evaluation",
                                        "description": "5 and Under Employees"
                                    },
                                    {
                                        "runningTotal": 0,
                                        "isCustomVar": true,
                                        "name": "employeeNoOver",
                                        "omit": false,
                                        "type": "Evaluation",
                                        "description": "Per Employee 6 and over"
                                    },
                                    {
                                        "runningTotal": 0,
                                        "isCustomVar": true,
                                        "name": "locationNoCal",
                                        "omit": false,
                                        "type": "Evaluation",
                                        "description": "Per Additional Location Charge"
                                    },
                                    {
                                        "runningTotal": 0,
                                        "isCustomVar": true,
                                        "name": "employeeSubtotal",
                                        "omit": false,
                                        "type": "Evaluation",
                                        "description": "Premium Calculation"
                                    },
                                    {
                                        "runningTotal": 0.0,
                                        "isCustomVar": false,
                                        "name": "Premium",
                                        "omit": false,
                                        "type": "Evaluation",
                                        "description": ""
                                    }
                                ],
                                "finalPremium": "0.00"
                            },
                            "has_rate": true,
                            "sub_line_id": "4c2db60f-d21e-47c6-b707-d86ee5e27ee1",
                            "written_fee": null,
                            "do_not_display_when_zero": false,
                            "type": "coverage",
                            "annual_premium": 0.00,
                            "inheritance_id": null,
                            "show_limit_and_premium_on_dec": false,
                            "system_tags": null,
                            "limit_updated": false,
                            "reference_id": "e1c7b59a-4c7b-11ea-b279-12dfd7f5b2f9",
                            "dec_font_italic": false,
                            "sub_line_instance_id": "512e30ce-e0e4-4a0f-9b71-100fc6dde8de",
                            "default": false,
                            "link_obj": null,
                            "fully_billed": false,
                            "rate_chain_refs": [
                                {
                                    "chain_index": 2,
                                    "target_id": "15b533ff-8c3d-41ff-8a01-57fed9daabd6",
                                    "chain_id": "be9fcee7-c85f-4b2b-94af-7c24fafac671",
                                    "reference_id": "e210655a-4c7b-11ea-b279-12dfd7f5b2f9",
                                    "type": "selectedPremiums",
                                    "id": "21c8328b-b27f-4eef-91e7-05101b40cc95"
                                }
                            ],
                            "limit": 10000,
                            "renewal_amount": 0.0000,
                            "deductible": 1000.00,
                            "scheduled_item": {},
                            "override_limit": false,
                            "display_user_inputs_above_rate_categories": false,
                            "skip_pb_on_category_add": false,
                            "sort_order": 25,
                            "excluded_prorata_and_factor": false,
                            "id": "64497756-4e0b-4e2a-ae83-b2ffbac6547c",
                            "allow_multiples": false,
                            "description": "",
                            "dec_font_bold": false,
                            "show_in_builder": "all",
                            "no_commission_paid_on_line_item": false,
                            "display_on_dec_as": "Section I",
                            "date_added_micro": "805952",
                            "renewal_modify": false,
                            "builder_obj": {
                                "userInputs": {
                                    "Number of Employees": ""
                                }
                            },
                            "date_deleted": null,
                            "do_not_display_in_rating_information": false,
                            "added_midterm": false,
                            "dividend_factor": 0.0000
                        }
                    ],
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "type": "liability"
                },
                {
                    "resolved": false,
                    "inheritance_id": null,
                    "persist_status": "normal",
                    "mandatory": true,
                    "description": "",
                    "hide_checkbox_workflow": "none",
                    "date_updated": "2020-02-10 21:09:14",
                    "system_tags": null,
                    "date_added_micro": "572209",
                    "sort_order": 36,
                    "reference_id": "e23d660b-4c7b-11ea-b279-12dfd7f5b2f9",
                    "date_added": "2020-08-05 20:26:45",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "status_reason": "",
                    "id": "c31dad70-774b-4c23-917d-aca33868d4af",
                    "category": "policy",
                    "allow_multiples": false,
                    "name": "Additional Forms",
                    "default": false,
                    "date_deleted": null,
                    "sub_line_id": "4a4118ea-12e7-4f97-ae13-88218b79231b",
                    "editable_name": false,
                    "link_obj": null,
                    "deleted_by": null,
                    "deleted": false,
                    "sub_line_name": "Additional Forms",
                    "items": [],
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "type": "liability"
                }
            ],
            "dec_description": null,
            "items": [
                {
                    "required_for_quote": false,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [
                        {
                            "inheritance_id": null,
                            "underwriting": false,
                            "date_updated": "2020-02-10 21:09:12",
                            "input_type": "Single Line",
                            "system_tags": null,
                            "show_message_popup": false,
                            "label": "Audit/Inspection Contact Name",
                            "print_options": {
                                "quote": 1,
                                "app": 1,
                                "dec": 1
                            },
                            "required_for_app": true,
                            "reference_id": "e117c68e-4c7b-11ea-b279-12dfd7f5b2f9",
                            "item_id": "43e227bf-1b22-49fd-af99-8c0f33f22656",
                            "message_popup_text": "",
                            "group_id": null,
                            "sort_order": 0,
                            "id": "f793115e-d3a1-4e68-b0ac-9e77d4062af2",
                            "multiples": false,
                            "list_items": null
                        },
                        {
                            "inheritance_id": null,
                            "underwriting": false,
                            "date_updated": "2020-02-10 21:09:12",
                            "input_type": "Single Line",
                            "system_tags": null,
                            "show_message_popup": false,
                            "label": "Audit/Inspection Contact Phone Number",
                            "print_options": {
                                "quote": 1,
                                "app": 1,
                                "dec": 1
                            },
                            "required_for_app": true,
                            "reference_id": "e10f84a2-4c7b-11ea-b279-12dfd7f5b2f9",
                            "item_id": "43e227bf-1b22-49fd-af99-8c0f33f22656",
                            "message_popup_text": "",
                            "group_id": null,
                            "sort_order": 1,
                            "id": "5b43ace4-4421-436f-9f56-14fe2e67a244",
                            "multiples": false,
                            "list_items": null
                        }
                    ],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:42",
                    "status_reason": "",
                    "name": "Audit/Inspection Contact",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "43e227bf-1b22-49fd-af99-8c0f33f22656",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [],
                        "finalPremium": "0"
                    },
                    "has_rate": false,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "adjustment",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1b643c0-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 44,
                    "excluded_prorata_and_factor": false,
                    "id": "1668da86-e11c-439b-a7c4-433cafabede8",
                    "allow_multiples": false,
                    "description": "",
                    "dec_font_bold": false,
                    "show_in_builder": "all",
                    "no_commission_paid_on_line_item": false,
                    "display_on_dec_as": "",
                    "date_added_micro": "978551",
                    "renewal_modify": false,
                    "builder_obj": {
                        "questions": {
                            "f793115e-d3a1-4e68-b0ac-9e77d4062af2": [
                                {
                                    "text": ""
                                }
                            ],
                            "5b43ace4-4421-436f-9f56-14fe2e67a244": [
                                {
                                    "text": ""
                                }
                            ]
                        }
                    },
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": false,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [
                        {
                            "inheritance_id": null,
                            "underwriting": false,
                            "date_updated": "2020-02-10 21:09:12",
                            "input_type": "Multi-Line",
                            "system_tags": null,
                            "show_message_popup": false,
                            "label": "Business Description",
                            "print_options": {
                                "quote": 1,
                                "app": 1,
                                "dec": 1
                            },
                            "required_for_app": true,
                            "reference_id": "e10dc8f7-4c7b-11ea-b279-12dfd7f5b2f9",
                            "item_id": "314d2963-908e-4dc1-83f5-88e80f5f0aa9",
                            "message_popup_text": "",
                            "group_id": null,
                            "sort_order": 0,
                            "id": "27880e7b-899b-4aa6-b0b6-3d65ee2b3e40",
                            "multiples": false,
                            "list_items": null
                        }
                    ],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:43",
                    "status_reason": "",
                    "name": "Business Description",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "314d2963-908e-4dc1-83f5-88e80f5f0aa9",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [],
                        "finalPremium": "0"
                    },
                    "has_rate": false,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "adjustment",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1b416e6-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 45,
                    "excluded_prorata_and_factor": false,
                    "id": "0e93b95d-58c7-4afe-8664-2bfbc88f49c0",
                    "allow_multiples": false,
                    "description": "",
                    "dec_font_bold": false,
                    "show_in_builder": "all",
                    "no_commission_paid_on_line_item": false,
                    "display_on_dec_as": "",
                    "date_added_micro": "195129",
                    "renewal_modify": false,
                    "builder_obj": {
                        "questions": {
                            "27880e7b-899b-4aa6-b0b6-3d65ee2b3e40": [
                                {
                                    "text": ""
                                }
                            ]
                        }
                    },
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:43",
                    "status_reason": "",
                    "name": "Tournaments, Races, and Other Events",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "varName": null,
                            "omitFromTotal": false,
                            "type": "Categories",
                            "description": "",
                            "categories": [
                                {
                                    "syncValue": false,
                                    "preservationUuids": [],
                                    "pushChangeValuePersistant": false,
                                    "decStatus": "Yes",
                                    "category": "Do you sponsor/hold tournaments, races, and other events?",
                                    "disableBQ": false,
                                    "matrix": {},
                                    "showMessagePopup": false,
                                    "disallowOptions": [
                                        null,
                                        false,
                                        false
                                    ],
                                    "printOrder": "",
                                    "defaultToDefault": false,
                                    "messagePopupText": "",
                                    "requireSelection": false,
                                    "matrixPresent": false,
                                    "lineItemId": null,
                                    "defaultOption": "Please make a selection",
                                    "type": "Standard",
                                    "options": [
                                        "Please make a selection",
                                        "No",
                                        "Yes"
                                    ],
                                    "neverShowInBQ": false
                                }
                            ]
                        },
                        {
                            "description": "Error - Please make a selection",
                            "varName": "errorSelect",
                            "newVarName": "errorSelect",
                            "evalCode": "error('Please make a selection for \"Do you sponsor/hold tournaments, races, and other events?\"')\nif this.categories['Do you sponsor/hold tournaments, races, and other events?'] in ['Please make a selection']\nelse\n0",
                            "assignment": "New Variable",
                            "omitFromTotal": true,
                            "type": "Evaluation",
                            "final": false
                        },
                        {
                            "description": "Error - UW Approval required for Tournaments",
                            "varName": "errorTourn",
                            "newVarName": "errorTourn",
                            "evalCode": "error('Sponsoring/holding tournaments, races, and other events requires underwriting approval to quote.  Please contact underwriting.')\nif this.categories[\"Do you sponsor/hold tournaments, races, and other events?\"] in [\"Yes\"]\nand\nitems[\"UW Approval - Liability\"].categories[\"Tournaments\"] in [\"No\"]\nelse\n0",
                            "assignment": "New Variable",
                            "omitFromTotal": true,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "c247d038-380c-4293-ac93-768dd5e6dddf",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 0,
                                "isCustomVar": true,
                                "name": "errorSelect",
                                "omit": false,
                                "type": "Evaluation",
                                "description": "Error - Please make a selection"
                            },
                            {
                                "runningTotal": 0,
                                "isCustomVar": true,
                                "name": "errorTourn",
                                "omit": false,
                                "type": "Evaluation",
                                "description": "Error - UW Approval required for Tournaments"
                            }
                        ],
                        "finalPremium": "0"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "adjustment",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1c8561e-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 46,
                    "excluded_prorata_and_factor": false,
                    "id": "fa54f96d-dae4-4ce9-8ec2-e060903d90ad",
                    "allow_multiples": false,
                    "description": "",
                    "dec_font_bold": false,
                    "show_in_builder": "all",
                    "no_commission_paid_on_line_item": false,
                    "display_on_dec_as": "",
                    "date_added_micro": "429078",
                    "renewal_modify": false,
                    "builder_obj": {
                        "overrideCategories": [],
                        "categories": {
                            "Do you sponsor/hold tournaments, races, and other events?": "No"
                        }
                    },
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:33",
                    "combine_premium": false,
                    "questions": [
                        {
                            "inheritance_id": null,
                            "underwriting": false,
                            "date_updated": "2020-02-10 21:09:12",
                            "input_type": "Single Line",
                            "system_tags": null,
                            "show_message_popup": false,
                            "label": "Companion Policy Number(s)",
                            "print_options": {
                                "quote": 1,
                                "app": 1,
                                "dec": 1
                            },
                            "required_for_app": true,
                            "reference_id": "e1163a91-4c7b-11ea-b279-12dfd7f5b2f9",
                            "item_id": "0fb07299-3337-4dfc-aeab-527062c6efba",
                            "message_popup_text": "",
                            "group_id": null,
                            "sort_order": 0,
                            "id": "cc411255-fc23-48f2-84f6-1e1f0e1535e3",
                            "multiples": false,
                            "list_items": null
                        }
                    ],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:43",
                    "status_reason": "",
                    "name": "Companion Policy Discount",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "varName": null,
                            "omitFromTotal": false,
                            "type": "Categories",
                            "description": "",
                            "categories": [
                                {
                                    "syncValue": false,
                                    "preservationUuids": [],
                                    "pushChangeValuePersistant": false,
                                    "decStatus": "Yes",
                                    "category": "Companion Policy Type",
                                    "disableBQ": false,
                                    "matrix": {},
                                    "showMessagePopup": false,
                                    "disallowOptions": [
                                        null,
                                        false,
                                        false,
                                        false
                                    ],
                                    "printOrder": "",
                                    "defaultToDefault": false,
                                    "messagePopupText": "",
                                    "requireSelection": false,
                                    "matrixPresent": false,
                                    "lineItemId": null,
                                    "defaultOption": "Not Applicable",
                                    "type": "Standard",
                                    "options": [
                                        "Not Applicable",
                                        "CA",
                                        "FA",
                                        "PA"
                                    ],
                                    "neverShowInBQ": false
                                }
                            ]
                        },
                        {
                            "description": "",
                            "assignment": "New Variable",
                            "newVarName": "comDis",
                            "evalCode": "d('.90') \nif this.categories[\"Companion Policy Type\"] in [\"CA\", \"FA\", \"PA\"]\nelse\n1.00",
                            "varName": "comDis",
                            "omitFromTotal": true,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "0fb07299-3337-4dfc-aeab-527062c6efba",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 1.0,
                                "isCustomVar": true,
                                "name": "comDis",
                                "omit": false,
                                "type": "Evaluation",
                                "description": ""
                            }
                        ],
                        "finalPremium": "0"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "adjustment",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": {
                        "0ebdb358-e5a8-11e2-ac5e-080027738aa6": true
                    },
                    "limit_updated": false,
                    "reference_id": "e1b0cd3d-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 47,
                    "excluded_prorata_and_factor": false,
                    "id": "9c0c3c34-4497-4f91-873b-fe1f51ed4eb2",
                    "allow_multiples": false,
                    "description": "",
                    "dec_font_bold": false,
                    "show_in_builder": "all",
                    "no_commission_paid_on_line_item": false,
                    "display_on_dec_as": "",
                    "date_added_micro": "635736",
                    "renewal_modify": false,
                    "builder_obj": {
                        "questions": {
                            "cc411255-fc23-48f2-84f6-1e1f0e1535e3": [
                                {
                                    "text": ""
                                }
                            ]
                        },
                        "overrideCategories": [],
                        "categories": {
                            "Companion Policy Type": "Not Applicable"
                        }
                    },
                    "date_deleted": null,
                    "do_not_display_in_rating_information": false,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:43",
                    "status_reason": "",
                    "name": "Mortgagee Bill",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "varName": null,
                            "omitFromTotal": false,
                            "type": "Categories",
                            "description": "",
                            "categories": [
                                {
                                    "syncValue": false,
                                    "preservationUuids": [],
                                    "pushChangeValuePersistant": false,
                                    "decStatus": "No",
                                    "category": "If there is a mortgagee on the policy, do you want it billed to the mortgagee?",
                                    "disableBQ": false,
                                    "matrix": {},
                                    "showMessagePopup": false,
                                    "disallowOptions": [
                                        null,
                                        false,
                                        false
                                    ],
                                    "printOrder": "",
                                    "defaultToDefault": false,
                                    "messagePopupText": "",
                                    "requireSelection": false,
                                    "matrixPresent": false,
                                    "lineItemId": null,
                                    "defaultOption": "Please make a selection",
                                    "type": "Standard",
                                    "options": [
                                        "Please make a selection",
                                        "No",
                                        "Yes"
                                    ],
                                    "neverShowInBQ": false
                                }
                            ]
                        },
                        {
                            "description": "Error - Make Selection",
                            "assignment": "New Variable",
                            "newVarName": "errorSelect",
                            "evalCode": "error('Please indicate if the policy is mortgagee billed.')\nif this.categories[\"If there is a mortgagee on the policy, do you want it billed to the mortgagee?\"] == \"Please make a selection\"\nelse\n0",
                            "varName": "errorSelect",
                            "omitFromTotal": true,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "3b38d840-5a85-46ec-a089-ebc191a1028d",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 0,
                                "isCustomVar": true,
                                "name": "errorSelect",
                                "omit": false,
                                "type": "Evaluation",
                                "description": "Error - Make Selection"
                            }
                        ],
                        "finalPremium": "0"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "adjustment",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": {
                        "0ebdb358-e5a8-11e2-ac5e-080027738aa6": true
                    },
                    "limit_updated": false,
                    "reference_id": "e1b566bd-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 48,
                    "excluded_prorata_and_factor": false,
                    "id": "68e1f89d-8ed9-49fc-bcc7-a6dcaa845dd5",
                    "allow_multiples": false,
                    "description": "",
                    "dec_font_bold": false,
                    "show_in_builder": "all",
                    "no_commission_paid_on_line_item": false,
                    "display_on_dec_as": "",
                    "date_added_micro": "837090",
                    "renewal_modify": false,
                    "builder_obj": {
                        "overrideCategories": [],
                        "categories": {
                            "If there is a mortgagee on the policy, do you want it billed to the mortgagee?": "No"
                        }
                    },
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:44",
                    "status_reason": "",
                    "name": "Paid-In-Full Discount",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "varName": null,
                            "omitFromTotal": false,
                            "type": "Categories",
                            "description": "",
                            "categories": [
                                {
                                    "syncValue": false,
                                    "defaultToDefault": false,
                                    "decStatus": "Yes",
                                    "category": "Is the insured paying the total policy premium in full?",
                                    "disableBQ": false,
                                    "matrix": {},
                                    "showMessagePopup": false,
                                    "disallowOptions": [
                                        null,
                                        false,
                                        false
                                    ],
                                    "printOrder": "",
                                    "preservationUuids": [],
                                    "messagePopupText": "",
                                    "requireSelection": false,
                                    "matrixPresent": false,
                                    "lineItemId": null,
                                    "defaultOption": "Please make a selection",
                                    "type": "Standard",
                                    "options": [
                                        "Please make a selection",
                                        "No",
                                        "Yes"
                                    ],
                                    "neverShowInBQ": false
                                }
                            ]
                        },
                        {
                            "description": "",
                            "roundMethod": "ROUND_HALF_UP",
                            "varName": "premTotal",
                            "rates": {
                                "[]": "1.00/1.00"
                            },
                            "sameForAll": false,
                            "type": "Rate Per",
                            "input": "selectedPremiums",
                            "omitFromTotal": true,
                            "roundTo": "1",
                            "categories": []
                        },
                        {
                            "description": "Error - Make a selection for PIF",
                            "assignment": "New Variable",
                            "newVarName": "errorPIF",
                            "evalCode": "error('Please indicate if the insured is paying the policy premium in full.')\nif this.categories[\"Is the insured paying the total policy premium in full?\"] == \"Please make a selection\"\nelse\n0",
                            "varName": "errorPIF",
                            "omitFromTotal": true,
                            "type": "Evaluation",
                            "final": false
                        },
                        {
                            "description": "Apply PIF discount, if applicable",
                            "assignment": "New Variable",
                            "newVarName": "paymentOption",
                            "evalCode": "d('-.05') \nif this.categories[\"Is the insured paying the total policy premium in full?\"] == \"Yes\"\nelse\nd('0.00')",
                            "varName": "paymentOption",
                            "omitFromTotal": true,
                            "type": "Evaluation",
                            "final": false
                        },
                        {
                            "description": "",
                            "assignment": "Premium",
                            "newVarName": null,
                            "evalCode": "this.premTotal * this.paymentOption",
                            "varName": null,
                            "omitFromTotal": false,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 197,
                                "isCustomVar": true,
                                "name": "premTotal",
                                "omit": false,
                                "type": "Rate Per",
                                "description": ""
                            },
                            {
                                "runningTotal": 0,
                                "isCustomVar": true,
                                "name": "errorPIF",
                                "omit": false,
                                "type": "Evaluation",
                                "description": "Error - Make a selection for PIF"
                            },
                            {
                                "runningTotal": 0.0,
                                "isCustomVar": true,
                                "name": "paymentOption",
                                "omit": false,
                                "type": "Evaluation",
                                "description": "Apply PIF discount, if applicable"
                            },
                            {
                                "runningTotal": 0.0,
                                "isCustomVar": false,
                                "name": "Premium",
                                "omit": false,
                                "type": "Evaluation",
                                "description": ""
                            }
                        ],
                        "finalPremium": "0.00"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": true,
                    "type": "adjustment",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1c357d9-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [
                        {
                            "chain_index": 1,
                            "target_id": "b64efd77-a10d-4bbc-bb02-0f7f8b23b6d5",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21ace33-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "870142e9-7f80-4ce6-848f-c09e2cab24e8"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "446360e1-e46e-4024-8fb5-70e3ed65fcd0",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21de45a-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "aa053310-f783-458c-b663-2c6646d72d09"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "7afebb23-0abb-4980-a77b-ed8a93665eec",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21defd3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "ab1d7607-5abb-42ab-bdfa-8ac184b32758"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "7570f2e1-9ffe-47c8-9e62-941c749a89aa",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21df9d0-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "ab880fe6-b275-4562-9065-2853fbe914f2"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "aea418e7-343b-4be5-ae72-f06abee5650c",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21dfb6a-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "abd31f4e-d389-49b1-8efe-52b103951652"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "294e93b6-3f28-486e-841b-dc21890f32c6",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21e0910-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "ac839176-671a-4476-aa4c-b0758266a261"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "7c74300f-3b11-4222-bb69-88719569c153",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21e67cb-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "b434faab-8491-474a-8c4b-c3442f100af9"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "75169e19-cda3-4ebc-9e73-67a1b352916a",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21ed0b4-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "b6da8533-ca49-40ec-a7f3-6c2fb1e7a28b"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "e20bf5e6-a4be-47de-bec8-573dc2240a74",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21ef113-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "b9279192-23c8-44ea-b2e4-1c04a2062db9"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "61f88faa-cad7-4915-a8f8-f1447b11db7d",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e220c55b-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "c5e496be-ffa8-4381-a1e4-c32be7e810f0"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "12579139-9c38-40d5-b124-faed9a407c2d",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21dbfdd-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "a74f4a0a-4dc3-4043-9940-5b61794fdc6f"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "ed43403b-4019-4a7c-974b-f67bf6226582",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21db1f3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "a667706d-780e-4698-810c-4af28895b5f9"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "8e55ddea-36df-4f7a-9b8b-792d46914c49",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21ae251-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "87e5fa92-24b8-40b6-beca-d191be089832"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "e610a695-c93f-4c59-9ab1-24f90f618a8d",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21b01ef-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8ae7527b-374d-4119-aa50-5bc5e9242128"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "80589d39-9d14-4a78-b3ae-322b7e14be70",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21b29a4-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8d363f4c-468b-4c47-9a98-e580180e933e"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "a657f5a5-c592-4e7a-866a-0307d1b9e4de",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21b45f6-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8ed1b072-71ee-441b-8054-8b66172d8914"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "dc70a775-b6f6-45d5-bb66-7f156b53da1d",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21c3b0e-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "995318d1-5f01-4e3c-896b-8b0769a61798"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "1972a5c7-1a09-475b-b5c1-83a3cb655dca",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21cc438-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "9db6700f-3da5-44c8-b5d8-8e3e83a0a530"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "aff8afe7-60ba-4589-82ca-d56882e4bdf9",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21cf8ee-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "9ec7c6fc-0860-4eef-bac6-e18f5cc8f62e"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "8ff5d777-b321-4a5c-bcac-335158517408",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21d3cc3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "a1816912-590c-48e5-aede-e70fae12449a"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "38996a62-57b9-4cc7-aca8-d5c5156739f3",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21da5b2-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "a59ff705-b687-4ef4-a86c-a1e783279da9"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "3322815d-41f0-4e91-9f88-fcd72fc6be4f",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e220c756-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "c60dccd0-61f8-4a26-8393-970066c93cbb"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "2afe3627-b4fa-453c-a35b-47dff43f1a67",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e22115fd-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "c792bb13-9417-4da4-a89b-18eb66265606"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "4a97afbf-757d-4d4d-8b89-67615e51bcd4",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2214ea6-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "cbd9cfdd-3054-432a-83b4-edad047e008a"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "927685b4-c449-4130-98e1-da9cba0df77f",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2231387-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e6c5adb6-5626-4e92-b06f-0118614b89bc"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "937319e8-9b3f-4a30-aa77-dfd7ea9c6fde",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2234337-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e84c6e60-7813-4fe5-aec9-7c1efc78d8ad"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "fa84c10a-d294-4f04-a696-69a5371571e1",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e223940d-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e9b0a68d-fee8-4ea7-868e-7d84588b86a9"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "2f5c8cd5-7a86-4cac-a976-2dd971c4067f",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e223da10-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "ec35913b-5ced-43fa-8e4f-55cf7c751c53"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "6172b096-e9d1-4fdd-8d82-d020c2819602",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2241c47-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "ee3db16a-82f0-4926-9463-93f73fae7ff3"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "c9139663-0354-43df-9bb8-7dd193fee5a8",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2245524-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "f05c1629-a9d2-4e07-a390-a60487a63fd6"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "4cbd675d-e70e-43ee-99ef-0ef538947931",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e224cbac-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "f67a8a56-ccc0-4542-bb50-8a40b8f948e1"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "03daa298-54af-4ddf-bafc-1c67dc40150c",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e224d1f4-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "f724571c-ee5e-49fd-8c47-9d095d61c33a"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "8ce753c6-c1ae-438c-aa14-f4fd9a529471",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e224ef72-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "fa948397-83da-4a93-96c2-8882636ae484"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "eda82b57-0b4d-4952-8cb1-d3774a84304d",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e222a773-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e3294996-e318-4408-a772-f5d99b4fa3e0"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "7051e8bc-c858-449e-afde-33bac92b6286",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e222740f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e0464c65-2239-4bb8-9d17-0ad3da620605"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "0bca6a14-d90f-45c8-a0fd-b3e2ddc8d057",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2215987-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "ccc21cdb-c64f-44ec-88ce-3712ce2cde4a"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "d6815173-7267-4fad-b2b2-e88b52be14c7",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e22181e1-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "cff9aad2-1ad8-4ac9-a1ca-6591f32fb06c"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "8e872d8b-feca-4ddb-843a-16ac8515f15e",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2218adb-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "d0ac6933-e296-4234-b5c2-9df3fc46b0d1"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "347f3a21-d119-40b8-bbc3-d99b27286bb4",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2219986-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "d1886f5e-9273-47a2-b23a-ebfd7a8f4dc0"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "86a9f0fa-8582-44a3-91dd-139ab3c4cd97",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e221e4b9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "d6be962a-ec21-4dfe-9b68-78395e2fcab2"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "0370aae6-d3ad-41fa-84b5-f8c5052c73b1",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e221f69f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "d79f8984-6718-40c9-b50e-4e6f53cabf2b"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "4c96a921-1bf4-482c-b060-3ad2eba1d53f",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2223104-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "dba76c5f-a668-4a2c-bdbe-2855ddf324e3"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "efaf19fd-6128-4aa2-81e7-f6a4d4a2301b",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2223c61-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "dda991b3-21e1-4888-966f-ab8f1a76ef3b"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "221b5481-62b6-422c-9915-35767a6eccd8",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e22244b7-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "de2063ca-3e0b-418a-b6fc-a24345d1a1c7"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "a9bd390e-9d64-4ca8-b761-78fda5cabdbb",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e22510fc-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "fc8b4c42-894e-4332-a17f-4ed311893432"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "30975b4b-6576-4fe1-b3d7-1628ba7c6b3e",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e20e8625-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "0153dd18-428f-4780-8ff0-2bcbb234533f"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "331f4997-d998-48a4-ba15-8db46efd41a5",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2108e8c-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "256047d4-31d3-44a8-9bf1-55cff0bc9526"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "ea3f40cc-e01c-4316-b4e9-53ddff006526",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e210b91e-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "2754667e-fa96-4de9-bff6-8cf9cf28e0c0"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "ab987bb1-6e2d-4259-9d2a-e5bd74466a52",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2112a7f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "29f125d0-ee0f-4f08-ab09-c5891b251f97"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "d0597bc0-0ed8-4d7c-86b9-bb90c17c718e",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e212e790-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "3a4120cf-deae-48ae-b3c5-f69402f0480e"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "2d83a79c-97e9-4244-b7af-a198db8aa3d9",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2132662-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "3cdf4754-a485-4bb9-ad8a-5030a5fa82a7"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "81dd080d-88d0-41ba-8924-34b5d2980431",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2133497-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "3d49ccb4-c5f1-4044-b1a8-e3d56349e392"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "f39c3b64-620c-4736-88de-082c8b9f59a9",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2137308-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "40c99085-8503-49a6-8970-4897529d950c"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "10da365f-1b88-4609-a2b4-2c582a3c04bc",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e213b2a9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "462cffca-bac3-4426-abc1-d7468910daa1"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "be9fcee7-c85f-4b2b-94af-7c24fafac671",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e213c066-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "46c28cd4-de4a-4b8b-89a8-c936850fff86"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "fda1f688-4156-48c6-b568-086e0b6189a8",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2107837-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "234dde01-841e-457c-8988-e65218dccc3c"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "5df292fd-52b6-49af-9e57-81b92250c54f",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2106d25-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "22a89fe8-6979-4406-b35e-d9a69db53412"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "1bd23a3a-c24c-4851-b42c-cb4a013d1959",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e20e99d9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "02142adf-8d4a-4a78-8a32-3f49155c109a"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "248959c3-06c8-482f-b4c9-62ae2b2f1b02",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e20eb470-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "030ee045-1924-4f0d-9c91-3038d1ec5b09"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "daa457fc-22fd-4d9e-b51b-93b2e51d3ef9",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e20f42b5-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "0b397434-51db-437c-a36e-84e392be465a"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "3a4a7578-eb65-4e37-a2e5-9eed6140dc09",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e20f52c5-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "0c345705-d376-4938-92f8-667d5ada4a97"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "d53e3dfd-2586-4e2e-9b45-1ac2550cfddd",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e20f626f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "0d4a8a0d-235f-4ac1-b5ae-a4cc3d72a57b"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "cf77f672-bf73-4743-9644-4db506fe8450",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e20f8537-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "10c3a7e6-d257-4515-b28c-d39574317b05"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "587d21de-74a7-48e5-a32e-233772e1eb10",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e20f9c51-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "1341c382-04fd-4ba1-8051-9bcc3e5f8d33"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "f4f52c24-6e23-4060-a425-18943d0591b1",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e210153c-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "1ae1f1bf-1b22-48cc-8c83-372e468a0437"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "4cbe0fce-bae7-41d9-9ec1-e836c2878e99",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2105ad6-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "1fa74c6b-7842-4bb7-a1aa-8be4d2b6680b"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "0add3d03-570c-423d-a493-dacc93b36df2",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e213d1de-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "4777056a-9223-4a1c-b7d9-0ab54636f7f8"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "d085b6f8-903d-430b-bc8a-0a9f35f0cf56",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e213e2ce-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "492e0fd6-553d-4403-ac0e-9e2e654328b6"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "5ee7c38c-880f-4a2a-a208-f23400c27566",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2140d24-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "4b2b6ea4-13ab-4b18-bf88-168cadde8c71"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "3223e68a-48d1-4f38-928b-63a145cafcce",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e218529f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "6ce47f6a-c03d-4176-aaa4-2e9b55da851c"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "6469a5f9-257e-44fd-8091-9d722e0927b4",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e219ab2f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "6fa668b9-82e6-4d6f-be0e-a334b7587c8f"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "d518d978-3709-4513-8153-c8981affe3ff",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e219ca79-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "7174ac80-8303-4a8c-9b41-dde0f3a43f3f"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "af4d82e4-85eb-4b0d-a40e-141cc795d1f6",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e219ec75-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "737ad729-dea5-45de-b119-e97c404d08db"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "57b40a70-f1e0-49e1-9c73-0e39ee48911e",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21a2f89-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "7cba6eac-5ed2-4769-a697-19f225e10ab7"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "cacdcf34-c9b5-4b01-969d-5ae1b3711508",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21a388f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "7db906b5-d8d3-4a9b-ae4f-efd1827141a8"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "8f4e652f-3c71-4f2a-870f-010a33dfe41e",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21a62ef-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "80af0ad7-2453-4d94-a657-300fb0924d39"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "53cd2fda-592e-40b1-9a51-1e4b46931434",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21a8b53-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8230d4c3-0be7-416c-b202-4a0d9203580b"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "8a93bb29-e060-47fd-a3fd-4ead96e0e86e",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21a9cdf-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "834c6635-e172-440f-8118-9b9e4d2b1e9a"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "adf60c3a-b3ac-4c60-9ae3-255d5dc37445",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2184d0a-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "6c7bc1d6-e5db-40a8-952c-2387d8448bb6"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "34eea9f4-61ad-433b-8873-26bfa1efd8f4",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2182fc4-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "6b020d61-2bff-44ab-b836-39073d19681b"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "1407ef11-1733-4af5-90be-35624a25a332",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21479d0-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "4ede5e0e-fdda-4075-b1a7-4a660a832d54"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "30ed68a0-abb3-48f5-9202-4e605a8ba06e",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21491c0-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "50304973-ecf6-4b83-a971-309f959d0642"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "fa415e91-52e9-419b-9637-084f784e7bb9",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e214b702-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "527a0eb7-baf6-4c0d-a639-ebff3706c0c6"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "c57bb6ee-3ce6-4d10-bcd0-2777a6a43074",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e214efe9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "54e01606-7a71-4b43-aeb7-11126a02efc5"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "6aea752a-99e3-4ccc-be47-e4c0fdfb056d",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21581ff-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "5b3c05a6-86ba-4ab0-84c1-3607606fb678"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "e0cc4ec6-9e10-4545-a838-d511bb94ee94",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2163e51-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "63378452-c69f-4c3e-8979-a3381a0389ee"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "a32aece2-b8f9-40b9-b70e-bb275ba0cfa4",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e2164610-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "637271fd-9a5a-4367-ab92-ee2ae520033b"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "bce49a20-ee0e-499d-84dc-10016990fb96",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e217f2b3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "65e4b463-caa1-4367-a292-8fa5a2863ac1"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "dfdd223c-afd7-4bd9-9f70-550a2bf9a770",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e218275f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "69a5a443-ef94-4ce9-9a14-a0b658d167af"
                        },
                        {
                            "chain_index": 1,
                            "target_id": "493cb44e-5537-4d11-a8a4-414fbb313017",
                            "chain_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "reference_id": "e21aabbd-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "845dd883-ece3-4e20-afe6-365ac2953813"
                        }
                    ],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 49,
                    "excluded_prorata_and_factor": false,
                    "id": "6a57837e-e4e0-4acd-b6e0-f9f518e9d7fb",
                    "allow_multiples": false,
                    "description": "",
                    "dec_font_bold": false,
                    "show_in_builder": "all",
                    "no_commission_paid_on_line_item": false,
                    "display_on_dec_as": "Optional Items",
                    "date_added_micro": "042272",
                    "renewal_modify": false,
                    "builder_obj": {
                        "overrideCategories": [],
                        "categories": {
                            "Is the insured paying the total policy premium in full?": "No"
                        }
                    },
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 253.00,
                    "date_added": "2020-08-05 20:26:44",
                    "status_reason": "",
                    "name": "Minimum Premium Adjustment",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "description": "",
                            "roundMethod": "ROUND_HALF_UP",
                            "varName": "totalPrem",
                            "rates": {
                                "[]": "1.00/1.00"
                            },
                            "sameForAll": false,
                            "type": "Rate Per",
                            "input": "selectedPremiums",
                            "omitFromTotal": true,
                            "roundTo": "1.00",
                            "categories": []
                        },
                        {
                            "description": "",
                            "varName": "min",
                            "newVarName": "min",
                            "evalCode": "d('450')",
                            "assignment": "New Variable",
                            "omitFromTotal": false,
                            "type": "Evaluation",
                            "final": false
                        },
                        {
                            "description": "",
                            "varName": null,
                            "newVarName": null,
                            "evalCode": "this.min - this.totalPrem\n\nif this.min > this.totalPrem\nelse\n0",
                            "assignment": "Premium",
                            "omitFromTotal": false,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 197.0,
                                "isCustomVar": true,
                                "name": "totalPrem",
                                "omit": false,
                                "type": "Rate Per",
                                "description": ""
                            },
                            {
                                "runningTotal": 450,
                                "isCustomVar": true,
                                "name": "min",
                                "omit": false,
                                "type": "Evaluation",
                                "description": ""
                            },
                            {
                                "runningTotal": 253.0,
                                "isCustomVar": false,
                                "name": "Premium",
                                "omit": false,
                                "type": "Evaluation",
                                "description": ""
                            }
                        ],
                        "finalPremium": "253.00"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": true,
                    "type": "adjustment",
                    "annual_premium": 253.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1bfb8d8-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [
                        {
                            "chain_index": 0,
                            "target_id": "cf77f672-bf73-4743-9644-4db506fe8450",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21ac4ec-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "864c40cd-7243-494f-af97-0c6161775587"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "10da365f-1b88-4609-a2b4-2c582a3c04bc",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21c4fc3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "99878cae-1f28-41fd-a5da-1b659fdcdde2"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "53cd2fda-592e-40b1-9a51-1e4b46931434",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21c7063-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "9ac3db76-5933-452f-bbd6-3dfbf8547ce4"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "bce49a20-ee0e-499d-84dc-10016990fb96",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21c9f32-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "9ba17892-98dd-42c7-9634-938830062136"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "446360e1-e46e-4024-8fb5-70e3ed65fcd0",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21d27f0-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "a0cca765-5d66-4dc7-a580-02f6df819c6d"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "38996a62-57b9-4cc7-aca8-d5c5156739f3",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21d378d-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "a0f8265a-6030-4454-b9a9-020d7d85ce72"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "4cbe0fce-bae7-41d9-9ec1-e836c2878e99",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21d465c-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "a1e560d5-f2ec-45be-90e3-9e8fe0e6bf67"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "80589d39-9d14-4a78-b3ae-322b7e14be70",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21d6fa9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "a32566e8-1de6-4a02-823e-6d4e00ab0a14"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "86a9f0fa-8582-44a3-91dd-139ab3c4cd97",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21de868-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "aa23fa90-34b9-4b11-928e-c8820f6d3090"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "81dd080d-88d0-41ba-8924-34b5d2980431",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21df167-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "ab46bc44-360e-4c4d-a0d4-6b9ea195c7ce"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "4cbd675d-e70e-43ee-99ef-0ef538947931",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21bc220-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "96a9edce-39fc-4605-bf91-4e6caec33f99"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "d518d978-3709-4513-8153-c8981affe3ff",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21b6ce0-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "9103385a-8816-42b8-8c9a-08b0316f9640"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "2afe3627-b4fa-453c-a35b-47dff43f1a67",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21ac8a8-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "86de724e-77ce-450b-9c85-9b23ac073641"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "f4f52c24-6e23-4060-a425-18943d0591b1",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21ad001-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "871202e3-16c6-4023-9f35-86d014712f24"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "a32aece2-b8f9-40b9-b70e-bb275ba0cfa4",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21af234-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "899a6f2c-b8c3-40aa-ba81-77439dc87613"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "2d83a79c-97e9-4244-b7af-a198db8aa3d9",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21af873-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8a0321d3-541d-42bd-8304-b0b91b3d03b4"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "927685b4-c449-4130-98e1-da9cba0df77f",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21b13ef-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8bf1a36a-313d-48c1-9538-0bdba5ac9f2e"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "f39c3b64-620c-4736-88de-082c8b9f59a9",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21b34af-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8dd5a446-b5dd-4d8b-b2fc-f86d1d3e01bf"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "937319e8-9b3f-4a30-aa77-dfd7ea9c6fde",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21b3a27-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8de7624c-3159-41e3-9bd8-2ffc38a4f684"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "9cb581c1-cdf9-4395-8491-ec30ea0e7604",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21b427b-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8eaf9ceb-0ddb-4b6b-8382-99af730918f4"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "3322815d-41f0-4e91-9f88-fcd72fc6be4f",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21b550e-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "8fe3f938-f195-47f0-a929-2d5363009d77"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "587d21de-74a7-48e5-a32e-233772e1eb10",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21e51f4-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "b2bb0b20-4ddb-44a9-ace3-cfbf78929f6a"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "8a93bb29-e060-47fd-a3fd-4ead96e0e86e",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21eb740-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "b54e78fa-d50e-4429-a198-7e6730d48230"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "248959c3-06c8-482f-b4c9-62ae2b2f1b02",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21ecb3d-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "b64f6436-e9b5-4190-81e1-0efb21dc540d"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "d0597bc0-0ed8-4d7c-86b9-bb90c17c718e",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e222e3f8-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e50f9312-0e34-4ce6-b517-9b69c859426b"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "30ed68a0-abb3-48f5-9202-4e605a8ba06e",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e223001c-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e623be51-4dd5-4244-a967-2ede5d56cbd1"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "a9bd390e-9d64-4ca8-b761-78fda5cabdbb",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e22309e1-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e676457c-f010-44c4-978e-e8fbe4e9bd54"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "331f4997-d998-48a4-ba15-8db46efd41a5",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2235235-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e891f507-3b88-4729-973a-d8731b4843f8"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "adf60c3a-b3ac-4c60-9ae3-255d5dc37445",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e223970d-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e9fb7178-df68-4b89-a8b6-36787679a1ad"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "d6815173-7267-4fad-b2b2-e88b52be14c7",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e224e4a2-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "f96eb394-1909-4b84-8150-481f45987c87"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "be9fcee7-c85f-4b2b-94af-7c24fafac671",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e224f212-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "fa9e4961-68c3-458f-9c99-d456d40ebdce"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "dc70a775-b6f6-45d5-bb66-7f156b53da1d",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e225128d-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "fc8f06a4-3d40-4f9e-b606-dc70466e2254"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "61f88faa-cad7-4915-a8f8-f1447b11db7d",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2251895-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "fd98eec7-e79e-4ad1-9f8d-2f3f14444ec7"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "af4d82e4-85eb-4b0d-a40e-141cc795d1f6",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e222cae1-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "e4853803-85f9-4419-ba5c-b72da31157d7"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "d53e3dfd-2586-4e2e-9b45-1ac2550cfddd",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e22225bb-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "daca5701-42f6-4a21-a994-5d4eadf8cbcc"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "ab987bb1-6e2d-4259-9d2a-e5bd74466a52",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21fac11-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "bd9df44c-9a05-4823-9cdf-807ca6e71b8c"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "03daa298-54af-4ddf-bafc-1c67dc40150c",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2204e59-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "c2668931-cd49-49a1-b718-67f70570343e"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "daa457fc-22fd-4d9e-b51b-93b2e51d3ef9",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e22063f9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "c2c7c287-9d81-4b3c-a0b1-a2e2e627855d"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "e20bf5e6-a4be-47de-bec8-573dc2240a74",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e22107ac-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "c7520a1d-7ccd-48b4-8d32-ff3d11563613"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "12579139-9c38-40d5-b124-faed9a407c2d",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2211cd8-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "c7c8c807-cb7b-434a-8e18-4794915b2eb4"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "7c74300f-3b11-4222-bb69-88719569c153",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e22157b3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "cc88128a-242f-4fa0-844e-f03c99d5e70d"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "30975b4b-6576-4fe1-b3d7-1628ba7c6b3e",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2218cf0-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "d0e28e7d-30f9-4ce6-8412-3c1a42ae0ddf"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "3223e68a-48d1-4f38-928b-63a145cafcce",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e221a6e3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "d311bc78-1231-489f-a052-cef17771f53b"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "8ff5d777-b321-4a5c-bcac-335158517408",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e221c268-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "d4bf9625-5c35-4b27-8a68-2b4359dfe19c"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "4a97afbf-757d-4d4d-8b89-67615e51bcd4",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2251a14-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "fdb95ad3-6736-487f-a161-262814a10e8f"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "efaf19fd-6128-4aa2-81e7-f6a4d4a2301b",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21ab7e5-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "858783c7-4b51-4a69-b1af-7dfb4ccd3717"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "aea418e7-343b-4be5-ae72-f06abee5650c",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e20e7cdf-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "013c7942-7326-404f-b6d3-32b1bb7eac6b"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "0bca6a14-d90f-45c8-a0fd-b3e2ddc8d057",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2119d48-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "2e740d78-91b6-48d5-9353-57a29b00f002"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "c9139663-0354-43df-9bb8-7dd193fee5a8",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e211ccb3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "3063320c-9184-4659-9db9-bcb74c6e348a"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "dfdd223c-afd7-4bd9-9f70-550a2bf9a770",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e212763b-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "37eeb7a0-de13-4652-9c98-16c5363f78a0"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "2f5c8cd5-7a86-4cac-a976-2dd971c4067f",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21283a1-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "385baff9-90e9-4219-8819-3b42f558fa4c"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "8e55ddea-36df-4f7a-9b8b-792d46914c49",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e212aa90-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "39a1e941-64e2-4259-9714-3ea90fbe03d6"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "cacdcf34-c9b5-4b01-969d-5ae1b3711508",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21375c0-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "41397a9b-4360-4656-88ca-c20d53d2ecbc"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "1407ef11-1733-4af5-90be-35624a25a332",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e213796f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "41821273-d4c1-45c6-92cf-70f8f834dd30"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "ea3f40cc-e01c-4316-b4e9-53ddff006526",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2140818-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "4a90b12f-eb39-4cdb-9be6-742daecbb97a"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "fa415e91-52e9-419b-9637-084f784e7bb9",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21447b6-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "4db3eb64-3941-43db-877c-46d49af623da"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "34eea9f4-61ad-433b-8873-26bfa1efd8f4",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2113fb2-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "2b2aef6a-8fe7-4c5c-a5e6-5391014da21e"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "8e872d8b-feca-4ddb-843a-16ac8515f15e",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e210a01f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "26aa7def-18b9-4707-b0ee-514efdb66c76"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "eda82b57-0b4d-4952-8cb1-d3774a84304d",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e20f1636-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "094d4be8-bd3e-4eae-9ed0-da7c74940dad"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "1bd23a3a-c24c-4851-b42c-cb4a013d1959",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e20f4968-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "0b6965e8-39f5-4aa0-bc03-6123f6fb84cd"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "0add3d03-570c-423d-a493-dacc93b36df2",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e20f8ae0-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "114181d0-d4f3-4356-917e-328d13004826"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "fda1f688-4156-48c6-b568-086e0b6189a8",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e20f8e10-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "11fccf16-86bb-4930-82a3-5e3e75767a25"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "fa84c10a-d294-4f04-a696-69a5371571e1",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e20f9ac9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "13268709-7fda-4317-ae7a-e8c905e10fbb"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "ed43403b-4019-4a7c-974b-f67bf6226582",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e20fa9e2-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "13c296d7-502e-449d-ab99-6a2691da5030"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "aff8afe7-60ba-4589-82ca-d56882e4bdf9",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e20fc546-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "15bac712-5402-4a60-810f-9cb1a35b3d17"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "4c96a921-1bf4-482c-b060-3ad2eba1d53f",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e210561f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "1f667ec1-6ec3-4afb-9169-14b179bfb061"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "3a4a7578-eb65-4e37-a2e5-9eed6140dc09",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2106a24-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "22510224-9bf9-44e8-99e6-21a0713f18a3"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "294e93b6-3f28-486e-841b-dc21890f32c6",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2145a14-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "4e324e82-6a10-422b-b85e-42bd7d07e768"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "221b5481-62b6-422c-9915-35767a6eccd8",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e214b3b9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "521aa378-40bc-4caf-8eec-ddd265411f3e"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "6172b096-e9d1-4fdd-8d82-d020c2819602",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e214ba9d-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "52aa14ab-609e-4a93-a487-74836ed41bf1"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "0370aae6-d3ad-41fa-84b5-f8c5052c73b1",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e218377f-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "6b20f026-1d02-4e48-b5c7-5d7ad145d16b"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "c57bb6ee-3ce6-4d10-bcd0-2777a6a43074",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2198c4e-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "6ddd699c-55ae-47f6-9722-023a63edaadc"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "7afebb23-0abb-4980-a77b-ed8a93665eec",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e219b961-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "70a1cc0d-c279-4244-821d-ee577d158d4c"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "5df292fd-52b6-49af-9e57-81b92250c54f",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e219c261-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "7127634e-2c21-4b0f-a10c-1187c41d1d68"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "7570f2e1-9ffe-47c8-9e62-941c749a89aa",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21a0260-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "765bf137-7d4f-4e04-8e4e-06831ec3b330"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "8ce753c6-c1ae-438c-aa14-f4fd9a529471",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21a36dd-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "7da3cbca-8b5b-4649-be78-d5d2f37645e8"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "493cb44e-5537-4d11-a8a4-414fbb313017",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21a4624-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "7eced16e-a52a-4f4c-9ecf-12bd17a0eded"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "e610a695-c93f-4c59-9ab1-24f90f618a8d",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21a5478-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "7fe45f59-ffe6-4aa6-946b-4ba61c6937b4"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "347f3a21-d119-40b8-bbc3-d99b27286bb4",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21a55fd-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "80200555-5a77-49ef-90eb-9cab7deaf4c6"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "1972a5c7-1a09-475b-b5c1-83a3cb655dca",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21828fc-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "69af91f9-6a92-41eb-b36b-7d6652632f05"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "d085b6f8-903d-430b-bc8a-0a9f35f0cf56",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2181ea9-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "694888eb-4460-402d-b508-7f2972c4880e"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "e0cc4ec6-9e10-4545-a838-d511bb94ee94",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2151d90-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "57797e4f-ab6a-44a5-a1e8-c19a0965cbd2"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "75169e19-cda3-4ebc-9e73-67a1b352916a",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e2156e37-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "5ab26f98-5a22-4cd8-a6d3-b1018ad485de"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "6469a5f9-257e-44fd-8091-9d722e0927b4",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e215d2dd-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "5dc4bcd8-481e-45b2-af9a-5b0b10de72dd"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "a657f5a5-c592-4e7a-866a-0307d1b9e4de",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e215d62d-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "5e060350-03f6-474a-a10d-48f12b57a32b"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "7051e8bc-c858-449e-afde-33bac92b6286",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e215f2fa-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "5f97c97f-cc3d-49a7-bb4b-81bb3ebd634e"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "b64efd77-a10d-4bbc-bb02-0f7f8b23b6d5",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e215fcf2-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "6014dcf8-4104-4f0d-8f87-1da595b0066c"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "6aea752a-99e3-4ccc-be47-e4c0fdfb056d",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e216309e-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "621936c9-dc46-4179-baee-303f15047149"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "5ee7c38c-880f-4a2a-a208-f23400c27566",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e217f999-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "66042d3f-ba68-404f-957f-f910ab781242"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "8f4e652f-3c71-4f2a-870f-010a33dfe41e",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21807c3-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "66f14c2c-e7ab-4835-b178-0be34e57c7db"
                        },
                        {
                            "chain_index": 0,
                            "target_id": "57b40a70-f1e0-49e1-9c73-0e39ee48911e",
                            "chain_id": "7a038e13-784e-4d65-9dbf-9712d22d87dc",
                            "reference_id": "e21a5b5a-4c7b-11ea-b279-12dfd7f5b2f9",
                            "type": "selectedPremiums",
                            "id": "807c3bd7-cb9c-4b31-8d6f-2ae6e6b5a446"
                        }
                    ],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 50,
                    "excluded_prorata_and_factor": false,
                    "id": "c2f3db4b-3a25-40cf-aaf6-401d281893d4",
                    "allow_multiples": false,
                    "description": "$450",
                    "dec_font_bold": false,
                    "show_in_builder": "all",
                    "no_commission_paid_on_line_item": false,
                    "display_on_dec_as": "Optional Items",
                    "date_added_micro": "234959",
                    "renewal_modify": false,
                    "builder_obj": null,
                    "date_deleted": null,
                    "do_not_display_in_rating_information": false,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 1.00,
                    "date_added": "2020-08-05 20:26:44",
                    "status_reason": "",
                    "name": "IRPM - Calc",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "description": "",
                            "varName": null,
                            "newVarName": null,
                            "evalCode": "items[\"Individual Risk Premium Modification\"].irpmTotal\nif \"Individual Risk Premium Modification\" in items\nelse\nd('1')",
                            "assignment": "Premium",
                            "omitFromTotal": false,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "a0aaaa80-db30-4f28-9aaf-804361182485",
                    "skip_pb_on_mandatory_add": true,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1.00",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 1,
                                "isCustomVar": false,
                                "name": "Premium",
                                "omit": false,
                                "type": "Evaluation",
                                "description": ""
                            }
                        ],
                        "finalPremium": "1"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "calculation",
                    "annual_premium": 1.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1c3eba0-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 51,
                    "excluded_prorata_and_factor": true,
                    "id": "2416b6b5-29cc-4e92-a382-f13348bd5d38",
                    "allow_multiples": false,
                    "description": "Used to pull IRPM into property portion",
                    "dec_font_bold": false,
                    "show_in_builder": "none",
                    "no_commission_paid_on_line_item": true,
                    "display_on_dec_as": "",
                    "date_added_micro": "429700",
                    "renewal_modify": false,
                    "builder_obj": null,
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 1.00,
                    "date_added": "2020-08-05 20:26:44",
                    "status_reason": "",
                    "name": "CPD - Calc",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "description": "",
                            "varName": null,
                            "newVarName": null,
                            "evalCode": "items[\"Companion Policy Discount\"].comDis\nif \"Companion Policy Discount\" in items\nelse\nd('1')",
                            "assignment": "Premium",
                            "omitFromTotal": false,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "37426af5-5f76-42e0-a07e-f265f76744a0",
                    "skip_pb_on_mandatory_add": true,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1.00",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 1.0,
                                "isCustomVar": false,
                                "name": "Premium",
                                "omit": false,
                                "type": "Evaluation",
                                "description": ""
                            }
                        ],
                        "finalPremium": "1.0"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "calculation",
                    "annual_premium": 1.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1b4ef31-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 52,
                    "excluded_prorata_and_factor": true,
                    "id": "44b13cd1-393c-4637-84fa-565455a2873f",
                    "allow_multiples": false,
                    "description": "Used to pull Companion Policy Discount into property portion.",
                    "dec_font_bold": false,
                    "show_in_builder": "none",
                    "no_commission_paid_on_line_item": true,
                    "display_on_dec_as": "",
                    "date_added_micro": "628093",
                    "renewal_modify": false,
                    "builder_obj": null,
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:44",
                    "status_reason": "",
                    "name": "Loss Cost Multiplier - Policy",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "description": "Loss Cost Multiplier - Policy Factor",
                            "varName": "lcmPolicy",
                            "newVarName": "lcmPolicy",
                            "evalCode": "d('1.000')",
                            "assignment": "New Variable",
                            "omitFromTotal": false,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "df7a9774-3727-46d6-b800-39c26a5eb8db",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 1.0,
                                "isCustomVar": true,
                                "name": "lcmPolicy",
                                "omit": false,
                                "type": "Evaluation",
                                "description": "Loss Cost Multiplier - Policy Factor"
                            }
                        ],
                        "finalPremium": "0"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "calculation",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1cbfd0c-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 53,
                    "excluded_prorata_and_factor": true,
                    "id": "eb4519e7-28fb-4b5f-b7be-317b0d9f21ee",
                    "allow_multiples": false,
                    "description": "1.00",
                    "dec_font_bold": false,
                    "show_in_builder": "none",
                    "no_commission_paid_on_line_item": true,
                    "display_on_dec_as": "",
                    "date_added_micro": "839882",
                    "renewal_modify": false,
                    "builder_obj": null,
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:45",
                    "status_reason": "",
                    "name": "UW Approval - Liability",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "varName": null,
                            "omitFromTotal": false,
                            "type": "Categories",
                            "description": "",
                            "categories": [
                                {
                                    "syncValue": false,
                                    "defaultToDefault": false,
                                    "decStatus": "No",
                                    "category": "Pesticide or Herbicide Coverage",
                                    "disableBQ": false,
                                    "matrix": {},
                                    "showMessagePopup": false,
                                    "disallowOptions": [
                                        false,
                                        false
                                    ],
                                    "printOrder": "",
                                    "preservationUuids": [],
                                    "messagePopupText": "",
                                    "requireSelection": false,
                                    "matrixPresent": false,
                                    "lineItemId": null,
                                    "defaultOption": "No",
                                    "type": "Standard",
                                    "options": [
                                        "No",
                                        "Yes"
                                    ],
                                    "neverShowInBQ": false
                                },
                                {
                                    "syncValue": false,
                                    "preservationUuids": [],
                                    "pushChangeValuePersistant": false,
                                    "decStatus": "No",
                                    "category": "Tournaments",
                                    "disableBQ": false,
                                    "matrix": {},
                                    "showMessagePopup": false,
                                    "disallowOptions": [
                                        null,
                                        false
                                    ],
                                    "printOrder": "",
                                    "defaultToDefault": false,
                                    "messagePopupText": "",
                                    "requireSelection": false,
                                    "matrixPresent": false,
                                    "lineItemId": null,
                                    "defaultOption": "No",
                                    "type": "Standard",
                                    "options": [
                                        "No",
                                        "Yes"
                                    ],
                                    "neverShowInBQ": false
                                }
                            ]
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "b4f9c701-39d2-4046-ae6f-adb3af5ee557",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [],
                        "finalPremium": "0"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "adjustment",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1c69f9c-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 54,
                    "excluded_prorata_and_factor": true,
                    "id": "83882429-63c3-4cca-a7ec-e2b87245b9f5",
                    "allow_multiples": false,
                    "description": "",
                    "dec_font_bold": false,
                    "show_in_builder": "bc",
                    "no_commission_paid_on_line_item": true,
                    "display_on_dec_as": "",
                    "date_added_micro": "039112",
                    "renewal_modify": false,
                    "builder_obj": {
                        "overrideCategories": [],
                        "categories": {
                            "Tournaments": "No",
                            "Pesticide or Herbicide Coverage": "No"
                        }
                    },
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 1.00,
                    "date_added": "2020-08-05 20:26:45",
                    "status_reason": "",
                    "name": "Employee Dishonesty Location Counter",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "description": "",
                            "assignment": "Premium",
                            "newVarName": null,
                            "evalCode": "len(this.revision.property_groups)",
                            "varName": null,
                            "omitFromTotal": false,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": true,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "15b533ff-8c3d-41ff-8a01-57fed9daabd6",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": "singleFactor",
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 1,
                                "isCustomVar": false,
                                "name": "Premium",
                                "omit": false,
                                "type": "Evaluation",
                                "description": ""
                            }
                        ],
                        "finalPremium": "1"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "calculation",
                    "annual_premium": 1.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "e1b17354-4c7b-11ea-b279-12dfd7f5b2f9",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 55,
                    "excluded_prorata_and_factor": true,
                    "id": "53d0938c-188c-4ba6-a567-45825bb2ff7c",
                    "allow_multiples": false,
                    "description": "",
                    "dec_font_bold": false,
                    "show_in_builder": "none",
                    "no_commission_paid_on_line_item": true,
                    "display_on_dec_as": "",
                    "date_added_micro": "242767",
                    "renewal_modify": false,
                    "builder_obj": null,
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                },
                {
                    "required_for_quote": true,
                    "persist_status": "normal",
                    "date_updated": "2020-08-05 20:33:34",
                    "combine_premium": false,
                    "questions": [],
                    "has_limit": false,
                    "fully_earned": false,
                    "resolved": false,
                    "round_method": "ROUND_HALF_UP",
                    "written_premium": 0.00,
                    "date_added": "2020-08-05 20:26:45",
                    "status_reason": "",
                    "name": "Mortgagee Existence from Primary",
                    "manual": false,
                    "has_loss_payee": false,
                    "limit_availability": "",
                    "dec_font_size": 10,
                    "pro_rate_fee": false,
                    "revision_id": "f9f0d4a7-44fb-430d-8ae1-d061486cd0e9",
                    "rate_chain": [
                        {
                            "description": "111 if no mortgagee; 222 if a mortgagee exists",
                            "roundMethod": "ROUND_HALF_UP",
                            "varName": "mortgagee",
                            "rates": {
                                "[]": "1.00/1.00"
                            },
                            "sameForAll": false,
                            "type": "Rate Per",
                            "input": "selectedPremiums",
                            "omitFromTotal": true,
                            "roundTo": "1",
                            "categories": []
                        },
                        {
                            "description": "Error - Mortgagee Bill==Yes, but a mortgagee is not listed",
                            "assignment": "New Variable",
                            "newVarName": "errorMortgagee",
                            "evalCode": "error('\"Yes\" was selected for \"Mortgagee Bill\", however, there is not a mortgagee on the policy.  Please add a Mortgagee or change \"Mortgage Bill\" to No.')\nif this.mortgagee == 111 and items[\"Mortgagee Bill\"].categories[\"If there is a mortgagee on the policy, do you want it billed to the mortgagee?\"] == \"Yes\"\nelse\n0",
                            "varName": "errorMortgagee",
                            "omitFromTotal": true,
                            "type": "Evaluation",
                            "final": false
                        }
                    ],
                    "prevent_from_being_deleted": false,
                    "mandatory": true,
                    "loss_exposure_group": 0,
                    "disallow_submit_bound": false,
                    "deleted_by": null,
                    "category": "policy",
                    "annual_fee": null,
                    "not_applicable_for_agency_billing": false,
                    "renewal_zip_factors": [],
                    "dec_aliases": null,
                    "round_pro_rata": false,
                    "hide_in_brite_quote": false,
                    "submit_bound_limit_upper": 0,
                    "deleted": false,
                    "loss_free_credit": {},
                    "item_id": "463f60d8-17aa-489c-964e-99ff9e20fff4",
                    "skip_pb_on_mandatory_add": false,
                    "display_premium_as_incl": false,
                    "loss_exposure": false,
                    "renewal_split_by": null,
                    "prev_adj_amt": -1000000.00,
                    "submit_bound_limit": false,
                    "round_to": "1",
                    "apply_date": "2020-07-27",
                    "policy_type_id": "8e44883f-8412-4f2f-96f7-1d0998a9b02d",
                    "previous_id": null,
                    "rating_details": {
                        "objects": [
                            {
                                "runningTotal": 111,
                                "isCustomVar": true,
                                "name": "mortgagee",
                                "omit": false,
                                "type": "Rate Per",
                                "description": "111 if no mortgagee; 222 if a mortgagee exists"
                            },
                            {
                                "runningTotal": 0,
                                "isCustomVar": true,
                                "name": "errorMortgagee",
                                "omit": false,
                                "type": "Evaluation",
                                "description": "Error - Mortgagee Bill==Yes, but a mortgagee is not listed"
                            }
                        ],
                        "finalPremium": "0"
                    },
                    "has_rate": true,
                    "sub_line_id": null,
                    "written_fee": null,
                    "do_not_display_when_zero": false,
                    "type": "calculation",
                    "annual_premium": 0.00,
                    "inheritance_id": null,
                    "show_limit_and_premium_on_dec": false,
                    "system_tags": null,
                    "limit_updated": false,
                    "reference_id": "fcf753a4-d7b1-4598-9b08-b8d84aeaef8c",
                    "dec_font_italic": false,
                    "sub_line_instance_id": null,
                    "default": false,
                    "link_obj": null,
                    "fully_billed": false,
                    "rate_chain_refs": [
                        {
                            "chain_index": 0,
                            "target_id": "1fcfd7c6-4f88-45fa-a6e9-ab366615ee35",
                            "chain_id": "463f60d8-17aa-489c-964e-99ff9e20fff4",
                            "reference_id": "6d20221a-f016-4251-8f62-1ff22b461978",
                            "type": "selectedPremiums",
                            "id": "4faa19b3-a5b4-45d7-98d7-90d8cfd56746"
                        }
                    ],
                    "limit": 0,
                    "renewal_amount": 0.0000,
                    "deductible": 0.00,
                    "scheduled_item": {},
                    "override_limit": false,
                    "display_user_inputs_above_rate_categories": false,
                    "skip_pb_on_category_add": false,
                    "sort_order": 56,
                    "excluded_prorata_and_factor": true,
                    "id": "bc2c9a66-e2b0-40f0-bdf5-b15655732e43",
                    "allow_multiples": false,
                    "description": "Checks for a mortgagee",
                    "dec_font_bold": false,
                    "show_in_builder": "none",
                    "no_commission_paid_on_line_item": true,
                    "display_on_dec_as": "",
                    "date_added_micro": "432860",
                    "renewal_modify": false,
                    "builder_obj": null,
                    "date_deleted": null,
                    "do_not_display_in_rating_information": true,
                    "added_midterm": false,
                    "dividend_factor": 0.0000
                }
            ],
            "commission_rate": 0.1500,
            "commit_date": "2020-08-05",
            "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
            "annual_policy_wide_premium": 253.00,
            "underwriting_contact_date": null,
            "mortgagees": [],
            "builder_ready_to_rate": false,
            "reinstate_at_commit": false,
            "underwriting_contacted": false,
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a"
        }
    },
    "messages": [],
    "success": true
}

Step 4: Retrieve existing revisions of the policy

The listRevision endpoint returns a list of existing revisions. Pass policy_id from step 3 to filter by your policy. You will need the revision id from this response to retrieve the policyholder information in the next step.

Sample request

View code
curl --location --request GET '<client url>/policies/revisions/?filter[policy_id]=fb4fbae4-4047-4bfa-a37f-073a6c21539a' \
--header 'Authorization: <enter access token here>'

Sample response

View code
 "data": [
        {
            "type": "revisions",
            "id": "4fd51a40-8fdb-49c9-a8ca-28f54a7d744f",
            "attributes": {
                "britelines_product_name": "personalAutoCW",
                "cancel_date": null,
                "commission_rate": "0.0000",
                "commit_date": "2020-07-27",
                "create_date": "2020-07-27T18:45:59Z",
                "date_archived": null,
                "dec_description": null,
                "description": null,
                "written_fee": "0.00",
                "grant_mortgagee_extension": 0,
                "override_commission": 0,
                "policy_status": "Active",
                "policy_status_reason_id": null,
                "written_premium": "2965.00",
                "written_premium_delta": "0.00",
                "print_dec": 1,
                "reinstate_at_commit": 0,
                "revision_date": "2020-07-27",
                "revision_state": "committed",
                "annual_fee": "0.00",
                "annual_premium": "2965.00",
                "underwriting_questions": null,
                "underwriting_contacted": 0,
                "underwriting_contact_date": null,
                "builder_pending": 0,
                "deleted": 0,
                "credit_report_permissions": null,
                "date_updated": "2020-07-27T18:46:01Z",
                "last_visited": null,
                "builder_ready_to_rate": 0,
                "review_workflow_state": "NOT_STARTED",
                "review_workflow_request_reason": null,
                "underwriting_options": null
            },
            "relationships": {
                "policy": {
                    "data": {
                        "type": "policies",
                        "id": "53bb476a-5c20-412e-ac0d-e5aaf18172c5"
                    }
                },
                "policy_type": {
                    "data": {
                        "type": "policy-types",
                        "id": "fb35598a-f987-49e5-ae68-fc736b6efed9"
                    }
                },
                "policy_term": {
                    "data": {
                        "type": "policy-terms",
                        "id": "5b56dd23-4572-4972-bff7-3edbe66d91b0"
                    }
                }
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 1
        }
    }
}

Step 5: Retrieve policyholder information

The listRevisionsContact endpoint will return the contact details for a particular revision. The revision ID from step 4 is a required parameter.

Sample request

View code
curl --request GET \
  --url '<client url>/policies/revisions-contacts/?filter[revision_id]=f9f0d4a7-44fb-430d-8ae1-d061486cd0e9 \
  --header 'authorization: <your access token>'

Sample response

View code
"data": [
        {
            "type": "x-revisions-contacts",
            "id": "e17644a8-d2b1-4e90-bdc6-302efb7ac322",
            "attributes": {
                "namedinsured": 1,
                "addtlinterest": 0,
                "interest": null,
                "agent": 0,
                "creator": 0,
                "financecompany": 0,
                "underwriter": 0,
                "dateadded": "2020-07-27T18:45:59.839857Z",
                "dateupdated": "2020-07-27T18:46:00Z"
            },
            "relationships": {
                "revision": {
                    "data": {
                        "type": "revisions",
                        "id": "4fd51a40-8fdb-49c9-a8ca-28f54a7d744f"
                    }
                },
                "contact": {
                    "data": {
                        "type": "contacts",
                        "id": "370edd0d-4c1e-47e3-abf7-82f20721d4c3"
                    }
                }
            }
        },
        {
            "type": "x-revisions-contacts",
            "id": "6652c5b0-05bd-4e56-b317-778e0013203c",
            "attributes": {
                "namedinsured": 0,
                "addtlinterest": 0,
                "interest": null,
                "agent": 1,
                "creator": 0,
                "financecompany": 0,
                "underwriter": 0,
                "dateadded": "2020-07-27T18:45:59.842953Z",
                "dateupdated": "2020-07-27T18:46:00Z"
            },
            "relationships": {
                "revision": {
                    "data": {
                        "type": "revisions",
                        "id": "4fd51a40-8fdb-49c9-a8ca-28f54a7d744f"
                    }
                },
                "contact": {
                    "data": {
                        "type": "contacts",
                        "id": "b83deae1-ac73-4874-8def-c1d2311d473c"
                    }
                }
            }
        }
    ],
    "meta": {
        "pagination": {
            "page": 1,
            "pages": 1,
            "count": 2
        }
    }
}

Step 6: Retrieve Billing information

The retrieve_policy_billing_information endpoint (/v2/payments/retrieve_policy_billing_information) retrieves the billing information. Pass the policy_id and policy _term_id from step 4 and True for Billing_only.

Sample request

View code
url --location --request POST 'https://policies-sandbox.britecore.com/api/v2/payments/retrieve_policy_billing_information' \
--header 'Authorization: <enter your token here' \
--header 'Content-Type: text/plain' \
--header 'Cookie: webpy_session_id=0de85182f97326b613b2210600e431e30fa460fa' \
--data-raw '{
   
    "policy_term_id":"5b56dd23-4572-4972-bff7-3edbe66d91b0",
    "billing_only": "True",
    curl --location --request POST 'https://sales-demo.britecore.com/api/v2/payments/retrieve_policy_billing_information' \
--header 'Authorization: <enter your access token>' \
--header 'Content-Type: text/plain' \
--header 'Cookie: webpy_session_id=eefe42f584f0564be2f20b9d8140cf97f3c7ae00' \
--data-raw '{
   
   "policy_term_id": "c3f8197d-6f8c-41e2-afb7-bc7889a1172a",
    "billing_only": "true",
     "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a"
}'

Sample response

View code
{
    "data": {
        "billingSchedule": "6f6892a2-df10-4842-bc0a-12009b8cb30b",
        "whenWithdraw": 0,
        "sendInitialInvoice": false,
        "initialSelectedValues": {
            "billingSchedules": "6f6892a2-df10-4842-bc0a-12009b8cb30b",
            "whenWithdraw": 0,
            "paymentMethods": "",
            "manualReason": "",
            "billWhoms": "df29f7ed-b15a-4c06-888d-274b5f21c6d6",
            "billHows": "17bb7127-089e-441e-b0da-c26030c11cf7"
        },
        "billWhoms": [
            {
                "hideSweep": false,
                "billingSchedules": [
                    {
                        "billingSchedule": "Annual",
                        "automaticPaymentReminder": false,
                        "id": "3ac9e53f-faf0-40fa-a434-6b3b55055995"
                    },
                    {
                        "billingSchedule": "11-pay",
                        "automaticPaymentReminder": false,
                        "id": "6f6892a2-df10-4842-bc0a-12009b8cb30b"
                    },
                    {
                        "billingSchedule": "12-pay",
                        "automaticPaymentReminder": false,
                        "id": "94a2e104-e6d9-4166-ae92-c62b1e3cfa49"
                    }
                ],
                "paymentMethods": [
                    {
                        "paymentMethod": "Manual Pay: Cash, Check, Money Order",
                        "id": ""
                    },
                    {
                        "sweepPaymentMethod": false,
                        "paymentMethod": "Auto Pay: VISA        ...3010 (John Doe Test)",
                        "id": "07690e6c-82a4-41ad-9084-de5ae46a005b",
                        "description": "Auto"
                    }
                ],
                "billWhom": "John Doe - (Named Insured)",
                "id": "df29f7ed-b15a-4c06-888d-274b5f21c6d6",
                "billHows": [
                    {
                        "billHow": "Mailing/Billing: 123 S Main St - Pine Bluff, AR 71601",
                        "id": "17bb7127-089e-441e-b0da-c26030c11cf7"
                    }
                ]
            },
            {
                "hideSweep": false,
                "billingSchedules": [
                    {
                        "billingSchedule": "Annual",
                        "automaticPaymentReminder": false,
                        "id": "3ac9e53f-faf0-40fa-a434-6b3b55055995"
                    },
                    {
                        "billingSchedule": "11-pay",
                        "automaticPaymentReminder": false,
                        "id": "6f6892a2-df10-4842-bc0a-12009b8cb30b"
                    },
                    {
                        "billingSchedule": "12-pay",
                        "automaticPaymentReminder": false,
                        "id": "94a2e104-e6d9-4166-ae92-c62b1e3cfa49"
                    }
                ],
                "paymentMethods": [
                    {
                        "paymentMethod": "Manual Pay: Cash, Check, Money Order",
                        "id": ""
                    }
                ],
                "billWhom": "Johnson Insurance Services LLC - (Agent/Agency)",
                "id": "6e4361c4-5896-4368-99e5-33668738e7e9",
                "billHows": [
                    {
                        "billHow": "Billing: PO Box 206 - Mound City, MO 64470",
                        "id": "83913944-e9e0-40c8-8975-88aca8e55d85"
                    },
                    {
                        "billHow": "Email : jeremyjohnsoninsurance@earthlink.net",
                        "id": "8f7dcf33-1224-407e-a515-c2c6ccf83426"
                    }
                ]
            }
        ],
        "recurringSelectedValues": {
            "billingSchedules": "6f6892a2-df10-4842-bc0a-12009b8cb30b",
            "whenWithdraw": 0,
            "billWhoms": "df29f7ed-b15a-4c06-888d-274b5f21c6d6",
            "paymentMethods": "",
            "billHows": "17bb7127-089e-441e-b0da-c26030c11cf7"
        }
    },
    "messages": [],
    "success": true
}

Step 7: Retrieve Invoice information

The get_invoices endpoint (/v2/accounting/get_invoices) retrieves invoice information for a particular policy. You can send the following payload with your request. Only the policy_id is required.

View code
{
    "due_to_date": "<string>",
    "page_number": "<integer>",
    "page_size": "<integer>",
    "sorting_order": "<string>",
    "bill_to_date": "<string>",
    "policy_id": "<string>",
    "due_from_date": "<string>",
    "bill_from_date": "<string>"
}

Sample request

View code
curl --location --request POST '<client url>/api/v2/accounting/get_invoices' \
--header 'Authorization: <enter your access token>' \
--header 'Content-Type: text/plain' \
--header 'Cookie: webpy_session_id=b65e1b733ad02a92f86cd3c7e50cb9978244489f' \
--data-raw '{
  
  "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a"
   
}'

Sample response

View code
{
    "data": {
        "due_to_date": null,
        "page_number": 1,
        "bill_to_date": null,
        "invoices": [
            {
                "fileKey": "cdea337b-6edd-4956-ba16-e1555051c8bc",
                "date": "08/05/2020",
                "data": {
                    "amount": 72.50,
                    "schedule": {
                        "Premium": 67.5,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "09/30/2020",
                        "paidInFull": true,
                        "billDate": "08/05/2020",
                        "description": "Initial Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "09/19/2020"
                    }
                },
                "id": "c6564ce9-306f-485a-9c66-173ec62fc377",
                "icon": "view",
                "summary": "Initial Invoice",
                "credit": "",
                "amount": 72.50,
                "debit": 72.50,
                "balance": "72.50",
                "type": "Invoice"
            },
            {
                "fileKey": "642fe4a6-0b31-439c-9d23-bb8ced036023",
                "date": "08/12/2020",
                "data": {
                    "amount": 45.00,
                    "schedule": {
                        "Premium": 45.0,
                        "Installment Fee": 0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "10/07/2020",
                        "paidInFull": true,
                        "billDate": "08/12/2020",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": false,
                        "dueDate": "09/26/2020"
                    }
                },
                "id": "ef4c7700-58dd-4918-bbe4-6b127899c0b8",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 45.00,
                "debit": 45.00,
                "balance": "-82.50",
                "type": "Invoice"
            },
            {
                "fileKey": "3303da2d-785b-4d99-97bb-00b451fa0211",
                "date": "09/12/2020",
                "data": {
                    "amount": 45.00,
                    "schedule": {
                        "Premium": 45.0,
                        "Installment Fee": 0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "11/06/2020",
                        "paidInFull": true,
                        "billDate": "09/12/2020",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": false,
                        "dueDate": "10/26/2020"
                    }
                },
                "id": "0048fdf1-35e8-475b-b7cc-50ffb59c9d19",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 45.00,
                "debit": 45.00,
                "balance": "-37.50",
                "type": "Invoice"
            },
            {
                "fileKey": "00649612-9d45-4250-8368-3053238496b1",
                "date": "10/12/2020",
                "data": {
                    "amount": 50.00,
                    "schedule": {
                        "Premium": 45.0,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "12/07/2020",
                        "paidInFull": false,
                        "billDate": "10/12/2020",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "11/26/2020"
                    }
                },
                "id": "6f60ef6e-7c7e-4888-b2af-c2a2a5fa8c65",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 50.00,
                "debit": 50.00,
                "balance": "12.50",
                "type": "Invoice"
            },
            {
                "fileKey": "abfab7c7-9849-4fd8-97b3-3e54b88ad5c9",
                "date": "11/12/2020",
                "data": {
                    "amount": 50.00,
                    "schedule": {
                        "Premium": 45.0,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "01/06/2021",
                        "paidInFull": false,
                        "billDate": "11/12/2020",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "12/26/2020"
                    }
                },
                "id": "9d696b64-2e13-49d2-a8bb-7ad3a6c7eaf2",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 50.00,
                "debit": 50.00,
                "balance": "62.50",
                "type": "Invoice"
            },
            {
                "fileKey": "5a1fdd11-cf7d-4f4e-a5cc-c9f8209d7c60",
                "date": "12/12/2020",
                "data": {
                    "amount": 50.00,
                    "schedule": {
                        "Premium": 45.0,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "02/06/2021",
                        "paidInFull": false,
                        "billDate": "12/12/2020",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "01/26/2021"
                    }
                },
                "id": "d5e8fe23-33d2-44dd-846c-af5269ff3a3e",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 50.00,
                "debit": 50.00,
                "balance": "112.50",
                "type": "Invoice"
            },
            {
                "fileKey": "ed2270e2-d6ac-4584-9b86-14463705f6a9",
                "date": "01/12/2021",
                "data": {
                    "amount": 50.00,
                    "schedule": {
                        "Premium": 45.0,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "03/09/2021",
                        "paidInFull": false,
                        "billDate": "01/12/2021",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "02/26/2021"
                    }
                },
                "id": "39c0de96-36cc-4c53-bb8e-4d99239113bb",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 50.00,
                "debit": 50.00,
                "balance": "162.50",
                "type": "Invoice"
            },
            {
                "fileKey": "b8883c89-beee-46d2-b0ea-5895f99559d6",
                "date": "02/12/2021",
                "data": {
                    "amount": 50.00,
                    "schedule": {
                        "Premium": 45.0,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "04/06/2021",
                        "paidInFull": false,
                        "billDate": "02/12/2021",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "03/26/2021"
                    }
                },
                "id": "88ce7dad-ffd6-44fc-becf-06899be4fb68",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 50.00,
                "debit": 50.00,
                "balance": "212.50",
                "type": "Invoice"
            },
            {
                "fileKey": "40108208-61a7-47d3-9b30-0bef2338d698",
                "date": "03/12/2021",
                "data": {
                    "amount": 27.50,
                    "schedule": {
                        "Premium": 22.5,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "05/07/2021",
                        "paidInFull": false,
                        "billDate": "03/12/2021",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "04/26/2021"
                    }
                },
                "id": "c96d8880-f4a0-45b0-bcd3-93e2064717e5",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 27.50,
                "debit": 27.50,
                "balance": "240.00",
                "type": "Invoice"
            },
            {
                "fileKey": "2fdbefa7-242c-4dc6-989b-3fb263a2a7f3",
                "date": "04/12/2021",
                "data": {
                    "amount": 27.50,
                    "schedule": {
                        "Premium": 22.5,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "06/06/2021",
                        "paidInFull": false,
                        "billDate": "04/12/2021",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "05/26/2021"
                    }
                },
                "id": "05c6968a-5d8e-4f4a-b738-1cbe1e750017",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 27.50,
                "debit": 27.50,
                "balance": "267.50",
                "type": "Invoice"
            },
            {
                "fileKey": "496d3ea1-3617-4912-9802-955b6fb9cece",
                "date": "05/12/2021",
                "data": {
                    "amount": 27.50,
                    "schedule": {
                        "Premium": 22.5,
                        "Installment Fee": 5.0,
                        "Custom Fees": 0.0
                    },
                    "details": {
                        "showDelete": false,
                        "cancelDate": "07/07/2021",
                        "paidInFull": false,
                        "billDate": "05/12/2021",
                        "description": "Installment Invoice",
                        "generatedBy": "test",
                        "policyStatus": "Active",
                        "showEditAndReprint": true,
                        "dirty": false,
                        "showWaive": true,
                        "dueDate": "06/26/2021"
                    }
                },
                "id": "3c61f5b4-74ce-4334-8790-1bff8b1d84b5",
                "icon": "view",
                "summary": "Installment Invoice",
                "credit": "",
                "amount": 27.50,
                "debit": 27.50,
                "balance": "295.00",
                "type": "Invoice"
            }
        ],
        "sorting_order": "asc",
        "bill_from_date": null,
        "total_pages": 1,
        "due_from_date": null,
        "page_size": 50,
        "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a"
    },
    "messages": [],
    "success": true

}

Step 8: Update payment status

To update the payment status because the payment was processed by a third-party vendor outside of BriteCore, use the make_payment_by_invoice_and_policy endpoint (v2/payments/make_payment_by_invoice_or_policy). When you pass the payment_transaction_id, the make_payment_by_invoice_and_policy endpoint automatically updates the payment amount and payment status while bypassing the payment vendor.

You need to send the following payload in your request:

View code
{
    "payment_date": <YY_MM_DD>,
    "policy_number": <string>,
    "amount": <float>,
    "last_four_of_card": <string>,
    "payment_transaction_id": <string>
}

Sample request

View code
curl --location --request POST '<client url>/api/v2/payments/make_payment_by_contact_and_payment_method' \
--header 'Content-Type: application/json' \
--header 'Authorization: <enter your access token>' \
--data-raw '{ 
	   "payment_date": "2020-08-07",
    "policy_number": "BP0070816",
    "amount": 100.00,
    "last_four_of_card": "1234",
    "payment_transaction_id": "1234567890"}'

Sample response

View code
{
"data": {
"isDuplicate": false,
"payoffAmount": 255.00,
"confirmationNumber": "74331596813768"
},
"messages": [
"Updated account balances."
],
"success": true
}

Step 9: Retrieve payments on policy

Use the retrieve_payments_on_policy endpoint (v2/utils/retrieve_payments_on_policy')to view the list of payments made on the policy.

Sample request

View code
curl --location --request POST '<client url>/api/v2/utils/retrieve_payments_on_policy' \
--header 'Authorization: <enter your access token>' \
--header 'Content-Type: text/plain' \
--header 'Cookie: webpy_session_id=70e6375d4c1936ff1e7f37a23cdf5b2966cdc104' \
--data-raw '{
 
    "policy_number": "BP0070816"
}'

Sample response

View code


{
    "data": [
        {
            "transaction_amount": 100.00,
            "transaction_date_time": "2020-08-07 00:00:00",
            "id": "219503d3-a1f1-48bd-b306-63d57753fc26",
            "description": "Paid through 09/26/2020."
        },
        {
            "transaction_amount": 100.00,
            "transaction_date_time": "2020-08-07 00:00:00",
            "id": "183f3126-f7e6-4ff7-bd1f-f85ba99198ed",
            "description": "Paid through 11/26/2020."
        }
    ],
    "messages": [],
    "success": true
}

Step 10: List policy documents/attachments

Use the endpoint list_attachments (/v2/deliverables/list_attachments) to list all related attachments in the policy, including receipts.

Sample request

View code

curl --location --request POST '<client url>/api/v2/deliverables/list_attachments' \
--header 'Authorization: <enter your access token>' \
--header 'Content-Type: text/plain' \
--header 'Cookie: webpy_session_id=70e6375d4c1936ff1e7f37a23cdf5b2966cdc104' \
--data-raw '{
  
    "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a”
}'

Sample response

View code

{
    "data": [
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "00649612-9d45-4250-8368-3053238496b1",
            "print_date": null,
            "title": "10-12-2020 - Installment Billing Statement"
        },
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "0ae301a8-f653-4697-907a-257b7299faf5",
            "print_date": null,
            "title": "Policyholder Notification Letter"
        },
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "13aaf7ca-2722-4077-8653-2440bc5a7dc2",
            "print_date": null,
            "title": "10-12-2020 - Installment Billing Statement"
        },
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "1527271a-7330-47d2-91cd-6f8a0f96bc29",
            "print_date": null,
            "title": "04-12-2021 - Installment Billing Statement"
        },
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "1c91bd40-ebbd-4bc3-987f-0859d0c5ea08",
            "print_date": null,
            "title": "12-12-2020 - Installment Billing Statement"
        },
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "279206ca-06f1-436e-a330-0a2fed75892c",
            "print_date": null,
            "title": "07-27-2020 - IRPM"
        },
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "2fdbefa7-242c-4dc6-989b-3fb263a2a7f3",
            "print_date": null,
            "title": "04-12-2021 - Installment Billing Statement"
        },
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "3303da2d-785b-4d99-97bb-00b451fa0211",
            "print_date": null,
            "title": "09-12-2020 - Installment Billing Statement"
        },
        
                {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": "Installment Billing Statement",
            "id": "e08bb393-2906-4413-b4f5-ad919b878215",
            "print_date": "2021-04-12",
            "title": "04-12-2021 - Installment Billing Statement - John Doe"
        },
        {
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": "Installment Billing Statement",
            "id": "c0121846-c330-4525-b641-9d5972481e72",
            "print_date": "2021-05-12",
            "title": "05-12-2021 - Installment Billing Statement - John Doe"
        }
{
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": null,
            "id": "dd6f1c93-003d-48b0-85ce-b8e341ff9eb0",
            "print_date": null,
            "title": "Receipt"
        },
{
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": "Payment Receipt",
            "id": "e25f93d0-8e5c-4f44-83b5-7a1e11c86d79",
            "print_date": null,
            "title": "Payment made on August 07, 2020 10:23:00"
        },
{
            "policy_id": "fb4fbae4-4047-4bfa-a37f-073a6c21539a",
            "label": "Payment Receipt",
            "id": "f0c68a42-7123-4a10-b7d8-e330fca63be4",
            "print_date": null,
            "title": "Payment made on August 07, 2020 10:18:56"
        },

    ],
    "messages": [],
    "success": true
}

Step 11: Get the receipt (Base64)

To get your payment receipt, pass the file_id from step 10 to the endpoint get_attachment (/v2/deliverables/get_attachment).

Sample request

View code
curl --location --request POST 'https://sales-demo.britecore.com/api/v2/deliverables/get_attachment' \
--header 'Authorization: ‘enter your access token' \
--header 'Content-Type: text/plain' \
--header 'Cookie: webpy_session_id=70e6375d4c1936ff1e7f37a23cdf5b2966cdc104' \
--data-raw '{
    "file_id": "f0c68a42-7123-4a10-b7d8-e330fca63be4"
}'

Sample response

The response is in Base64. You can use a free online tool like Base64 Guru to decode it and convert to PDF.

View code

{
    "data": {
        "content": "JVBERi0xLjQNCiWTjIueIFJlcG9ydExhYiBHZW5lcmF0ZWQgUERGIGRvY3VtZW50IGh0dHA6Ly93\nd3cucmVwb3J0bGFiLmNvbQ0KJSAnQmFzaWNGb250cyc6IGNsYXNzIFBERkRpY3Rpb25hcnkgDQox\nIDAgb2JqDQolIFRoZSBzdGFuZGFyZCBmb250cyBkaWN0aW9uYXJ5DQo8PCAvRjEgMiAwIFINCiAv\nRjIgNCAwIFIgPj4NCmVuZG9iag0KJSAnRjEnOiBjbGFzcyBQREZUeXBlMUZvbnQgDQoyIDAgb2Jq\nDQolIEZvbnQgSGVsdmV0aWNhDQo8PCAvQmFzZUZvbnQgL0hlbHZldGljYQ0KIC9FbmNvZGluZyAv\nV2luQW5zaUVuY29kaW5nDQogL05hbWUgL0YxDQogL1N1YnR5cGUgL1R5cGUxDQogL1R5cGUgL0Zv\nbnQgPj4NCmVuZG9iag0KJSAnRm9ybVhvYi41OGQzNGY2YThkNWRlNzU0M2VjNDJiZGYwMWExYjdi\nMSc6IGNsYXNzIFBERkltYWdlWE9iamVjdCANCjMgMCBvYmoNCjw8IC9CaXRzUGVyQ29tcG9uZW50\nIDgNCiAvQ29sb3JTcGFjZSAvRGV2aWNlUkdCDQogL0ZpbHRlciBbIC9BU0NJSTg1RGVjb2RlDQog\nL0ZsYXRlRGVjb2RlIF0NCiAvSGVpZ2h0IDU0DQogL0xlbmd0aCAxOTgxDQogL1N1YnR5cGUgL0lt\nYWdlDQogL1R5cGUgL1hPYmplY3QNCiAvV2lkdGggMTg5ID4+DQpzdHJlYW0NCkdiIi9saGVObS4n\nWl40aT9bVkZoLWMkJHA3LjxWSmQyKilwcVZtLGtMXjU0KFcxWltNVWAnZFAuXF1maihAI0w7RyJa\nJm5END5fJzoiKm9uUClZR20pQiwqNFVlMTFUOCwoY25vZkM7QmRxTzlUU05GTSxMMmM7O2JlN1hN\nQj9pTG5cTUtlZ0U4YmtWbW9IIjBpU2NmJS5UU0YuO0YpR1AjW0UxbiNtMSlrZlRFUlAhV2EnayNX\nTnNjRSJFJGY4ZkRaK2FlXCtJVVxSUUwodGcyaC4rLDpTR1FnOUZNX2EzXXE9PE9hTjVcLT45WCUj\nUG9ZPkhKOE5nNkxAUk1AYF51KiFyNlpjPTkpQSFlRS5XZVxoJkBZSUtfZWZzOj10aVdYPTplS2ox\nWVUjVW9hSVsuMzJBWilaWlxBQWtSVUY5KjRWOzFJcCNAdTUmZjRdcTVsbihPPGBbMipCWXJrInJu\ncW5ORnAyVD9rPnREcVxOcixnVmE1WzQrOiZVZVtyY1E6cnFQTzA1O1okXzRUUC9qJHB0IWxWZGFE\naF4tUk1YbmYmIXM3PkUiJV88SEkvMXU3QDQ6KUsra1ZISmExWHA8WSkzT1hpZyJPNGRLbTVePDRo\nXWhFMEglUmEtMVBsUGpEbF1ZXTlsLmVeS04kPjFyZUhRbnApXTQ/KjghJ2JnNzNoIUNvYTcmckc8\nLyw2I1kzVjo0YS87ZlRGP1szN2FobyMoalFVNVwhJU8lKjdrVSxOPy9SP2ElM1VZYSZMQGNCZDlT\nLEZmIUVuLDJ1VGVZQCprNlQ+W0UjVSVqVlAsYzAoOTQyRF1WbmwxWVZyO3BAJk0vOlMkZCFyWzM6\ndUg/NHVePEM6K3NxJzNeMSdKMFFgTDdQOVAqSkV0UjxjKSthbzRzK1JoOVQnMzQ8JDw7aXJWLXNa\nZHE/KGNdajw4O09WKFlqTzgpLz1IXkgtSWJ1Y09VJWoxIk0rVm8uVl07TlFWcT1YRGRbQDc5SVBm\nLydDNHJrVV9nZW1JbnEiVzo+PktUM3EjbUFXQ0hocF1iXEMjcCVqVGM7PWklbVBZLykwUXNNXGko\nO1UlJ11NK3VsYDNgQltCTWpgV3VyJFouMEY4cC5ZXSohJ14zYC8xXGRoQFZhaU4/Vi5VZStFRC82\nYi9gLzgval5RKylhKVVEQ1k7cS9tZnFnN242KENQP186Yz9YWSZxZSJHYTZJXCJWUVFWNiQ9bSNj\nMURpSFJSa0dxWSFcQSZqVj9EVm4yPy9uLnVPbTEkXldoK1NKc2FDbkoqO0M0MkZsNGVQWFcvbzpr\nUShjWy5CPSgkaWFSRGNoPkFpIU8mbEQxWlNXR190UjFcRTZrOiVXR05tKyhaXltnWSkoJ244Ul4y\nMFsna15kWm1OdXAlUjMzcFYubWVjYitLOFRZL2g3SzxuSE4xXlEpS19YT0BVWy40XnVrRUYpWGdJ\nUlFtNHRMaFteX29wKXUxRF1yQSg5QjZsInQqXitoNmtXaFcscTdhKGAqY2MlMyVKP0VPJFQmLjlL\nUlVnVlRzSjU7SlxwS2lQUTBGT1gqKFYpTUo1XUJoW1VfKnBYcT5TUl47WkNqbiRCRjM7O0E2ZkYk\nNyFocmoxTSIkUltoNk8yXic+WUNudGtmaUk6JVMiTFlSWjUwKWpwM3JdKl1XKWE+JU5dUFRjcDZa\nV0Y5aDAjVz10ZDY8L1pncHRRaWluWXQkSVQwJnQ7PVVCMkNXTk4hTyQ/cWwxLFZFcU1yM0NoUG9c\nJFMhN1cyWWtpakVQb0FTO1xXaGEuaCduK1BcXilSQXIxKVBDO1ZbQSsyWE9Wc2ZbQUpEajQ2JiNe\nViVTaVFUMVZAV0ooKTQ/QVlzPyspbmhUIUNrNzY0ZmorbDwscGxFPUpNPUM4KS5xaEc9T1xNNnIt\nTCJTMFZAXkkxPSw4LU0jOS42bUFuS0NTSEdgakg+TWlpa0AiSmZQRWs/PCopRDRXbmZpUWdMV3Vl\nP1U0NjItZScyOiY6MXQuU0lfS0orVXFqPTYrayUsLyxtJlgzZl1ORDM5XkIoNjEuKyE2NiokIzxh\nZ0pqKSIsTD5ASkpeXWRsJjxDYSpvQWFAQj5Waz02YEMqJVkpMyMuWyklJUZqaVVMSSZyXjZpbi4o\nLV4ocjdzMkdMO0Y2JjVLUT48WDo4VDNiXGthXTZFSTtOQSNQUThIZzYmNDdxRFAiYldUTissRipY\nP21JZW00bF1AUmdnLVtTY15eMUpaNnU5PSYmJTwtLSxpTl1pSUpYZTpOM3NnRjkmYGAwbUhzNWdF\nbW4/ZiFrY1YpZGonOFNVSFtuMFUiNi09LCtoJTIpL2RwaVZlIVZdYWZfZEUpNmxfZihDS0RtVSIx\nUz0iKW0kMTtebS1MZ1RyL3I6O2ljQk80KF8pR2ZGNFdscyU0LS9POC8nZ2krVCpScmZxNidVKSxa\nKDtdXlYmcCtaWmNkTCgtKkxVLWFFXy1bQFRhIiYhSlddMzw7LzgwWkZqUCUxWENzVWFCWzlMbyco\nZGpUYDgkSVNcP1knL11oMWpJSF5oVFMmIy9YMCZmTHJvPlFIIXFNPGM4YjRLJS9lb1VKW0gmMjsk\nXl5MSVUxSm4tOV5yNz1dS2IwKTlXazVQRzFkPzBJfj5lbmRzdHJlYW0NCmVuZG9iag0KJSAnRjIn\nOiBjbGFzcyBQREZUeXBlMUZvbnQgDQo0IDAgb2JqDQolIEZvbnQgSGVsdmV0aWNhLUJvbGQNCjw8\nIC9CYXNlRm9udCAvSGVsdmV0aWNhLUJvbGQNCiAvRW5jb2RpbmcgL1dpbkFuc2lFbmNvZGluZw0K\nIC9OYW1lIC9GMg0KIC9TdWJ0eXBlIC9UeXBlMQ0KIC9UeXBlIC9Gb250ID4+DQplbmRvYmoNCiUg\nJ1BhZ2UxJzogY2xhc3MgUERGUGFnZSANCjUgMCBvYmoNCiUgUGFnZSBkaWN0aW9uYXJ5DQo8PCAv\nQ29udGVudHMgOSAwIFINCiAvTWVkaWFCb3ggWyAwDQogMA0KIDYxMg0KIDc5MiBdDQogL1BhcmVu\ndCA4IDAgUg0KIC9SZXNvdXJjZXMgPDwgL0ZvbnQgMSAwIFINCiAvUHJvY1NldCBbIC9QREYNCiAv\nVGV4dA0KIC9JbWFnZUINCiAvSW1hZ2VDDQogL0ltYWdlSSBdDQogL1hPYmplY3QgPDwgL0Zvcm1Y\nb2IuNThkMzRmNmE4ZDVkZTc1NDNlYzQyYmRmMDFhMWI3YjEgMyAwIFIgPj4gPj4NCiAvUm90YXRl\nIDANCiAvVHJhbnMgPDwgID4+DQogL1R5cGUgL1BhZ2UgPj4NCmVuZG9iag0KJSAnUjYnOiBjbGFz\ncyBQREZDYXRhbG9nIA0KNiAwIG9iag0KJSBEb2N1bWVudCBSb290DQo8PCAvT3V0bGluZXMgMTAg\nMCBSDQogL1BhZ2VNb2RlIC9Vc2VOb25lDQogL1BhZ2VzIDggMCBSDQogL1R5cGUgL0NhdGFsb2cg\nPj4NCmVuZG9iag0KJSAnUjcnOiBjbGFzcyBQREZJbmZvIA0KNyAwIG9iag0KPDwgL0F1dGhvciAo\nXChhbm9ueW1vdXNcKSkNCiAvQ3JlYXRpb25EYXRlIChEOjIwMjAwODA3MTAxODU2KzA2JzAwJykN\nCiAvQ3JlYXRvciAoXCh1bnNwZWNpZmllZFwpKQ0KIC9LZXl3b3JkcyAoKQ0KIC9Qcm9kdWNlciAo\nUmVwb3J0TGFiIFBERiBMaWJyYXJ5IC0gd3d3LnJlcG9ydGxhYi5jb20pDQogL1N1YmplY3QgKFwo\ndW5zcGVjaWZpZWRcKSkNCiAvVGl0bGUgKFwoYW5vbnltb3VzXCkpID4+DQplbmRvYmoNCiUgJ1I4\nJzogY2xhc3MgUERGUGFnZXMgDQo4IDAgb2JqDQolIHBhZ2UgdHJlZQ0KPDwgL0NvdW50IDENCiAv\nS2lkcyBbIDUgMCBSIF0NCiAvVHlwZSAvUGFnZXMgPj4NCmVuZG9iag0KJSAnUjknOiBjbGFzcyBQ\nREZTdHJlYW0gDQo5IDAgb2JqDQolIHBhZ2Ugc3RyZWFtDQo8PCAvRmlsdGVyIFsgL0FTQ0lJODVE\nZWNvZGUNCiAvRmxhdGVEZWNvZGUgXQ0KIC9MZW5ndGggMTEzNyA+Pg0Kc3RyZWFtDQpHYiEjWmgv\nRCI8JjpbNDBKIWMhVGNyNCpAZ1Voa1lpOk1oN1A+WG9ebElsSUVVZU1UbipHcEsraGZsYSxINDtV\nKWE0Ji9PPic9TkAyXW9mJjIkOF5IRjc3J2RpJCpmaSxtMi4xXSpCWz5LXjlXOlhQPFImckUsbUsn\nYk8lRiE+Ml5iWjphJzY7RihcZyt1TSo/ZDtFVDlSO15dLGpgYStcVjMoRnRETywlSk1VOS5SK28w\nc2JUIUNBZ01zX0ZAbzU8YSlxX2MxY2RORlBzPGBBQypjcWRdUy9oQ09LS11HUEQjbGVPMShWbUVk\nYD40UzRwTUBUMERfdGgpW2VVLGpWXVNfKzghbiwsNUFmU1FgPG8qMXFPZFRHa0EvL1EhRyRbRjU5\nZU5WZXA8aVg4L0NhVURaNmtrbmIqRGtCJjVkLiJZRCUwb2Y5KC9AZkcvXFNtaEtFQ1hAXC1bOjFb\naDx1P3VRUS5nLGIsRSd1WnMxcyVNKEFaXEsoW0JFVStzVT1XKFxLMl83KDxoLC8oZXUrKWl1JiVY\nZ1hUSjhKcCdgIyxNYmAhbE9NM083OypeXW9uIitSUmdxdWJPMEZjNyJaMUI1KylYVWknZTReUVEw\nYCJhSjRZIzBPKD5NPCxwYic1OjFCPV8oNllIUEZKWTZER01jTlwqIXJNJmk9UCVcYFxcbC9UblM5\nNiE4XEIiMUtxbisqbVRcWWVnTlRQWj8iaUxLUFRaREZkcU88ZWIjMGNcKD5MRTY9REBnQFRcSHE/\nWj4mRVk2VyohOWwxb2EiVShMZ3M0byFtRWpeWDxmXTNUNnEkM2AsVCZoNSsmanRPWlRrP3RvRVtD\nUVplQ1Y/RFE+IUspVCZGNVpSIjEwPmwqNjdWV20yUVE0MStBMXAmTUk5JTtALC1ePy86RWRqLGJv\nZExiKmUoWl1wKDhJMicsJjwudCJcX2QmPFdmR0FscW9SM2Q9Pi9WRkdiQz1GXUtcPWctJUo8MDVg\nMXQtazxBKjtZQDNgWTtsLkVlT2R1Qj5cQEtiTy9wNTEqLjg+KmtRO3RmVmg+S0pCdGNTOm1ISl8h\nN08rb2k7Y1hoYSdLN0NqNEMtNTYmcFRhYD9JQGpMVVFlUm4+LEVIKkpBKkw+aGBURVQ/KzdeKzYt\nQTFERkAuLlI+JDI4W1M7XlFrPmU6PFdFU0MoRGg7PiU8XWlzSGElPiReaFJbI1JhNCYyJlVEQWMr\nXmRwIzQ4PFw4cXRpOD81RjtbRT1fOEZhOTcpKGhZNXJCJS5zSkkhImFFVUVLInA6OS4sJmBUYSly\ncWhYZVFIKGIlak0iSmxyZUxCSl8jYG5AcEonWVhlLj5YOUd1UyptZFNZOWFwSD0zZ1JSWkohPHQm\nMjNULEc9ZFpYR25MQ21rZzpoaEpEaWNqM240TWQ7a2ByS3QqUHIwWitBWSRRb2dyL1xHPFA4XjIr\nQUVAXCM1Tz9uLmVkKlhxW3ReNzpGZmRtTDc4VXFxTXN0OzJkLV5gNGhxV0Nnfj5lbmRzdHJlYW0N\nCmVuZG9iag0KJSAnUjEwJzogY2xhc3MgUERGT3V0bGluZXMgDQoxMCAwIG9iag0KPDwgL0NvdW50\nIDANCiAvVHlwZSAvT3V0bGluZXMgPj4NCmVuZG9iag0KeHJlZg0KMCAxMQ0KMDAwMDAwMDAwMCA2\nNTUzNSBmDQowMDAwMDAwMTEzIDAwMDAwIG4NCjAwMDAwMDAyMjEgMDAwMDAgbg0KMDAwMDAwMDQy\nNyAwMDAwMCBuDQowMDAwMDAyNjQ1IDAwMDAwIG4NCjAwMDAwMDI4MTggMDAwMDAgbg0KMDAwMDAw\nMzE1MCAwMDAwMCBuDQowMDAwMDAzMjg1IDAwMDAwIG4NCjAwMDAwMDM1NTQgMDAwMDAgbg0KMDAw\nMDAwMzY1OSAwMDAwMCBuDQowMDAwMDA0OTQwIDAwMDAwIG4NCnRyYWlsZXINCjw8IC9JRCANCiAl\nIFJlcG9ydExhYiBnZW5lcmF0ZWQgUERGIGRvY3VtZW50IC0tIGRpZ2VzdCAoaHR0cDovL3d3dy5y\nZXBvcnRsYWIuY29tKSANCiBbKFwwMTFYXDIxNktpXDI3MFwwMzNpXDM3N2RcMDI2XDMzMlwyMTVc\nMzc0bmEpIChcMDExWFwyMTZLaVwyNzBcMDMzaVwzNzdkXDAyNlwzMzJcMjE1XDM3NG5hKV0gDQoN\nCiAvSW5mbyA3IDAgUg0KIC9Sb290IDYgMCBSDQogL1NpemUgMTEgPj4NCnN0YXJ0eHJlZg0KNDk5\nMg0KJSVFT0YNCg==\n",
        "headers": {
            "Content-Length": 5482,
            "Content-type": "application/pdf",
            "Content-Disposition": "inline; filename=\"Payment made on August 07, 2020 10:18:56.pdf\""
        },
        "content_type": "application/pdf"
    },
    "messages": [],
    "success": true
}

You have successfully updated your payment status in BriteCore.