{
    "openapi":"3.0.1",
    "info":{
        "title":"REST API Reference for Billing Care",
        "description":"Oracle Communications Billing Care provides a REST API with endpoints that can be used to perform various operations like payments, collections, customer account management, bill history, accounts receivables, and others.",
        "version":"2025.08.26",
        "x-summary":"Oracle Communications Billing Care provides a REST API with endpoints that can be used to perform various operations like payments, collections, customer account management, bill history, accounts receivables, and others."
    },
    "servers":[
        {
            "url":"/bcws/webresources/v1.0"
        }
    ],
    "tags":[
        {
            "name":"Accounts",
            "description":"The REST web service for all account-related operations."
        },
        {
            "name":"Adjustments",
            "description":"The REST web service for account, bill, item, and event-level adjustments and their related operations."
        },
        {
            "name":"Allocations",
            "description":"The REST web service for adjustment and payment allocation operations."
        },
        {
            "name":"Authentication",
            "description":"The REST web service for authentication operations."
        },
        {
            "name":"Batch Payments",
            "description":"The REST web service for batch payment, refund, and reversal operations."
        },
        {
            "name":"Bill Units",
            "description":"The REST web service for bill unit operations."
        },
        {
            "name":"Bills",
            "description":"The REST web service for billing operations."
        },
        {
            "name":"Collections",
            "description":"The REST web service for collections agent operations."
        },
        {
            "name":"Deferred Action",
            "description":"The REST web service for deferred actions for accounts and services."
        },
        {
            "name":"Deposits",
            "description":"The REST web service for all deposit-related operations."
        },
        {
            "name":"Disputes",
            "description":"The REST web service for bill, item, and event-level dispute operations."
        },
        {
            "name":"Installments",
            "description":"The REST web service for installment operations."
        },
        {
            "name":"Items",
            "description":"The REST web service for item-related operations."
        },
        {
            "name":"Loans",
            "description":"The REST web service for all the loan-related operations."
        },
        {
            "name":"Notes",
            "description":"The REST web service for note operations."
        },
        {
            "name":"Notifications",
            "description":"The REST web service for all notification-event-related operations"
        },
        {
            "name":"Payment Methods",
            "description":"The REST web service for payment method operations."
        },
        {
            "name":"Payments",
            "description":"The REST web service for regular and suspended payment operations."
        },
        {
            "name":"Profiles",
            "description":"The REST web service for profile operations."
        },
        {
            "name":"Record Requests",
            "description":"Records given request in BRM"
        },
        {
            "name":"Refunds",
            "description":"The REST web service for account and bill refund operations."
        },
        {
            "name":"Services",
            "description":"The REST web service for service-related operations."
        },
        {
            "name":"Sharing",
            "description":"The REST web service for profile, charge, and discount sharing operations."
        },
        {
            "name":"Status Update",
            "description":"The REST web service for status-related operations on accounts, services, and offers."
        },
        {
            "name":"Subscriptions",
            "description":"The REST web service for subscription-related operations."
        },
        {
            "name":"Write Offs",
            "description":"The REST web service for account, bill, and item write-off operations."
        }
    ],
    "paths":{
        "/accounts/{id}":{
            "get":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Get Account Details",
                "description":"Gets the details for the account that matches the specified ID.",
                "operationId":"getAccount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The account ID, such as 0.0.0.1+-account+123123, or the account number, such as 0.0.0.1-123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"Whether to retrieve additional account information (<b>true</b>) or not (<b>false</b>). The default value is <b>true</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The account details were retrieved successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Account"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Account"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-{id}-get",
                "x-filename-id":"accounts-id-get"
            }
        },
        "/accounts/general":{
            "put":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Update an Account",
                "description":"Updates an account's properties and contact information. You can do the following:<p><ul><li>Add or remove contacts</li><li>Change a contact's attributes, such as the name, contact type, email, address details, company name, and phone number</li><li>Remove optional attributes from a contact, such as the company name and phone number</li></ul></p>",
                "operationId":"updateAccountGeneralInfo",
                "requestBody":{
                    "description":"The account attributes to update. The minimum required parameters are:<ul><li><b>accountNumber</b></li><li><b>billUnit</b></li><li><b>contacts</b></li><li><b>creationDate</b></li><li><b>id</b></li><li><b>wallet</b></li></ul><p>If you are adding a contact, you must set the contact's <b>deleted</b> parameter to <b>false</b>.</p><p>If you are deleting a contact, only the contact's <b>elem</b> and <b>deleted</b> parameters are required. If you attempt to delete the last contact, the response returns a success but the contact isn't actually deleted.</p>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/Account"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/Account"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The account was updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-general-put",
                "x-filename-id":"accounts-general-put"
            }
        },
        "/accounts/taxinfo/{id}":{
            "get":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Get Tax Details for an Account",
                "description":"Gets the tax details for the account that matches the specified ID.",
                "operationId":"getTaxInfo",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of an account, such as 0.0.0.1+-account+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The account's tax details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/TaxInfo"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/TaxInfo"
                                }
                            }
                        }
                    }
                },
                "x-internal-id":"accounts-taxinfo-{id}-get",
                "x-filename-id":"accounts-taxinfo-id-get"
            },
            "put":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Update an Account's Tax Settings",
                "description":"Adds or updates the specified account's tax settings. You can add or update the following:<ul><li>The VAT certificate</li><li>The tax exemptions</li><li>The tax incorporation information</li><li>Whether the tax is for a business account</li></ul>",
                "operationId":"saveTaxInfo",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The tax settings to add or update. All parameters are optional.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/TaxInfo"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/TaxInfo"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The tax information was saved successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-taxinfo-{id}-put",
                "x-filename-id":"accounts-taxinfo-id-put"
            }
        },
        "/accounts":{
            "post":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Create an Account",
                "description":"Creates an account along with the address, contacts, and billing profiles associated with the account.",
                "operationId":"createAccount",
                "requestBody":{
                    "description":"The account to create. The minimum required parameters are:<ul><li><b>contacts</b><ul><li><b>address</b></li><li><b>city</b></li><li><b>country</b></li><li><b>firstName</b></li><li><b>lastName</b></li></ul></p><p>You can optionally include:</p><p><ul><li>Bill unit assignments for the balance groups defined by the package. The account payload can include a list of bill unit definitions, but if it doesn't, one will be created.</li><li>Customized details about the products and discounts in each bundle. If you don't customize the bundles, the account won't contain references to the bundles. If you override the product's prices and dates, they are included in the <b>CustomizedBundleForPurchase</b> parameter.</li></ul></p><p><b>Note:</b> Set the <b>purchasingPlanRef</b> and <b>notes</b> parameters to <b>null</b> if they don't have any value.</p>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/RegistrationAccount"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/RegistrationAccount"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The account was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-post",
                "x-filename-id":"accounts-post"
            }
        },
        "/accounts/validate":{
            "post":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Validate an Account",
                "description":"Validates the registration data for the specified account.",
                "operationId":"validateAccount",
                "requestBody":{
                    "description":"The data for an account. The minimum required parameters are:<ul><li><b>contacts</b><ul><li><b>address</b></li><li><b>city</b></li><li><b>country</b></li><li><b>firstName</b></li><li><b>lastName</b></li></ul></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/RegistrationAccount"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/RegistrationAccount"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The account data was validated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-validate-post",
                "x-filename-id":"accounts-validate-post"
            }
        },
        "/accounts/{id}/package":{
            "post":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Add Services to an Account",
                "description":"Adds new services to the specified account.",
                "operationId":"subscribePackage",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to add the services to.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the services to add. The minimum required parameters are:<ul><li><b>purchasingPackageRef</b></li><li><b>services</b><ul><li><b>serviceKey</b></li><li><b>@class</b></li><li><b>serviceType</b></li><li><b>login</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/PackageBasedOrder"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/PackageBasedOrder"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The services were successfully added to the account."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-{id}-package-post",
                "x-filename-id":"accounts-id-package-post"
            }
        },
        "/accounts/{id}/bundle":{
            "post":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Add a Bundle to an Account",
                "description":"Adds a bundle to an existing service or account.",
                "operationId":"purchaseBundle",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the service or account to add the bundle to.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the bundle to add. The minimum required parameters are:<ul><li><b>id</b></li><li><b>name</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/CustomizedBundleForPurchase"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/CustomizedBundleForPurchase"
                            }
                        }
                    }
                },
                "responses":{
                    "204":{
                        "description":"The bundle was added to the account successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    }
                },
                "x-internal-id":"accounts-{id}-bundle-post",
                "x-filename-id":"accounts-id-bundle-post"
            }
        },
        "/accounts/hierarchy/add/{id}":{
            "post":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Add Accounts to a Hierarchy",
                "description":"Adds the accounts listed in the request body as child accounts to an existing organization hierarchy. You specify the organization hierarchy's parent account in the path parameter.",
                "operationId":"addAccountToHierarchy",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the parent account in the hierarchy",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The list of child account IDs to add to the hierarchy.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "204":{
                        "description":"The account was added successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-hierarchy-add-{id}-post",
                "x-filename-id":"accounts-hierarchy-add-id-post"
            }
        },
        "/accounts/hierarchy/move/{id}":{
            "post":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Move an Account Hierarchy",
                "description":"Moves child accounts to a new parent in an organization hierarchy. You can do the following: <ul><li>Move a parent account and all its children to a new parent. Set only the path <b>id</b> and <b>primaryParentId</b>.</li><li>Move a parent account to a new parent and move all its children to a different parent. Set the path <b>id</b>, <b>primaryParentId</b>, <b>childrenParentId</b>, and list all of the children in the request body. The account specified in the path is moved to <b>primaryParentId</b> and the children are moved to <b>childrenParentId</b>.</li><li>Move a parent account and some of its children to a new parent, and move some of its children to a different parent. Set the path <b>id</b>, <b>primaryParentId</b>, <b>childrenParentId</b>, and list the children to move to the new parent in the request body. The children listed in the body are moved to <b>childrenParentId</b>, and the account specified in the path is moved with any remaining children to <b>primaryParentId</b>.</li><li>Move specified children to a different parent, leaving the original parent and any unspecified children behind. Set the path <b>id</b> and <b>primaryParentId</b>, set <b>moveChildren</b> to <b>true</b>, and list the children to move to the new parent in the request body. The account specified in the path and any of its children not listed in the body are left as-is. The children listed in the body are moved to <b>primaryParentId</b>.</li></ul></p><p>The request body is ignored unless <b>childrenParentId</b> is set or <b>moveChildren</b> is set to <b>true</b>. When <b>moveChildren</b> is set to <b>true</b>, a body is required and <b>childrenParentId</b> is ignored. If <b>moveChildren</b> isn't set, the default of <b>false</b> is used.",
                "operationId":"moveHierarchy",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the primary account of the hierarchy to move to a new hierarchy.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"primaryParentId",
                        "in":"query",
                        "description":"The ID of the account to move the hierarchy to. If <b>moveChildren</b> is unset or set to <b>false</b>, this will be the new parent of the primary account specified in the path. If <b>moveChildren</b> is set to <b>true</b>, this will be the new parent of the children listed in the request body.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"childrenParentId",
                        "in":"query",
                        "description":"The ID of the account to move the primary account's children to. This can be any account. </p><p>If you specify this, a request body is required. </p><p>This parameter is ignored when <b>moveChildren</b> is set to <b>true</b>.</p>",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"moveChildren",
                        "in":"query",
                        "description":"Whether only the children are moved (<b>true</b>) or the children and the parent are moved (<b>false</b>).<p>If you set this to <b>true</b>, a request body is required and only the children listed in the request body are moved to the account specified in <b>primaryParentId</b>. The account specified in the path and any of its children not listed in the request body remain in place. <b>childrenParentId</b> is ignored.</p><p>If you set this to <b>false</b> or do not set it, the account specified in the path and all its children are moved according to <b>primaryParentId</b> and <b>childrenParentId</b>.</p>",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The list of immediate child account IDs to move. All children of the listed accounts will also be moved. Any siblings not listed will not be moved. <p>Used only when <b>childrenParentId</b> is specified or <b>moveChildren</b> is set to <b>true</b>.</p>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The hierarchy was moved successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-hierarchy-move-{id}-post",
                "x-filename-id":"accounts-hierarchy-move-id-post"
            }
        },
        "/accounts/hierarchy/remove/{id}":{
            "delete":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Remove an Account from a Hierarchy",
                "description":"Removes the specified account from an organization hierarchy.",
                "operationId":"removeAccountFromHierarchy",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to remove.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"childrenParentId",
                        "in":"query",
                        "description":"The account ID of the parent account of the account being deleted, to be the new parent of child accounts.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"removeChildren",
                        "in":"query",
                        "description":"Whether the child accounts should also be removed (<b>true</b>) or not (<b>false</b>).",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "requestBody":{
                    "description":"A list of the member account IDs in the hierarchy.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The account was successfully removed from the organization hierarchy."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-hierarchy-remove-{id}-delete",
                "x-filename-id":"accounts-hierarchy-remove-id-delete"
            }
        },
        "/accounts/hierarchy/{id}":{
            "get":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Get the Organization Hierarchy for an Account",
                "description":"Gets the organization hierarchy for the account that matches the specified ID.",
                "operationId":"getOrganizationHierarchy",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"flag to retrieve child details",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The account's organization hierarchy was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/OrganizationHierarchy"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/OrganizationHierarchy"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-hierarchy-{id}-get",
                "x-filename-id":"accounts-hierarchy-id-get"
            }
        },
        "/accounts/{id}/limits":{
            "get":{
                "tags":[
                    "Accounts"
                ],
                "summary":"Get Limits for an Account or Balance Group",
                "description":"Get limits for an account or balance group",
                "operationId":"getLimits",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The id of account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"balanceGroupId",
                        "in":"query",
                        "description":"The balance group id to retrieve the associated limits, this is an optional field",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"resourceId",
                        "in":"query",
                        "description":"The resource id, this is an optional field",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"endDate",
                        "in":"query",
                        "description":"The valid to date, this is an optional field",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The balance group information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BalanceGroup"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BalanceGroup"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"accounts-{id}-limits-get",
                "x-filename-id":"accounts-id-limits-get"
            }
        },
        "/adjustments/{id}":{
            "get":{
                "tags":[
                    "Adjustments"
                ],
                "summary":"Get Details about an Adjustment",
                "description":"Gets the details about the adjustment that matches the specified ID.",
                "operationId":"getAdjustmentDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the adjustment, such as 0.0.0.1+-item-adjustment+73707.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The adjustment details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/AdjustmentDetails"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/AdjustmentDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"adjustments-{id}-get",
                "x-filename-id":"adjustments-id-get"
            }
        },
        "/adjustments/account/{id}":{
            "get":{
                "tags":[
                    "Adjustments"
                ],
                "summary":"Get All Adjustments for an Account",
                "description":"Gets the list of adjustments for the specified account ID.",
                "operationId":"getAdjustments",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of adjustments to retrieve. The type can be: <ul><li><b>unallocated</b>: Gets only unallocated adjustments.</li><li><b>allocated</b>: Gets only allocated adjustments.</li><li><b>all</b>: Gets all adjustments. This is the default.</li></ul>",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of adjustments was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"adjustments-account-{id}-get",
                "x-filename-id":"adjustments-account-id-get"
            },
            "post":{
                "tags":[
                    "Adjustments"
                ],
                "summary":"Create an Account-Level Adjustment",
                "description":"Creates an account-level adjustment for the specified account.",
                "operationId":"adjustAccount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to adjust.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the account-level adjustment. The minimum required parameter is <b>amount</b>.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentAccount"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentAccount"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The adjustment was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"adjustments-account-{id}-post",
                "x-filename-id":"adjustments-account-id-post"
            }
        },
        "/adjustments/billunit/{id}":{
            "get":{
                "tags":[
                    "Adjustments"
                ],
                "summary":"Get Adjustments for a Bill Unit",
                "description":"Gets all adjustments for the specified bill unit that match the query criteria.",
                "operationId":"getAdjustmentsForBillUnit",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of adjustments to retrieve. The type can be:<ul><li><b>unallocated</b>: Gets only unallocated adjustments.</li><li><b>allocated</b>: Gets only allocated adjustments.</li><li><b>all</b>: Gets all adjustments. This is the default.</li></ul>",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of adjustments was returned successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"adjustments-billunit-{id}-get",
                "x-filename-id":"adjustments-billunit-id-get"
            }
        },
        "/adjustments/noncurrency":{
            "post":{
                "tags":[
                    "Adjustments"
                ],
                "summary":"Adjust a Noncurrency Balance",
                "description":"Adjusts the specified noncurrency balance.",
                "operationId":"adjustNonCurrencyBalance",
                "requestBody":{
                    "description":"Details about the adjustment. The minimum required parameters are: <ul><li><b>accountRef</b><ul><li><b>id</b></li></ul></li><li><b>amount</b></li><li><b>balanceGroupRef</b><ul><li><b>id</b></li></ul></li><li><b>validFrom</b></li><li><b>validTo</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentNonCurrencyBalance"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentNonCurrencyBalance"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The noncurrency balance was adjusted successfully.",
                        "content":{
                            "*/*":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"adjustments-noncurrency-post",
                "x-filename-id":"adjustments-noncurrency-post"
            }
        },
        "/adjustments/bill/{id}":{
            "post":{
                "tags":[
                    "Adjustments"
                ],
                "summary":"Adjust a Bill's Currency Balance",
                "description":"Performs a currency balance adjustment for the specified bill.",
                "operationId":"adjustBill",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill to adjust.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the adjustment. The minimum required parameter is <b>amount</b>.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentBill"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentBill"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The bill's currency was adjusted successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/AdjustmentBill"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/AdjustmentBill"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"adjustments-bill-{id}-post",
                "x-filename-id":"adjustments-bill-id-post"
            }
        },
        "/adjustments/item/{id}":{
            "post":{
                "tags":[
                    "Adjustments"
                ],
                "summary":"Adjust an A/R Item's Currency Balance",
                "description":"Adjusts the currency balance for the specified A/R item. For example, provide a $5 credit adjustment for a purchase fee.",
                "operationId":"adjustItem",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the A/R item.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the item-level adjustment. The minimum required parameter is: <b>amount</b>.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentItem"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentItem"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The A/R item's currency balance was adjusted successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/AdjustmentBill"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/AdjustmentBill"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"adjustments-item-{id}-post",
                "x-filename-id":"adjustments-item-id-post"
            }
        },
        "/adjustments/event":{
            "post":{
                "tags":[
                    "Adjustments"
                ],
                "summary":"Create an Event Adjustment",
                "description":"Creates an event-level adjustment for the account specified in the payload's contents.",
                "operationId":"adjustEvent",
                "requestBody":{
                    "description":"Information about the event-level adjustment. The minimum required parameters are:<ul><li><b>accountRef</b><ul><li><b>id</b></li></ul></li><li><b>amount</b></li><li><b>events</b><ul><li><b>eventRef</b><ul><li><b>id</b></li></ul></li></ul></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentEvent"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/AdjustmentEvent"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The event adjustment was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/AdjustmentEvent"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/AdjustmentEvent"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"adjustments-event-post",
                "x-filename-id":"adjustments-event-post"
            }
        },
        "/allocations/payment/{id}/bills":{
            "post":{
                "tags":[
                    "Allocations"
                ],
                "summary":"Allocate a Payment to Bills",
                "description":"Allocates a payment to one or more bills that you specify.",
                "operationId":"billLevelPaymentAllocation",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the payment to allocate.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The list of bills containing an allocated amount, the account ID, and the bill unit ID. The minimum required parameter are:<ul><li><b>amount</b></li><li><b>id</b></li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/Bill"
                                }
                            }
                        },
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/Bill"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The payment was allocated to the bills successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred"
                    }
                },
                "x-internal-id":"allocations-payment-{id}-bills-post",
                "x-filename-id":"allocations-payment-id-bills-post"
            }
        },
        "/allocations/payment/{id}/items":{
            "post":{
                "tags":[
                    "Allocations"
                ],
                "summary":"Allocate a Payment to Bill Items",
                "description":"Allocates a payment to one or more bill items.",
                "operationId":"itemLevelPaymentAllocation",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the payment to allocate.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"A list of bill items containing an allocated amount, the account ID, and the bill item ID. The minimum required parameters are:<ul><li><b>amount</b><li><b>id</b></li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/BillItem"
                                }
                            }
                        },
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/BillItem"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The payment was allocated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"allocations-payment-{id}-items-post",
                "x-filename-id":"allocations-payment-id-items-post"
            }
        },
        "/allocations/adjustment/{id}/items":{
            "post":{
                "tags":[
                    "Allocations"
                ],
                "summary":"Allocate an Adjustment to A/R Items",
                "description":"Allocates the specified adjustment to a set of A/R items. This operation accepts bills against which the allocation needs to be done.",
                "operationId":"itemLevelAdjustmentAllocation",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the adjustment to allocate.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the allocation. The minimum required parameters are:<ul><li><b>amount</b></li><li><b>id</b></li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/BillItem"
                                }
                            }
                        },
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/BillItem"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "204":{
                        "description":"The adjustment was allocated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"allocations-adjustment-{id}-items-post",
                "x-filename-id":"allocations-adjustment-id-items-post"
            }
        },
        "/allocations/adjustment/{id}/bills":{
            "post":{
                "tags":[
                    "Allocations"
                ],
                "summary":"Allocate an Adjustment to Bills",
                "description":"Allocates the specified adjustment to a set of bills.",
                "operationId":"billLevelAdjustmentAllocation",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the adjustment to allocate.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The list of bills to allocate the adjustment to. The minimum required parameters are:<ul><li><b>accountRef</b><ul><li><b>id</b></li></ul></li><li><b>billPaidDate</b></li><li><b>creationDate</b></li><li><b>id</b></li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/Bill"
                                }
                            }
                        },
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/Bill"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The adjustment was successfully allocated to the bills."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"allocations-adjustment-{id}-bills-post",
                "x-filename-id":"allocations-adjustment-id-bills-post"
            }
        },
        "/authentication/queryAccessToken":{
            "get":{
                "tags":[
                    "Authentication"
                ],
                "summary":"Get an OAuth Access Token",
                "description":"Gets the OAuth access token to use when authenticating Billing Care requests.",
                "operationId":"queryAccessToken",
                "responses":{
                    "default":{
                        "description":"default response",
                        "content":{
                            "application/json":{
                            },
                            "application/xml":{
                            }
                        }
                    }
                },
                "x-internal-id":"authentication-queryAccessToken-get",
                "x-filename-id":"authentication-queryaccesstoken-get"
            }
        },
        "/bills/{id}":{
            "get":{
                "tags":[
                    "Bills"
                ],
                "summary":"Get Bill Details by Bill ID",
                "description":"Gets details about the specified bill, such as the due amount, the disputed amount, the cycle start and end dates, the current total, and the adjustment amounts.",
                "operationId":"getBillDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The bill number such as \"B1-111\", or the bill ID such as \"0.0.0.1+-bill+123456789942001779\".",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"accountid",
                        "in":"query",
                        "description":"Account Id",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"itemid",
                        "in":"query",
                        "description":"Item Id",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bill details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Bill"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Bill"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"bills-{id}-get",
                "x-filename-id":"bills-id-get"
            }
        },
        "/bills/billunit/{id}":{
            "get":{
                "tags":[
                    "Bills"
                ],
                "summary":"Get Bills by Bill Unit",
                "description":"Gets all bills for the bill unit that matches the query criteria.",
                "operationId":"getBillsForBillUnit",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of bill, which can be <b>inprogress</b>, <b>open</b>, or <b>all</b>. The default is <b>open</b>.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"count",
                        "in":"query",
                        "description":"The number of bills to get.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"order",
                        "in":"query",
                        "description":"The sort order, which is either ascending (<b>asc</b>) or descending (<b>desc</b>). The default is descending.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"The type of bills to get, which is either <b>all</b> (parent as well as children) or <b>childonly</b> (children only).",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"retrieveRecurringCharges",
                        "in":"query",
                        "description":"Whether to retrieve recurring charges of a bill (<b>true</b>) or not (<b>false</b>).",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of bills or a single bill in progress was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Bill"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Bill"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"bills-billunit-{id}-get",
                "x-filename-id":"bills-billunit-id-get"
            }
        },
        "/bills/account/{id}":{
            "get":{
                "tags":[
                    "Bills"
                ],
                "summary":"Get All Bills for an Account",
                "description":"Gets all bills across all bill units for the specified account. You can specify whether to retrieve only open bills.",
                "operationId":"getBills",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to get bills for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"Whether to retrieve only open bills (<b>open</b>) or not (blank).",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"count",
                        "in":"query",
                        "description":"The number of bills to get.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"order",
                        "in":"query",
                        "description":"The sort order, which is either ascending (<b>asc</b>) or descending (<b>desc</b>). The default is descending.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"The type of bill, which can be <b>all</b> (parent and children) or <b>childonly</b> (only children).",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"retrieveRecurringCharges",
                        "in":"query",
                        "description":"Whether to get a bill's recurring charges (<b>true</b>) or not (<b>false</b>).",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of bills was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Bill"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Bill"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"bills-account-{id}-get",
                "x-filename-id":"bills-account-id-get"
            }
        },
        "/bills/{id}/ar-actions":{
            "get":{
                "tags":[
                    "Bills"
                ],
                "summary":"Get A/R Actions for a Bill",
                "description":"Gets the A/R actions for the specified bill ID.",
                "operationId":"getArActions",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID for the bill.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"number",
                        "in":"query",
                        "description":"The bill number, such as B1728.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The A/R actions were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred"
                    }
                },
                "x-internal-id":"bills-{id}-ar-actions-get",
                "x-filename-id":"bills-id-ar-actions-get"
            }
        },
        "/bills/invoice/{id}":{
            "get":{
                "tags":[
                    "Bills"
                ],
                "summary":"Get an Invoice PDF by Bill ID",
                "description":"Gets the invoice PDF for the bill that matches the specified ID. The invoice is retrieved from the Business Intelligence (BI) Publisher web service. This endpoint automatically opens the invoice in PDF format.",
                "operationId":"getInvoice",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill, such as 0.0.0.1+-bill+514617.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"number",
                        "in":"query",
                        "description":"The bill number.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The invoice PDF was returned successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"bills-invoice-{id}-get",
                "x-filename-id":"bills-invoice-id-get"
            }
        },
        "/bills/billnow/billunit/{id}":{
            "post":{
                "tags":[
                    "Bills"
                ],
                "summary":"Create a Bill On Demand",
                "description":"Creates a bill on demand for the specified bill unit.",
                "operationId":"billNow",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"The bill was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"bills-billnow-billunit-{id}-post",
                "x-filename-id":"bills-billnow-billunit-id-post"
            }
        },
        "/bills/correctivebill/{id}":{
            "get":{
                "tags":[
                    "Bills"
                ],
                "summary":"Get a Corrective Bill",
                "description":"Gets details about a corrective bill that matches the specified ID.",
                "operationId":"getCorrectiveBillInfo",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the corrective bill.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The corrective bill was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CorrectiveBillTrail"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CorrectiveBillTrail"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"bills-correctivebill-{id}-get",
                "x-filename-id":"bills-correctivebill-id-get"
            },
            "post":{
                "tags":[
                    "Bills"
                ],
                "summary":"Create a Corrective Bill",
                "description":"Creates a corrective bill for the bill that matches the specified ID.",
                "operationId":"produceCorrectiveBill",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the corrective bill.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/CorrectiveBill"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/CorrectiveBill"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The corrective bill was created successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"bills-correctivebill-{id}-post",
                "x-filename-id":"bills-correctivebill-id-post"
            }
        },
        "/bills/{id}/balance/transfer":{
            "post":{
                "tags":[
                    "Bills"
                ],
                "summary":"Transfer a Negative Balance",
                "description":"Transfers a negative balance from a bill to the bills specified in the request body.",
                "operationId":"transferNegativeBalance",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill to transfer the negative balance from.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The details of the bills to transfer the balance to.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/Bill"
                                }
                            }
                        },
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/Bill"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The balance was transferred successfully."
                    },
                    "400":{
                        "description":"The bill doesn't exist."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"bills-{id}-balance-transfer-post",
                "x-filename-id":"bills-id-balance-transfer-post"
            }
        },
        "/items/bill/{id}":{
            "get":{
                "tags":[
                    "Items"
                ],
                "summary":"Get Bill Items for a Bill",
                "description":"Gets the bill items that are associated with the specified bill. You can optionally specify to retrieve only open, pending, closed, or all bill items for the bill.",
                "operationId":"getItemsForBill",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of bill items to retrieve:<ul><li><b>open</b> retrieves all open bill items.</li><li><b>pending</b> retrieves all pending bill items.</li><li><b>closed</b> retrieves all closed bill items.</li><li><b>all</b> retrieves all bill items. This is the default.</li></ul>",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"showTransferDetails",
                        "in":"query",
                        "description":"showTransferDetails is added to get transfer out and into details of the item",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bill items were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BillItem"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BillItem"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"items-bill-{id}-get",
                "x-filename-id":"items-bill-id-get"
            }
        },
        "/items/account/{id}":{
            "get":{
                "tags":[
                    "Items"
                ],
                "summary":"Get Bill Items for an Account",
                "description":"Gets all bill items for the specified account.",
                "operationId":"getBillItems",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+123123, to get bill items for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of bill items to retrieve: <ul><li><b>open</b> retrieves all bill items regardless of the due date.</li><li><b>past</b> retrieves only bill items whose due date has already passed.</li></ul>",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"count",
                        "in":"query",
                        "description":"The number of bill items to return.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"The additional details to include in the response. Enter <b>all</b> to return bill items for the parent account and all of its child accounts. Enter <b>childonly</b> to return bill items for only the child accounts associated with a parent account.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bill items were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BillItem"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BillItem"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"items-account-{id}-get",
                "x-filename-id":"items-account-id-get"
            }
        },
        "/items/billunit/{id}":{
            "get":{
                "tags":[
                    "Items"
                ],
                "summary":"Get a Bill Item",
                "description":"Gets the bill items that match the specified query parameters.",
                "operationId":"getIndividualBillItems",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of bill items to retrieve: <b>open</b> or <b>past</b>. Open retrieves all bill items irrespective of the due date. Past retrieves only the bill items whose due date has passed.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"count",
                        "in":"query",
                        "description":"The number of bill items to retrieve.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"Whether to retrieve the bill items for the parent bill unit and its child bill units (<b>all</b>) or just the child bill units (<b>childonly</b>).",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bill item was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BillItem"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BillItem"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"items-billunit-{id}-get",
                "x-filename-id":"items-billunit-id-get"
            }
        },
        "/items/{id}/ar-actions":{
            "get":{
                "tags":[
                    "Items"
                ],
                "summary":"Get A/R Actions for a Bill Item",
                "description":"Gets the list of A/R actions associated with the specified bill item.",
                "operationId":"getARActions_1",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill item.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The A/R actions were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"items-{id}-ar-actions-get",
                "x-filename-id":"items-id-ar-actions-get"
            }
        },
        "/items/{id}/itemid":{
            "get":{
                "tags":[
                    "Items"
                ],
                "summary":"Get A/R Item Number",
                "description":"Gets the accounts receivable (A/R) item number for the specified A/R item. The item number is returned for both billable and non-billable A/R actions, such as adjustments, write offs, refunds, and payments.",
                "operationId":"getARItemNo",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID for the internal A/R item, such as 0.0.0.1+-item-adjustment+123456789314016398.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The A/R item number was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"string"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"items-{id}-itemid-get",
                "x-filename-id":"items-id-itemid-get"
            }
        },
        "/items/bill/{id}/by-service":{
            "get":{
                "tags":[
                    "Items"
                ],
                "summary":"Get Bill Items by Bill and Service ID",
                "description":"Gets the bill items for the specified bill and service. The bill items are grouped based on service type.",
                "operationId":"getBillItemDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"The accepted values are:<ul><li><b>parentonly</b> retrieves only charges made by the parent.</li><li><b>childonly</b> retrieves only the child charges.</li><li><b>all</b> retrieves charges from the parent and all children.</li></ul>",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"serviceID",
                        "in":"query",
                        "description":"The service ID, which could be a login ID or a device ID to get specific items for that service. The default is to return all services.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bill items were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillDetails"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"items-bill-{id}-by-service-get",
                "x-filename-id":"items-bill-id-service-get"
            }
        },
        "/billunits/balancegroups/{id}":{
            "get":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Get Balance Groups for a Bill Unit",
                "description":"Gets the list of balance groups with balances and services for the bill unit that matches the specified ID. Balances will include both currency and noncurrency balances.",
                "operationId":"getBalanceGroups",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"includeBalanceMonitor",
                        "in":"query",
                        "description":"whether it needs to fetch balance group monitor or not",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The balance groups were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-balancegroups-{id}-get",
                "x-filename-id":"billunits-balancegroups-id-get"
            }
        },
        "/billunits":{
            "put":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Update a Bill Unit for an Account",
                "description":"Updates a bill unit for the specified account.",
                "operationId":"updateBillUnit",
                "parameters":[
                    {
                        "name":"duePaidByCurrentParent",
                        "in":"query",
                        "description":"Whether the amount due is paid by current parent and you want to create a bill on demand (<b>true</b>) or not (<b>false</b>).",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The data to update for the bill unit.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BillUnit"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BillUnit"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bill unit was updated successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-put",
                "x-filename-id":"billunits-put"
            },
            "post":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Create a Bill Unit",
                "description":"Creates a bill unit using the details specified in the request payload.",
                "operationId":"createBillUnit",
                "requestBody":{
                    "description":"The data for the bill unit. The minimum required parameters are: <ul><li><b>balanceGroups</b></li><li><b>businessProfile</b></li><li><b>creationDate</b></li><li><b>id</b></li><li><b>invoiceTemplate</b></li><li><b>name</b></li><li><b>parentAccountId</b></li><li><b>parentAccountNumber</b></li><li><b>parentCompanyName</b></li><li><b>parentFirstName</b></li><li><b>parentLastName</b></li><li><b>parentSalutation</b></li><li><b>paymentInstrumentName</b></li><li><b>paymentInstrumentRef</b></li><li><b>wholesaleBilling</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BillUnit"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BillUnit"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The bill unit was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-post",
                "x-filename-id":"billunits-post"
            }
        },
        "/billunits/account/{id}/summary":{
            "get":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Get a Bill Unit Summary for an Account",
                "description":"Gets a consolidated summary of all bill units for the specified account.",
                "operationId":"getAccountSummary",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID for the account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bill units were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/AccountSummary"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/AccountSummary"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-account-{id}-summary-get",
                "x-filename-id":"billunits-account-id-summary-get"
            }
        },
        "/billunits/bill-unit-summary":{
            "post":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Generate a Bill Unit Summary",
                "description":"Create a summary of the bill units that match the specified IDs.",
                "operationId":"getBillUnitSummary",
                "parameters":[
                    {
                        "name":"id",
                        "in":"query",
                        "description":"Account id",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"List of bill units for which summary details will be",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bill unit summary information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/AccountSummary"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/AccountSummary"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-bill-unit-summary-post",
                "x-filename-id":"billunits-bill-unit-summary-post"
            }
        },
        "/billunits/balancegroups/move":{
            "post":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Move a Balance Group",
                "description":"Moves a balance group to a new bill unit or to an existing bill unit.",
                "operationId":"moveBalanceGroup",
                "requestBody":{
                    "description":"The destination bill units",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/NewBillUnit"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/NewBillUnit"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The balance group was moved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnit"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-balancegroups-move-post",
                "x-filename-id":"billunits-balancegroups-move-post"
            }
        },
        "/billunits/hierarchy/add/{id}":{
            "post":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Add a Bill Unit to a Hierarchy",
                "description":"Adds the specified child bill unit to the billing hierarchy provided in the request payload.",
                "operationId":"addOrUpdateBillUnitHierarchy",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the child bill unit.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the child bill unit to add to the hierarchy. The minimum required parameters are:<ul><li><b>parentBillUnitId</b></li><li><b>arBillInfoRef</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BillUnitHierarchy"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BillUnitHierarchy"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The bill unit was added to the hierarchy successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-hierarchy-add-{id}-post",
                "x-filename-id":"billunits-hierarchy-add-id-post"
            }
        },
        "/billunits/hierarchy/remove/{id}":{
            "post":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Remove a Bill Unit from a Hierarchy",
                "description":"Removes the specified bill unit from a billing hierarchy.",
                "operationId":"removeBillUnitHierarchy",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the child bill unit to remove.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the child bill unit to remove from the hierarchy. The minimum required parameters are:<ul><li><b>parentBillUnitId</b></li> <li><b>arBillInfoRef</b></li><li><b>paymentInstrumentRef</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BillUnitHierarchy"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BillUnitHierarchy"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The bill unit was removed from the hierarchy successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-hierarchy-remove-{id}-post",
                "x-filename-id":"billunits-hierarchy-remove-id-post"
            }
        },
        "/billunits/account/{id}":{
            "get":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Get Bill Units for an Account",
                "description":"Gets the bill units for the account that matches the specified ID.",
                "operationId":"getBillUnits",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to get bill units for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bill unit was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BillUnit"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BillUnit"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-account-{id}-get",
                "x-filename-id":"billunits-account-id-get"
            }
        },
        "/billunits/balancegroups/creditlimit/{id}":{
            "post":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Create Credit Limits for a Balance Group",
                "description":"Creates credit limits and credit thresholds for the specified currency or noncurrency balance group.",
                "operationId":"creditLimit",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the balance group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Include <b>limit</b> set to one of these values:<ul><li><b>null</b>: No change in credit limit.</li><li><b>-1</b>: The credit limit is set to unlimited.</li><li><i>value</i>: The credit limit is set to that value.</li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/CreditLimit"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/CreditLimit"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The credit limits and credit thresholds were created successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-balancegroups-creditlimit-{id}-post",
                "x-filename-id":"billunits-balancegroups-creditlimit-id-post"
            }
        },
        "/billunits/balancegroups/validity/{id}":{
            "post":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Change the Validity of a Noncurrency Resource",
                "description":"Changes the validity period for a noncurrency resource.",
                "operationId":"changeValidity",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the noncurrency resource.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the validity change. The minimum required parameters are: <ul><li><b>validTo</b></li><li><b>balanceGroupId</b></li><li><b>elementId</b></li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/ChangeValidity"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/ChangeValidity"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The validity was changed successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-balancegroups-validity-{id}-post",
                "x-filename-id":"billunits-balancegroups-validity-id-post"
            }
        },
        "/billunits/childs/{id}":{
            "get":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Get Child Bill Units",
                "description":"Gets the child bill units of the bill unit with the specified ID.",
                "operationId":"getChildsOfBillUnit",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit to get children of.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"flag to retrieve child details",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The child bill units were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Account"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Account"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"billunits-childs-{id}-get",
                "x-filename-id":"billunits-childs-id-get"
            }
        },
        "/billunits/balancegroups/transferbalance":{
            "get":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Get Balance Transfer Details",
                "description":"Gets the details of the balance transfer that matches the specified ID.",
                "operationId":"getTransferBalanceList",
                "parameters":[
                    {
                        "name":"id",
                        "in":"query",
                        "description":"The ID of the balance transfer to get.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"sourceRefId",
                        "in":"query",
                        "description":"The ID of the balance group or service, or the service/MSISDN number that was the source of the balance transfer.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"targetRefId",
                        "in":"query",
                        "description":"The ID of the balance group or service, or the service/MSISDN number that was the target of the balance transfer.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"sourceRefType",
                        "in":"query",
                        "description":"The type of the sourceRefId.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"targetRefType",
                        "in":"query",
                        "description":"The type of the targetRefId.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The balance transfer details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/TransferBalanceDetails"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/TransferBalanceDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    }
                },
                "x-internal-id":"billunits-balancegroups-transferbalance-get",
                "x-filename-id":"billunits-balancegroups-transferbalance-get"
            },
            "post":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Create a Balance Transfer",
                "description":"Creates a balance transfer.",
                "operationId":"createTransferBalance",
                "requestBody":{
                    "description":"The details of the balance transfer to create. The minimum required parameters are: <ul><li>sourceRef</li><li>targetRef</li><li>transferAmount</li></ul> The source and target can be balance group IDs, account IDs, account numbers, service IDs, or service numbers/MSISDN numbers.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/TransferBalance"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/TransferBalance"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The balance was created successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    }
                },
                "x-internal-id":"billunits-balancegroups-transferbalance-post",
                "x-filename-id":"billunits-balancegroups-transferbalance-post"
            }
        },
        "/billunits/balancegroups/transferbalance/{id}":{
            "get":{
                "tags":[
                    "Bill Units"
                ],
                "summary":"Get Balance Transfer Details by Transfer Event ID",
                "description":"Gets the details of the balance transfer for the transfer event that matches the specified ID.",
                "operationId":"getTransferBalance",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the balance transfer event to get.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The balance transfer details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/TransferBalanceDetails"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/TransferBalanceDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    }
                },
                "x-internal-id":"billunits-balancegroups-transferbalance-{id}-get",
                "x-filename-id":"billunits-balancegroups-transferbalance-id-get"
            }
        },
        "/collections/unexempt/{id}":{
            "post":{
                "tags":[
                    "Collections"
                ],
                "summary":"Unexempt a Bill Unit from Collections",
                "description":"Unexempts the specified bill unit from collections.",
                "operationId":"unexempt",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit to unexempt from collections.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Optional notes object",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The bill unit was unexempted from collections."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-unexempt-{id}-post",
                "x-filename-id":"collections-unexempt-id-post"
            }
        },
        "/collections/promisetopay/invoke/{id}":{
            "put":{
                "tags":[
                    "Collections"
                ],
                "summary":"Create a Promise-to-Pay Agreement for a Bill Unit",
                "description":"Creates a promise-to-pay agreement for the specified bill unit.",
                "operationId":"promiseToPay",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit, such as 0.0.0.1+-billinfo+1234567.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the promise to pay agreement. The minimum required parameter is: <b>effectiveDate</b>.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/PromiseToPay"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/PromiseToPay"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The promise-to-pay agreement was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-promisetopay-invoke-{id}-put",
                "x-filename-id":"collections-promisetopay-invoke-id-put"
            }
        },
        "/collections/group":{
            "post":{
                "tags":[
                    "Collections"
                ],
                "summary":"Create a Collections Group",
                "description":"Creates a collections group.",
                "operationId":"createCollectionsGroup",
                "requestBody":{
                    "description":"The collections group to create. The minimum required parameters are:<ul><li><b>parentBillUnitRef</b></li><li><b>name</b></li></ul>This payload can also contain an optional list of members in the collections group.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/CollectionsGroup"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/CollectionsGroup"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The collections group was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-group-post",
                "x-filename-id":"collections-group-post"
            }
        },
        "/collections/account/{id}":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get Collections and Aging Buckets for an Account",
                "description":"Gets collections details, including information about aging buckets, for the specified account ID.",
                "operationId":"getCollectionDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+123123, to get collections details for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The collections and aging bucket details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CollectionDetails"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CollectionDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-account-{id}-get",
                "x-filename-id":"collections-account-id-get"
            }
        },
        "/collections/exempt/{id}":{
            "post":{
                "tags":[
                    "Collections"
                ],
                "summary":"Exempt a Bill Unit from Collections",
                "description":"Exempts the specified bill unit from collections.",
                "operationId":"exempt",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The bill unit ID to exempt from collections.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The optional notes associated with the exemption.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bill unit was successfully exempted from collections."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-exempt-{id}-post",
                "x-filename-id":"collections-exempt-id-post"
            }
        },
        "/collections/task/insert/{id}":{
            "post":{
                "tags":[
                    "Collections"
                ],
                "summary":"Add a Collections Action",
                "description":"Adds a collections action to a collections scenario.",
                "operationId":"insertAction",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the collections action to add, such as 0.0.0.1+-config-collections-action+234.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the collections action to add.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/InsertAction"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/InsertAction"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The collections action was added successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-task-insert-{id}-post",
                "x-filename-id":"collections-task-insert-id-post"
            }
        },
        "/collections/group/{id}":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get a Collections Group by Parent Bill Unit",
                "description":"Gets the collections group details for the specified parent bill unit.",
                "operationId":"getCollectionsGroup",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The parent bill unit of the collection's group, such as 0.0.0.1+-billinfo+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The collections group details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CollectionsGroup"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CollectionsGroup"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-group-{id}-get",
                "x-filename-id":"collections-group-id-get"
            },
            "put":{
                "tags":[
                    "Collections"
                ],
                "summary":"Update a Collections Group",
                "description":"Updates the collections group that matches the specified ID. <p>You can optionally do this:<ul><li>Replace the existing set of members</li><li>Change the name of the collections group</li><li>Change the parent bill unit</li></ul></p>",
                "operationId":"modifyCollectionsGroup",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the collections group to update.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the collections group update.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/CollectionsGroup"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/CollectionsGroup"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The collections group was updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-group-{id}-put",
                "x-filename-id":"collections-group-id-put"
            },
            "delete":{
                "tags":[
                    "Collections"
                ],
                "summary":"Delete a Collections Group",
                "description":"Deletes the collections group that matches the specified ID.",
                "operationId":"deleteCollectionsGroup",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the collections group to delete, such as 0.0.0.1+-group-collections_targets+345678.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "204":{
                        "description":"The collections group was deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-group-{id}-delete",
                "x-filename-id":"collections-group-id-delete"
            }
        },
        "/collections/promisetopay/revoke/{id}":{
            "put":{
                "tags":[
                    "Collections"
                ],
                "summary":"Cancel a Promise-to-Pay Agreement",
                "description":"Cancels the specified promise-to-pay agreement.",
                "operationId":"revokePromiseToPay",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the collections scenario, such as 0.0.0.1+-collections_scenario+345678.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The CSR notes to associate with the cancelled promise-to-pay agreement.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The promise-to-pay agreement was canceled successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-promisetopay-revoke-{id}-put",
                "x-filename-id":"collections-promisetopay-revoke-id-put"
            }
        },
        "/collections/group/member/{id}":{
            "put":{
                "tags":[
                    "Collections"
                ],
                "summary":"Remove a Member from a Collections Group",
                "description":"Removes the specified member from a collections group.",
                "operationId":"removeMember",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit to remove from the collections group, such as 0.0.0.1+-billinfo+56789.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The optional notes associated with the removal.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The member was removed successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-group-member-{id}-put",
                "x-filename-id":"collections-group-member-id-put"
            },
            "post":{
                "tags":[
                    "Collections"
                ],
                "summary":"Add a Member to a Collections Group",
                "description":"Adds a member to an existing collections group.<p>Both the <b>id</b> parameter and the <b>collectiongroupid</b> query parameter are required.</p>",
                "operationId":"addMember",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit to add, such as 0.0.0.1+-billinfo+56789.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"collectiongroupid",
                        "in":"query",
                        "description":"The ID of the collections group. This query parameter is required.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The optional notes associated with the member added to the collections group.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The member was added successfully."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-group-member-{id}-post",
                "x-filename-id":"collections-group-member-id-post"
            }
        },
        "/collections/exit/{id}":{
            "put":{
                "tags":[
                    "Collections"
                ],
                "summary":"Remove a Bill Unit from Collections",
                "description":"Removes the specified bill unit from collections.",
                "operationId":"removeBillUnitFromCollections",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit, such as 0.0.0.1+-billinfo+56789.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The optional notes associated with the removal.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bill unit was successfully removed from collections."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-exit-{id}-put",
                "x-filename-id":"collections-exit-id-put"
            }
        },
        "/collections/scenario/replace/{id}":{
            "put":{
                "tags":[
                    "Collections"
                ],
                "summary":"Replace the Collections Scenario for a Bill Unit",
                "description":"Replaces a bill unit's existing collection scenario with a new collections scenario.",
                "operationId":"replaceCollectionScenario",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the old and new collections scenarios. It also contains the date from when new scenario has to be scheduled.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/ReplaceScenarioDetails"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/ReplaceScenarioDetails"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bill unit's collections scenario was replaced successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-scenario-replace-{id}-put",
                "x-filename-id":"collections-scenario-replace-id-put"
            }
        },
        "/collections/scenarios":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get Collections Scenarios",
                "description":"Gets all collections scenarios in the system. You can optionally use the <b>id</b> query parameter to get a specific collections scenario.",
                "operationId":"getConfigScenarios",
                "parameters":[
                    {
                        "name":"id",
                        "in":"query",
                        "description":"The ID of the collections scenario to get.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The collections scenarios were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Configurations"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Configurations"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-scenarios-get",
                "x-filename-id":"collections-scenarios-get"
            }
        },
        "/collections/details/{id}":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get Collections Details for an Account",
                "description":"Gets the collections details for all bill units that are in collections for the specified account ID.",
                "operationId":"getCollectionDetailsForAccount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID for the account, such as 0.0.0.1+-account+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The collections details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/AccountCollectionDetails"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/AccountCollectionDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-details-{id}-get",
                "x-filename-id":"collections-details-id-get"
            }
        },
        "/collections/profiles":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get All Collections Profiles",
                "description":"Gets all collections profiles from the system.",
                "operationId":"getConfigProfiles",
                "responses":{
                    "200":{
                        "description":"The collections profiles were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Configurations"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Configurations"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-profiles-get",
                "x-filename-id":"collections-profiles-get"
            }
        },
        "/collections/actions":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get Collections Actions",
                "description":"Gets all collections actions, including their ID, name, and description.",
                "operationId":"getConfigActions",
                "responses":{
                    "200":{
                        "description":"The collections actions were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Configurations"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Configurations"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-actions-get",
                "x-filename-id":"collections-actions-get"
            }
        },
        "/collections/exempt":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get Exempted Bill Units",
                "description":"Gets all bill units that are exempted from collections.",
                "operationId":"getCollectionsExemptedBillUnits",
                "responses":{
                    "200":{
                        "description":"The exempted bill units were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/CollectionsExemptedBillUnits"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/CollectionsExemptedBillUnits"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-exempt-get",
                "x-filename-id":"collections-exempt-get"
            }
        },
        "/collections/users":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get Collections Users",
                "description":"Gets the list of users who have the permission to start, modify, and cancel collections for your customers.",
                "operationId":"getCollectionsUsers",
                "responses":{
                    "200":{
                        "description":"The list of users was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/User"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/User"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-users-get",
                "x-filename-id":"collections-users-get"
            }
        },
        "/collections/assignagent":{
            "post":{
                "tags":[
                    "Collections"
                ],
                "summary":"Assign a Collections Agent to a Bill Unit",
                "description":"Assigns the specified collections agent to the bill unit.",
                "operationId":"assignCollectionAgent",
                "requestBody":{
                    "description":"Details about the collections agent to assign to the bill unit. The minimum required parameters are:<ul><li><b>billunitRef</b></li><li><b>collectionAgent</b></li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/AssignCollectionsAgent"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/AssignCollectionsAgent"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The collections agent was successfully assigned to the bill unit."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-assignagent-post",
                "x-filename-id":"collections-assignagent-post"
            }
        },
        "/collections/task/{id}":{
            "put":{
                "tags":[
                    "Collections"
                ],
                "summary":"Modify an Account's Collections Action",
                "description":"Modifies the specified collections action being taken against a customer. For example, you can change the action's status, the action's scheduled date, and the follow-on actions.",
                "operationId":"editAction",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the collections action, such as 0.0.0.1+-collections_action-manual_action+3456789.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The modifications to make to the collections action. The minimum required parameter is: <b>rescheduleDate</b>.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/EditAction"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/EditAction"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The collections action was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred"
                    }
                },
                "x-internal-id":"collections-task-{id}-put",
                "x-filename-id":"collections-task-id-put"
            }
        },
        "/collections/history/action/{id}":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get History of a Collections Action",
                "description":"Gets the history for the collections action that matches the specified ID.",
                "operationId":"getCollectionsActionHistory",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the collections action to get.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The collections action history was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CollectionsActionHistory"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CollectionsActionHistory"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-history-action-{id}-get",
                "x-filename-id":"collections-history-action-id-get"
            }
        },
        "/collections/group/account/{id}":{
            "get":{
                "tags":[
                    "Collections"
                ],
                "summary":"Get Collections Group Details for an Account",
                "description":"Gets the collections group information for all bill units that match the specified account ID.",
                "operationId":"getCollectionsGroupDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to get collections group details for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The collections group details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CollectionsGroupDetails"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CollectionsGroupDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"collections-group-account-{id}-get",
                "x-filename-id":"collections-group-account-id-get"
            }
        },
        "/deferredactions/account/{id}":{
            "get":{
                "tags":[
                    "Deferred Action"
                ],
                "summary":"Get Deferred Actions for an Account",
                "description":"Gets the deferred actions for the account that matches the specified ID.",
                "operationId":"getDeferredActions",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The account ID, such as 0.0.0.1+-account+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of deferred actions was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/DeferredAction"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/DeferredAction"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"deferredactions-account-{id}-get",
                "x-filename-id":"deferredactions-account-id-get"
            }
        },
        "/deferredactions/{id}":{
            "put":{
                "tags":[
                    "Deferred Action"
                ],
                "summary":"Modify a Deferred Action",
                "description":"Modifies the specified deferred action.",
                "operationId":"modifyDeferredAction",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the deferred action, such as 0.0.0.1+-schedule+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the deferred action.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DeferredAction"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DeferredAction"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The deferred action was modified successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/DeferredAction"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/DeferredAction"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"deferredactions-{id}-put",
                "x-filename-id":"deferredactions-id-put"
            },
            "post":{
                "tags":[
                    "Deferred Action"
                ],
                "summary":"Perform a Deferred Action",
                "description":"Performs the specified deferred action.",
                "operationId":"executeDeferredAction",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the deferred action, such as 0.0.0.1+-schedule+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"The deferred action was executed successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/DeferredAction"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/DeferredAction"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"deferredactions-{id}-post",
                "x-filename-id":"deferredactions-id-post"
            },
            "delete":{
                "tags":[
                    "Deferred Action"
                ],
                "summary":"Delete a Deferred Action",
                "description":"Deletes the specified deferred action.",
                "operationId":"deleteDeferredAction",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the deferred action, such as 0.0.0.1+-schedule+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "204":{
                        "description":"The deferred action was deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"deferredactions-{id}-delete",
                "x-filename-id":"deferredactions-id-delete"
            }
        },
        "/depositManagement/customerDeposit/{id}":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get a Customer Deposit by ID",
                "description":"Gets the customer deposit with the specified ID.",
                "operationId":"getCustomerDepositById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The customer deposit ID, for example: 0.0.0.1+-purchased_deposit+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"The customer deposit details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomerDeposit"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomerDeposit"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-customerDeposit-{id}-get",
                "x-filename-id":"depositmanagement-customerdeposit-id-get"
            },
            "patch":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Update a Customer Deposit",
                "description":"Updates the specified customer deposit.",
                "operationId":"updateCustomerDepositById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The customer deposit ID, for example: 0.0.0.1+-purchased_deposit+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The customer deposit to update. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>DepositSpecRef</b></li><li><b>totalAmount</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositOrder"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositOrder"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The customer deposit order was updated successfully, and the ID of the updated deposit was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-customerDeposit-{id}-patch",
                "x-filename-id":"depositmanagement-customerdeposit-id-patch"
            }
        },
        "/depositManagement/customerDeposit":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get Customer Deposits",
                "description":"Gets the customer deposits that match the query criteria.",
                "operationId":"getCustomerDepositByQP",
                "parameters":[
                    {
                        "name":"serviceRef",
                        "in":"query",
                        "description":"The service ID, for example: 0.0.0.1+-service+123123",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"customerRef",
                        "in":"query",
                        "description":"The customer ID, for example: 0.0.0.1+-account+123123",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"billProfileRef",
                        "in":"query",
                        "description":"The billing profile ID, for example: 0.0.0.1+-billInfo+123123",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"The customer deposit details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/CustomerDeposit"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/CustomerDeposit"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-customerDeposit-get",
                "x-filename-id":"depositmanagement-customerdeposit-get"
            }
        },
        "/depositManagement/customerDeposit/order":{
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Create a Customer Deposit with Payments",
                "description":"Creates a customer deposit order with payments.",
                "operationId":"createCustomerDepositByOrder",
                "requestBody":{
                    "description":"Information about the offer details to update. The minimum required parameters are:<ul><li><b>customerDeposit</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositOrder"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositOrder"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The customer deposit order was created successfully, and the ID of the new deposit was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-customerDeposit-order-post",
                "x-filename-id":"depositmanagement-customerdeposit-order-post"
            }
        },
        "/depositManagement/customerDeposit/chargeofadvice":{
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Create an Advice of Charge Customer Deposit",
                "description":"Creates a new advice-of-charge customer deposit.",
                "operationId":"adviceChargeCustomerDeposit",
                "requestBody":{
                    "description":"The deposit advice-of-charge schema to create. The minimum required parameters are:<ul><li><b>id</b></li><li><b>href</b></li><li><b>startsAt</b></li><li><b>effectiveDate</b></li><li><b>customerRef</b></li><li><b>depositSpecRef</b></li><li><b>serviceRef</b></li><li><b>billProfileRef</b></li><li><b>amount</b></li><li><b>validFor</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositAOC"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositAOC"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The advice-of-charge customer deposit was created successfully, and its ID was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-customerDeposit-chargeofadvice-post",
                "x-filename-id":"depositmanagement-customerdeposit-chargeofadvice-post"
            }
        },
        "/depositManagement/depositPayment":{
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Create a Customer Deposit Payment",
                "description":"Creates a customer deposit payment.",
                "operationId":"createDepositWithPayment",
                "requestBody":{
                    "description":"The deposit payment. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>customerDepositRef</b></li><li><b>paymentAmount</b></li><li><b>paymentRef</b></li></ul>",
                    "content":{
                        "*/*":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositPayments"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The deposit payment order was created successfully, and the ID of the new deposit payment was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositPayment-post",
                "x-filename-id":"depositmanagement-depositpayment-post"
            }
        },
        "/depositManagement/depositRefund":{
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Refund a Customer Deposit",
                "description":"Refunds the specified customer deposit.",
                "operationId":"createDepositRefund",
                "requestBody":{
                    "description":"The deposit to refund. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>customerDepositRef</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositRefund"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositRefund"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The deposit refund was created successfully, and the ID of the new deposit refund was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositRefund-post",
                "x-filename-id":"depositmanagement-depositrefund-post"
            }
        },
        "/depositManagement/depositRefund/{id}":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get a Deposit Refund by ID",
                "description":"Gets the specified deposit refund.",
                "operationId":"getDepositRefundById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The deposit refund ID, for example: 0.0.0.1+-deposit_refund+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"The deposit refund details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/DepositRefund"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/DepositRefund"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositRefund-{id}-get",
                "x-filename-id":"depositmanagement-depositrefund-id-get"
            },
            "patch":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Update a Deposit Refund Request",
                "description":"Updates the specified deposit refund request.",
                "operationId":"updateDepositRefundById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The deposit refund ID, for example: 0.0.0.1+-deposit_refund+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The deposit to refund. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>status</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositRefund"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositRefund"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The deposit refund request was updated successfully, and the ID of the updated deposit refund request was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositRefund-{id}-patch",
                "x-filename-id":"depositmanagement-depositrefund-id-patch"
            }
        },
        "/depositManagement/depositRefund/search":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get Deposit Refunds",
                "description":"Gets the deposit refunds that match the query criteria.",
                "operationId":"getDepositRefundByQP",
                "parameters":[
                    {
                        "name":"customerRef",
                        "in":"query",
                        "description":"The customer ID, for example: 0.0.0.1+-account+123123",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"serviceRef",
                        "in":"query",
                        "description":"The service ID, for example: 0.0.0.1+-service+123123",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"status",
                        "in":"query",
                        "description":"The deposit refund status, for example: APPROVE",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"customerNo",
                        "in":"query",
                        "description":"The account number, for example: 123",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"The customer deposit refunds were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DepositRefund"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DepositRefund"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositRefund-search-get",
                "x-filename-id":"depositmanagement-depositrefund-search-get"
            }
        },
        "/depositManagement/depositRelease":{
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Release a Customer Deposit",
                "description":"Releases a customer deposit.",
                "operationId":"createDepositRelease",
                "requestBody":{
                    "description":"The deposit to release. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>customerDepositRef</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositRelease"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositRelease"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The deposit release was created successfully, and the ID of the new deposit release was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositRelease-post",
                "x-filename-id":"depositmanagement-depositrelease-post"
            }
        },
        "/depositManagement/chargeOffer":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get Charge Offers",
                "description":"Gets the charge offers that match the query parameters.",
                "operationId":"getChargeOffer",
                "parameters":[
                    {
                        "name":"category",
                        "in":"query",
                        "description":"The category of the charge offer, for example /device.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The charge offers were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentChargeOffer"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentChargeOffer"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-chargeOffer-get",
                "x-filename-id":"depositmanagement-chargeoffer-get"
            }
        },
        "/depositManagement/packages":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get All Packages",
                "description":"Gets all packages.",
                "operationId":"getPlans",
                "responses":{
                    "200":{
                        "description":"The packages were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Plan"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Plan"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-packages-get",
                "x-filename-id":"depositmanagement-packages-get"
            }
        },
        "/depositManagement/depositReversal":{
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Cancel a Customer Deposit",
                "description":"Cancels a customer deposit.",
                "operationId":"createDepositReversal",
                "requestBody":{
                    "description":"The deposit to cancel. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>customerDepositRef</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositReversal"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositReversal"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The deposit was canceled successfully, and the ID of the deposit reversal (cancellation) was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositReversal-post",
                "x-filename-id":"depositmanagement-depositreversal-post"
            }
        },
        "/depositManagement/depositspecprofile":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get Deposit Specification Profiles",
                "description":"Gets the deposit specification profiles that match the query criteria.",
                "operationId":"searchDepositSpecProfile",
                "parameters":[
                    {
                        "name":"status",
                        "in":"query",
                        "description":"The deposit specification profile status, for example: ACTIVE",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"name",
                        "in":"query",
                        "description":"The name of the deposit specification profile.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expiresAt",
                        "in":"query",
                        "description":"The deposit specification profile expiry date, for example: 2037-09-18T18:30:00.000Z",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The deposit specification profile details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DepositSpecProfile"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DepositSpecProfile"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositspecprofile-get",
                "x-filename-id":"depositmanagement-depositspecprofile-get"
            },
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Create a Deposit Specification Profile",
                "description":"Creates a deposit specification profile.",
                "operationId":"createDepositSpecProfile",
                "requestBody":{
                    "description":"The deposit specification profile to create. You must enter the specification name.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositSpecProfile"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositSpecProfile"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The deposit specification profile was created successfully, and the ID of the new profile was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositspecprofile-post",
                "x-filename-id":"depositmanagement-depositspecprofile-post"
            }
        },
        "/depositManagement/depositspecprofile/{id}":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get a Deposit Specification Profile by ID",
                "description":"Gets the deposit specification profile with the specified ID.",
                "operationId":"getDepositSpecProfile",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The deposit specification profile ID, for example: 0.0.0.1+-config-deposit_spec_profile+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The deposit specification profile information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/DepositSpecProfile"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/DepositSpecProfile"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositspecprofile-{id}-get",
                "x-filename-id":"depositmanagement-depositspecprofile-id-get"
            },
            "patch":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Update a Deposit Specification Profile",
                "description":"Updates the specified deposit specification profile.",
                "operationId":"updateDepositSpecProfile",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The deposit specification profile ID, for example: 0.0.0.1+-config-deposit_spec_profile+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The deposit specification profile to update. The minimum required parameters are:<ul><li><b>name</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositSpecProfile"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositSpecProfile"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The deposit specification profile was updated successfully."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositspecprofile-{id}-patch",
                "x-filename-id":"depositmanagement-depositspecprofile-id-patch"
            }
        },
        "/depositManagement/depositSpec/{id}":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get a Deposit Specification by ID",
                "description":"Gets the deposit specification details with the specified ID.",
                "operationId":"getDepositSpecById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The deposit specification ID, for example: 0.0.0.1+-deposit_specification+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The deposit specification details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/DepositSpec"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/DepositSpec"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositSpec-{id}-get",
                "x-filename-id":"depositmanagement-depositspec-id-get"
            },
            "delete":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Delete a Deposit Specification",
                "description":"Deletes the deposit specification with the specified ID.",
                "operationId":"deleteDepositSpecById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The deposit specification ID, for example: 0.0.0.1+-deposit_specification+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The deposit specification profile was deleted successfully."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositSpec-{id}-delete",
                "x-filename-id":"depositmanagement-depositspec-id-delete"
            },
            "patch":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Update a Deposit Specification",
                "description":"Updates the specified deposit specification.",
                "operationId":"updateDepositSpecById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The deposit specification ID, for example: 0.0.0.1+-deposit_specification+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The deposit specification  to update. The minimum required parameters are:<ul><li><b>name</b></li><li><b>chargeOfferRef</b></li><li><b>profileRef</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositSpec"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositSpec"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The deposit specification was updated successfully."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositSpec-{id}-patch",
                "x-filename-id":"depositmanagement-depositspec-id-patch"
            }
        },
        "/depositManagement/depositSpec":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get Deposit Specifications or Offers",
                "description":"Gets the deposit specifications or offers that match the query criteria.",
                "operationId":"getDepositSpecByQP",
                "parameters":[
                    {
                        "name":"name",
                        "in":"query",
                        "description":"The name of the deposit specification.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"profileRef",
                        "in":"query",
                        "description":"The deposit specification profile ID, for example: 0.0.0.1+-config-deposit_spec_profile+1234567",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"status",
                        "in":"query",
                        "description":"The deposit specification status, for example: DRAFT",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"permitted",
                        "in":"query",
                        "description":"The purchase level permitted for the deposit specification. This can be a single service (for example, <b>/service/email</b>), all services (<b>/service</b>), all accounts (<b>/account</b>), or all accounts and services (<b>*</b>).",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expiresAt",
                        "in":"query",
                        "description":"The deposit specification expiry date, for example: 2037-09-18T18:30:00.000Z",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"profileName",
                        "in":"query",
                        "description":"The name of the deposit specification profile.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The deposit specifications were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DepositSpec"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DepositSpec"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositSpec-get",
                "x-filename-id":"depositmanagement-depositspec-get"
            },
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Create a Deposit Specification",
                "description":"Creates a deposit specification.",
                "operationId":"createDepositSpec",
                "requestBody":{
                    "description":"The deposit specification to create. The minimum required parameters are:<ul><li><b>name</b></li><li><b>chargeOfferRef</b></li><li><b>profileRef</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositSpec"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositSpec"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The deposit specification was created successfully, and the ID of the new profile was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositSpec-post",
                "x-filename-id":"depositmanagement-depositspec-post"
            }
        },
        "/depositManagement/depositTxn/{id}":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get a Deposit Transaction by ID",
                "description":"Gets the specified deposit transaction.",
                "operationId":"getDepositTxnById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The deposit transaction ID, for example: 0.0.0.1+-event-billing-payment-cash+123456789123456789",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The deposit transaction details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/DepositTxn"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositTxn-{id}-get",
                "x-filename-id":"depositmanagement-deposittxn-id-get"
            }
        },
        "/depositManagement/depositTxn/{customerDepositRef}/events":{
            "get":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Get Deposit Transaction by Deposit",
                "description":"Gets all of the transactions for a deposit",
                "operationId":"getDepositTxnDetails",
                "parameters":[
                    {
                        "name":"customerDepositRef",
                        "in":"path",
                        "description":"The customer deposit ID, for example: 0.0.0.1+-purchased_deposit+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"skip",
                        "in":"query",
                        "description":"The number of records to skip before returning results.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"The deposit transaction details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DepositTxn"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DepositTxn"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositTxn-{customerDepositRef}-events-get",
                "x-filename-id":"depositmanagement-deposittxn-customerdepositref-events-get"
            }
        },
        "/depositManagement/depositTransfer":{
            "post":{
                "tags":[
                    "Deposits"
                ],
                "summary":"Transfer a Customer Deposit",
                "description":"Transfers the specified customer deposit to another customer.",
                "operationId":"transferCustomerDeposit",
                "requestBody":{
                    "description":"The deposit to transfer. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>customerDepositRef</b></li><li><b>destCustomerRef</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositTransfer"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DepositTransfer"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The customer deposit transfer was created successfully."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"depositManagement-depositTransfer-post",
                "x-filename-id":"depositmanagement-deposittransfer-post"
            }
        },
        "/disputes/notes/{id}":{
            "get":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Get Notes for a Disputed Bill",
                "description":"Gets the notes information for the specified bill in dispute.",
                "operationId":"getNotes",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill in dispute.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The notes were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/NotesInfo"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/NotesInfo"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-notes-{id}-get",
                "x-filename-id":"disputes-notes-id-get"
            }
        },
        "/disputes/bill/{id}":{
            "get":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Get Open Disputes for a Bill",
                "description":"Gets all open disputes for the specified bill.",
                "operationId":"getOpenDisputesForBill",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of open disputes was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-bill-{id}-get",
                "x-filename-id":"disputes-bill-id-get"
            },
            "post":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Create a Bill Dispute",
                "description":"Creates a dispute for the specified bill.",
                "operationId":"disputeBill",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill in dispute.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the disputed bill.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DisputeBill"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DisputeBill"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The bill dispute was created successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-bill-{id}-post",
                "x-filename-id":"disputes-bill-id-post"
            }
        },
        "/disputes/settlement/bill/{id}":{
            "post":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Create a Settlement for a Bill Dispute",
                "description":"Creates a settlement for the specified disputed bill.",
                "operationId":"settleBillDispute",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill in dispute.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the settlement. The minimum required parameter is <b>amount</b>.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SettlementBill"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SettlementBill"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The bill settlement was created successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-settlement-bill-{id}-post",
                "x-filename-id":"disputes-settlement-bill-id-post"
            }
        },
        "/disputes/account/{id}":{
            "get":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Get Open Disputes for an Account",
                "description":"Gets all open disputes for the specified account that meet the query criteria.",
                "operationId":"getOpenDisputes",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to get open disputes for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"Expand the list of open disputes. Supported vales are:<ul><li><b>all</b>: Shows the open disputes for all child accounts. This is the default.</li><li><b>childonly</b>: Shows the open disputes for only the current account.</li></ul>",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of open disputes was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-account-{id}-get",
                "x-filename-id":"disputes-account-id-get"
            }
        },
        "/disputes/settlement/{id}":{
            "get":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Get Settlement Details for a Dispute",
                "description":"Gets settlement details of a dispute",
                "operationId":"getSettlementDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The settlement ID or dispute ID.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"accountId",
                        "in":"query",
                        "description":"The account ID. This parameter is optional.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"billunitId",
                        "in":"query",
                        "description":"The bill unit ID. This parameter is optional.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"billId",
                        "in":"query",
                        "description":"The bill ID. This parameter is optional.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The settlement details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/SettlementDetails"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/SettlementDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-settlement-{id}-get",
                "x-filename-id":"disputes-settlement-id-get"
            }
        },
        "/disputes/item/{id}":{
            "post":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Create an Item Dispute",
                "description":"Creates a dispute for the specified item.",
                "operationId":"disputeItem",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the item to dispute.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the item dispute.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DisputeItem"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DisputeItem"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The item dispute was created successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-item-{id}-post",
                "x-filename-id":"disputes-item-id-post"
            }
        },
        "/disputes/settlement/item/{id}":{
            "post":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Create a Settlement for an Item Dispute",
                "description":"Create a settlement for the specified item.",
                "operationId":"settleItemDispute",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the item in dispute.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the settlement. The minimum required parameter is <b>amount</b>.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SettlementItem"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SettlementItem"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The settlement was created successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-settlement-item-{id}-post",
                "x-filename-id":"disputes-settlement-item-id-post"
            }
        },
        "/disputes/event":{
            "post":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Create an Event Dispute",
                "description":"Creates an event dispute.",
                "operationId":"disputeEvent",
                "requestBody":{
                    "description":"Information about the event dispute.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/DisputeEvent"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/DisputeEvent"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The event dispute was created successfully."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-event-post",
                "x-filename-id":"disputes-event-post"
            }
        },
        "/disputes/settlement/event/{id}":{
            "post":{
                "tags":[
                    "Disputes"
                ],
                "summary":"Create a Settlement for an Event Dispute",
                "description":"Performs settlement of an event dispute",
                "operationId":"settleEventDispute",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the disputed event.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information about the settlement. The minimum required parameters are: <ul><li><b>accountRef</b></li><li><b>amount</b></li><li><b>events</b></li>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SettlementEvent"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SettlementEvent"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The settlement was created successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"disputes-settlement-event-{id}-post",
                "x-filename-id":"disputes-settlement-event-id-post"
            }
        },
        "/installmentManagement/cancelInstallment":{
            "post":{
                "tags":[
                    "Installments"
                ],
                "summary":"Cancel an Installment Schedule",
                "description":"Cancels an installment schedule.",
                "operationId":"cancelInstallment",
                "requestBody":{
                    "description":"The installment schedule to cancel. The minimum required parameters are:<ul><li><b>customerRef</b></li>  <li><b>installmentRef</b></li><li><b>notes</b></li></ul>",
                    "content":{
                        "application/json, application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/CancelInstallment"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The installment schedule was canceled successfully."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-cancelInstallment-post",
                "x-filename-id":"installmentmanagement-cancelinstallment-post"
            }
        },
        "/installmentManagement/installmentProposal":{
            "post":{
                "tags":[
                    "Installments"
                ],
                "summary":"Create an Installment Proposal",
                "description":"Creates an installment proposal.",
                "operationId":"addInstallmentProposal",
                "requestBody":{
                    "description":"The installment proposal to create. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>specRef</b></li><li><b>totalAmount</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentProposal"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentProposal"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The installment proposal was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/InstallmentSchedule"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/InstallmentSchedule"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentProposal-post",
                "x-filename-id":"installmentmanagement-installmentproposal-post"
            }
        },
        "/installmentManagement/ddObjectSpec":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get Data Dictionary Object Specifications",
                "description":"Gets the data dictionary object specifications that match the specified query criteria.",
                "operationId":"getDDObjectSpec",
                "parameters":[
                    {
                        "name":"className",
                        "in":"query",
                        "description":"The class names to retrieve, for example: /account,/service,/device,/profile",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"fetchSubClass",
                        "in":"query",
                        "description":"Indicates whether to include subclasses in the response (<b>true</b>) or not (<b>false</b>). The default value is false.",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The data dictionary object specification information was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DDObjectSpec"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DDObjectSpec"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-ddObjectSpec-get",
                "x-filename-id":"installmentmanagement-ddobjectspec-get"
            }
        },
        "/installmentManagement/glid":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get G/L IDs",
                "description":"Gets the general ledger IDs (G/L IDs) that match the specified query criteria.",
                "operationId":"getGLID",
                "parameters":[
                    {
                        "name":"glid",
                        "in":"query",
                        "description":"The G/l ID, for example: 101",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"descr",
                        "in":"query",
                        "description":"The description of the GL/ID.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The G/L ID information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/GLIDSpec"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/GLIDSpec"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-glid-get",
                "x-filename-id":"installmentmanagement-glid-get"
            }
        },
        "/installmentManagement/bills":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get Installment Bills",
                "description":"Gets the installment bills that match the specified query criteria.",
                "operationId":"getInstallments",
                "parameters":[
                    {
                        "name":"accountRef",
                        "in":"query",
                        "description":"The customer ID, for example: 0.0.0.1+-account+2345678",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"billInfoRef",
                        "in":"query",
                        "description":"The bill ID, for example: 0.0.0.1+-billinfo+3456789",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The installment bill information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentBillInfo"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentBillInfo"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-bills-get",
                "x-filename-id":"installmentmanagement-bills-get"
            }
        },
        "/installmentManagement/installmentSchedule":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get Installment Schedules",
                "description":"Gets the installment schedules that match the specified query criteria.",
                "operationId":"getInstallmentSchedule",
                "parameters":[
                    {
                        "name":"customerRef",
                        "in":"query",
                        "description":"The customer ID, for example: 0.0.0.1+-account+123123",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"serviceRef",
                        "in":"query",
                        "description":"The service ID, for example: 0.0.0.1+-service+123123",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"scheduleSpecRef",
                        "in":"query",
                        "description":"The schedule specification ID, for example: 0.0.0.1+-config-installment-schedule_spec+123456",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"name",
                        "in":"query",
                        "description":"The installment schedule name.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expiresAt",
                        "in":"query",
                        "description":"The deposit specification expiry date, for example: 2037-09-18T18:30:00.000Z",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"billProfileRef",
                        "in":"query",
                        "description":"The billing profile ID, for example: 0.0.0.1+-billInfo+123123",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"skip",
                        "in":"query",
                        "description":"The number of records to skip before returning results.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The installment schedule information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentSchedule"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentSchedule"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentSchedule-get",
                "x-filename-id":"installmentmanagement-installmentschedule-get"
            },
            "post":{
                "tags":[
                    "Installments"
                ],
                "summary":"Create an Installment Schedule",
                "description":"Creates an installment schedule.",
                "operationId":"addInstallmentSchedule",
                "requestBody":{
                    "description":"The installment schedule to create. The minimum required parameters are:<ul><li><b>customerRef</b></li><li><b>validFor</b></li><li><b>scheduleSpecRef</b></li><li><b>totalAmount</b></li><li><b>bills</b></li><li><b>installments</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentSchedule"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentSchedule"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The installment schedule was created successfully, and the ID of the new schedule was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentSchedule-post",
                "x-filename-id":"installmentmanagement-installmentschedule-post"
            }
        },
        "/installmentManagement/installmentSchedule/{id}":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get an Installment Schedule by ID",
                "description":"Gets the installment schedule with the specified ID.",
                "operationId":"getInstallmentSchedule_1",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The installment schedule ID, for example: 0.0.0.1+-installment_schedule+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The installment schedule information was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/InstallmentSchedule"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/InstallmentSchedule"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentSchedule-{id}-get",
                "x-filename-id":"installmentmanagement-installmentschedule-id-get"
            },
            "patch":{
                "tags":[
                    "Installments"
                ],
                "summary":"Update an Installment Schedule",
                "description":"Updates the installment schedule with the specified ID.",
                "operationId":"updateInstallmentSchedule",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The installment schedule ID, for example: 0.0.0.1+-installment_schedule+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The installment schedule containing the updated information.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentSchedule"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentSchedule"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The installment schedule was updated successfully."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentSchedule-{id}-patch",
                "x-filename-id":"installmentmanagement-installmentschedule-id-patch"
            }
        },
        "/installmentManagement/installmentSchedule/bills":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get Bill Details by ID",
                "description":"Gets the details for the bills with the specified bill ID.",
                "operationId":"getBillsByIDInstallmentSchedule",
                "parameters":[
                    {
                        "name":"billIds",
                        "in":"query",
                        "description":"One or more bill IDs, for example: 0.0.0.1+-bill+1234567 or 0.0.0.1+-bill+2345678,0.0.0.1+-bill+3456789",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The installment schedule bill information was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentScheduleBill"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentScheduleBill"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentSchedule-bills-get",
                "x-filename-id":"installmentmanagement-installmentschedule-bills-get"
            }
        },
        "/installmentManagement/installmentSchedule/billDetails":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get Installment Schedule Bills",
                "description":"Gets the installment schedule bills that match the specified query criteria.",
                "operationId":"getInstallmentScheduleBillDetails",
                "parameters":[
                    {
                        "name":"accountRef",
                        "in":"query",
                        "description":"The account ID, for example: 0.0.0.1+-account+2345678",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"installmentRef",
                        "in":"query",
                        "description":"The installment schedule ID, for example: 0.0.0.1+-installment_schedule+3456789",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The installment schedule bill information was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentScheduleBillDetails"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentScheduleBillDetails"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentSchedule-billDetails-get",
                "x-filename-id":"installmentmanagement-installmentschedule-billdetails-get"
            }
        },
        "/installmentManagement/installmentScheduleSpec":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get Installment Schedule Specifications",
                "description":"Gets the installment schedule specifications that match the specified query criteria.",
                "operationId":"getInstallmentScheduleSpecByQP",
                "parameters":[
                    {
                        "name":"expiresAt",
                        "in":"query",
                        "description":"The installment schedule specification expiry date, for example: 2037-09-18T18:30:00.000Z",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"name",
                        "in":"query",
                        "description":"The installment schedule specification name.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"customerRef",
                        "in":"query",
                        "description":"The account ID, for example: 0.0.0.1+-account+1234567",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"skip",
                        "in":"query",
                        "description":"The number of records to skip before returning results.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The installment schedule specification information was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentScheduleSpec"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/InstallmentScheduleSpec"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentScheduleSpec-get",
                "x-filename-id":"installmentmanagement-installmentschedulespec-get"
            },
            "post":{
                "tags":[
                    "Installments"
                ],
                "summary":"Create an Installment Schedule Specification",
                "description":"Creates an installment schedule specification.",
                "operationId":"addInstallmentScheduleSpec",
                "requestBody":{
                    "description":"The installment specification to be created. The minimum required parameters are:<ul><li><b>maxIntervalDaysNEI</b></li><li><b>maxNumNEI</b></li><li><b>minAmount</b></li><li><b>minPercent</b></li><li><b>name</b></li><li><b>glid</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentScheduleSpec"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentScheduleSpec"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The installment schedule was created successfully, and the ID of the new installment schedule was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentScheduleSpec-post",
                "x-filename-id":"installmentmanagement-installmentschedulespec-post"
            }
        },
        "/installmentManagement/installmentScheduleSpec/{id}":{
            "get":{
                "tags":[
                    "Installments"
                ],
                "summary":"Get an Installment Schedule Specification by ID",
                "description":"Gets the installment schedule specifications with the specified ID.",
                "operationId":"getInstallmentScheduleSpec",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The installment specification ID, for example: 0.0.0.1+-config-instalment_schedule_spec+123123",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The installment schedule specification information was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/InstallmentScheduleSpec"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/InstallmentScheduleSpec"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentScheduleSpec-{id}-get",
                "x-filename-id":"installmentmanagement-installmentschedulespec-id-get"
            },
            "put":{
                "tags":[
                    "Installments"
                ],
                "summary":"Update an Installment Schedule Specification",
                "description":"Updates the installment schedule specification with the specified ID.",
                "operationId":"updateInstallmentScheduleSpec",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The installment specification ID, for example: 0.0.0.1+-config-instalment_schedule_spec+123123",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The installment schedule specification containing the updated information.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentScheduleSpec"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/InstallmentScheduleSpec"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The installment schedule specification was updated successfully."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"installmentManagement-installmentScheduleSpec-{id}-put",
                "x-filename-id":"installmentmanagement-installmentschedulespec-id-put"
            }
        },
        "/loans/account/{id}":{
            "get":{
                "tags":[
                    "Loans"
                ],
                "summary":"Get Loans for an Account",
                "description":"Gets the loans for the account with the specified ID.",
                "operationId":"getLoanDetail",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to get loans for. For example: 0.0.0.1+-account+123123",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"service.id",
                        "in":"query",
                        "description":"The service ID to filter loans by.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"service.type",
                        "in":"query",
                        "description":"The service type to filter loans by.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"loanStartTime",
                        "in":"query",
                        "description":"The earliest start date of the loans to get, in milliseconds. For example: 1444209849879.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"loanEndTime",
                        "in":"query",
                        "description":"The latest end date of loans to get, in milliseconds. For example: 1444209849879.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"onlyActiveLoans",
                        "in":"query",
                        "description":"Whether to retrieve only active loans (<b>true</b>) or all loans that have been granted (<b>false</b>).",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The loans were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/LoanDetail"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/LoanDetail"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"loans-account-{id}-get",
                "x-filename-id":"loans-account-id-get"
            }
        },
        "/loans":{
            "post":{
                "tags":[
                    "Loans"
                ],
                "summary":"Create a Loan",
                "description":"Creates a new loan.",
                "operationId":"applyLoan",
                "requestBody":{
                    "description":"The details of the loan to create.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/ApplyLoan"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/ApplyLoan"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The loan was created successfully."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"loans-post",
                "x-filename-id":"loans-post"
            }
        },
        "/loans/loanProfiles":{
            "get":{
                "tags":[
                    "Loans"
                ],
                "summary":"Get Loan Profiles",
                "description":"Gets the loan profiles that have been configured for the account with the specified ID.",
                "operationId":"getConfigLoanProfiles",
                "parameters":[
                    {
                        "name":"id",
                        "in":"query",
                        "description":"The ID of the account to get loan profiles from. For example: 0.0.0.1+-account+123123",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"name",
                        "in":"query",
                        "description":"The name of the loan profile. For example: Resource Loan",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The loan profiles were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/LoanProfileDetails"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/LoanProfileDetails"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"loans-loanProfiles-get",
                "x-filename-id":"loans-loanprofiles-get"
            }
        },
        "/notes":{
            "post":{
                "tags":[
                    "Notes"
                ],
                "summary":"Create a Note",
                "description":"Creates a new note or adds a follow-up comment to an existing note.",
                "operationId":"createNotes",
                "requestBody":{
                    "description":"Details about the new note or follow-up comment. The minimum required parameters are:<ul><li><b>notes</b><ul><li><b>accountId</b></li><li>For new notes only, you must also include the <b>type</b> and <b>subtype</b> parameters</li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotesInfo"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The note was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/NotesInfo"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/NotesInfo"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"notes-post",
                "x-filename-id":"notes-post"
            }
        },
        "/notes/billunit/{id}":{
            "get":{
                "tags":[
                    "Notes"
                ],
                "summary":"Get Notes for a Bill Unit",
                "description":"Retrieves the list of notes, along with their follow-up comments, for a bill unit.",
                "operationId":"getAllNotes",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"starts",
                        "in":"query",
                        "description":"The start date of the notes in milliseconds, such as 1444209849879. This parameter is optional.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"ends",
                        "in":"query",
                        "description":"The end date of the notes in milliseconds, such as 1444209849879. This parameter is optional.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The notes were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/NotesInfo"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/NotesInfo"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"notes-billunit-{id}-get",
                "x-filename-id":"notes-billunit-id-get"
            }
        },
        "/notes/item/{id}":{
            "get":{
                "tags":[
                    "Notes"
                ],
                "summary":"Get Notes for a Bill Item",
                "description":"Retrieves the list of notes, along with their follow-up comments, for a bill item.",
                "operationId":"getAllNotesforItemId",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill item, such as 0.0.0.1+-item-payment+123456789825603320.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of notes were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Notes"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Notes"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"notes-item-{id}-get",
                "x-filename-id":"notes-item-id-get"
            }
        },
        "/notes/transaction/{id}":{
            "get":{
                "tags":[
                    "Notes"
                ],
                "summary":"Get Notes for a Transaction",
                "description":"Retrieves the list of notes, along with their associated comments, for the specified transaction.",
                "operationId":"getAllNotesforTransactionId",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The transaction ID of the payment, such as T1,a,0.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The notes were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Notes"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Notes"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"notes-transaction-{id}-get",
                "x-filename-id":"notes-transaction-id-get"
            }
        },
        "/notes/account/{id}":{
            "get":{
                "tags":[
                    "Notes"
                ],
                "summary":"Get Notes for an Account",
                "description":"Gets the notes associated with the specified account.",
                "operationId":"getNotesforAccount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to get the notes for. For example, <b>0.0.0.1+-account+4567890</b>.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The notes associated with the account",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Notes"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Notes"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"notes-account-{id}-get",
                "x-filename-id":"notes-account-id-get"
            }
        },
        "/notificationManagement/notificationEvent":{
            "get":{
                "tags":[
                    "Notifications"
                ],
                "summary":"Get Notification Events",
                "description":"Gets the notification events that match the specified query criteria.",
                "operationId":"searchNotificationEvent",
                "parameters":[
                    {
                        "name":"name",
                        "in":"query",
                        "description":"The name of the notification event, for example /event/customer/actginfo",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The notification event information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/NotificationEvent"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/NotificationEvent"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"notificationManagement-notificationEvent-get",
                "x-filename-id":"notificationmanagement-notificationevent-get"
            }
        },
        "/notificationManagement/deliveryMethod":{
            "get":{
                "tags":[
                    "Notifications"
                ],
                "summary":"Get Delivery Methods",
                "description":"Gets the notification delivery methods that match the specified query criteria.",
                "operationId":"getDeliveryMethod",
                "parameters":[
                    {
                        "name":"expiresAt",
                        "in":"query",
                        "description":"The delivery method expiry date, for example: 2037-09-18T18:30:00.000Z",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"name",
                        "in":"query",
                        "description":"The delivery method name.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"id",
                        "in":"query",
                        "description":"The delivery method ID.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"skip",
                        "in":"query",
                        "description":"The number of records to skip before returning results.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The delivery method information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DeliveryMethod"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/DeliveryMethod"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"notificationManagement-deliveryMethod-get",
                "x-filename-id":"notificationmanagement-deliverymethod-get"
            }
        },
        "/notificationManagement/notificationSpec":{
            "get":{
                "tags":[
                    "Notifications"
                ],
                "summary":"Get Notification Specifications",
                "description":"Gets the notification specifications that match the specified query criteria.",
                "operationId":"getNotificationSpecByQP",
                "parameters":[
                    {
                        "name":"name",
                        "in":"query",
                        "description":"The notification specification name.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"status",
                        "in":"query",
                        "description":"The notification specification status, for example: DRAFT",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expiresAt",
                        "in":"query",
                        "description":"The notification specification expiry date, for example: 2037-09-18T18:30:00.000Z",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"triggerType",
                        "in":"query",
                        "description":"The notification specification trigger type.<br/>Allowed values are: <b>AUTO</b>, <b>SYSTEM</b>, and <b>ALL</b>",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The notification specification type.<br/>Allowed values are: <b>ADVANCE</b>, <b>REALTIME</b>, <b>PREDEFINED</b>, <b>FIRST_TRANSACTION</b>, and <b>POSTDUE</b>.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"systemEvent",
                        "in":"query",
                        "description":"The event type.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"scope",
                        "in":"query",
                        "description":"The notification specification trigger type.<br/>Allowed values are: <b>USER</b>, <b>SYSTEM</b>, and <b>ALL</b>",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"deliveryMethod",
                        "in":"query",
                        "description":"The delivery method of the event, for example: SMS",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"category ",
                        "in":"query",
                        "description":"The notification specification category.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"skip",
                        "in":"query",
                        "description":"The number of records to skip before returning results.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"optType",
                        "in":"query",
                        "description":"The opt-in/opt-out type of the notification.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"aggregateMode",
                        "in":"query",
                        "description":"The aggregate mode of the notification.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to be displayed on a page.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The notification specification information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/NotificationSpec"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/NotificationSpec"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"notificationManagement-notificationSpec-get",
                "x-filename-id":"notificationmanagement-notificationspec-get"
            },
            "post":{
                "tags":[
                    "Notifications"
                ],
                "summary":"Create a Notification Specification",
                "description":"Creates a notification specification.",
                "operationId":"createNotoficationSpec",
                "requestBody":{
                    "description":"The notification specification to create. The minimum required parameters are: <ul> <li><b>name</b></li> <li><b>systemEvent</b></li> <li><b>deliveryMethods</b></li> <li><b>deliverySpec</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotificationSpec"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotificationSpec"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The notification specification was created successfully, and its ID was returned."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"notificationManagement-notificationSpec-post",
                "x-filename-id":"notificationmanagement-notificationspec-post"
            }
        },
        "/notificationManagement/notificationSpec/{id}":{
            "get":{
                "tags":[
                    "Notifications"
                ],
                "summary":"Get a Notification Specification by ID",
                "description":"Gets the notification specification with the specified ID.",
                "operationId":"getNotificationSpecById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The notification specification ID, for example: 0.0.0.1+-notification_specification+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The notification specification information was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/NotificationSpec"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/NotificationSpec"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"notificationManagement-notificationSpec-{id}-get",
                "x-filename-id":"notificationmanagement-notificationspec-id-get"
            },
            "patch":{
                "tags":[
                    "Notifications"
                ],
                "summary":"Update a Notification Specification",
                "description":"Updates the notification specification with the specified ID.",
                "operationId":"updateNotificationSpecById",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The notification specification ID, for example: 0.0.0.1+-notification_spec+1234567",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The notification specification to update. The minimum required parameters are: <ul><li><b>name</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/NotificationSpec"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/NotificationSpec"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The notification specification was updated successfully."
                    },
                    "500":{
                        "description":"An error occurred. An exception has been raised."
                    }
                },
                "x-internal-id":"notificationManagement-notificationSpec-{id}-patch",
                "x-filename-id":"notificationmanagement-notificationspec-id-patch"
            }
        },
        "/batchpayments/upload":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Upload a Batch Payment File",
                "description":"Imports a payment batch file, validates its content, and then uploads it to a directory.",
                "operationId":"uploadBatchPaymentFile",
                "parameters":[
                    {
                        "name":"override",
                        "in":"query",
                        "description":"Whether to override an older version of the batch payment file (<b>true</b>) or not (<b>false</b>).",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "requestBody":{
                    "content":{
                        "multipart/form-data":{
                            "schema":{
                                "type":"object",
                                "properties":{
                                    "filename":{
                                        "type":"string"
                                    },
                                    "file":{
                                        "$ref":"#/components/schemas/FormDataContentDisposition"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The batch payment file was uploaded successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentBatchFileHeader"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentBatchFileHeader"
                                }
                            }
                        }
                    },
                    "201":{
                        "description":"The batch payment file was uploaded successfully. The batch payment file header details such as the file name, file creation date, number of payments, and institution name are returned."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-upload-post",
                "x-filename-id":"batchpayments-upload-post"
            }
        },
        "/batchpayments/process":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Process Batch Payments",
                "description":"Processes batch payment files and submits the payments upon successful validation.",
                "operationId":"processBatchPayments",
                "parameters":[
                    {
                        "name":"retry",
                        "in":"query",
                        "description":"Whether to automatically retry processing the batch payments if a failure occurs (<b>true</b>) or not (<b>false</b>).",
                        "schema":{
                            "type":"boolean"
                        }
                    },
                    {
                        "name":"overrideThreshold",
                        "in":"query",
                        "description":"What to do when the number of suspended payments in a batch file has exceeded a pre-configured threshold:<ul><li><b>true</b> specifies to override the threshold checkpoint and proceed with submitting the payments.</li><li><b>false</b> specifies to stop processing the batch file and roll back any successful allocations in the payment batch.</li></ul> ",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The header information for the batch payment file, such as the institution name, file name, and so on. The minimum required parameters are: <ul><li><b>currency</b></li><li><b>fileCreationDate</b></li><li><b>fileName</b></li><li><b>institutionName</b></li><li><b>lockBoxId</b></li><li><b>templateName</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/PaymentBatchFileHeader"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/PaymentBatchFileHeader"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The batch payments were processed successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentBatchStatistics"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentBatchStatistics"
                                }
                            }
                        }
                    },
                    "201":{
                        "description":"The batch payments were processed successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-process-post",
                "x-filename-id":"batchpayments-process-post"
            }
        },
        "/batchpayments/viewfile/{fileName}":{
            "get":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Get a Batch Payment File by File Name",
                "description":"Gets the batch payment file that matches the specified file name. <p>The response contains the contents of the batch payment file in text format.</p>",
                "operationId":"getBatchPaymentsFile",
                "parameters":[
                    {
                        "name":"fileName",
                        "in":"path",
                        "description":"The name of the batch payment file.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The batch payment file was returned successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-viewfile-{fileName}-get",
                "x-filename-id":"batchpayments-viewfile-filename-get"
            }
        },
        "/batchpayments/poll":{
            "get":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Get Batch Payment Files",
                "description":"Gets the list of batch payment files. This method polls the <b>Unprocessed</b>, <b>Processing</b>, and <b>Error</b> folders and, if there are any changes in a folder, it returns information about the batch payment files.",
                "operationId":"pollForBatchPayments",
                "responses":{
                    "200":{
                        "description":"The list of batch payment files was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentBatchFileHeader"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentBatchFileHeader"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-poll-get",
                "x-filename-id":"batchpayments-poll-get"
            }
        },
        "/batchpayments/autoprocess/{autoProcess}":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Start or Stop Automatic Batch Payments",
                "description":"Starts or stops the automatic batch payment process.",
                "operationId":"autoProcessBatchPayments",
                "parameters":[
                    {
                        "name":"autoProcess",
                        "in":"path",
                        "description":"Whether to start the automatic batch payment process (<b>true</b>) or stop the automatic batch payment process (<b>false</b>).",
                        "required":true,
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"The batch payment process was started or stopped successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-autoprocess-{autoProcess}-post",
                "x-filename-id":"batchpayments-autoprocess-autoprocess-post"
            }
        },
        "/batchpayments/filecount/{fileName}":{
            "get":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Check If a Batch File Was Processed",
                "description":"Checks if the batch file named <i>filename</i> is already committed to the system. If it's already committed, it returns a count greater than 0.",
                "operationId":"isFileAlreadyProcessed",
                "parameters":[
                    {
                        "name":"fileName",
                        "in":"path",
                        "description":"The name of the batch file to check.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"If the file was already processed, an integer greater than zero is returned."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-filecount-{fileName}-get",
                "x-filename-id":"batchpayments-filecount-filename-get"
            }
        },
        "/batchpayments/templates":{
            "get":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Get Batch Payment Templates",
                "description":"Gets the batch payment templates, either from the path specified during installation or from the locally configured location. The returned BatchPaymentTemplates contain the batch name and the template name.",
                "operationId":"getAvailableTemplates",
                "responses":{
                    "200":{
                        "description":"The list of batch payment templates was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BatchPaymentTemplates"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BatchPaymentTemplates"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-templates-get",
                "x-filename-id":"batchpayments-templates-get"
            }
        },
        "/batchpayments/validate":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Validate a Payment Batch",
                "description":"Validates each record in the payment batch and returns the records with validation status and any appropriate messages.",
                "operationId":"validatePaymentsBatch",
                "requestBody":{
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The validation process is complete.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BatchRecordsList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BatchRecordsList"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-validate-post",
                "x-filename-id":"batchpayments-validate-post"
            }
        },
        "/batchpayments/submit":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Submit a Payment Batch",
                "description":"Submits each validated record in the payment batch and returns the records with updated status.",
                "operationId":"submitPaymentsBatch",
                "requestBody":{
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The submission process is complete.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BatchRecordsList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/BatchRecordsList"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-submit-post",
                "x-filename-id":"batchpayments-submit-post"
            }
        },
        "/batchrefund/validate":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Validate a Refund Batch",
                "description":"Validates each record in the refund batch and returns the records with validation status and any appropriate messages.",
                "operationId":"refundValidate",
                "requestBody":{
                    "description":"The details for refund.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The validation process is complete.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BatchRecordsList"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchrefund-validate-post",
                "x-filename-id":"batchrefund-validate-post"
            }
        },
        "/batchrefund/submit":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Submit a Refund Batch",
                "description":"Submits each validated record in the refund batch and returns the records with updated status.",
                "operationId":"refundSubmission",
                "requestBody":{
                    "description":"The details for refund.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The submission process is complete.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BatchRecordsList"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchrefund-submit-post",
                "x-filename-id":"batchrefund-submit-post"
            }
        },
        "/batchreversal/validate":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Validate a Reversal Batch",
                "description":"Validates each record in the reversal batch and returns the records with validation status and any appropriate messages.",
                "operationId":"batchReversalValidation",
                "requestBody":{
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The validation process is complete."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchreversal-validate-post",
                "x-filename-id":"batchreversal-validate-post"
            }
        },
        "/batchreversal/submit":{
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Submit a Reversal Batch",
                "description":"Submits each validated record in the reversal batch and returns the records with updated status.",
                "operationId":"batchReversalSubmission",
                "requestBody":{
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BatchRecordsList"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The submission process is complete."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchreversal-submit-post",
                "x-filename-id":"batchreversal-submit-post"
            }
        },
        "/batchpayments/batchtemplates":{
            "get":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Get Batch Templates",
                "description":"Gets batch templates from the BRM database.",
                "operationId":"getBatchTemplateList",
                "parameters":[
                    {
                        "name":"offset",
                        "in":"query",
                        "description":"Requested start position of resources to be provided in the response.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of records to return.",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"Whether to retrieve entire template objects (<b>true</b>) or only template names (<b>false</b>). The default value is <b>false</b>.",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of batch templates objects data was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/TemplateFields"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/TemplateFields"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-batchtemplates-get",
                "x-filename-id":"batchpayments-batchtemplates-get"
            },
            "post":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Create a Batch Template",
                "description":"Creates a batch template in the BRM database.",
                "operationId":"createBatchTemplate",
                "requestBody":{
                    "description":"The definition of the batch template to be created.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/TemplateFields"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/TemplateFields"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The batch template was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/TemplateFields"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/TemplateFields"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-batchtemplates-post",
                "x-filename-id":"batchpayments-batchtemplates-post"
            }
        },
        "/batchpayments/batchtemplates/{id}":{
            "get":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Get a Batch Template by Template ID",
                "description":"Gets a batch template definition from the BRM database.",
                "operationId":"getBatchTemplate",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the <b>/config/batch_templates</b> object to be retrieved.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The batch template was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/TemplateFields"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/TemplateFields"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-batchtemplates-{id}-get",
                "x-filename-id":"batchpayments-batchtemplates-id-get"
            },
            "put":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Update a Batch Template",
                "description":"Updates the batch template in the BRM database.",
                "operationId":"updateBatchTemplate",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the <b>/config/batch_templates</b> object to be updated.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The new definition of the batch template to be updated.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/TemplateFields"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/TemplateFields"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The batch template was updated successfully",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/TemplateFields"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/TemplateFields"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-batchtemplates-{id}-put",
                "x-filename-id":"batchpayments-batchtemplates-id-put"
            },
            "delete":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Delete a Batch Template",
                "description":"Deletes a batch template from the BRM database.",
                "operationId":"deleteBatchTemplate",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the <b>/config/batch_templates</b> object to be deleted.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The batch template was deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-batchtemplates-{id}-delete",
                "x-filename-id":"batchpayments-batchtemplates-id-delete"
            }
        },
        "/batchpayments/unprocessed":{
            "get":{
                "tags":[
                    "Batch Payments"
                ],
                "summary":"Get Unprocessed Batch Payment Files",
                "description":"Gets all unprocessed batch payment files.",
                "operationId":"getUnProcessedBatchPayments",
                "responses":{
                    "200":{
                        "description":"The list of unprocessed batch payments was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentBatchFileHeader"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentBatchFileHeader"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"batchpayments-unprocessed-get",
                "x-filename-id":"batchpayments-unprocessed-get"
            }
        },
        "/payments/{id}":{
            "get":{
                "tags":[
                    "Payments"
                ],
                "summary":"Get Details for a Payment",
                "description":"Gets the details about a payment.",
                "operationId":"getPaymentDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the payment or reversal to get, such as 0.0.0.1+-item-payment+123456789732590266.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The payment details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentDetails"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-{id}-get",
                "x-filename-id":"payments-id-get"
            }
        },
        "/payments":{
            "post":{
                "tags":[
                    "Payments"
                ],
                "summary":"Create a Payment",
                "description":"Creates a payment for the bill units specified in the body.",
                "operationId":"makePayment",
                "parameters":[
                    {
                        "name":"savePaymentType",
                        "in":"query",
                        "description":"Whether to save the payment method information: <ul><li><b>true</b> specifies to save the payment method information.</li><li><b>false</b> specifies to make the payment without saving the payment method.</li></ul>",
                        "schema":{
                            "type":"boolean"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The payment to create. Specifies the target bill unit and the payment amount.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/Payment"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The payment was created successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-post",
                "x-filename-id":"payments-post"
            }
        },
        "/payments/bill/{id}":{
            "get":{
                "tags":[
                    "Payments"
                ],
                "summary":"Get Payments for a Bill",
                "description":"Gets the list of payments applied to the specified bill.",
                "operationId":"getPaymentAppliedSummary",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"number",
                        "in":"query",
                        "description":"The number of payments to retrieve.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The payments were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/PaymentList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/PaymentList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-bill-{id}-get",
                "x-filename-id":"payments-bill-id-get"
            }
        },
        "/payments/account/{id}":{
            "get":{
                "tags":[
                    "Payments"
                ],
                "summary":"Get Unallocated Payments for an Account",
                "description":"Gets the list of unallocated payments for an account.<p>Both the <b>id</b> parameter and the <b>type</b> query parameter are required.</p>",
                "operationId":"getPayments",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account you are retrieving payments for, such as 0.0.0.1+-account+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of payments to retrieve. The only supported value is <b>unallocated</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The unallocated payments were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/PaymentList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/PaymentList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-account-{id}-get",
                "x-filename-id":"payments-account-id-get"
            }
        },
        "/payments/billunit/{id}":{
            "get":{
                "tags":[
                    "Payments"
                ],
                "summary":"Get Unallocated Payments for a Bill Unit",
                "description":"Gets the list of unallocated payments for the specified bill unit.",
                "operationId":"getBillUnitPayments",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill unit.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of payments to get. The only supported value is <b>type=unallocated</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The unallocated payments were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/PaymentList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/PaymentList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-billunit-{id}-get",
                "x-filename-id":"payments-billunit-id-get"
            }
        },
        "/payments/reverse":{
            "post":{
                "tags":[
                    "Payments"
                ],
                "summary":"Reverse a Payment",
                "description":"Reverses the payment that matches the specified ID. Payment reversals are needed when a payment is recorded in Billing Care, but the payment isn't deposited, such as when a check payment doesn't clear. Reversing the payment reopens the bill so that the payment can be made again.",
                "operationId":"reversePayment",
                "requestBody":{
                    "description":"The details about the payment to reverse. The minimum required parameters are:<ul><li>eventID</li><li>Notes </li><li>effectiveDate</li></li></ul></li>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/ReversePayment"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/ReversePayment"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The payment was reversed successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-reverse-post",
                "x-filename-id":"payments-reverse-post"
            }
        },
        "/payments/suspense/allocate":{
            "post":{
                "tags":[
                    "Payments"
                ],
                "summary":"Allocate a Suspended Payment to an Account",
                "description":"Allocates a suspended payment to the specified account.",
                "operationId":"allocateSuspendedPayment",
                "parameters":[
                    {
                        "name":"validate",
                        "in":"query",
                        "description":"Whether to validate that the account has an open bill that is due. When <b>validate=openBills</b>, it checks if the account has any open due bills. For any other value, validation is skipped.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Information for allocating the suspended payment. The schema payload should contain the following: <ul><li>The event resource associated with the suspended account</li><li>The amount to allocate to the target account</li><li>The target account's currency</li><li>The total amount to allocate from suspense</li><li>(Optional) The bill items along with the amount to allocate to each one in case of manual allocation of items</li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/RecyclePayment"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/RecyclePayment"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The suspended payment was successfully allocated to the account.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-suspense-allocate-post",
                "x-filename-id":"payments-suspense-allocate-post"
            }
        },
        "/payments/suspense/withdraw":{
            "post":{
                "tags":[
                    "Payments"
                ],
                "summary":"Withdraw a Posted Payment into Suspense",
                "description":"Withdraws a payment that's already been applied to an account into suspense. This allows you to manually resolve errors in a posted payment.",
                "operationId":"withdrawPaymentSuspense",
                "requestBody":{
                    "description":"The details about the posted payment to withdraw into suspense. The minimum required parameters are:<ul><li>paymentType</li><li>effectiveDate of withdrawal</li><li>domainId</li><li>reasonID</li></li></ul></li>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/WithdrawPayment"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/WithdrawPayment"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The posted payment was successfully withdrawn into suspense.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-suspense-withdraw-post",
                "x-filename-id":"payments-suspense-withdraw-post"
            }
        },
        "/payments/audit/{id}":{
            "get":{
                "tags":[
                    "Payments"
                ],
                "summary":"Get Audit Trails for a Transaction",
                "description":"Gets the list of audit details for the entire lifecycle of the payment for the specified transaction ID.",
                "operationId":"getAuditTrails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the payment transaction, such as T1,e7,0.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The audit trails were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/PaymentAuditDetailsType"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/PaymentAuditDetailsType"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-audit-{id}-get",
                "x-filename-id":"payments-audit-id-get"
            }
        },
        "/payments/suspense/accounts":{
            "get":{
                "tags":[
                    "Payments"
                ],
                "summary":"Get Suspense Accounts",
                "description":"Gets a list of all payment suspense accounts.",
                "operationId":"getSuspenseAccounts",
                "responses":{
                    "200":{
                        "description":"The list of accounts was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SuspenseAccount"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SuspenseAccount"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-suspense-accounts-get",
                "x-filename-id":"payments-suspense-accounts-get"
            }
        },
        "/payments/suspense/assignhandler":{
            "post":{
                "tags":[
                    "Payments"
                ],
                "summary":"Assign a Handler to Suspended Payment",
                "description":"Assigns an authorized handler to manage the suspended payment.",
                "operationId":"assignSuspensePaymentHandler",
                "requestBody":{
                    "description":"The authorized payment handler to assign.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/AssignSuspensePaymentHandler"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/AssignSuspensePaymentHandler"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"A handler was successfully assigned to the suspended payment."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-suspense-assignhandler-post",
                "x-filename-id":"payments-suspense-assignhandler-post"
            }
        },
        "/payments/suspense/users":{
            "get":{
                "tags":[
                    "Payments"
                ],
                "summary":"Get Users with Suspend Permission",
                "description":"Gets the list of users who have suspense payment management (<b>SuspenseAllocate</b>) permissions.",
                "operationId":"getPaymentSuspenseUsers",
                "responses":{
                    "200":{
                        "description":"The list of users was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/User"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/User"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-suspense-users-get",
                "x-filename-id":"payments-suspense-users-get"
            }
        },
        "/payments/suspense/payment":{
            "post":{
                "tags":[
                    "Payments"
                ],
                "summary":"Create a Suspended Payment",
                "description":"Creates a suspended payment.",
                "operationId":"makeSuspensePayment",
                "requestBody":{
                    "description":"The suspended payment to create.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/Payment"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The suspended payment was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Payment"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Payment"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"payments-suspense-payment-post",
                "x-filename-id":"payments-suspense-payment-post"
            }
        },
        "/paymentmethods/account/{id}":{
            "get":{
                "tags":[
                    "Payment Methods"
                ],
                "summary":"Get Payment Methods for an Account",
                "description":"Returns all payment methods for the specified account.",
                "operationId":"getPaymentMethods",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+4567890, to get payment methods for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The payment methods were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentMethods"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PaymentMethods"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"paymentmethods-account-{id}-get",
                "x-filename-id":"paymentmethods-account-id-get"
            }
        },
        "/paymentmethods":{
            "post":{
                "tags":[
                    "Payment Methods"
                ],
                "summary":"Create a Payment Method",
                "description":"Creates a payment method for an account.",
                "operationId":"savePaymentMethodsonFile",
                "requestBody":{
                    "description":"Information about the new payment method.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/PayMethod"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/PayMethod"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The payment method was created successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"paymentmethods-post",
                "x-filename-id":"paymentmethods-post"
            }
        },
        "/paymentmethods/{id}":{
            "put":{
                "tags":[
                    "Payment Methods"
                ],
                "summary":"Update a Payment Method",
                "description":"Updates an account's payment method. You can update the following:<ul><li>Contact information</li><li>For credit cards, change the expiration date.</li><li>For direct debit, change the bank number, account number, and account type.</li><li>For invoices, change the invoice ID and the contact method.</li><li>For SEPA, change the IBAN, BIC, and the Unique Mandate Reference number.</li></ul><p>For invoice payments that use email for delivery, the email address is required.</p>",
                "operationId":"updatePaymentMethods",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the payment method.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The payment method to modify for the target account. To remove the assignment for a bill unit, you must put it in the <b>deassignedBillUnits</b> array; you can't just delete the bill unit from the <b>assignedBillUnits</b> array.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/PayMethod"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/PayMethod"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The payment methods were updated successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"paymentmethods-{id}-put",
                "x-filename-id":"paymentmethods-id-put"
            },
            "delete":{
                "tags":[
                    "Payment Methods"
                ],
                "summary":"Delete a Payment Method",
                "description":"Deletes the payment method that matches the specified ID.",
                "operationId":"deletePaymentMethod",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the payment method.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The payment method was deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"paymentmethods-{id}-delete",
                "x-filename-id":"paymentmethods-id-delete"
            }
        },
        "/paymentmethods/sepa/creditors":{
            "get":{
                "tags":[
                    "Payment Methods"
                ],
                "summary":"Get All Creditors",
                "description":"Gets either the creditors for a specified bank or all creditors in the system.",
                "operationId":"getCreditorInfo",
                "parameters":[
                    {
                        "name":"bic",
                        "in":"query",
                        "description":"The bank identifier code, such as IANILKU1MAR. If the value is null, it returns all creditors.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The creditors were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CreditorInfo"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CreditorInfo"
                                }
                            }
                        }
                    },
                    "201":{
                        "description":"The creditors were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CreditorInfo"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CreditorInfo"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"paymentmethods-sepa-creditors-get",
                "x-filename-id":"paymentmethods-sepa-creditors-get"
            }
        },
        "/profiles":{
            "put":{
                "tags":[
                    "Profiles"
                ],
                "summary":"Update a Profile",
                "description":"Updates the specified profile.",
                "operationId":"save",
                "requestBody":{
                    "description":"The updates to make to the account profile.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/ProfileBase"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/ProfileBase"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The profile was updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"profiles-put",
                "x-filename-id":"profiles-put"
            },
            "post":{
                "tags":[
                    "Profiles"
                ],
                "summary":"Create a Profile",
                "description":"Creates the specified profile.",
                "operationId":"create",
                "requestBody":{
                    "description":"The profile to create.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/ProfileBase"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/ProfileBase"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The profile was created successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"profiles-post",
                "x-filename-id":"profiles-post"
            },
            "delete":{
                "tags":[
                    "Profiles"
                ],
                "summary":"Delete a Profile by Account or Service",
                "description":"Deletes a profile from the specified account or service.",
                "operationId":"deletProfile",
                "parameters":[
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of profile to delete.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"accountid",
                        "in":"query",
                        "description":"The ID of the account to delete a profile from.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"serviceid",
                        "in":"query",
                        "description":"The ID of the service to delete a profile from.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The profile was deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"profiles-delete",
                "x-filename-id":"profiles-delete"
            }
        },
        "/profiles/{id}":{
            "get":{
                "tags":[
                    "Profiles"
                ],
                "summary":"Get Profile Details",
                "description":"Gets details for the specified profile.",
                "operationId":"getProfile",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The profile ID, such as 0.0.0.1+-profile-customer_care+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Details about the profile were returned successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"profiles-{id}-get",
                "x-filename-id":"profiles-id-get"
            },
            "delete":{
                "tags":[
                    "Profiles"
                ],
                "summary":"Delete a Profile by ID",
                "description":"Deletes the specified profile.",
                "operationId":"deletProfile",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The profile ID such as 0.0.0.1+-profile-customer_care+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The profile was deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"profiles-{id}-delete",
                "x-filename-id":"profiles-id-delete"
            }
        },
        "/profiles/account/{id}":{
            "get":{
                "tags":[
                    "Profiles"
                ],
                "summary":"Get Profiles for an Account",
                "description":"Gets the profiles for the specified account. <p>Profiles are returned only if the <b>account.profile.types</b> key is set in your <b>CustomConfigurations.xml</b> file. Set <b>account.profile.types</b> to a comma-separated list of profile types to retrieve. For example: <b>account.profile.types=/profile/customer_care,/profile/credit_score</b></p><p>If <b>account.profile.types</b> is not specified, no profiles will be returned.</p>",
                "operationId":"getProfileTypes",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to retrieve profiles for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"profile type to be retrieved",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"serviceid",
                        "in":"query",
                        "description":"Service to retrieve profiles for",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The account-level profiles were returned successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"profiles-account-{id}-get",
                "x-filename-id":"profiles-account-id-get"
            }
        },
        "/refunds/{id}":{
            "get":{
                "tags":[
                    "Refunds"
                ],
                "summary":"Get Refund Details",
                "description":"Get details about the specified refund.",
                "operationId":"getRefundDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the refund, such as 0.0.0.1+-item-refund+123456789220927922.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The refund details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/RefundDetails"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/RefundDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"refunds-{id}-get",
                "x-filename-id":"refunds-id-get"
            }
        },
        "/refunds/bill/{id}/fullRefund":{
            "post":{
                "tags":[
                    "Refunds"
                ],
                "summary":"Create a Full Refund for a Bill",
                "description":"Creates a full refund for a bill.",
                "operationId":"fullBillRefund",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill to refund.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the refund.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/FullRefund"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/FullRefund"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The refund was created successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"refunds-bill-{id}-fullRefund-post",
                "x-filename-id":"refunds-bill-id-fullrefund-post"
            }
        },
        "/refunds/bill/{id}/partialRefund":{
            "post":{
                "tags":[
                    "Refunds"
                ],
                "summary":"Refund Part of a Bill",
                "description":"Creates a partial refund for the bill that matches the specified ID.",
                "operationId":"partialBillRefund",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill for the partial refund.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the partial refund.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/PartialRefund"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/PartialRefund"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The partial refund was created successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"refunds-bill-{id}-partialRefund-post",
                "x-filename-id":"refunds-bill-id-partialrefund-post"
            }
        },
        "/refunds/bills":{
            "post":{
                "tags":[
                    "Refunds"
                ],
                "summary":"Refund Multiple Bills",
                "description":"Creates full refunds for the bills specified in the body.",
                "operationId":"refundMultipleBills",
                "requestBody":{
                    "description":"Details about the bills to refund.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/RefundBills"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/RefundBills"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The bills were refunded successfully."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"refunds-bills-post",
                "x-filename-id":"refunds-bills-post"
            }
        },
        "/refunds/account/{id}":{
            "post":{
                "tags":[
                    "Refunds"
                ],
                "summary":"Create a Refund for an Account",
                "description":"Creates a refund for the specified account.",
                "operationId":"refundAccount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to refund.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the refund.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/FullRefund"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/FullRefund"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The refund was created successfully."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"refunds-account-{id}-post",
                "x-filename-id":"refunds-account-id-post"
            }
        },
        "/refunds/items/account/{id}":{
            "get":{
                "tags":[
                    "Refunds"
                ],
                "summary":"Get Refundable Items for an Account",
                "description":"Gets refundable items for an account, such as unallocated adjustments, unallocated payments, and refundable bills.",
                "operationId":"getRefundableItems",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The account ID for the refundable items.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of refundable items was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/RefundableItems"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/RefundableItems"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"refunds-items-account-{id}-get",
                "x-filename-id":"refunds-items-account-id-get"
            }
        },
        "/request":{
            "get":{
                "tags":[
                    "Record Requests"
                ],
                "summary":"Get Recorded Requests",
                "description":"Get details of the recorded requests.",
                "operationId":"getRequestDetailsQP",
                "parameters":[
                    {
                        "name":"id",
                        "in":"query",
                        "description":"The ID of the request, such as 0.0.0.1+-request-failed-rest+123456789220927922 or 0.0.0.1+-request-failed+-1 ",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"status",
                        "in":"query",
                        "description":"The status of the request",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"programName",
                        "in":"query",
                        "description":"The program name",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"accountId",
                        "in":"query",
                        "description":"The account ID associated with the request",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The request details were retrieved successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/RequestDetails"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/RequestDetails"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"request-get",
                "x-filename-id":"request-get"
            },
            "post":{
                "tags":[
                    "Record Requests"
                ],
                "summary":"Record a Request",
                "description":"Record a given request in BRM.",
                "operationId":"recordRequest",
                "requestBody":{
                    "description":"The details of the request which is to be recorded.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/RequestDetails"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/RequestDetails"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The request ID is returned successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"request-post",
                "x-filename-id":"request-post"
            }
        },
        "/request/{id}":{
            "delete":{
                "tags":[
                    "Record Requests"
                ],
                "summary":"Delete a Request",
                "description":"Delete a given request in BRM.",
                "operationId":"deleteRequest",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the request to be deleted",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The request is deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"request-{id}-delete",
                "x-filename-id":"request-id-delete"
            }
        },
        "/services/lifecyclestates":{
            "get":{
                "tags":[
                    "Services"
                ],
                "summary":"Get Lifecycle States",
                "description":"Gets the lifecycle states and their allowed state transitions.",
                "operationId":"getLifeCycleStates",
                "responses":{
                    "200":{
                        "description":"The lifecycle states were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/LifeCycleStates"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/LifeCycleStates"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"services-lifecyclestates-get",
                "x-filename-id":"services-lifecyclestates-get"
            }
        },
        "/services/{id}/serviceprofile":{
            "get":{
                "tags":[
                    "Services"
                ],
                "summary":"Get Details for a Service",
                "description":"Gets the service details and profile details for the specified service. The service fields and profile fields are configured in the <b>ServiceProfileConfigurations.xml</b> file and mapped to a service type.",
                "operationId":"getServiceProfile",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The service ID of the specified customer asset.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The details for the service were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/ServiceProfile"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/ServiceProfile"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"services-{id}-serviceprofile-get",
                "x-filename-id":"services-id-serviceprofile-get"
            }
        },
        "/services/serviceprofile":{
            "put":{
                "tags":[
                    "Services"
                ],
                "summary":"Update Details for a Service",
                "description":"Updates the service details and profile details for the specified service.",
                "operationId":"updateServiceProfile",
                "requestBody":{
                    "description":"Information about the service details and profile details to update.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/UpdateServiceProfile"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/UpdateServiceProfile"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The details were updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"services-serviceprofile-put",
                "x-filename-id":"services-serviceprofile-put"
            }
        },
        "/services/serviceAndEras":{
            "put":{
                "tags":[
                    "Services"
                ],
                "summary":"Update Service And ERAs",
                "description":"Updates a service login and its associated service ERAs.",
                "operationId":"updateServiceAndEras",
                "requestBody":{
                    "description":"Information about the service login and ERAs to update.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/UpdateServiceAndEras"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/UpdateServiceAndEras"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The service and ERAs were updated successfully."
                    },
                    "500":{
                        "description":"An internal service error occurred."
                    }
                },
                "x-internal-id":"services-serviceAndEras-put",
                "x-filename-id":"services-serviceanderas-put"
            }
        },
        "/services/friendlynames":{
            "get":{
                "tags":[
                    "Services"
                ],
                "summary":"Get Friendly Service Names",
                "description":"Gets a list of service types and their associated friendly names from BRM. For example:<p> \"/service/provider => remittance definition\"</p>",
                "operationId":"getFriendlyNamesServiceMapping",
                "responses":{
                    "200":{
                        "description":"The list of service types and their friendly names was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ServiceDetails"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ServiceDetails"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"services-friendlynames-get",
                "x-filename-id":"services-friendlynames-get"
            }
        },
        "/services/account/{id}/count":{
            "get":{
                "tags":[
                    "Services"
                ],
                "summary":"Get Count for Service Types",
                "description":"Gets the number of different types of services associated with the specified account.",
                "operationId":"getServicesCount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+3456789.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The service type count was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ServicesByPurchase"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ServicesByPurchase"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"services-account-{id}-count-get",
                "x-filename-id":"services-account-id-count-get"
            }
        },
        "/sharing/profiles/{id}":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get a Profile Sharing Group",
                "description":"Gets the profile sharing group that matches the specified ID.",
                "operationId":"getProfiles",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the profile sharing group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The profile sharing group was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ProfileServExtratingType"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ProfileServExtratingType"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-profiles-{id}-get",
                "x-filename-id":"sharing-profiles-id-get"
            }
        },
        "/sharing/members/{id}":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get Sharing Group Members",
                "description":"Gets the members of the sharing group that matches the specified ID.",
                "operationId":"getMembersOfGroup",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group to get members for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The members were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SharingGroupMembers"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SharingGroupMembers"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-members-{id}-get",
                "x-filename-id":"sharing-members-id-get"
            },
            "put":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Update Member Shared Services in a Group",
                "description":"Updates the shared service members for a sharing group.",
                "operationId":"editMembers",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group to which the member belongs: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The details to update for the member.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingMemberServiceDetails"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingMemberServiceDetails"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The shared services were updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-members-{id}-put",
                "x-filename-id":"sharing-members-id-put"
            },
            "post":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Add Members to a Group",
                "description":"Adds members to a sharing group.",
                "operationId":"addMembers",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The sharing group member details.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingMember"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingMember"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The members were added successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-members-{id}-post",
                "x-filename-id":"sharing-members-id-post"
            }
        },
        "/sharing/membership/{id}":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get Membership Details for an Account",
                "description":"Gets membership details for an account that is a charge sharing group member or discount sharing group member.<p>Both the <b>id</b> parameter and <b>type</b> query parameter are required.</p>",
                "operationId":"getMembership",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The account ID of the sharing group member.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group to get: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.<p>This query parameter is required.</p>",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The membership details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SharingMemberDetails"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SharingMemberDetails"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-membership-{id}-get",
                "x-filename-id":"sharing-membership-id-get"
            }
        },
        "/sharing/{id}":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get Ownership Details for an Account",
                "description":"Gets the ownership details for the specified account and sharing group type.<p>Both the <b>id</b> parameter and the <b>type</b> query parameter are required.</p>",
                "operationId":"getOwnership",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The ownership details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SharingOwnerDetails"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SharingOwnerDetails"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-{id}-get",
                "x-filename-id":"sharing-id-get"
            },
            "put":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Update a Sharing Group",
                "description":"Updates the specified charge sharing group or discount sharing group or product sharing group.<p>Both the <b>id</b> parameter and <b>type</b> query parameter are required.</p>",
                "operationId":"modifyOwnership",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.<p>This query parameter is required.</p>",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the sharing group.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingOwner"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingOwner"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The sharing group was updated successfully."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-{id}-put",
                "x-filename-id":"sharing-id-put"
            },
            "delete":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Delete a Sharing Group",
                "description":"Delete the sharing group that matches the specified ID. <p>Both the <b>id</b> parameter and the <b>type</b> query parameter are required.</p>",
                "operationId":"deleteOwnership",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "204":{
                        "description":"The sharing group was deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-{id}-delete",
                "x-filename-id":"sharing-id-delete"
            }
        },
        "/sharing":{
            "post":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Create a Sharing Group",
                "description":"Creates a sharing group with the specified details.",
                "operationId":"createSharingGroup",
                "parameters":[
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the sharing group to create. The minimum required parameters are:<ul><li><b>accountRef</b></li><li><b>groupName</b></li><li><b>groupOwnerBalGroupref</b></li><li><b>parentRef</b></li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingOwner"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingOwner"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The sharing group was created successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-post",
                "x-filename-id":"sharing-post"
            }
        },
        "/sharing/members/account/{id}":{
            "put":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Remove Members from a Group",
                "description":"Removes one or more members from the specified sharing group.",
                "operationId":"deleteMembers",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The list of members in the sharing group to delete.  The minimum required parameters are:<ul><li><b>membership</b></li><li><b>orderedBalGroupRef</b></li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingMember"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SharingMember"
                            }
                        }
                    }
                },
                "responses":{
                    "204":{
                        "description":"The members were deleted successfully."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-members-account-{id}-put",
                "x-filename-id":"sharing-members-account-id-put"
            }
        },
        "/sharing/{id}/members/types":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get Sharing Group Member Types",
                "description":"Gets all of the unique member types present in a sharing group members list.",
                "operationId":"getMemberTypes",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group to get member types from.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of member types was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Sponsor"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Sponsor"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-{id}-members-types-get",
                "x-filename-id":"sharing-id-members-types-get"
            }
        },
        "/sharing/members/priority":{
            "put":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Update Membership in Sharing Group",
                "description":"Updates the list of members in the specified sharing group.",
                "operationId":"modifyPriority",
                "parameters":[
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The list of members in the sharing group. If a sharing member's ordered balance group is empty or null, a new ordered balance group will be created and members will be added. If present, the ordered balance group will be modified to add new members.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/SharingMember"
                                }
                            }
                        },
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/SharingMember"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The membership was updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-members-priority-put",
                "x-filename-id":"sharing-members-priority-put"
            }
        },
        "/sharing/sponsors/charge":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get Charges Added to Sharing Groups",
                "description":"Gets a list of all charges that have been added to sharing groups across the system.",
                "operationId":"getSponsors",
                "responses":{
                    "200":{
                        "description":"The list of sponsors was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Sponsor"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Sponsor"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-sponsors-charge-get",
                "x-filename-id":"sharing-sponsors-charge-get"
            }
        },
        "/sharing/group/{id}":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get Group Ownership Details",
                "description":"Gets the ownership details for the specified sharing group.<p>Both the <b>id</b> parameter and the <b>type</b> query parameter are required.</p>",
                "operationId":"getGroupDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group: <b>charge</b>, <b>discount</b>, <b>product</b>, or <b>profile</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The sharing group's ownership details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/SharingOwnerDetails"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/SharingOwnerDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-group-{id}-get",
                "x-filename-id":"sharing-group-id-get"
            }
        },
        "/sharing/sponsors/discount/{id}":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get Available Discount Shares for Account",
                "description":"Gets a list of purchased discount shares that are available for an account while creating a new discount sharing group.",
                "operationId":"getSponsorsForDiscount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of available purchased discount shares was returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Sponsor"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Sponsor"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-sponsors-discount-{id}-get",
                "x-filename-id":"sharing-sponsors-discount-id-get"
            }
        },
        "/sharing/group/{id}/members":{
            "put":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Add or Delete Services for Members",
                "description":"Updates the shared service members for a sharing group. The following operations are available:<p>Add member services:  Add member services by including the following information:</p><ul><li>accountRef: Set this to the member account that owns the service.</li><li>members.index: Set this to <b>-1</b>, indicating that the next available unassigned index should be assigned.</li><li>members.markAsDelete: Set this to <b>false</b>.</li><li>members.serviceRef:  Set this to the ID of the service to add. If omitted, the non-service resources will be added to the sharing group.</li></ul><p>Delete member services:  Delete member services by including the following information:</p><ul><li>members.index: Set this to the index of the member (service/account) to delete.</li><li>members.markAsDelete: Set this to <b>true</b>.</li></ul><p>You can add as many operations to the request as needed.</p>",
                "operationId":"editMultipleMembers",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of sharing group to which the member belongs: <b>charge</b>, <b>discount</b> or <b>product</b>.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The details to update for the member.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/SharingMemberServiceDetails"
                                }
                            }
                        },
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/SharingMemberServiceDetails"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The shared services were updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-group-{id}-members-put",
                "x-filename-id":"sharing-group-id-members-put"
            }
        },
        "/sharing/accounts":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Fetching all accounts matching the param to add into sharing group.",
                "description":"Fetching all accounts with service details matching the param to add into sharing group.",
                "operationId":"getRecordsForTemplate",
                "responses":{
                    "200":{
                        "description":"All accounts matching params are fetched successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-accounts-get",
                "x-filename-id":"sharing-accounts-get"
            }
        },
        "/sharing/{id}/members":{
            "get":{
                "tags":[
                    "Sharing"
                ],
                "summary":"Get Sharing Group Member Details",
                "description":"Gets all members of the sharing group with the specified ID, including details (index, firstname, and so on), for each.",
                "operationId":"fetchMembers",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the sharing group to get member services for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The sharing group members were fetched successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"sharing-{id}-members-get",
                "x-filename-id":"sharing-id-members-get"
            }
        },
        "/statusupdate/account/{id}":{
            "put":{
                "tags":[
                    "Status Update"
                ],
                "summary":"Update an Account's Status",
                "description":"Updates the status of the account that matches the specified ID.",
                "operationId":"changeAccountStatus",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to update, such as 0.0.0.1+-account+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The status details. The minimum required parameters are:<ul><li><b>statusCode</b></li><li><b>effective</b>, if the status changes are deferred or backdated</li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/Status"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/Status"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The status of the account was updated successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"statusupdate-account-{id}-put",
                "x-filename-id":"statusupdate-account-id-put"
            }
        },
        "/statusupdate/service/{id}":{
            "put":{
                "tags":[
                    "Status Update"
                ],
                "summary":"Update a Service's Status",
                "description":"Updates the status of the service that matches the specified ID.",
                "operationId":"changeServiceStatus",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the service to update, such as 0.0.0.1+-service-ip+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The status details. The minimum required parameters are: <ul><li><b>statusCode</b></li><li><b>effectiveWhen</b>, if the status changes are deferred or backdated</li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/Status"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/Status"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The service's status was updated successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Resource"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"statusupdate-service-{id}-put",
                "x-filename-id":"statusupdate-service-id-put"
            }
        },
        "/statusupdate/offers":{
            "put":{
                "tags":[
                    "Status Update"
                ],
                "summary":"Update an Offer's Status",
                "description":"Updates the status of the offer specified in the body.",
                "operationId":"changeOffersStatus",
                "requestBody":{
                    "description":"The offer's status details. The minimum required parameters are: <ul><li><b>statusCode</b></li><li><b>effectiveDate</b>, if the status changes are deferred or backdated</li></ul>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/OfferStatus"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/OfferStatus"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The offer's status was updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"statusupdate-offers-put",
                "x-filename-id":"statusupdate-offers-put"
            }
        },
        "/subscriptions/packages":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Packages for Purchase",
                "description":"Gets the list of packages that are available for purchase.",
                "operationId":"getPackages",
                "parameters":[
                    {
                        "name":"packagelist",
                        "in":"query",
                        "description":"The optional name of the package list. If the name is not specified, the system will use the package name <b>default</b>.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of package list, which can be <b>new</b> or <b>addon</b>.",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"Whether to include the charge and discount offer details (<b>offers</b>) or not (any other value).",
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"accountId",
                        "in":"query",
                        "description":"The optional ID of the account that is purchasing the package. If passed, the packages for the account are returned.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of packages was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PackageList"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PackageList"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-packages-get",
                "x-filename-id":"subscriptions-packages-get"
            }
        },
        "/subscriptions/bundles/{id}":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Bundles for Purchase",
                "description":"Gets the list of bundles that are available for purchase.",
                "operationId":"getBundles",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID for the service type for which the associated bundles need to be retrieved. For example, 0.0.0.1+-service-email+23456 to retrieve the bundles for the email service type.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"Whether to include the charge and discount offer details (<b>offers</b>) or not (any other value).",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of bundles was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleList"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleList"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-bundles-{id}-get",
                "x-filename-id":"subscriptions-bundles-id-get"
            }
        },
        "/subscriptions/service/{id}":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Service Details",
                "description":"Get the details for the service that matches the specified ID.",
                "operationId":"getServiceDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the service, such as 0.0.0.1+-service-telco-gsm-sms+234567.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The service details were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnitServices"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BillUnitServices"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-service-{id}-get",
                "x-filename-id":"subscriptions-service-id-get"
            }
        },
        "/subscriptions/account/{id}":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Services for an Account",
                "description":"Gets the services for an account grouped by bill unit. These services optionally include the charge offers and discount offers sorted in descending order of the purchase date and ascending order of the purchase end date.",
                "operationId":"getCustomerAssets",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+123123.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"expand",
                        "in":"query",
                        "description":"Whether to include charge offers and discount offers in the service (<b>offers</b>) or not (any other value). The offers are included by default. Use <b>includechild</b> to include assets from child accounts as well.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The services were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomerAssets"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomerAssets"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-account-{id}-get",
                "x-filename-id":"subscriptions-account-id-get"
            }
        },
        "/subscriptions/service/{id}/customizedoffers":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Customized Charge Offers for a Service",
                "description":"Gets all customized charge offers that match the specified service ID.",
                "operationId":"getCustomizedOffers",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the service.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of customized charge offers was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomizedOffers"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomizedOffers"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-service-{id}-customizedoffers-get",
                "x-filename-id":"subscriptions-service-id-customizedoffers-get"
            }
        },
        "/subscriptions/account/{id}/customizedoffers":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Customized Account Offers",
                "description":"Gets a list of customized account-level offers for an account.",
                "operationId":"getCustomizedOffersForAccount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of customized account-level offers was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomizedOffers"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomizedOffers"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-account-{id}-customizedoffers-get",
                "x-filename-id":"subscriptions-account-id-customizedoffers-get"
            }
        },
        "/subscriptions/account/{id}/package/transition":{
            "put":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Transition Account to New Package",
                "description":"Transitions the specified account from one package to another package. The old package is canceled, and the new one is purchased.",
                "operationId":"performPackageTransition",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to transition.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The package transition details, such as the new package, existing package, and transition type.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/PackageTransition"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/PackageTransition"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The package was transitioned successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-account-{id}-package-transition-put",
                "x-filename-id":"subscriptions-account-id-package-transition-put"
            }
        },
        "/subscriptions/account/{id}/bundle/transition":{
            "put":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Transition Account to New Bundle",
                "description":"Transitions the specified account from one bundle to a different bundle. The old bundle is canceled and the new one is purchased.",
                "operationId":"performBundleTransition",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to transition.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The transition details, such as the old bundle, the new bundle, and the transition type.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BundleTransition"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BundleTransition"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bundle transition completed successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-account-{id}-bundle-transition-put",
                "x-filename-id":"subscriptions-account-id-bundle-transition-put"
            }
        },
        "/subscriptions/transitiontypes":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Transition Types",
                "description":"Gets the list of transition types.",
                "operationId":"getTransitionTypes",
                "responses":{
                    "200":{
                        "description":"The list of transition types was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Configurations"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Configurations"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-transitiontypes-get",
                "x-filename-id":"subscriptions-transitiontypes-get"
            }
        },
        "/subscriptions/bundles/{id}/transition":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Bundles for Transition",
                "description":"Gets the list of bundles that the specified bundle can transition to with the specified transition type.<p>Both the <b>id</b> parameter and the <b>type</b> query parameter are required.</p>",
                "operationId":"getTransitionBundles",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bundle, such as 0.0.0.1+-deal+456789.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The type of transition, which can be upgrade (<b>1</b>), downgrade (<b>2</b>), generation change (<b>3</b>), red (<b>101</b>), blue (<b>102</b>), or green (<b>103</b>).<p>This query parameter is required.</p>",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of bundles was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleList"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleList"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-bundles-{id}-transition-get",
                "x-filename-id":"subscriptions-bundles-id-transition-get"
            }
        },
        "/subscriptions/purchasedbundles/{id}":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Bundles for an Account",
                "description":"Gets the list of bundles that the specified account has purchased.",
                "operationId":"getPurchasedBundles",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+456789.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of purchased bundles was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Bundle"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Bundle"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-purchasedbundles-{id}-get",
                "x-filename-id":"subscriptions-purchasedbundles-id-get"
            }
        },
        "/subscriptions/packages/{id}/transition":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Packages for Transition",
                "description":"Gets the list of packages that the specified package can transition to with the specified transition type.<p>Both the <b>id</b> parameter and the <b>type</b> query parameter are required.</p>",
                "operationId":"getTransitionPackages",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the package, such as 0.0.0.1+-plan+123456.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    },
                    {
                        "name":"type",
                        "in":"query",
                        "description":"The transition type, which can be: <ul><li><b>1</b> (Upgrade)</li><li><b>2</b> (Downgrade)</li><li><b>3</b> (Generation change)</li><li><b>101</b>Red</li><li><b>102</b> (Blue)</li><li><b>103</b> (Green)</li></ul><p>This query parameter is required.</p>",
                        "schema":{
                            "type":"integer",
                            "format":"int32"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of packages was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PackageList"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PackageList"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-packages-{id}-transition-get",
                "x-filename-id":"subscriptions-packages-id-transition-get"
            }
        },
        "/subscriptions/purchasedpackages/{id}":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Packages for an Account",
                "description":"Gets the list of packages that the specified account has purchased.",
                "operationId":"getPurchasedPackages",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+345678.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of packages was returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/PackageList"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/PackageList"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-purchasedpackages-{id}-get",
                "x-filename-id":"subscriptions-purchasedpackages-id-get"
            }
        },
        "/subscriptions/offerdetails/{id}":{
            "put":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Update Offer Details for a Purchased Product or Discount",
                "description":"Updates the details of a purchased product or discount. For example, updates the purchase fee, cycle start date, or usage discount amount.",
                "operationId":"updateOfferings",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID for the purchased product or discount to modify, such as 0.0.0.1+-purchased_product+234567 or 0.0.0.1+-purchased_discount+345678.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the offer details to update. The minimum required parameters are:<ul><li>Either <b>customizedChargeOffers</b> or <b>customizedDiscountOffers</b></li><li>The field to be updated</li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/CustomizedBundleForPurchase"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/CustomizedBundleForPurchase"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The offer details were updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-offerdetails-{id}-put",
                "x-filename-id":"subscriptions-offerdetails-id-put"
            }
        },
        "/subscriptions/preview/cancellation/charges":{
            "post":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Preview Cancellation Charges",
                "description":"Calculates the early termination charges for the account and contract passed in the request payload.",
                "operationId":"getCancellationFeeForSubscriptions",
                "requestBody":{
                    "description":"Details about the account and contract.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SubscriptionPreviewCancellationCharges"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SubscriptionPreviewCancellationCharges"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The cancellation charges were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/SubscriptionPreviewCancellationCharges"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/SubscriptionPreviewCancellationCharges"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-preview-cancellation-charges-post",
                "x-filename-id":"subscriptions-preview-cancellation-charges-post"
            }
        },
        "/subscriptions/service/{id}/bundleoffers":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Bundles for a Service",
                "description":"Gets the bundles for the specified service ID.",
                "operationId":"getBundleOffers",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the service to get.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bundles were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleOffers"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleOffers"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-service-{id}-bundleoffers-get",
                "x-filename-id":"subscriptions-service-id-bundleoffers-get"
            }
        },
        "/subscriptions/cancel/contract":{
            "post":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Cancel a Subscriber's Contract",
                "description":"Cancels the subscriber's contract that is passed in the request payload.",
                "operationId":"cancelSubscriberContract",
                "requestBody":{
                    "description":"Details about the contract to cancel.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SubscriptionTerms"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SubscriptionTerms"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The subscriber's contract was canceled successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-cancel-contract-post",
                "x-filename-id":"subscriptions-cancel-contract-post"
            }
        },
        "/subscriptions/deals/terms":{
            "post":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Subscription Terms For Bundles",
                "description":"Gets the subscription terms for the specified account and bundles.<p><b>Note</b>: Even though this is a POST request, it does not create or update anything in BRM.</p>",
                "operationId":"getSubscriptionTermsForDeals",
                "parameters":[
                    {
                        "name":"accountId",
                        "in":"query",
                        "description":"The ID of the account.",
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The request body consists of a list of one or more bundles.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The subscription terms for deals were retrieved successfully",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SubscriptionTerms"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SubscriptionTerms"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-deals-terms-post",
                "x-filename-id":"subscriptions-deals-terms-post"
            }
        },
        "/subscriptions/unpurchased/bundles/{packageId}":{
            "post":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Unpurchased Bundles for a Package",
                "description":"Gets the list of unpurchased optional bundles that are available to a customer that has purchased a given package.<p><b>Note</b>: Even though this is a POST request, it does not create or update anything in BRM.</p>",
                "operationId":"getUnpurchasedOptionalBundles",
                "parameters":[
                    {
                        "name":"packageId",
                        "in":"path",
                        "description":"The package ID, such as 0.0.0.1+-plan+456789.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The list of optional bundles that the customer has already purchased.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The list of available bundles were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Bundle"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Bundle"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-unpurchased-bundles-{packageId}-post",
                "x-filename-id":"subscriptions-unpurchased-bundles-packageid-post"
            }
        },
        "/subscriptions/contract":{
            "put":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Modify a Contract's Auto-Renewal Preferences",
                "description":"Modifies the auto-renewal preferences for a subscriber's contract.",
                "operationId":"modifySubscriberContract",
                "requestBody":{
                    "description":"Details about the contract to modify.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/SubscriptionTerms"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/SubscriptionTerms"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The subscriber's contract was updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-contract-put",
                "x-filename-id":"subscriptions-contract-put"
            }
        },
        "/subscriptions/service/bundleoffers":{
            "post":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Bundles and Offers for Services",
                "description":"Gets the bundles and their associated charge offers and discount offers for one or more services.<p><b>Note</b>: Even though this is a POST request, it does not create or update anything in BRM.</p>",
                "operationId":"getBundleOffersForServices",
                "requestBody":{
                    "description":"The request body consists of a list of one or more services.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bundles were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleOffers"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleOffers"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-service-bundleoffers-post",
                "x-filename-id":"subscriptions-service-bundleoffers-post"
            }
        },
        "/subscriptions/service/{id}/bundledetails":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Purchased Bundles for a Service",
                "description":"Gets a list of purchased bundles. Values are returned for the <b>name</b> and <b>description</b> parameters only, all others are <b>null</b>.",
                "operationId":"getBundleDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the service to get bundles for, for example: 0.0.0.1+-service-email+345678",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bundles for the service.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleList"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleList"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-service-{id}-bundledetails-get",
                "x-filename-id":"subscriptions-service-id-bundledetails-get"
            }
        },
        "/subscriptions/account/{id}/bundledetails":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Purchased Account-Level Bundles",
                "description":"Gets a list of purchased account-level bundles. Values are returned for the <b>name</b> and <b>description</b> parameters only, all others are <b>null</b>.",
                "operationId":"getAccountLevelBundleDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to get bundles for.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The bundles for the account.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleList"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/BundleList"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-account-{id}-bundledetails-get",
                "x-filename-id":"subscriptions-account-id-bundledetails-get"
            }
        },
        "/subscriptions/offer/{id}/overridecharges":{
            "post":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Create Dynamic Charges for a Purchased Product",
                "description":"Creates dynamic charges for the purchased product with the specified ID.",
                "operationId":"createDynamicCharge",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the purchased product or discount to create dynamic charges for. For example: 0.0.0.1+-purchased_product+123123",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the dynamic charges to create. The minimum required parameters are: <ul><li><b>event</b></li><li><b>charges</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/OverriddenCharges"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/OverriddenCharges"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The dynamic charges were created successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    }
                },
                "x-internal-id":"subscriptions-offer-{id}-overridecharges-post",
                "x-filename-id":"subscriptions-offer-id-overridecharges-post"
            },
            "delete":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Delete Dynamic Charges for a Purchased Product",
                "description":"Deletes dynamic charges for the purchased product with the specified ID.",
                "operationId":"deleteDynamicCharge",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the purchased product or discount to delete dynamic charges from. For example: 0.0.0.1+-purchased_product+123123",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the dynamic charges to delete. The minimum required parameters are: <ul><li><b>event</b></li><li><b>charges</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/OverriddenCharges"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/OverriddenCharges"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The charges were deleted successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    }
                },
                "x-internal-id":"subscriptions-offer-{id}-overridecharges-delete",
                "x-filename-id":"subscriptions-offer-id-overridecharges-delete"
            },
            "patch":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Update Dynamic Charges for a Purchased Product",
                "description":"Adds dynamic charges or updates existing dynamic charges for the purchased product with the specified ID.",
                "operationId":"addOrUpdateDynamicCharge",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the purchased product or discount to update dynamic charges for. For example: 0.0.0.1+-purchased_product+123123",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"Details about the dynamic charges to create or update. The minimum required parameters are: <ul><li><b>event</b></li><li><b>charges</b></li></ul>",
                    "content":{
                        "application/json":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/OverriddenCharges"
                                }
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "type":"array",
                                "items":{
                                    "$ref":"#/components/schemas/OverriddenCharges"
                                }
                            }
                        }
                    }
                },
                "responses":{
                    "204":{
                        "description":"The dynamic charges were updated successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    },
                    "400":{
                        "description":"The request isn't valid."
                    }
                },
                "x-internal-id":"subscriptions-offer-{id}-overridecharges-patch",
                "x-filename-id":"subscriptions-offer-id-overridecharges-patch"
            }
        },
        "/subscriptions/offers/{offerId}":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Offer Details",
                "description":"Gets the details for the charge or discount offer that matches the specified ID.",
                "operationId":"getOfferDetails",
                "parameters":[
                    {
                        "name":"offerId",
                        "in":"path",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The offer details were retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Offer"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Offer"
                                }
                            }
                        }
                    },
                    "404":{
                        "description":"The specified ID was not found."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-offers-{offerId}-get",
                "x-filename-id":"subscriptions-offers-offerid-get"
            }
        },
        "/subscriptions/cancel/bundle":{
            "post":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Cancel a Bundle",
                "description":"Cancels the bundle associated with account/service that is passed in the request payload.",
                "operationId":"cancelBundle",
                "requestBody":{
                    "description":"Details about the bundle to cancel.",
                    "content":{
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/BundleCancel"
                            }
                        },
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/BundleCancel"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bundle was canceled successfully."
                    },
                    "400":{
                        "description":"BAD REQUEST (400) on null Account Id/Service Id/Deal Id"
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-cancel-bundle-post",
                "x-filename-id":"subscriptions-cancel-bundle-post"
            }
        },
        "/subscriptions/account/{id}/purchasedcontracts":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Purchased Contracts for an Account",
                "description":"Gets a list of all of the purchased contracts for an account.",
                "operationId":"getPurchasedContractsForAccount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of purchased contracts for an account was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SubscriptionTerms"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/SubscriptionTerms"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-account-{id}-purchasedcontracts-get",
                "x-filename-id":"subscriptions-account-id-purchasedcontracts-get"
            }
        },
        "/subscriptions/contracts/{id}/services":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Services for a Contract",
                "description":"Gets a list of all services associated with a contract.",
                "operationId":"getServicesAssociatedWithContract",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the contract.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The list of services associated with the contract was retrieved successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Service"
                                    }
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/Service"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-contracts-{id}-services-get",
                "x-filename-id":"subscriptions-contracts-id-services-get"
            }
        },
        "/subscriptions/account/{id}/packages":{
            "get":{
                "tags":[
                    "Subscriptions"
                ],
                "summary":"Get Contracts for an Account",
                "description":"Gets the list of contracts for the specified account. <p><b>Note</b>: A contract consists of a purchased package and its subscription terms.</p>",
                "operationId":"getCustomerPackages",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+345678.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The contracts were returned successfully.",
                        "content":{
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomerPackages"
                                }
                            },
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/CustomerPackages"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"subscriptions-account-{id}-packages-get",
                "x-filename-id":"subscriptions-account-id-packages-get"
            }
        },
        "/writeoffs/account/{id}":{
            "get":{
                "tags":[
                    "Write Offs"
                ],
                "summary":"Get Write-Offs for an Account",
                "description":"Gets the write-off details for the account that matches the specified ID.",
                "operationId":"getAccountWriteOffDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account, such as 0.0.0.1+-account+234567.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The write-off details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/components/schemas/ArActionsList"
                                    }
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"writeoffs-account-{id}-get",
                "x-filename-id":"writeoffs-account-id-get"
            },
            "post":{
                "tags":[
                    "Write Offs"
                ],
                "summary":"Write Off an Account",
                "description":"Writes off the account that matches the specified ID.",
                "operationId":"writeoffAccount",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account to write off.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The write off details. The minimum required parameters are:<ul><li><b>inactivateAccount</b></li><li><b>effective</b></li><li><b>notes</b></li><li><b>writeoffTax</b></li></ul>For write-off reversals, the account is required.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/Writeoff"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/Writeoff"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The account was written off successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"writeoffs-account-{id}-post",
                "x-filename-id":"writeoffs-account-id-post"
            }
        },
        "/writeoffs/{id}":{
            "get":{
                "tags":[
                    "Write Offs"
                ],
                "summary":"Get Write-Off Details",
                "description":"Gets the details for the write off that matches the specified ID.",
                "operationId":"getWriteOffDetails",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the write off, such as 0.0.0.1+-item-writeoff+123456789779285649.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The write-off details were returned successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/WriteOffDetails"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/WriteOffDetails"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"writeoffs-{id}-get",
                "x-filename-id":"writeoffs-id-get"
            }
        },
        "/writeoffs/item/{id}":{
            "post":{
                "tags":[
                    "Write Offs"
                ],
                "summary":"Write Off an Item",
                "description":"Writes off the item that matches the specified ID.",
                "operationId":"writeoffItem",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the item to write off.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The write off details.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/Writeoff"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/Writeoff"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The item was written off successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Writeoff"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Writeoff"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"writeoffs-item-{id}-post",
                "x-filename-id":"writeoffs-item-id-post"
            }
        },
        "/writeoffs/bill/{id}":{
            "post":{
                "tags":[
                    "Write Offs"
                ],
                "summary":"Write Off a Bill",
                "description":"Writes off the bill that matches the specified ID.",
                "operationId":"writeoffBill",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the bill to write off.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The write off details.",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/Writeoff"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/Writeoff"
                            }
                        }
                    }
                },
                "responses":{
                    "200":{
                        "description":"The bill was written off successfully.",
                        "content":{
                            "application/xml":{
                                "schema":{
                                    "$ref":"#/components/schemas/Writeoff"
                                }
                            },
                            "application/json":{
                                "schema":{
                                    "$ref":"#/components/schemas/Writeoff"
                                }
                            }
                        }
                    },
                    "500":{
                        "description":"An internal server error occurred."
                    }
                },
                "x-internal-id":"writeoffs-bill-{id}-post",
                "x-filename-id":"writeoffs-bill-id-post"
            }
        },
        "/writeoffs/reverse/account/{id}":{
            "post":{
                "tags":[
                    "Write Offs"
                ],
                "summary":"Create a Write-Off Reversal for an Account",
                "description":"Reverses the write-off for the specified account.",
                "operationId":"writeOffReverse",
                "parameters":[
                    {
                        "name":"id",
                        "in":"path",
                        "description":"The ID of the account.",
                        "required":true,
                        "schema":{
                            "type":"string"
                        }
                    }
                ],
                "requestBody":{
                    "description":"The write-off reversal to create. The minimum required parameters are:<p> <ul><li><b>effective</b></li><li><b>notes</b></li></ul></p>",
                    "content":{
                        "application/xml":{
                            "schema":{
                                "$ref":"#/components/schemas/ReverseWriteoff"
                            }
                        },
                        "application/json":{
                            "schema":{
                                "$ref":"#/components/schemas/ReverseWriteoff"
                            }
                        }
                    }
                },
                "responses":{
                    "201":{
                        "description":"The write-off reversal was created successfully."
                    },
                    "500":{
                        "description":"An internal server error occurred"
                    }
                },
                "x-internal-id":"writeoffs-reverse-account-{id}-post",
                "x-filename-id":"writeoffs-reverse-account-id-post"
            }
        }
    },
    "components":{
        "schemas":{
            "ProfileBase":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the profile was created.",
                        "format":"date-time"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the profile is effective from.",
                        "format":"date-time"
                    },
                    "accountObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the profile."
                    },
                    "selected":{
                        "type":"boolean",
                        "description":"Whether the profile is selected (<b>true</b>) or not (<b>false</b>)."
                    },
                    "parentName":{
                        "type":"string",
                        "description":"The name of the parent profile."
                    },
                    "multiValued":{
                        "type":"boolean",
                        "description":"Whether the profile has multiple values (<b>true</b>) or not (<b>false</b>)."
                    }
                },
                "discriminator":{
                    "propertyName":"@class"
                }
            },
            "ServiceProfileDefinition":{
                "required":[
                    "serviceType"
                ],
                "type":"object",
                "properties":{
                    "serviceType":{
                        "type":"string",
                        "description":"The service the definition is for."
                    },
                    "serviceFields":{
                        "$ref":"#/components/schemas/ServiceFields"
                    },
                    "profileFields":{
                        "$ref":"#/components/schemas/ProfileFields"
                    }
                }
            },
            "ServiceFields":{
                "required":[
                    "fields"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "fields":{
                        "type":"array",
                        "description":"The list of service fields.",
                        "items":{
                            "$ref":"#/components/schemas/Fields"
                        }
                    }
                }
            },
            "DepositTxnDepositInfo":{
                "required":[
                    "billInfoRef",
                    "customerRef",
                    "serviceRef",
                    "toBillInfoRef",
                    "toServiceRef"
                ],
                "type":"object",
                "properties":{
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "dayOfWeek":{
                        "type":"integer",
                        "description":"The day of the week.",
                        "format":"int32"
                    },
                    "amount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "serviceRef":{
                        "type":"string",
                        "description":"The service reference."
                    },
                    "billInfoRef":{
                        "type":"string",
                        "description":"The bill reference."
                    },
                    "toServiceRef":{
                        "type":"string",
                        "description":"The service reference to which the transaction is made."
                    },
                    "toBillInfoRef":{
                        "type":"string",
                        "description":"The bill reference to which the transaction is made."
                    }
                }
            },
            "TargetImpactedBucket":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the bucket's validity starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the bucket's validity ends.",
                        "format":"date-time"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount in the bucket."
                    }
                }
            },
            "Product":{
                "required":[
                    "purchaseDate",
                    "purchaseEndDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "productRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The product's name."
                    },
                    "planName":{
                        "type":"string",
                        "description":"The name of the package that contains the product."
                    },
                    "description":{
                        "type":"string",
                        "description":"The product's description."
                    },
                    "purchaseDate":{
                        "type":"string",
                        "description":"The date and time the product was purchased.",
                        "format":"date-time"
                    },
                    "purchaseEndDate":{
                        "type":"string",
                        "description":"The date and time the purchase ends.",
                        "format":"date-time"
                    },
                    "lastStatusChange":{
                        "type":"string",
                        "description":"The date and time the product's status was last changed.",
                        "format":"date-time"
                    },
                    "isOfferCustomized":{
                        "type":"boolean",
                        "description":"Whether the product contains customized offers (<b>true</b>) or not (<b>false</b>)."
                    },
                    "status":{
                        "type":"string",
                        "description":"The product's status."
                    },
                    "type":{
                        "type":"integer",
                        "description":"The type of product. Can be one of the following: <ul><li><b>0</b>: Optional</li><li><b>1</b>: Required</li><li><b>2</b>: Regular</li></ul>",
                        "format":"int32"
                    },
                    "contractName":{
                        "type":"string",
                        "description":"The name of the contract."
                    },
                    "contractStartDate":{
                        "type":"string",
                        "description":"The start date for the contract.",
                        "format":"date-time"
                    },
                    "contractEndDate":{
                        "type":"string",
                        "description":"The end date for the contract.",
                        "format":"date-time"
                    },
                    "contractRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "termRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                }
            },
            "SearchCriterias":{
                "required":[
                    "searchTemplateName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "searchTemplateName":{
                        "type":"string"
                    },
                    "criterias":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Criterias"
                        }
                    }
                },
                "xml":{
                    "name":"searchCriterias"
                }
            },
            "NotificationDeliverySpec":{
                "required":[
                    "deliveryPeriodEnd"
                ],
                "type":"object",
                "properties":{
                    "deliveryPeriodEnd":{
                        "type":"string",
                        "description":"The notification delivery end time. Pattern: ^([0-1]?\\d|2[0-3])(?::([0-5]?\\d))?(?::([0-5]?\\d))?$"
                    },
                    "dayOfWeek":{
                        "type":"integer",
                        "description":"The day of the week.",
                        "format":"int32"
                    },
                    "dayOfMonth":{
                        "type":"integer",
                        "description":"The day of the month.",
                        "format":"int32"
                    }
                }
            },
            "AssignCollectionsAgent":{
                "required":[
                    "collectionAgent"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billunitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "scenarioRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "collectionAgent":{
                        "type":"string",
                        "description":"The collections agent."
                    }
                },
                "xml":{
                    "name":"AssignCollectionsAgent"
                }
            },
            "RefundableItems":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "billUnitName":{
                        "type":"string",
                        "description":"The name of the bill unit associated with the refundable item."
                    },
                    "type":{
                        "type":"string",
                        "description":"The refundable item's type."
                    },
                    "arActionId":{
                        "type":"string",
                        "description":"The ID of the A/R action associated with the refundable item."
                    },
                    "billRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the refund."
                    }
                },
                "xml":{
                    "name":"refundableItems"
                }
            },
            "DepositTxn":{
                "required":[
                    "balanceImpacts",
                    "createdAt",
                    "depositDetails",
                    "depositInfo",
                    "descr",
                    "href",
                    "id",
                    "modifiedAt",
                    "notes",
                    "startsAt",
                    "systemEvent",
                    "txnType"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit transaction event ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the deposit transaction event."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit transaction event is created."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The date when the deposit transaction event is modified."
                    },
                    "startsAt":{
                        "type":"string",
                        "description":"The start date of the deposit transaction event."
                    },
                    "txnType":{
                        "type":"string",
                        "description":"The transaction type of the deposit transaction event."
                    },
                    "quantity":{
                        "type":"number",
                        "description":"The quantity of the deposit transaction event."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The deposit transaction event description."
                    },
                    "systemEvent":{
                        "type":"string",
                        "description":"The system event of the deposit transaction event."
                    },
                    "notes":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/DepositTxnNotes"
                        }
                    },
                    "depositInfo":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/DepositTxnDepositInfo"
                        }
                    },
                    "depositDetails":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/DepositTxnDepositDetails"
                        }
                    },
                    "balanceImpacts":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/DepositTxnBalanceImpacts"
                        }
                    },
                    "payment":{
                        "$ref":"#/components/schemas/DepositTxnPayment"
                    }
                },
                "xml":{
                    "name":"depositTxn"
                }
            },
            "ExistingBillUnits":{
                "required":[
                    "billUnitId",
                    "forServiceGroup"
                ],
                "type":"object",
                "properties":{
                    "billUnitId":{
                        "type":"string",
                        "description":"The ID of the bill unit."
                    },
                    "forServiceGroup":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ServiceGroupIndex"
                        }
                    },
                    "balanceGroups":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BalanceGroup"
                        }
                    }
                }
            },
            "LimitType":{
                "type":"object",
                "properties":{
                    "dynamicCreditFloor":{
                        "type":"boolean",
                        "description":"Whether to use a dynamic credit floor (<b>true</b>) or not (<b>false</b>). The default is <b>false</b>."
                    },
                    "creditFloor":{
                        "type":"number",
                        "description":"The credit floor amount. The credit floor is the amount that indicates none of the balance has been used. For example, if an account is granted 200 minutes, the credit floor would be -200. For currency balances, the credit floor is usually 0."
                    },
                    "creditLimit":{
                        "type":"number",
                        "description":"The credit limit amount. A credit limit specifies the maximum amount of a balance that your customers can spend. For currency balances, the credit limit is the maximum balance of euros, dollars, or so on that can accumulate in an account. For noncurrency balances, the credit limit is the amount at which an account has used all of its minutes, gigabytes, or so on, which is usually 0."
                    },
                    "creditThresholds":{
                        "type":"integer",
                        "description":"The percent threshold for notifications. The account is sent a notification when this percent of the balance is used. The percentage must be a 5% increment. Use the decimal notation of the binary number for the bit position. <p>For example, to notify the account when 90% of the free minutes have been used, you calculate 90/5=18, so use the 18th bit position, which is 131072 in decimal notation. To notify when 95% have been used, use the 19th bit position, which is 262144 in decimal notation.",
                        "format":"int32"
                    },
                    "creditThresholdsFixed":{
                        "type":"string",
                        "description":"The fixed threshold for notifications. The account is sent a notification when this fixed value of the balance is reached. You can set multiple values by using the <b>|</b> delimiter. For example, to notify the account when 30 minutes of usage remains and again when 5 minutes of usage remains, use <b>|30.00|5.00</b>"
                    },
                    "consumptionRule":{
                        "type":"integer",
                        "description":"The consumption rule. Can be one of the following: <ul><li><b>0</b>: Not defined</li><li><b>1</b>: Earliest start time</li><li><b>2</b>: Latest start time</li><li><b>3</b>: Earliest expiration time</li><li><b>4</b>: Latest expiration time</li><li><b>5</b>: Earliest start time and latest expiration time</li><li><b>6</b>: Earliest start time and earliest expiration time</li><li><b>7</b>: Latest start time and earliest expiration time</li><li><b>8</b>: Latest start time and latest expiration time</li><li><b>9</b>: Earliest expiration time and earliest start time</li><li><b>10</b>: Earliest expiration time and latest start time</li><li><b>10</b>: Latest expiration time and earliest start time</li><li><b>10</b>: Latest expiration time and latest start time</li></ul>",
                        "format":"int32"
                    },
                    "loanThresholds":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "loanThresholdsFixed":{
                        "type":"string"
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The resource ID.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "NonCurrencyCells":{
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string"
                    },
                    "recordId":{
                        "type":"array",
                        "items":{
                            "type":"string"
                        }
                    }
                }
            },
            "BillinfoType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "billinfoRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "bills":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BillItemType"
                        }
                    },
                    "items":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BillItemType"
                        }
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount allocated."
                    },
                    "accountingType":{
                        "type":"integer",
                        "description":"The bill unit's accounting type. Allowed values: <b>1</b> (Open item) or <b>2</b> (Balance forward).",
                        "format":"int32"
                    }
                }
            },
            "Status":{
                "required":[
                    "effectiveWhen"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "statusCode":{
                        "type":"integer",
                        "description":"The status code. Can be one of the following: <ul><li><b>10100</b>: Active</li><li><b>10102</b>: Inactive</li><li><b>10103</b>: Closed</li></ul>",
                        "format":"int32"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the status takes effect.",
                        "format":"date-time"
                    },
                    "effectiveWhen":{
                        "type":"string",
                        "description":"When the status takes effect. Can be one of the following: <ul><li><b>1</b>: Immediately</li><li><b>2</b>: Backdated</li><li><b>3</b>: Future-dated</li></ul>"
                    },
                    "lifeCycleStateEnabled":{
                        "type":"boolean",
                        "description":"Whether the lifecycle state is enabled (<b>true</b>) or not (<b>false</b>)."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"status"
                }
            },
            "AliasList":{
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string"
                    },
                    "elem":{
                        "type":"integer",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                },
                "description":"The list of aliases associated with the service."
            },
            "BatchInfoType":{
                "required":[
                    "batchTypeCode",
                    "batchTypeName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "lockBoxId":{
                        "type":"string",
                        "description":"The lockbox ID"
                    },
                    "lockBoxDate":{
                        "type":"integer",
                        "description":"The date of the lockbox",
                        "format":"int64"
                    },
                    "batchCurrency":{
                        "type":"integer",
                        "description":"The currency of the batch",
                        "format":"int32"
                    },
                    "batchId":{
                        "type":"string",
                        "description":"The ID of the batch"
                    },
                    "batchTypeCode":{
                        "type":"string",
                        "description":"The payment method type. Allowed Values: <ul><li><b>10003</b> (Credit card)</li><li><b>10005</b> (Direct debit)</li><li><b>10011</b> (Cash)</li><li><b>10012</b> (Check)</li><li><b>10013</b> (Wire Transfer)</li><li><b>10014</b> (Inter-bank payment order)</li><li><b>10015</b> (Postal order)</li></ul>"
                    },
                    "batchTypeName":{
                        "type":"string",
                        "description":"The name of the batch type.  Allowed values: <b>Payment</b>, <b>Refund</b>, or <b>Reversal</b>."
                    },
                    "batchDate":{
                        "type":"integer",
                        "description":"The date of the batch",
                        "format":"int64"
                    },
                    "batchTotalRecords":{
                        "type":"integer",
                        "description":"The total number of records in the batch",
                        "format":"int32"
                    }
                }
            },
            "InstallmentScheduleBillDetails":{
                "required":[
                    "billDetails",
                    "billInfoID",
                    "href",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment schedule bill ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used for getting the object."
                    },
                    "billDetails":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/InstallmentScheduleBill"
                        }
                    },
                    "billInfoID":{
                        "type":"string",
                        "description":"The installment schedule bill information ID."
                    }
                },
                "xml":{
                    "name":"installmentScheduleBillDetails"
                }
            },
            "UserIdentity":{
                "type":"object",
                "properties":{
                    "principalName":{
                        "type":"string"
                    },
                    "loggedIn":{
                        "type":"boolean"
                    }
                }
            },
            "Balances":{
                "required":[
                    "currentBalance",
                    "outstandingAmount"
                ],
                "type":"object",
                "properties":{
                    "modifyLimit":{
                        "type":"boolean",
                        "description":"Whether a credit limit is being modified by the request (<b>true</b>) or not (<b>false</b>)."
                    },
                    "currentBalance":{
                        "type":"number",
                        "description":"The current balance."
                    },
                    "dynamicCreditFloor":{
                        "type":"boolean",
                        "description":"Whether to use a dynamic credit floor (<b>true</b>) or not (<b>false</b>). The default is <b>false</b>."
                    },
                    "creditFloor":{
                        "type":"number",
                        "description":"The credit floor associated with the balance."
                    },
                    "creditLimit":{
                        "type":"number",
                        "description":"The credit limit associated with the balance."
                    },
                    "overrideCreditLimit":{
                        "type":"integer",
                        "description":"Whether to override the credit limit. Allowed Values: <b>0</b> (Enforce Credit Limit) or <b>1</b> (Override credit limit).",
                        "format":"int32"
                    },
                    "creditThresholds":{
                        "type":"integer",
                        "description":"The credit thresholds associated with the balance.",
                        "format":"int32"
                    },
                    "formattedCreditThresholds":{
                        "type":"string",
                        "description":"The balance percentage usage at which to notify the customer."
                    },
                    "creditThresholdsFixed":{
                        "type":"string",
                        "description":"The value at which to send a notification, such as 30 US dollars or 30 minutes."
                    },
                    "expiredBeforeUsing":{
                        "type":"number",
                        "description":"The number of days until the balance expires."
                    },
                    "subBalances":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/SubBalances"
                        }
                    },
                    "outstandingAmount":{
                        "type":"number",
                        "description":"An amount that the customer still owes, for loans or when they exceed their credit limit."
                    },
                    "loanThresholds":{
                        "type":"integer",
                        "description":"The percent-based threshold for offering a loan. If the customer's balance falls below this percent, they are notified and offered a loan.",
                        "format":"int32"
                    },
                    "loanThresholdsFixed":{
                        "type":"string",
                        "description":"The fixed amount threshold for offering a loan. If the customer's balance falls below this amount, they are notified and offered a loan."
                    },
                    "tempCreditLimit":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/TempCreditLimit"
                        }
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The resource ID associated with the balance.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                },
                "description":"The list of balances associated with the balance group."
            },
            "Entries":{
                "type":"object",
                "properties":{
                    "recordId":{
                        "type":"string"
                    },
                    "cells":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Cells"
                        }
                    },
                    "nonCurrencyCells":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/NonCurrencyCells"
                        }
                    }
                }
            },
            "FullRefund":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "payinfoTypeObject":{
                        "$ref":"#/components/schemas/PaymentTypeBase"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                }
            },
            "DeferredAction":{
                "required":[
                    "actionId",
                    "actionName",
                    "scheduledDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionId":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "actionName":{
                        "type":"string",
                        "description":"The action's name."
                    },
                    "serviceId":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceType":{
                        "type":"string",
                        "description":"The type of the service associated with the action."
                    },
                    "scheduledDate":{
                        "type":"string",
                        "description":"The date and time the deferred action is scheduled to occur.",
                        "format":"date-time"
                    },
                    "serviceLogin":{
                        "type":"string",
                        "description":"The service login information."
                    },
                    "description":{
                        "type":"string",
                        "description":"The deferred action's description."
                    },
                    "isCollectionsAction":{
                        "type":"boolean",
                        "description":"Whether the deferred action is for collections (<b>true</b>) or not (<b>false</b>)."
                    },
                    "actionStatus":{
                        "type":"integer",
                        "description":"The status of the deferred action. Possible values are: <ul><li><b>0</b>: Pending</li><li><b>1</b>: Done</li><li><b>2</b>: Error</li><li><b>3</b>: Pending and undeletable</li></ul>",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"deferredAction"
                }
            },
            "DisputeBill":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    }
                },
                "xml":{
                    "name":"disputeBill"
                }
            },
            "PaymentList":{
                "required":[
                    "originalPaymentAmount",
                    "paymentAmount",
                    "paymentDate",
                    "paymentId",
                    "unAllocatedAmount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "paymentAmount":{
                        "type":"number",
                        "description":"The amount of the payment."
                    },
                    "paymentDate":{
                        "type":"string",
                        "description":"The date and time the payment was made.",
                        "format":"date-time"
                    },
                    "paymentId":{
                        "type":"string",
                        "description":"The ID of the payment"
                    },
                    "paymentMethod":{
                        "type":"integer",
                        "description":"The payment method. Allowed values: <ul><li><b>10011</b> (Cash)</li><li><b>10012</b> (Check)</li><li><b>10013</b> (Wire transfer)</li><li><b>10014</b> (Inter-bank payment order)</li><li><b>10015</b> (Postal order)</li></ul>",
                        "format":"int32"
                    },
                    "unAllocatedAmount":{
                        "type":"number",
                        "description":"The amount that is still unallocated."
                    },
                    "originalPaymentAmount":{
                        "type":"number",
                        "description":"The original payment amount."
                    },
                    "paymentAction":{
                        "type":"integer",
                        "description":"Whether the payment has been reversed or suspended. Allowed values: <ul><li><b>0</b> (Not reversed) </li><li><b>1</b> (Reversed) </li><li><b>2</b> (Suspended)</li></ul>",
                        "format":"int32"
                    },
                    "billingStatus":{
                        "type":"integer",
                        "description":"The billing status. Allowed values: <ul><li><b>1</b> (Billed)</li><li><b>2</b> (Unbilled)</li></ul>",
                        "format":"int32"
                    },
                    "paymentRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "xml":{
                    "name":"paymentList"
                }
            },
            "Details":{
                "required":[
                    "balanceImpactResource",
                    "fixedPriceTag",
                    "scaledPriceTag"
                ],
                "type":"object",
                "properties":{
                    "balanceImpactResource":{
                        "type":"string",
                        "description":"The resource that represents the balance impact of the offer."
                    },
                    "fixedAmount":{
                        "type":"number",
                        "description":"The fixed amount of the offer.",
                        "format":"float"
                    },
                    "scaledAmount":{
                        "type":"number",
                        "description":"The scaled amount of the offer.",
                        "format":"float"
                    },
                    "fixedPriceTag":{
                        "type":"string",
                        "description":"The fixed price tag of the offer."
                    },
                    "scaledPriceTag":{
                        "type":"string",
                        "description":"The scaled price tag of the offer."
                    }
                },
                "description":"The offer details."
            },
            "ChargeOffers":{
                "type":"object",
                "properties":{
                    "ref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "description":"The list of charge offers."
            },
            "DepositSpec":{
                "required":[
                    "category",
                    "chargeOfferRef",
                    "code",
                    "createdAt",
                    "descr",
                    "expiresAt",
                    "glCode",
                    "href",
                    "id",
                    "modifiedAt",
                    "name",
                    "permitted",
                    "profileRef",
                    "startsAt"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit specification ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "startsAt":{
                        "type":"string",
                        "description":"The date when the deposit specification starts."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit specification is created."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The date when the deposit specification is modified."
                    },
                    "expiresAt":{
                        "type":"string",
                        "description":"The expiry date of the deposit specification."
                    },
                    "category":{
                        "type":"string",
                        "description":"The deposit specification category."
                    },
                    "permitted":{
                        "type":"string",
                        "description":"Specify whether the deposit specification is permitted (<b>true</b>) or not (<b>false</b>)."
                    },
                    "code":{
                        "type":"string",
                        "description":"The deposit specification code type."
                    },
                    "name":{
                        "type":"string",
                        "description":"The deposit specification name."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The deposit specification description."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The deposit specification status. Allowed Values: <b>0</b> (Active), <b>1</b> (Draft), <b>2</b> (Canceled).",
                        "format":"int32"
                    },
                    "profileRef":{
                        "type":"string",
                        "description":"The deposit specification profile reference."
                    },
                    "chargeOfferRef":{
                        "type":"string",
                        "description":"The charge offer reference for the deposit specification."
                    },
                    "billPreference":{
                        "type":"integer",
                        "description":"The bill preference for the deposit specification. Allowed Values: <ul><li><b>0</b> (Immediate)</li><li><b>1</b> (Auto-align)</li></ul>",
                        "format":"int32"
                    },
                    "creditLimitFlag":{
                        "type":"boolean",
                        "description":"Specify whether to increase the customer credit limit by the deposit amount (true) or not (false).",
                        "default":false
                    },
                    "amount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "glCode":{
                        "type":"string",
                        "description":"The general ledger ID."
                    }
                },
                "xml":{
                    "name":"depositSpec"
                }
            },
            "SharingOwnerDetails":{
                "required":[
                    "billunitName",
                    "groupName",
                    "groupOwnerBalGroupName",
                    "groupType",
                    "paymentMethod"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "groupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "rollupEnabledSharingGroup":{
                        "type":"boolean",
                        "description":"Whether rollup is enabled for the charge sharing group (<b>true</b>) or not (<b>false</b>)."
                    },
                    "groupName":{
                        "type":"string",
                        "description":"The name of the sharing group."
                    },
                    "groupOwnerBalGroupref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "groupOwnerBalGroupName":{
                        "type":"string",
                        "description":"The name of the balance group owner."
                    },
                    "parentRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "parentName":{
                        "type":"string",
                        "description":"The parent's name."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billunitName":{
                        "type":"string",
                        "description":"The name of the bill unit associated with the sharing group."
                    },
                    "paymentMethod":{
                        "type":"string",
                        "description":"The payment method associated with the sharing group."
                    },
                    "memberCount":{
                        "type":"integer",
                        "description":"The number of members in the sharing group.",
                        "format":"int32"
                    },
                    "groupType":{
                        "type":"string",
                        "description":"The sharing group type. Allowed Values: <ul><li><b>H_PSG</b> (Hierarchy product sharing group)</li><li><b>PR_PSG</b> (Payment responsibility product sharing group)</li><li><b>H_DSG</b> (Hierarchy discount sharing group)</li><li><b>PR_DSG</b> (Payment responsibility discount sharing group)</li></ul>"
                    },
                    "globalChargeShareGroup":{
                        "type":"boolean",
                        "description":"Whether this is a global charge sharing group (<b>true</b>) or not (<b>false</b>)."
                    },
                    "ownershipDetails":{
                        "type":"array",
                        "description":"The  ownership details for the sharing group.",
                        "items":{
                            "$ref":"#/components/schemas/OwnershipDetails"
                        }
                    }
                },
                "xml":{
                    "name":"sharingOwnerDetails"
                }
            },
            "Bill":{
                "required":[
                    "billPaidDate",
                    "creationDate",
                    "id",
                    "parentCompanyName",
                    "parentSalutation"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "adjusted":{
                        "type":"number",
                        "description":"The amount on the bill that was adjusted."
                    },
                    "arBillinfoRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billNo":{
                        "type":"string",
                        "description":"The bill number."
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the bill was created.",
                        "format":"date-time"
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The type of currency associated with the bill.",
                        "format":"int32"
                    },
                    "disputed":{
                        "type":"number",
                        "description":"The amount in the bill that is in dispute."
                    },
                    "currentTotal":{
                        "type":"number",
                        "description":"The current total of the bill."
                    },
                    "due":{
                        "type":"number",
                        "description":"The amount due for the bill."
                    },
                    "previousTotal":{
                        "type":"number",
                        "description":"The previous total for the bill."
                    },
                    "totalDue":{
                        "type":"number",
                        "description":"The total due for the bill."
                    },
                    "receivedForBill":{
                        "type":"number",
                        "description":"The payment amount received for the bill."
                    },
                    "arActionsAmtExcludingPayments":{
                        "type":"number",
                        "description":"The total of all accounts receivable actions applied toward the bill, excluding any payments."
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The date and time the bill is due.",
                        "format":"date-time"
                    },
                    "cycleEnds":{
                        "type":"string",
                        "description":"The date and time the billing cycle ends.",
                        "format":"date-time"
                    },
                    "name":{
                        "type":"string",
                        "description":"he name of the bill."
                    },
                    "parent":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "hierarchySize":{
                        "type":"integer",
                        "description":"The number of bills in a hierarchy.",
                        "format":"int32"
                    },
                    "parentAccountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "parentAccountNumber":{
                        "type":"string",
                        "description":"The account number of the parent associated with the bill."
                    },
                    "parentFirstName":{
                        "type":"string",
                        "description":"The first name of the parent associated with the bill."
                    },
                    "parentLastName":{
                        "type":"string",
                        "description":"The last name of the parent associated with the bill."
                    },
                    "parentCompanyName":{
                        "type":"string",
                        "description":"The company name of the parent associated with the bill."
                    },
                    "parentSalutation":{
                        "type":"string",
                        "description":"The title of the parent associated with the bill."
                    },
                    "cycleStarts":{
                        "type":"string",
                        "description":"The date and time the billing cycle starts.",
                        "format":"date-time"
                    },
                    "subordsTotal":{
                        "type":"number",
                        "description":"The total amount from all subordinates, if the bill is a parent in a billing hierarchy."
                    },
                    "transfered":{
                        "type":"number",
                        "description":"The amount in the bill that has been transferred."
                    },
                    "writeoff":{
                        "type":"number",
                        "description":"The amount in the bill that has been written off."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount to be allocated."
                    },
                    "billInfoId":{
                        "type":"string",
                        "description":"The ID of the bill unit associated with the bill."
                    },
                    "billPaidDate":{
                        "type":"string",
                        "description":"The date and time the bill was paid.",
                        "format":"date-time"
                    },
                    "recurringCharges":{
                        "type":"number",
                        "description":"The total amount of all recurring charges in the bill."
                    },
                    "billDisputed":{
                        "type":"boolean",
                        "description":"Whether the bill includes a disputed item (<b>true</b>) or not (<b>false</b>)."
                    },
                    "originalBillNo":{
                        "type":"string",
                        "description":"The bill number associated with the original bill."
                    }
                },
                "xml":{
                    "name":"bill"
                }
            },
            "PayMethod":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>0</b> (Undefined)</li><li><b>10000</b> (Prepaid)</li><li><b>10001</b> (Invoice)</li><li><b>10002</b> (Debit card)</li><li><b>10003</b> (Credit card)</li><li><b>10005</b> (US or Canada direct debit)</li><li><b>10006</b> (Smartcard)</li><li><b>10007</b> (Subordinate)</li><li><b>10011</b> (Cash)</li><li><b>10012</b> (Check)</li><li><b>10013</b> (Wire transfer)</li><li><b>10014</b> (Inter-bank payment order)</li><li><b>10015</b> (Postal payment order)</li><li><b>10016</b> (Voucher)</li><li><b>10017</b> (Failed payment)</li><li><b>10018</b> (SEPA payment)</li></ul>",
                        "format":"int32"
                    },
                    "creditCard":{
                        "$ref":"#/components/schemas/CreditCardType"
                    },
                    "directDebit":{
                        "$ref":"#/components/schemas/DirectDebitType"
                    },
                    "invoice":{
                        "$ref":"#/components/schemas/InvoiceType"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "assignedBillUnits":{
                        "type":"array",
                        "description":"Bill units assigned to the payment method.",
                        "items":{
                            "type":"string",
                            "description":"Bill units assigned to the payment method."
                        }
                    },
                    "deassignedBillUnits":{
                        "type":"array",
                        "description":"Bill units to remove the assignment from the payment method.",
                        "items":{
                            "type":"string",
                            "description":"Bill units to remove the assignment from the payment method."
                        }
                    },
                    "sepa":{
                        "$ref":"#/components/schemas/SepaType"
                    }
                },
                "xml":{
                    "name":"payMethod"
                }
            },
            "InstallmentScheduleSpec":{
                "required":[
                    "createdAt",
                    "descr",
                    "expiresAt",
                    "href",
                    "id",
                    "minAmount",
                    "minPercent",
                    "modifiedAt",
                    "name",
                    "qualifiers",
                    "startsAt"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment schedule specification ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The installment schedule specification name."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The installment schedule specification description."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the installment schedule specification is created."
                    },
                    "startsAt":{
                        "type":"string",
                        "description":"The date when the installment schedule specification starts."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The date when the installment schedule specification is modified."
                    },
                    "expiresAt":{
                        "type":"string",
                        "description":"The date when the installment schedule specification expires."
                    },
                    "glid":{
                        "type":"integer",
                        "description":"The general ledger ID used for recording the installment charge.",
                        "format":"int32"
                    },
                    "minPercent":{
                        "type":"number",
                        "description":"The minimum bill/charge percentage to be considered for the installment conversion. Either the minimum percentage or the minimum amount must be included."
                    },
                    "minAmount":{
                        "type":"number",
                        "description":"The minimum bill/charge amount to be considered for the installment conversion. Either the minimum percentage or the minimum amount must be included."
                    },
                    "maxIntervalDaysNEI":{
                        "type":"integer",
                        "description":"The maximum number of days between non-equal installments.",
                        "format":"int32"
                    },
                    "maxNumNEI":{
                        "type":"integer",
                        "description":"The maximum number of non-equal installments.",
                        "format":"int32"
                    },
                    "qualifiers":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Qualifier"
                        }
                    }
                },
                "xml":{
                    "name":"installmentScheduleSpec"
                }
            },
            "BillChargeGroup":{
                "required":[
                    "services"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "account":{
                        "$ref":"#/components/schemas/AccountAndBillItems"
                    },
                    "services":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ServicesAndBillItems"
                        }
                    }
                }
            },
            "GroupMembers":{
                "type":"object",
                "properties":{
                    "groupName":{
                        "type":"string",
                        "description":"The name of the sharing group."
                    },
                    "billUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billUnitName":{
                        "type":"string",
                        "description":"The name of the bill associated with the collections sharing group."
                    },
                    "parentBillUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "parentBillUnitName":{
                        "type":"string",
                        "description":"The name of the parent bill unit associated with the collections sharing group."
                    },
                    "parentAccountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "parentAccountNumber":{
                        "type":"string",
                        "description":"The account number associated with the parent bill unit of the collections sharing group."
                    }
                },
                "description":"Details about the members of a collections sharing group."
            },
            "DepositValidityRule":{
                "type":"object",
                "properties":{
                    "endOffsetPeriodUnit":{
                        "type":"integer",
                        "description":"The unit of measure for the end offset.<br/>Allowed Values: <ul><li><b>0</b> (Month)</li><li><b>1</b> (Day)</li><li><b>2</b> (Week)</li><li><b>3</b> (Year)</li></ul>",
                        "format":"int32"
                    },
                    "endOffsetPeriodValue":{
                        "type":"integer",
                        "description":"The value for the end offset.",
                        "format":"int32"
                    }
                }
            },
            "InstallmentBillInfo":{
                "required":[
                    "bills",
                    "customerRef",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment bill ID."
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "bills":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/InstallmentBill"
                        }
                    }
                },
                "xml":{
                    "name":"installmentBillInfo"
                }
            },
            "EndingType":{
                "required":[
                    "mode"
                ],
                "type":"object",
                "properties":{
                    "mode":{
                        "type":"string",
                        "description":"The ending type mode for a product. Can be one of the following: <ul><li><b>absolute</b>: The end date is a calendar day.</li><li><b>relativeToStart</b>: The end date is relative to the start date, such as a specified number of billing cycles, months, days, hours, minutes, or seconds after the start date.</li><li><b>never</b>: There is no set end date.</li></ul>"
                    },
                    "unitSettings":{
                        "$ref":"#/components/schemas/RelativeSettings"
                    },
                    "endDate":{
                        "type":"string",
                        "description":"The date and time the cycle ends.",
                        "format":"date-time"
                    }
                }
            },
            "BusinessProfiles":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The business profile's ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The business profile's name."
                    },
                    "asyncBDOMChangeFlag":{
                        "type":"boolean",
                        "description":"Whether the business profile supports making changes to the billing day of month (DOM) through a separate job (<b>true</b>) or not, meaning that changes are made to parent and member accounts in single API call, synchronously (<b>false</b>)."
                    }
                },
                "xml":{
                    "name":"businessProfiles"
                }
            },
            "InstallmentSchedule":{
                "required":[
                    "billProfileRef",
                    "bills",
                    "channel",
                    "chargeOfferRef",
                    "code",
                    "createdAt",
                    "customerRef",
                    "descr",
                    "expiresAt",
                    "glid",
                    "href",
                    "id",
                    "installmentAmount",
                    "installmentPeriod",
                    "installmentType",
                    "installments",
                    "lastInstallmentAt",
                    "modifiedAt",
                    "name",
                    "nextInstallmentAt",
                    "scheduleSpecRef",
                    "serviceRef",
                    "startsAt",
                    "totalAmount",
                    "totalDue",
                    "validFor"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment schedule's ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used for getting the object."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The installment schedule description."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date of creation."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The last updated date."
                    },
                    "startsAt":{
                        "type":"string",
                        "description":"The start date."
                    },
                    "expiresAt":{
                        "type":"string",
                        "description":"The expiration date."
                    },
                    "code":{
                        "type":"string",
                        "description":"Placeholder for the external code."
                    },
                    "name":{
                        "type":"string",
                        "description":"The installment schedule name."
                    },
                    "billProfileRef":{
                        "type":"string",
                        "description":"The customer bill unit reference."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The installment schedule status. Allowed Values: <ul><li><b>100</b> (Open)</li><li><b>101</b> (Charged)</li><li><b>102</b> (Paid)</li><li><b>103</b> (Broken)</li><li><b>104</b> (Canceled)</li><li><b>105</b> (Finished)</li></ul>",
                        "format":"int32"
                    },
                    "lastInstallmentAt":{
                        "type":"string",
                        "description":"The last installment date. For future use."
                    },
                    "nextInstallmentAt":{
                        "type":"string",
                        "description":"The next installment date. For future use."
                    },
                    "installmentType":{
                        "type":"string",
                        "description":"The installment type. Allowed Values: EQUAL INSTALLMENT, NON-EQUAL INSTALLMENT"
                    },
                    "billPreference":{
                        "type":"integer",
                        "description":"Indicates either to bill the installment amount immediately or to keep it open and include it with the customer's billing cycle. Allowed Values: <ul><li><b>0</b> (Auto-align)</li><li><b>1</b> (Immediate)</li></ul>",
                        "format":"int32"
                    },
                    "installmentPeriod":{
                        "type":"string",
                        "description":"The installment cycle. For future use. Allowed Values: ANNUAL, SEMI-ANNUAL, QUARTERLY, MONTHLY, WEEKLY, DAILY.  Default Value: MONTHLY"
                    },
                    "totalAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "totalDue":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "totalInstallments":{
                        "type":"integer",
                        "description":"The total number of installments.",
                        "format":"int32"
                    },
                    "installmentAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer account reference."
                    },
                    "serviceRef":{
                        "type":"string",
                        "description":"The service reference."
                    },
                    "chargeOfferRef":{
                        "type":"string",
                        "description":"The charge offer reference. For future use."
                    },
                    "glid":{
                        "type":"string",
                        "description":"The general ledger ID for the installment charge."
                    },
                    "channel":{
                        "type":"string",
                        "description":"The source of the request, for example the name of the store or app. For future use."
                    },
                    "scheduleSpecRef":{
                        "type":"string",
                        "description":"The installment schedule specification reference."
                    },
                    "installments":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Installment"
                        }
                    },
                    "bills":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/InstallmentScheduleBills"
                        }
                    },
                    "validFor":{
                        "$ref":"#/components/schemas/TimePeriod"
                    }
                },
                "xml":{
                    "name":"installmentSchedule"
                }
            },
            "RequestInfo":{
                "required":[
                    "method",
                    "path",
                    "url"
                ],
                "type":"object",
                "properties":{
                    "method":{
                        "type":"string",
                        "description":"The method of the request."
                    },
                    "url":{
                        "type":"string",
                        "description":"The URL of the request."
                    },
                    "path":{
                        "type":"string",
                        "description":"The path of the request."
                    },
                    "queryParam":{
                        "type":"string",
                        "description":"The query parameters associated with the request."
                    }
                },
                "description":"Information about the request."
            },
            "HeaderInfo":{
                "required":[
                    "name",
                    "value"
                ],
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The name of the header information parameter."
                    },
                    "value":{
                        "type":"string",
                        "description":"The value of the header information parameter."
                    }
                },
                "description":"The header information for the request."
            },
            "SettlementBill":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "percent":{
                        "type":"number",
                        "description":"The amount of the adjustment, as a percentage. For example, enter <b>5</b> for 5%."
                    }
                },
                "xml":{
                    "name":"settlementBill"
                }
            },
            "RegistrationAccount":{
                "required":[
                    "contacts",
                    "services"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "contacts":{
                        "type":"array",
                        "description":"An account's contact information.",
                        "items":{
                            "$ref":"#/components/schemas/Contacts"
                        }
                    },
                    "securityCode1":{
                        "type":"string",
                        "description":"A security code used to verify account access. This provides an authentication test for customer service requests."
                    },
                    "securityCode2":{
                        "type":"string",
                        "description":"A security code used to verify account access. This provides an authentication test for customer service requests."
                    },
                    "parentRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "locale":{
                        "type":"string",
                        "description":"The customer's locale, such as <b>en_US</b> or <b>fr_FR</b>. For a list of valid values, see \"Locale Names\" in <i>BRM Developer's Guide</i>."
                    },
                    "timezoneId":{
                        "type":"string",
                        "description":"The ID for the customer's time zone."
                    },
                    "purchasingPlanRef":{
                        "type":"string",
                        "description":"The resource for the purchased package, such as 0.0.0.1+-plan+45678."
                    },
                    "services":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/PurchasingService"
                        }
                    },
                    "genericBundle":{
                        "$ref":"#/components/schemas/CustomizedBundleForPurchase"
                    },
                    "customerTypeCode":{
                        "type":"integer",
                        "description":"The customer type: standard (<b>1</b>), brand (<b>2</b>), or subscription (<b>3</b>).",
                        "format":"int32"
                    },
                    "organizationHierarchyTypeCode":{
                        "type":"integer",
                        "description":"The code for the account organization hierarchy type, such as site or legal entity.",
                        "format":"int32"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the account takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "businessType":{
                        "type":"integer",
                        "description":"The business type: consumer (<b>1</b>) or business (<b>2</b>).",
                        "format":"int32"
                    },
                    "status":{
                        "type":"string",
                        "description":"The account's status: active (<b>10100</b>), inactive (<b>10102</b>), or closed (<b>10103</b>)."
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The account's primary currency.",
                        "format":"int32"
                    },
                    "wallet":{
                        "$ref":"#/components/schemas/Wallet"
                    },
                    "billUnits":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/NewBillUnits"
                        }
                    },
                    "profiles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ProfileBase"
                        }
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10000</b>:Prepaid</li><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    },
                    "paymentMethod":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/PaymentMethod"
                        }
                    }
                },
                "xml":{
                    "name":"registrationAccount"
                }
            },
            "Groups":{
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "ConfigSubscriberPreferencesType":{
                "type":"object",
                "properties":{
                    "subscriberPreferencesType":{
                        "$ref":"#/components/schemas/SubscriberPreferencesType"
                    }
                }
            },
            "RefundBills":{
                "required":[
                    "bills"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "payinfoTypeObject":{
                        "$ref":"#/components/schemas/PaymentTypeBase"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "bills":{
                        "type":"array",
                        "description":"The list of bills impacted by the refund.",
                        "items":{
                            "type":"string",
                            "description":"The list of bills impacted by the refund."
                        }
                    }
                },
                "xml":{
                    "name":"refundBills"
                }
            },
            "SubBalances":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "currentBalance":{
                        "type":"number",
                        "description":"The current amount of the sub-balance."
                    },
                    "originalBalance":{
                        "type":"number",
                        "description":"The original balance of the sub-balance."
                    },
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the validity period starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the validity period ends.",
                        "format":"date-time"
                    },
                    "rolloverData":{
                        "type":"integer",
                        "description":"Indicates whether the leftover balance in this bucket will be rolled over, and if so, how.",
                        "format":"int32"
                    },
                    "expiredBeforeUsing":{
                        "type":"number",
                        "description":"The number of days until the sub-balance expires."
                    },
                    "elementId":{
                        "type":"integer",
                        "description":"The ID of the element.",
                        "format":"int32"
                    },
                    "grantorObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                }
            },
            "Installment":{
                "required":[
                    "amount",
                    "createdAt",
                    "customerRef",
                    "descr",
                    "dueDate",
                    "href",
                    "id",
                    "scheduleRef"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment's ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used for getting the object."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date of creation."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The installment description."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The installment status. Allowed Values: <ul><li><b>100</b> (Open)</li><li><b>101</b> (Charged)</li><li><b>102</b> (Paid)</li><li><b>103</b> (Broken)</li><li><b>104</b> (Canceled)</li><li><b>105</b> (Finished)</li></ul>",
                        "format":"int32"
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The date of installment collection/charge."
                    },
                    "amount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "scheduleRef":{
                        "type":"string",
                        "description":"The reference to the installment schedule."
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    }
                }
            },
            "ProfileType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the profile was created.",
                        "format":"date-time"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the profile is effective from.",
                        "format":"date-time"
                    },
                    "accountObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the profile."
                    },
                    "selected":{
                        "type":"boolean",
                        "description":"Whether the profile is selected (<b>true</b>) or not (<b>false</b>)."
                    },
                    "parentName":{
                        "type":"string",
                        "description":"The name of the parent profile."
                    },
                    "multiValued":{
                        "type":"boolean",
                        "description":"Whether the profile has multiple values (<b>true</b>) or not (<b>false</b>)."
                    }
                }
            },
            "AdjustmentAccount":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "validityPeriod":{
                        "$ref":"#/components/schemas/ValidityPeriod"
                    }
                },
                "xml":{
                    "name":"adjustmentAccount"
                }
            },
            "DeliveryMethod":{
                "required":[
                    "id",
                    "name",
                    "status"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The delivery method ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The delivery method name."
                    },
                    "status":{
                        "type":"string",
                        "description":"The delivery status. Allowed values: ACTIVE, INACTIVE"
                    }
                },
                "xml":{
                    "name":"deliveryMethod"
                }
            },
            "CreditLimit":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "limit":{
                        "type":"number",
                        "description":"The credit limit amount."
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The resource ID.",
                        "format":"int32"
                    },
                    "thresholds":{
                        "type":"string",
                        "description":"The value of any percentage thresholds."
                    },
                    "dynamicFloor":{
                        "type":"boolean",
                        "description":"Whether to use a dynamic credit floor (<b>true</b>) or not (<b>false</b>). The default is <b>false</b>."
                    },
                    "floor":{
                        "type":"number",
                        "description":"The credit floor, which is a number that indicates none of the balance has been used. For example, it specifies the allowance of minutes or gigabytes that you granted to a customer. For currency balances, the credit floor is 0."
                    },
                    "overrideCreditLimit":{
                        "type":"integer",
                        "description":"Whether to override the credit limit. Allowed Values: <b>0</b> (Enforce Credit Limit) or <b>1</b> (Override credit limit).",
                        "format":"int32"
                    },
                    "fixedThresholds":{
                        "type":"string",
                        "description":"The value of any fixed thresholds."
                    },
                    "tempCreditLimit":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/TempCreditLimit"
                        }
                    },
                    "rollUp":{
                        "type":"boolean"
                    }
                }
            },
            "ProfileFields":{
                "required":[
                    "fields",
                    "storableClass"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "storableClass":{
                        "type":"string",
                        "description":"The storable class associated with the profile field."
                    },
                    "fields":{
                        "type":"array",
                        "description":"The list of profile fields.",
                        "items":{
                            "$ref":"#/components/schemas/Fields"
                        }
                    }
                }
            },
            "Flags":{
                "required":[
                    "desc",
                    "key"
                ],
                "type":"object",
                "properties":{
                    "key":{
                        "type":"string",
                        "description":"The name of the flag."
                    },
                    "value":{
                        "type":"boolean",
                        "description":"The value associated with the flag, which can be <b>true</b> or <b>false</b>."
                    },
                    "desc":{
                        "type":"string",
                        "description":"A description of the flag."
                    },
                    "version":{
                        "type":"string",
                        "description":"The version of the flag."
                    }
                },
                "description":"A flag."
            },
            "DDObjectSpec":{
                "required":[
                    "className",
                    "descr",
                    "fields",
                    "label",
                    "status"
                ],
                "type":"object",
                "properties":{
                    "className":{
                        "type":"string",
                        "description":"The storable class name."
                    },
                    "status":{
                        "type":"string",
                        "description":"The status of the storable class."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The storable class description."
                    },
                    "label":{
                        "type":"string",
                        "description":"The storable class label."
                    },
                    "fields":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/DDObjectSpecFields"
                        }
                    }
                },
                "xml":{
                    "name":"dDObjectSpec"
                }
            },
            "OriginalPaymentDetails":{
                "type":"object",
                "properties":{
                    "paymentId":{
                        "type":"string",
                        "description":"The payment ID."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The account ID."
                    },
                    "paymentItemNumber":{
                        "type":"string",
                        "description":"The payment item number."
                    }
                }
            },
            "Rules":{
                "type":"object",
                "properties":{
                    "consumptionRule":{
                        "type":"string",
                        "description":"The consumption rule. Can be one of the following: <ul><li><b>0</b>: Not defined</li><li><b>1</b>: Earliest start time</li><li><b>2</b>: Latest start time</li><li><b>3</b>: Earliest expiration time</li><li><b>4</b>: Latest expiration time</li><li><b>5</b>: Earliest start time and latest expiration time</li><li><b>6</b>: Earliest start time and earliest expiration time</li><li><b>7</b>: Latest start time and earliest expiration time</li><li><b>8</b>: Latest start time and latest expiration time</li><li><b>9</b>: Earliest expiration time and earliest start time</li><li><b>10</b>: Earliest expiration time and latest start time</li><li><b>10</b>: Latest expiration time and earliest start time</li><li><b>10</b>: Latest expiration time and latest start time</li></ul>"
                    },
                    "elem":{
                        "type":"integer",
                        "description":"The position of the entry in the array. For example, the first item in a list would have an <b>elem</b> value of <b>1</b>.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                },
                "description":"The list of consumption rules that define the order in which to consume balances."
            },
            "SourceRef":{
                "required":[
                    "id",
                    "type"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The source's ID."
                    },
                    "type":{
                        "type":"string",
                        "description":"The source's type. Can be one of the following: <ul><li>balanceGroup</li><li>account</li><li>service</li></ul>"
                    }
                },
                "description":"The balance transfer's source."
            },
            "PackageBasedOrder":{
                "required":[
                    "purchasingPackageRef",
                    "services"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "purchasingPackageRef":{
                        "type":"string",
                        "description":"The resource associated with the package purchase."
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the package purchase takes effect.",
                        "format":"date-time"
                    },
                    "services":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/PurchasingService"
                        }
                    },
                    "existingBillunitsForBalanceGroups":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ExistingBillUnits"
                        }
                    },
                    "newBillunitsForBalanceGroups":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/NewBillUnits"
                        }
                    },
                    "genericBundle":{
                        "$ref":"#/components/schemas/CustomizedBundleForPurchase"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"packageBasedOrder"
                }
            },
            "CustomerDepositTransactions":{
                "required":[
                    "transactionRef",
                    "transactions"
                ],
                "type":"object",
                "properties":{
                    "transactions":{
                        "type":"string",
                        "description":"The transactions."
                    },
                    "transactionRef":{
                        "type":"string",
                        "description":"Reference to the transaction record."
                    }
                }
            },
            "NotesInfo":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"notesInfo"
                }
            },
            "Services":{
                "required":[
                    "login",
                    "serviceType"
                ],
                "type":"object",
                "properties":{
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "index":{
                        "type":"integer",
                        "description":"The position of the entry in the index. For example, the first service in a list would have an <b>index</b> value of <b>1</b>.",
                        "format":"int32"
                    },
                    "login":{
                        "type":"string",
                        "description":"The login associated with the service."
                    },
                    "serviceType":{
                        "type":"string",
                        "description":"The service type of the service member."
                    },
                    "aliasList":{
                        "type":"array",
                        "description":"The list of aliases associated with the service.",
                        "items":{
                            "$ref":"#/components/schemas/AliasList"
                        }
                    }
                },
                "description":"The list of services shared in the group."
            },
            "WriteOffDetails":{
                "required":[
                    "writeoffAmount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the write-off takes effect.",
                        "format":"date-time"
                    },
                    "writeoffType":{
                        "type":"integer",
                        "description":"The type of write-off.",
                        "format":"int64"
                    },
                    "cycleStarts":{
                        "type":"string",
                        "description":"The date and time the cycle starts.",
                        "format":"date-time"
                    },
                    "cycleEnds":{
                        "type":"string",
                        "description":"The date and time the cycle ends.",
                        "format":"date-time"
                    },
                    "writeoffAmount":{
                        "type":"number",
                        "description":"The amount to write off."
                    },
                    "writeoffID":{
                        "type":"string",
                        "description":"The write-off's ID."
                    },
                    "itemName":{
                        "type":"string",
                        "description":"The name of the item associated with the write-off."
                    },
                    "billNumber":{
                        "type":"string",
                        "description":"The bill number associated with the write-off."
                    },
                    "itemNumber":{
                        "type":"string",
                        "description":"The item number associated with the write-off."
                    },
                    "billUnitName":{
                        "type":"string",
                        "description":"The name of the bill unit associated with the write-off."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number associated with the write-off."
                    },
                    "notes":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Notes"
                        }
                    },
                    "reversalAmount":{
                        "type":"number",
                        "description":"The amount of the write-off reversal."
                    },
                    "reversalEffectiveDate":{
                        "type":"string",
                        "description":"The date and time the write-off reversal takes effect.",
                        "format":"date-time"
                    },
                    "reversalId":{
                        "type":"string",
                        "description":"The ID of the write-off reversal."
                    },
                    "writeoffRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "reversalRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "xml":{
                    "name":"writeOffDetails"
                }
            },
            "ServiceDetails":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "type":{
                        "type":"string",
                        "description":"The service type."
                    },
                    "friendlyName":{
                        "type":"string",
                        "description":"The service's friendly name."
                    }
                },
                "xml":{
                    "name":"serviceDetails"
                }
            },
            "Contacts":{
                "required":[
                    "address",
                    "city",
                    "country",
                    "firstName",
                    "lastName"
                ],
                "type":"object",
                "properties":{
                    "address":{
                        "type":"string",
                        "description":"The customer's address."
                    },
                    "city":{
                        "type":"string",
                        "description":"The customer's city."
                    },
                    "company":{
                        "type":"string",
                        "description":"The company name."
                    },
                    "contactType":{
                        "type":"string",
                        "description":"The contact type."
                    },
                    "country":{
                        "type":"string",
                        "description":"The customer's country."
                    },
                    "emailAddress":{
                        "type":"string",
                        "description":"The customer's email address."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The customer's first name."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The customer's last name."
                    },
                    "middleName":{
                        "type":"string",
                        "description":"The customer's middle name."
                    },
                    "salutation":{
                        "type":"string",
                        "description":"The salutation to use use with the customer, such as Mr. or Miss."
                    },
                    "state":{
                        "type":"string",
                        "description":"The customer's state."
                    },
                    "title":{
                        "type":"string",
                        "description":"The customer's job title."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The ZIP code."
                    },
                    "deleted":{
                        "type":"boolean",
                        "description":"Whether to delete the contact (<b>true</b>) or not (<b>false</b>). This must be set to <b>false</b> if you adding a contact.",
                        "default":false
                    },
                    "newlyCreated":{
                        "type":"boolean",
                        "description":"Whether the contact information was newly created (<b>true</b>) or not (<b>false</b>).",
                        "default":false
                    },
                    "phonenumbers":{
                        "type":"array",
                        "description":"The list of associated phone numbers.",
                        "items":{
                            "$ref":"#/components/schemas/Phonenumbers"
                        }
                    },
                    "elem":{
                        "type":"integer",
                        "description":"The position of the entry in the array. For example, the first item in a list would have an <b>elem</b> value of <b>1</b>.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                },
                "description":"An account's contact information.",
                "xml":{
                    "name":"contacts"
                }
            },
            "DepositRefund":{
                "required":[
                    "accountNumber",
                    "completedAt",
                    "createdAt",
                    "customerDepositRef",
                    "customerRef",
                    "error",
                    "glCode",
                    "href",
                    "id",
                    "modifiedAt",
                    "notes",
                    "reason",
                    "refundRef",
                    "serviceRef"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit refund ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit refund is initiated."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The date when the deposit refund is modified."
                    },
                    "completedAt":{
                        "type":"string",
                        "description":"The deposit refund completion date."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The deposit refund status. Allowed Values: <ul><li><b>0</b> (Completed)</li><li><b>1</b> (Failed)</li><li><b>2</b> (Pending)</li><li><b>3</b> (Accepted)</li><li><b>4</b> (Rejected)</li></ul>",
                        "format":"int32"
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "serviceRef":{
                        "type":"string",
                        "description":"The service reference."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "customerDepositRef":{
                        "type":"string",
                        "description":"The customer deposit reference."
                    },
                    "notes":{
                        "type":"string",
                        "description":"Notes about the deposit refund."
                    },
                    "reason":{
                        "type":"string",
                        "description":"Reason for the deposit refund."
                    },
                    "error":{
                        "type":"string",
                        "description":"Error message for the deposit refund."
                    },
                    "refundRef":{
                        "type":"string",
                        "description":"The deposit refund reference."
                    },
                    "glCode":{
                        "type":"string",
                        "description":"The general ledger ID."
                    },
                    "refundAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "approvedRefundAmount":{
                        "$ref":"#/components/schemas/Money"
                    }
                },
                "xml":{
                    "name":"depositRefund"
                }
            },
            "WithdrawPayment":{
                "required":[
                    "effectiveDate",
                    "suspenseAccountId"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "suspenseAccountId":{
                        "type":"string",
                        "description":"The ID of the suspended account associated with the withdrawal."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the payment withdrawal took effect.",
                        "format":"date-time"
                    },
                    "paymentEventRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "domainId":{
                        "type":"integer",
                        "description":"The reason's domain ID.",
                        "format":"int32"
                    },
                    "reasonId":{
                        "type":"integer",
                        "description":"The reason ID for the payment withdrawal.",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"WithdrawPayment"
                }
            },
            "PackageList":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "package":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Package"
                        }
                    }
                },
                "xml":{
                    "name":"packageList"
                }
            },
            "ServicesByPurchase":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "serviceType":{
                        "type":"string",
                        "description":"The service type."
                    },
                    "count":{
                        "type":"integer",
                        "description":"The number of services.",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"servicesByPurchase"
                }
            },
            "Criterias":{
                "required":[
                    "field",
                    "operator",
                    "value"
                ],
                "type":"object",
                "properties":{
                    "groups":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Groups"
                        }
                    },
                    "field":{
                        "type":"string"
                    },
                    "value":{
                        "type":"string"
                    },
                    "operator":{
                        "type":"string"
                    },
                    "name":{
                        "type":"string",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "AccountSummary":{
                "required":[
                    "billInProgressDue",
                    "disputed",
                    "dueNow",
                    "numBills",
                    "paymentTypeId",
                    "pendingDue",
                    "pendingDueDate",
                    "unallocatedAdjustments",
                    "unallocatedPayments"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "pendingDue":{
                        "type":"number",
                        "description":"The amount for the bill unit that is in pending state."
                    },
                    "pendingDueDate":{
                        "type":"string",
                        "description":"The date and time the pending amount is due.",
                        "format":"date-time"
                    },
                    "unallocatedPayments":{
                        "type":"number",
                        "description":"The payment amount that is still unallocated."
                    },
                    "unallocatedAdjustments":{
                        "type":"number",
                        "description":"The adjustment amount that is still unallocated."
                    },
                    "billInProgressDue":{
                        "type":"number",
                        "description":"The in progress amount due for the bill unit."
                    },
                    "dueNow":{
                        "type":"number",
                        "description":"The amount that is due now."
                    },
                    "numBills":{
                        "type":"integer",
                        "description":"The number of bills associated with the bill unit."
                    },
                    "disputed":{
                        "type":"number",
                        "description":"The amount for the bill unit that is in dispute."
                    },
                    "paymentTypeId":{
                        "type":"string",
                        "description":"The ID for the bill unit's payment type."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "xml":{
                    "name":"accountSummary"
                }
            },
            "BundleList":{
                "required":[
                    "bundle"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "bundle":{
                        "type":"array",
                        "description":"A bundle.",
                        "items":{
                            "$ref":"#/components/schemas/Bundle"
                        }
                    }
                },
                "xml":{
                    "name":"bundleList"
                }
            },
            "CollectionsGroupDetails":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "groupOwners":{
                        "type":"array",
                        "description":"A collections sharing group owner.",
                        "items":{
                            "$ref":"#/components/schemas/GroupOwners"
                        }
                    },
                    "groupMembers":{
                        "type":"array",
                        "description":"Details about the members of a collections sharing group.",
                        "items":{
                            "$ref":"#/components/schemas/GroupMembers"
                        }
                    }
                },
                "xml":{
                    "name":"collectionsGroupDetails"
                }
            },
            "BatchRecordsList":{
                "required":[
                    "batchRecords"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "batchInformation":{
                        "$ref":"#/components/schemas/BatchInfoType"
                    },
                    "batchRecords":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BatchRecordsType"
                        }
                    }
                }
            },
            "PaymentInstrumentType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The payment instrument's name."
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "correctiveInvoiceType":{
                        "type":"integer",
                        "description":"The type of invoice to create, such as an invoice correction letter or a replacement invoice.",
                        "format":"int32"
                    }
                }
            },
            "Devices":{
                "required":[
                    "id"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The device ID."
                    },
                    "description":{
                        "type":"string",
                        "description":"A device's description."
                    }
                },
                "description":"The list of devices associated with the service."
            },
            "SearchResults":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "results":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Results"
                        }
                    }
                },
                "xml":{
                    "name":"searchResults"
                }
            },
            "DataArray":{
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The ERA's name."
                    },
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the ERA's validity period starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the ERA's validity period ends.",
                        "format":"date-time"
                    },
                    "value":{
                        "type":"string",
                        "description":"The ERA's value."
                    },
                    "elem":{
                        "type":"integer",
                        "description":"The position of the entry in the array. For example, the first item in the array would have an <b>elem</b> value of <b>1</b>.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                },
                "description":"A list of extended rating attributes (ERAs)."
            },
            "InstallmentScheduleBills":{
                "required":[
                    "billId"
                ],
                "type":"object",
                "properties":{
                    "billId":{
                        "type":"string",
                        "description":"The installment schedule bill ID."
                    }
                }
            },
            "NewBillUnit":{
                "required":[
                    "id",
                    "name",
                    "paymentType"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the new bill unit."
                    },
                    "paymentType":{
                        "type":"string",
                        "description":"The payment type of the new bill unit."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "balanceGroups":{
                        "type":"array",
                        "description":"The list of balance groups associated with the new bill unit.",
                        "items":{
                            "$ref":"#/components/schemas/BalanceGroups"
                        }
                    }
                },
                "xml":{
                    "name":"newBillUnit"
                }
            },
            "ReversePayment":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the payment reversal takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "eventRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "xml":{
                    "name":"reversePayment"
                }
            },
            "ConfigPromiseToPaySpecification":{
                "required":[
                    "name"
                ],
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string"
                    },
                    "promiseToPaySpec":{
                        "$ref":"#/components/schemas/PromiseToPaySpec"
                    }
                }
            },
            "CustomizedChargeOffers":{
                "type":"object",
                "properties":{
                    "baseChargeOfferRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "baseProductRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "validityAlignMode":{
                        "type":"string",
                        "description":"The validity align mode for a product. Can be one of the following: <ul><li><b>base</b>: Align the validity with baseProductRef passed in request </li><li><b>any_base_earliest</b>: Aligns the validity dates with the active base charge offer that expires first.</li><li><b>any_base_latest</b>: Aligns the validity dates with the active base charge offer that expires last.</li><li><b>any_earliest</b>: Aligns the validity dates with the active charge offer that expires first.</li><li><b>any_latest</b>: Aligns the validity dates with the active charge offer that expires last.</li></ul>"
                    },
                    "quantity":{
                        "type":"integer",
                        "description":"The quantity purchased.",
                        "format":"int32"
                    },
                    "name":{
                        "type":"string",
                        "description":"The charge offer's name."
                    },
                    "description":{
                        "type":"string",
                        "description":"The charge offer's description."
                    },
                    "cycleStart":{
                        "$ref":"#/components/schemas/StartingType"
                    },
                    "cycleEnd":{
                        "$ref":"#/components/schemas/EndingType"
                    },
                    "cycleFeeOverride":{
                        "type":"number",
                        "description":"The amount of the cycle fee override."
                    },
                    "cycleDiscountOverride":{
                        "type":"number",
                        "description":"The fixed amount of the cycle discount override."
                    },
                    "cycleDiscountPercentOverride":{
                        "type":"number",
                        "description":"The percentage amount of the cycle discount override."
                    },
                    "purchaseStart":{
                        "$ref":"#/components/schemas/StartingType"
                    },
                    "purchaseEnd":{
                        "$ref":"#/components/schemas/EndingType"
                    },
                    "purchaseFeeOverride":{
                        "type":"number",
                        "description":"The fixed amount of the purchase fee override."
                    },
                    "purchaseDiscountOverride":{
                        "type":"number",
                        "description":"The fixed amount of the purchase discount override."
                    },
                    "purchaseDiscountPercentOverride":{
                        "type":"number",
                        "description":"The percentage amount of the purchase discount override."
                    },
                    "usageStart":{
                        "$ref":"#/components/schemas/StartingType"
                    },
                    "usageEnd":{
                        "$ref":"#/components/schemas/EndingType"
                    },
                    "usagePercentOverride":{
                        "type":"number",
                        "description":"The percentage amount of the usage override."
                    },
                    "gracePeriodUnit":{
                        "type":"integer",
                        "description":"The unit for the grace period.",
                        "format":"int32"
                    },
                    "gracePeriodOffset":{
                        "type":"integer",
                        "description":"The number to offset the grace period by.",
                        "format":"int32"
                    },
                    "renewalMode":{
                        "type":"integer",
                        "description":"How to handle the charge offer's cycle alignment when its bundle is reactivated. Possible values are: <ul><li><b>0</b>: Cycle aligns with the original billing date or configured specific day of the month.</li><li><b>1</b>: Cycle aligns with the reactivation date.</li></ul>",
                        "format":"int32"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The charge offer's status. Can be one of the following: <ul><li><b>0</b>: Not set</li><li><b>1</b>: Active</li><li><b>2</b>: Inactive</li><li><b>3</b>: Canceled</li></ul>",
                        "format":"int32"
                    },
                    "statusFlag":{
                        "type":"integer",
                        "description":"The status flag.",
                        "format":"int32"
                    },
                    "overriddenCharges":{
                        "type":"array",
                        "description":"The overridden charges.",
                        "items":{
                            "$ref":"#/components/schemas/OverriddenCharges"
                        }
                    }
                },
                "description":"The list of customized charge offers in the bundle."
            },
            "Writeoff":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the write-off takes effect.",
                        "format":"date-time"
                    },
                    "writeoffTax":{
                        "type":"boolean",
                        "description":"Whether to write off the tax amount (<b>true</b>) or not (<b>false</b>). The default is <b>true</b>.",
                        "default":true
                    },
                    "inactivateAccount":{
                        "type":"boolean",
                        "description":"Whether to inactivate the account (<b>true</b>) or not (<b>false</b>). The default is <b>false</b>.",
                        "default":false
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"writeoff"
                }
            },
            "Keyvals":{
                "required":[
                    "desc",
                    "key",
                    "value"
                ],
                "type":"object",
                "properties":{
                    "key":{
                        "type":"string",
                        "description":"The key name."
                    },
                    "value":{
                        "type":"string",
                        "description":"The value."
                    },
                    "desc":{
                        "type":"string",
                        "description":"The key-value pair's description."
                    },
                    "version":{
                        "type":"string",
                        "description":"The version of the key-value pair."
                    }
                },
                "description":"A set of key-value pairs."
            },
            "PaymentMethodType":{
                "required":[
                    "fields",
                    "paymentMethodName"
                ],
                "type":"object",
                "properties":{
                    "paymentMethodID":{
                        "type":"integer",
                        "description":"Payment type unique ID.",
                        "format":"int32"
                    },
                    "paymentMethodName":{
                        "type":"string",
                        "description":"Name of type of payment."
                    },
                    "fields":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Fields"
                        }
                    }
                },
                "description":"Fields related to a particular payment method."
            },
            "Thresholds":{
                "required":[
                    "desc",
                    "key"
                ],
                "type":"object",
                "properties":{
                    "key":{
                        "type":"string",
                        "description":"Unique name for configuration acting as an upper limit for pagination size, number of records to fetch, timeouts, etc."
                    },
                    "value":{
                        "type":"integer",
                        "description":"The threshold value.",
                        "format":"int32"
                    },
                    "desc":{
                        "type":"string",
                        "description":"The description of the threshold."
                    },
                    "version":{
                        "type":"string",
                        "description":"The version of the threshold."
                    }
                },
                "description":"A threshold. The minimum required parameters are: <b>key</b> and <b>value</b>."
            },
            "AdjustmentEvent":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "percent":{
                        "type":"number",
                        "description":"The amount of the adjustment, as a percentage. For example, enter <b>5</b> for 5%."
                    },
                    "billItem":{
                        "type":"array",
                        "description":"The bill item details.",
                        "items":{
                            "$ref":"#/components/schemas/BillItem"
                        }
                    },
                    "appliesToTotalOfAllEvents":{
                        "type":"boolean",
                        "description":"Whether the adjustment applies to the total from all events (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "taxType":{
                        "type":"integer",
                        "description":"Whether to include tax in the adjustment (<b>8</b>), exclude the tax and adjust only the amount (<b>9</b>), or adjust only the tax (<b>10</b>).",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "events":{
                        "$ref":"#/components/schemas/Events"
                    }
                },
                "xml":{
                    "name":"adjustmentEvent"
                }
            },
            "RefundDetails":{
                "required":[
                    "billNo",
                    "effectiveDate",
                    "refundAmount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the refund occurred.",
                        "format":"date-time"
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID of the refund."
                    },
                    "refundStatus":{
                        "type":"integer",
                        "description":"The status of the refund.",
                        "format":"int64"
                    },
                    "billNo":{
                        "type":"string",
                        "description":"The bill number associated with the refund."
                    },
                    "refundAmount":{
                        "type":"number",
                        "description":"The amount of the refund."
                    },
                    "cycleStarts":{
                        "type":"string",
                        "description":"The date and time the billing cycle starts.",
                        "format":"date-time"
                    },
                    "cycleEnds":{
                        "type":"string",
                        "description":"The date and time the billing cycle ends.",
                        "format":"date-time"
                    },
                    "refundMethod":{
                        "type":"string",
                        "description":"The refund method."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "refundType":{
                        "type":"integer",
                        "description":"The level of the refund. Can be one of the following: <ul><li><b>1</b>: Bill-level</li><li><b>2</b>: Bill unit-level (/billinfo)</li></ul>",
                        "format":"int32"
                    },
                    "details":{
                        "type":"array",
                        "description":"The list of details about the refund.",
                        "items":{
                            "$ref":"#/components/schemas/Details"
                        }
                    }
                },
                "xml":{
                    "name":"refundDetails"
                }
            },
            "InstallmentProposal":{
                "required":[
                    "bills",
                    "customerRef",
                    "href",
                    "id",
                    "installmentPeriod",
                    "installmentType",
                    "specRef"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment proposal's ID. Proposals are not persisted in the system, so this field is always null."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used for getting the object."
                    },
                    "totalAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "totalInstallments":{
                        "type":"integer",
                        "description":"The total number of installments.",
                        "format":"int32"
                    },
                    "installmentType":{
                        "type":"string",
                        "description":"The installment type. Allowed Values: EQUAL INSTALLMENT, NON-EQUAL INSTALLMENT"
                    },
                    "installmentPeriod":{
                        "type":"string",
                        "description":"The installment cycle. For future use. Allowed Values: ANNUAL, SEMI-ANNUAL, QUARTERLY, MONTHLY, WEEKLY, DAILY.  Default Value: MONTHLY"
                    },
                    "specRef":{
                        "type":"string",
                        "description":"The installment schedule specification reference."
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "bills":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/InstallmentScheduleBills"
                        }
                    },
                    "validFor":{
                        "$ref":"#/components/schemas/TimePeriod"
                    }
                },
                "xml":{
                    "name":"installmentProposal"
                }
            },
            "DepositSpecProfile":{
                "required":[
                    "code",
                    "createdAt",
                    "descr",
                    "expiresAt",
                    "hostName",
                    "href",
                    "id",
                    "isRefundable",
                    "modifiedAt",
                    "name",
                    "startDateTime",
                    "status",
                    "validityRuleSource"
                ],
                "type":"object",
                "properties":{
                    "validityRuleSource":{
                        "type":"string",
                        "description":"The deposit validity rule source.<br/>Allowed Values: SYSTEM_DEFINED, RULE_DEFINED"
                    },
                    "id":{
                        "type":"string",
                        "description":"The deposit specification profile ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the deposit specification profile object."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit specification profile is created."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The date when the deposit specification profile is modified."
                    },
                    "expiresAt":{
                        "type":"string",
                        "description":"The expiry date of the deposit specification profile."
                    },
                    "startDateTime":{
                        "type":"string",
                        "description":"The start date of the deposit specification profile."
                    },
                    "name":{
                        "type":"string",
                        "description":"The deposit specification profile name."
                    },
                    "hostName":{
                        "type":"string",
                        "description":"Not used."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The deposit specification profile description."
                    },
                    "code":{
                        "type":"string",
                        "description":"The deposit specification profile code."
                    },
                    "isRefundable":{
                        "type":"string",
                        "description":"Not used."
                    },
                    "releaseType":{
                        "type":"integer",
                        "description":"The release type for the deposit specification profile. Allowed Values: <b>1</b> (Prepayment), <b>2</b> (Refund), <b>3</b> (Zeroise).",
                        "format":"int32"
                    },
                    "isPayinterest":{
                        "type":"boolean",
                        "description":"Specify whether the interest must be paid for the deposit specification profile (<b>true</b>) or not (<b>false</b>).",
                        "default":false
                    },
                    "isExemptible":{
                        "type":"boolean",
                        "description":"Specify whether the deposit specification profile is exemptible (<b>true</b>) or not (<b>false</b>).",
                        "default":false
                    },
                    "isTransferrable":{
                        "type":"boolean",
                        "description":"Specify whether the deposit specification profile is transferrable (<b>true</b>) or not (<b>false</b>).",
                        "default":false
                    },
                    "isOverridable":{
                        "type":"boolean",
                        "description":"Specify whether the deposit specification profile is overridable (<b>true</b>) or not (<b>false</b>).",
                        "default":false
                    },
                    "refundRule":{
                        "$ref":"#/components/schemas/DepositRefundRule"
                    },
                    "interestRule":{
                        "$ref":"#/components/schemas/DepositInterestRule"
                    },
                    "validityRule":{
                        "$ref":"#/components/schemas/DepositValidityRule"
                    },
                    "status":{
                        "type":"string",
                        "description":"The deposit specification profile status. Allowed Values: <b>0</b> (Active), <b>1</b> (Draft), <b>2</b> (Canceled)."
                    }
                },
                "xml":{
                    "name":"depositSpecProfile"
                }
            },
            "BillUnit":{
                "required":[
                    "balanceGroups",
                    "businessProfile",
                    "creationDate",
                    "id",
                    "invoiceTemplate",
                    "name",
                    "parentAccountId",
                    "parentAccountNumber",
                    "parentBillUnitName",
                    "parentCompanyName",
                    "parentFirstName",
                    "parentLastName",
                    "parentSalutation",
                    "paymentInstrumentName",
                    "wholesaleBilling"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The bill unit's name."
                    },
                    "rollUp":{
                        "type":"boolean"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "bdomJobFlag":{
                        "type":"integer",
                        "description":"Whether the billing day of month (DOM) changes for member accounts should be executed immediately (<b>1</b>) or deferred (<b>2</b>). This flag applies only to parent accounts' bill units that have a business profile with the <b>AsyncBDOMChange</b> key set to <b>yes</b>. If a value is not sent, the job will be deferred (as with a value of <b>2</b>).",
                        "format":"int32"
                    },
                    "accountingCycleDom":{
                        "type":"integer",
                        "description":"The bill unit's accounting cycle day of month (DOM).",
                        "format":"int32"
                    },
                    "bdomJobCompletion":{
                        "type":"string",
                        "description":"The time the billing day-of-month (DOM) change job was completed, if applicable.",
                        "format":"date-time"
                    },
                    "bdomChangeStatus":{
                        "type":"integer",
                        "description":"The status of the billing day-of-month (DOM) change. Can be one of the following:<ul><li><b>-1</b>: Does not exist</li><li><b>0</b>: New</li><li><b>1</b>: In progress</li><li><b>2</b>: Failed</li><li><b>3</b>: Completed</li><li><b>4</b>: Update is pending (for child billinfos awaiting update)</li></ul>",
                        "format":"int32"
                    },
                    "accountingType":{
                        "type":"integer",
                        "description":"The bill unit's accounting type: open item (<b>1</b>) or balance forward (<b>2</b>).",
                        "format":"int32"
                    },
                    "balanceGroups":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BalanceGroup"
                        }
                    },
                    "paymentInstrumentRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The bill unit's primary currency.",
                        "format":"int32"
                    },
                    "currencySecondary":{
                        "type":"integer",
                        "description":"The bill unit's secondary currency.",
                        "format":"int32"
                    },
                    "status":{
                        "type":"string",
                        "description":"The status of the bill unit: defunct (<b>0</b>), active (<b>10100</b>), inactive (<b>10102</b>), or closed (<b>10103</b>)"
                    },
                    "arBillUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "parentBillUnitName":{
                        "type":"string",
                        "description":"The name of this bill unit's parent bill unit."
                    },
                    "parentAccountId":{
                        "type":"string",
                        "description":"The ID of this bill unit's parent account."
                    },
                    "parentFirstName":{
                        "type":"string",
                        "description":"The first name associated with the parent bill unit."
                    },
                    "parentLastName":{
                        "type":"string",
                        "description":"The last name associated with the parent bill unit."
                    },
                    "parentCompanyName":{
                        "type":"string",
                        "description":"The parent bill unit's company name."
                    },
                    "parentSalutation":{
                        "type":"string",
                        "description":"The parent bill unit's salutation, such as Mr. or Mx."
                    },
                    "parentAccountNumber":{
                        "type":"string",
                        "description":"The account number associated with the parent's bill unit."
                    },
                    "invoiceTemplate":{
                        "type":"string",
                        "description":"The name of the invoice template associated with the bill unit."
                    },
                    "businessProfile":{
                        "type":"string",
                        "description":"The business profile associated with bill unit."
                    },
                    "wholesaleBilling":{
                        "type":"string",
                        "description":"The wholesale billing key."
                    },
                    "correctiveInvoiceType":{
                        "type":"integer",
                        "description":"The type of invoice to create for corrective bills, such as an invoice correction letter or a replacement invoice.",
                        "format":"int32"
                    },
                    "lastModified":{
                        "type":"string",
                        "description":"The date and time the bill unit was last modified.",
                        "format":"date-time"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the bill unit was created.",
                        "format":"date-time"
                    },
                    "accountingCyclesUntilBillCycleEnds":{
                        "type":"integer",
                        "description":"The number of monthly accounting cycles remaining until the current billing cycle ends.",
                        "format":"int32"
                    },
                    "billForCurrentCycleRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "defaultBillUnit":{
                        "type":"boolean",
                        "description":"Whether this is the default bill unit (<b>true</b>) or not (<b>false</b>)."
                    },
                    "parentBillUnit":{
                        "type":"boolean",
                        "description":"Whether this is a parent bill unit (<b>true</b>) or not (<b>false</b>)."
                    },
                    "billingFrequencyInMonths":{
                        "type":"integer",
                        "description":"The billing frequency in number of months. Can be one of the following: <ul><li><b>1</b>: Monthly</li><li><b>2</b>: Bi-monthly</li><li><b>3</b>: Quarterly</li><li><b>12</b>: Yearly</li></ul>",
                        "format":"int32"
                    },
                    "accountingCycleStart":{
                        "type":"string",
                        "description":"The date and time the accounting cycle starts.",
                        "format":"date-time"
                    },
                    "accountingCycleEnd":{
                        "type":"string",
                        "description":"The date and time the accounting cycle ends.",
                        "format":"date-time"
                    },
                    "lastActualBillRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "lastActualBillDate":{
                        "type":"string",
                        "description":"The date and time the last bill was created.",
                        "format":"date-time"
                    },
                    "lastBillFromBillingRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billingCycleStart":{
                        "type":"string",
                        "description":"The date and time the billing cycle starts",
                        "format":"date-time"
                    },
                    "billingCycleEnd":{
                        "type":"string",
                        "description":"The date and time the billing cycle ends.",
                        "format":"date-time"
                    },
                    "segment":{
                        "type":"string",
                        "description":"The customer segment associated with the bill unit. A customer segment is a user-defined customer description that can be used to group accounts according to customer billing and payment practices."
                    },
                    "daysInBillCycle":{
                        "type":"integer",
                        "description":"The number of days in a billing cycle.",
                        "format":"int32"
                    },
                    "daysRemainingInBillCycle":{
                        "type":"integer",
                        "description":"The number of days that remain in the current billing cycle.",
                        "format":"int32"
                    },
                    "exemptFromCollections":{
                        "type":"integer",
                        "description":"Whether the bill unit is exempt from collections or not.",
                        "format":"int32"
                    },
                    "scenarioRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "numSuppressedCycles":{
                        "type":"integer",
                        "description":"The number of consecutive billing cycles that the bill unit has been suppressed.",
                        "format":"int32"
                    },
                    "suppressed":{
                        "type":"integer",
                        "description":"Whether the bill unit is suppressed or not.",
                        "format":"int32"
                    },
                    "suppressionCyclesLeft":{
                        "type":"integer",
                        "description":"The number of consecutive billing cycles for which the bill is to be suppressed.",
                        "format":"int32"
                    },
                    "collectionDate":{
                        "type":"string",
                        "description":"The date collections is due.",
                        "format":"date-time"
                    },
                    "paymentInstrumentName":{
                        "type":"string",
                        "description":"The name of the payment instrument."
                    },
                    "collectionDetailsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "inCollections":{
                        "type":"boolean",
                        "description":"Whether the bill unit is in collections (<b>true</b>) or not (<b>false</b>)."
                    },
                    "paymentMethod":{
                        "$ref":"#/components/schemas/PaymentMethod"
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    },
                    "totalChildAccounts":{
                        "type":"integer",
                        "description":"The total number of child accounts.",
                        "format":"int32"
                    },
                    "totalChildBillUnits":{
                        "type":"integer",
                        "description":"The total number of child bill units.",
                        "format":"int32"
                    }
                },
                "description":"A bill unit.",
                "xml":{
                    "name":"billUnit"
                }
            },
            "OriginalBill":{
                "required":[
                    "creationDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "invoiceFormat":{
                        "type":"integer",
                        "description":"The invoice format. Can be one of the following: <ul><li><b>1</b>: Detail</li><li><b>2</b>: Summary</li></ul>",
                        "format":"int32"
                    },
                    "invoiceType":{
                        "type":"integer",
                        "description":"The invoice type. Can be one of the following: <ul><li><b>1</b>: Correction letter</li><li><b>2</b>: Replacement invoice</li></ul>",
                        "format":"int32"
                    },
                    "adjusted":{
                        "type":"number",
                        "description":"The amount of any adjustments."
                    },
                    "billNo":{
                        "type":"string",
                        "description":"The bill number."
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the corrective bill was created.",
                        "format":"date-time"
                    },
                    "disputed":{
                        "type":"number",
                        "description":"The amount of any disputes."
                    },
                    "currentTotal":{
                        "type":"number",
                        "description":"The current total amount due."
                    },
                    "arActionsAmtExcludingPayments":{
                        "type":"number",
                        "description":"The total amount of all accounts receivable actions, excluding any payments."
                    },
                    "due":{
                        "type":"number",
                        "description":"The amount due for the corrective bill."
                    },
                    "totalDue":{
                        "type":"number",
                        "description":"The total amount due for the parent account and all child accounts."
                    },
                    "subordsTotal":{
                        "type":"number",
                        "description":"The total amount due for all subordinate accounts."
                    },
                    "receivedForBill":{
                        "type":"number",
                        "description":"The payment received against the original bill."
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The date and time the corrective bill is due.",
                        "format":"date-time"
                    },
                    "originalBill":{
                        "$ref":"#/components/schemas/OriginalBill"
                    }
                },
                "description":"Information about an original bill.",
                "xml":{
                    "name":"originalBill"
                }
            },
            "PaymentBatchFileHeader":{
                "required":[
                    "currency",
                    "fileCreationDate",
                    "fileName",
                    "institutionName",
                    "lockBoxId",
                    "templateName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "lockBoxName":{
                        "type":"string",
                        "description":"The lockbox's name."
                    },
                    "lockBoxId":{
                        "type":"string",
                        "description":"The lockbox's ID."
                    },
                    "institutionName":{
                        "type":"string",
                        "description":"The name of the institution that created the batch payment file."
                    },
                    "templateName":{
                        "type":"string",
                        "description":"The template name."
                    },
                    "currency":{
                        "type":"string",
                        "description":"The currency of all payments in the batch payment file."
                    },
                    "fileName":{
                        "type":"string",
                        "description":"The file name for the batch payment file."
                    },
                    "fileCreationDate":{
                        "type":"string",
                        "description":"The date and time the batch payment file was created.",
                        "format":"date-time"
                    },
                    "fileSize":{
                        "type":"number",
                        "description":"The size of the batch payment file.",
                        "format":"double"
                    },
                    "noOfPayments":{
                        "type":"integer",
                        "description":"The number of payments in the batch payment file.",
                        "format":"int64"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status of the batch payment file. Can be one of the following: <ul><li><b>1</b>: New</li><li><b>2</b>: Format error</li><li><b>3</b>: Unknown template</li><li><b>4</b>: Processing error</li><li><b>5</b>: Threshold exceeded</li><li><b>6</b>: Processing</li></ul>",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"paymentBatchFileHeader"
                }
            },
            "SharingMemberDetails":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "groupref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "orderedBalGroupref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "membershipDetails":{
                        "type":"array",
                        "description":"The list of groups the member belongs to.",
                        "items":{
                            "$ref":"#/components/schemas/MembershipDetails"
                        }
                    }
                },
                "xml":{
                    "name":"sharingMemberDetails"
                }
            },
            "SourceTransferFee":{
                "type":"object",
                "properties":{
                    "amount":{
                        "type":"number",
                        "description":"The amount of the fee."
                    },
                    "feeTax":{
                        "type":"number",
                        "description":"The tax on the fee."
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource associated with the fee.",
                        "format":"int32"
                    }
                },
                "description":"The transfer fee to charge the source."
            },
            "RequestDetails":{
                "required":[
                    "accountId",
                    "contentType",
                    "payloadStr"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID of the request."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The Account ID of the request."
                    },
                    "payloadStr":{
                        "type":"string",
                        "description":"The payload of the request."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status of the request.",
                        "format":"int32"
                    },
                    "contentType":{
                        "type":"string",
                        "description":"The type of content in the request."
                    },
                    "partial":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "descr":{
                        "type":"string",
                        "description":"The description of the request."
                    },
                    "correlationId":{
                        "type":"string",
                        "description":"The correlation ID of the request."
                    },
                    "userId":{
                        "type":"string",
                        "description":"The UserID of the request."
                    },
                    "requestInfo":{
                        "$ref":"#/components/schemas/RequestInfo"
                    },
                    "failedInfo":{
                        "$ref":"#/components/schemas/FailedInfo"
                    },
                    "opcodeInfo":{
                        "$ref":"#/components/schemas/OpcodeInfo"
                    },
                    "headerInfo":{
                        "type":"array",
                        "description":"The header information for the request.",
                        "items":{
                            "$ref":"#/components/schemas/HeaderInfo"
                        }
                    },
                    "errorInfo":{
                        "type":"array",
                        "description":"Information about the error.",
                        "items":{
                            "$ref":"#/components/schemas/ErrorInfo"
                        }
                    }
                },
                "xml":{
                    "name":"requestDetails"
                }
            },
            "MenuDefinition":{
                "required":[
                    "menu"
                ],
                "type":"object",
                "properties":{
                    "menu":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Menu"
                        }
                    }
                },
                "xml":{
                    "name":"menu-definition"
                }
            },
            "InstallmentChargeOffer":{
                "required":[
                    "code",
                    "createdAt",
                    "descr",
                    "expiresAt",
                    "id",
                    "name",
                    "permitted",
                    "startsAt"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The ID of the charge offer."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date the charge offer was created."
                    },
                    "startsAt":{
                        "type":"string",
                        "description":"The date the charge offer starts."
                    },
                    "expiresAt":{
                        "type":"string",
                        "description":"The date the charge offer expires."
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the charge offer."
                    },
                    "code":{
                        "type":"string",
                        "description":"The code for the charge offer."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The description of the charge offer."
                    },
                    "permitted":{
                        "type":"string",
                        "description":"The purchase level permitted for the charge offer."
                    },
                    "offerType":{
                        "type":"integer",
                        "description":"The ID of the charge offer type.",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"installmentChargeOffer"
                }
            },
            "CorrectiveBill":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "invoiceFormat":{
                        "type":"integer",
                        "description":"The invoice format. Can be one of the following: <ul><li><b>1</b>: Detail</li><li><b>2</b>: Summary</li></ul>",
                        "format":"int32"
                    },
                    "invoiceType":{
                        "type":"integer",
                        "description":"The invoice type. Can be one of the following: <ul><li><b>1</b>: Correction letter</li><li><b>2</b>: Replacement invoice</li></ul>",
                        "format":"int32"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"correctiveBill"
                }
            },
            "Offer":{
                "required":[
                    "id",
                    "offerDetail"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "offerDetail":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/OfferDetail"
                        }
                    }
                },
                "xml":{
                    "name":"offer"
                }
            },
            "State":{
                "required":[
                    "stateName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "stateId":{
                        "type":"integer",
                        "description":"The ID of the state.",
                        "format":"int32"
                    },
                    "stateName":{
                        "type":"string",
                        "description":"The name of the state."
                    },
                    "allowedTransitionStates":{
                        "type":"array",
                        "description":"The list of states that a resource can transition to.",
                        "items":{
                            "type":"integer",
                            "description":"The list of states that a resource can transition to.",
                            "format":"int32"
                        }
                    }
                }
            },
            "NotificationCriteria":{
                "required":[
                    "key",
                    "value"
                ],
                "type":"object",
                "properties":{
                    "dataType":{
                        "type":"integer",
                        "description":"The notification criteria data type. Allowed Values: <ul><li><b>1</b> (Integer)</li><li><b>3</b> (Enumeration)</li><li><b>5</b> (String)</li><li><b>7</b> (POID)</li><li><b>8</b> (Timestamp)</li><li><b>14</b> (Decimal)</li></ul>",
                        "format":"int32"
                    },
                    "value":{
                        "type":"string",
                        "description":"The notification criteria value."
                    },
                    "key":{
                        "type":"string",
                        "description":"The notification criteria key."
                    },
                    "operator":{
                        "type":"integer",
                        "description":"The operator for the qualifier. Allowed values:<ul><li><b>0</b> (Equals)</li><li><b>1</b> (Less than)</li><li><b>2</b> (Greater than)</li><li><b>3</b> (Less than or equals)</li><li><b>4</b> (Greater than or equals)</li><li><b>5</b> (Not equal)</li><li><b>6</b> (Contained in string)</li><li><b>7</b> (Like)</li></ul>",
                        "format":"int32"
                    }
                }
            },
            "NotificationSpec":{
                "required":[
                    "advanceNotifications",
                    "category",
                    "createdAt",
                    "criteria",
                    "deliveryMethods",
                    "deliverySpec",
                    "descr",
                    "expiresAt",
                    "href",
                    "id",
                    "modifiedAt",
                    "name",
                    "startsAt",
                    "status",
                    "systemEvent"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The notification specification ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the notification specification object."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The creation date for the notification specification."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The modification date for the notification specification."
                    },
                    "startsAt":{
                        "type":"string",
                        "description":"The start date for the notification specification."
                    },
                    "status":{
                        "type":"string",
                        "description":"The notification specification status. Allowed values: ACTIVE, INACTIVE, EXPIRED"
                    },
                    "category":{
                        "type":"string",
                        "description":"Free text. Use this field for classification."
                    },
                    "name":{
                        "type":"string",
                        "description":"The notification specification name."
                    },
                    "expiresAt":{
                        "type":"string",
                        "description":"The date when the notification specification expires."
                    },
                    "optType":{
                        "type":"integer",
                        "description":"The notification Opt In/Opt Out options. Allowed Values: <ul><li><b>1</b> (Requires opt in)</li><li><b>2</b> (Requires opt out)</li><li><b>3</b> (Mandatory)</li></ul>",
                        "format":"int32"
                    },
                    "aggregateMode":{
                        "type":"integer",
                        "description":"Aggregation mode. Allowed Values: <b>0</b> (Send multiple notifications), <b>1</b> (Send consolidated single notification with details from all).",
                        "format":"int32"
                    },
                    "deliveryControlFlag":{
                        "type":"integer",
                        "description":"The notification control flag type. Allowed Values: <ul><li><b>0</b> (Always Deliver)</li><li><b>1</b> (No delivery in silent period)</li></ul>",
                        "format":"int32"
                    },
                    "descr":{
                        "type":"string",
                        "description":"The notification specification description."
                    },
                    "scope":{
                        "type":"integer",
                        "description":"The notification scope. Allowed Values: <ul><li><b>1</b> (System)</li><li><b>2</b> (User)</li></ul>",
                        "format":"int32"
                    },
                    "type":{
                        "type":"integer",
                        "description":"The notification type. Allowed Values: <ul><li><b>1</b> (Advance)</li><li><b>2</b> (Real-time)</li><li><b>3</b> (Predefined)</li><li><b>4</b> (First transaction)</li><li><b>5</b> (Post-due)</li></ul>",
                        "format":"int32"
                    },
                    "systemEvent":{
                        "type":"string",
                        "description":"The notification event POID type."
                    },
                    "criteria":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/NotificationCriteria"
                        }
                    },
                    "deliverySpec":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/NotificationDeliverySpec"
                        }
                    },
                    "advanceNotifications":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/NotificationDeliverySchedule"
                        }
                    },
                    "deliveryMethods":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/NotificationDeliveryMethod"
                        }
                    },
                    "triggerType":{
                        "type":"integer",
                        "description":"The notification trigger type. Allowed Values: <ul><li><b>0</b> (All)</li><li><b>1</b> (System)</li><li><b>2</b> (Auto)</li></ul>",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"notificationSpec"
                }
            },
            "LifeCycleStates":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "servicesWithLifecycleStates":{
                        "type":"array",
                        "description":"The list of services associated with lifecycle states.",
                        "items":{
                            "type":"string",
                            "description":"The list of services associated with lifecycle states."
                        }
                    },
                    "states":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/State"
                        }
                    }
                },
                "xml":{
                    "name":"lifeCycleStates"
                }
            },
            "Extrating":{
                "type":"object",
                "properties":{
                    "label":{
                        "type":"string",
                        "description":"The ERA's label name."
                    },
                    "referenceCount":{
                        "type":"integer",
                        "description":"A number that keeps the reference count. For purchases, the counter is incremented by one. For cancellations, the counter is decreased by one.",
                        "format":"int32"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The provisioning status. Can be one of the following: <ul><li><b>0</b>: No operation</li><li><b>1</b>: Provisioning ERA</li><li><b>2</b>: Provisioning ERA failed</li><li><b>3</b>: ERA active</li><li><b>4</b>: Unprovisioning ERA</li><li><b>5</b>: Unprovisioning ERA failed</li><li><b>6</b>: ERA unprovisioned</li><li><b>7</b>: Suspending ERA</li><li><b>8</b>: ERA suspension failed</li><li><b>9</b>: ERA suspended</li></ul>",
                        "format":"int32"
                    }
                },
                "description":"Information about an extended rating attribute."
            },
            "SubscriptionPreviewCancellationCharges":{
                "required":[
                    "totalCancellationFee"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "scopeLevel":{
                        "type":"integer",
                        "description":"The level of the cancelation. Can be one of the following: <ul><li><b>1</b>: Account level</li><li><b>2</b>: Package level</li><li><b>3</b>: Bundle level</li></ul>",
                        "format":"int32"
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The currency associated with the cancelation fee.",
                        "format":"int32"
                    },
                    "totalCancellationFee":{
                        "type":"number",
                        "description":"The total cancelation fee."
                    },
                    "contractPreviewCancellationCharges":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ContractPreviewCancellationCharge"
                        }
                    }
                }
            },
            "DepositInterestRule":{
                "required":[
                    "interestRate"
                ],
                "type":"object",
                "properties":{
                    "interestFrequencyUnit":{
                        "type":"integer",
                        "description":"The unit of measure for the interest frequency.<br/>Allowed Values: <ul><li><b>0</b> (Month)</li><li><b>1</b> (Day)</li><li><b>2</b> (Week)</li><li><b>3</b> (Year)</li></ul><br/>Default value: <b>0</b>",
                        "format":"int32"
                    },
                    "interestFrequencyValue":{
                        "type":"integer",
                        "description":"The interest frequency.",
                        "format":"int32"
                    },
                    "interestType":{
                        "type":"integer",
                        "description":"The deposit interest type.<br/><ul><li><b>0</b> (Simple)</li><li><b>1</b> (Compound)</li><li><b>2</b> (Absolute)</li><li><b>3</b> (Invalid zero error)</li></ul>",
                        "format":"int32"
                    },
                    "interestRate":{
                        "type":"number",
                        "description":"The deposit interest rate."
                    },
                    "startInterestFrom":{
                        "type":"integer",
                        "description":"The date when interest starts on the deposit. Allowed Values: <ul><li><b>0</b> (Partial payment)</li><li><b>1</b> (Full payment)</li></ul>",
                        "format":"int32"
                    },
                    "glCode":{
                        "type":"integer",
                        "description":"The general ledger ID.",
                        "format":"int32"
                    }
                }
            },
            "DepositTransfer":{
                "required":[
                    "completedAt",
                    "createdAt",
                    "customerDepositRef",
                    "customerRef",
                    "destBillProfileRef",
                    "destCustomerRef",
                    "destServiceRef",
                    "error",
                    "glCode",
                    "href",
                    "id",
                    "reason",
                    "status",
                    "transferRef"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit transfer ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "completedAt":{
                        "type":"string",
                        "description":"The deposit transfer completion date."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit transfer is initiated."
                    },
                    "status":{
                        "type":"string",
                        "description":"The deposit transfer status.<br/>Allowed Values: COMPLETED, FAILED, PENDING, ACCEPTED, REJECTED"
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "customerDepositRef":{
                        "type":"string",
                        "description":"The customer deposit reference."
                    },
                    "destCustomerRef":{
                        "type":"string",
                        "description":"The destination customer reference for the transfer."
                    },
                    "destServiceRef":{
                        "type":"string",
                        "description":"The destination service reference for the transfer."
                    },
                    "destBillProfileRef":{
                        "type":"string",
                        "description":"The destination bill profile reference for the transfer."
                    },
                    "transferRef":{
                        "type":"string",
                        "description":"The deposit transfer reference."
                    },
                    "reason":{
                        "type":"string",
                        "description":"Reason for the deposit transfer."
                    },
                    "error":{
                        "type":"string",
                        "description":"Error message for the deposit transfer."
                    },
                    "transferAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "glCode":{
                        "type":"string",
                        "description":"The general ledger ID."
                    }
                },
                "xml":{
                    "name":"depositTransfer"
                }
            },
            "PaymentDetails":{
                "required":[
                    "accountId",
                    "reversalAmount",
                    "reversalId"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "originalPaymentAmount":{
                        "type":"number",
                        "description":"The amount paid against the original bill."
                    },
                    "allocatedAmount":{
                        "type":"number",
                        "description":"The amount of the payment that has been allocated."
                    },
                    "unallocatedAmount":{
                        "type":"number",
                        "description":"The amount of the payment that hasn't been allocated yet."
                    },
                    "currencyId":{
                        "type":"integer",
                        "description":"The currency ID of the payment.",
                        "format":"int32"
                    },
                    "receiptDate":{
                        "type":"string",
                        "description":"The date and time the payment receipt was issued.",
                        "format":"date-time"
                    },
                    "postedDate":{
                        "type":"string",
                        "description":"The date and time the payment was posted.",
                        "format":"date-time"
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int64"
                    },
                    "paymentAction":{
                        "type":"integer",
                        "description":"Whether the payment has been reversed or suspended. Can be one of the following: <ul><li><b>0</b>: Not reversed. </li><li><b>1</b>: Reversed. </li><li><b>2</b>: Suspended.</li></ul>",
                        "format":"int32"
                    },
                    "paymentId":{
                        "type":"string",
                        "description":"The ID of the payment."
                    },
                    "transactionId":{
                        "type":"string",
                        "description":"The ID of the transaction."
                    },
                    "subTransactionId":{
                        "type":"string",
                        "description":"The ID of the subtransaction."
                    },
                    "eventRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "notes":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Notes"
                        }
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The ID of the account."
                    },
                    "reversalId":{
                        "type":"string",
                        "description":"The ID of the payment reversal."
                    },
                    "reversalAmount":{
                        "type":"number",
                        "description":"The amount of the payment reversal."
                    },
                    "reversalDate":{
                        "type":"string",
                        "description":"The date and time the payment reversal occurred.",
                        "format":"date-time"
                    },
                    "payinfoTypeObject":{
                        "$ref":"#/components/schemas/PaymentTypeBase"
                    },
                    "originalPaymentDetails":{
                        "$ref":"#/components/schemas/OriginalPaymentDetails"
                    },
                    "billDetails":{
                        "type":"array",
                        "description":"The list of bill details associated with the payment.",
                        "items":{
                            "$ref":"#/components/schemas/BillDetails"
                        }
                    },
                    "paymentAuditDetails":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/PaymentAuditDetailsType"
                        }
                    },
                    "refundedDetails":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/RefundedDetails"
                        }
                    }
                },
                "xml":{
                    "name":"paymentDetails"
                }
            },
            "PurchasedBundle":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "bundleID":{
                        "type":"string",
                        "description":"The bundle's ID."
                    },
                    "bundleName":{
                        "type":"string",
                        "description":"The bundle's name."
                    },
                    "bundleType":{
                        "type":"integer",
                        "description":"The type of bundle. Can be one of the following: <ul><li><b>0</b>: Optional</li><li><b>1</b>: Required</li><li><b>2</b>: Add-on</li></ul>",
                        "format":"int32"
                    },
                    "packageId":{
                        "type":"string",
                        "description":"The ID of the package that contains the bundle."
                    }
                }
            },
            "BalanceGroup":{
                "required":[
                    "id"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the balance group."
                    },
                    "services":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ServiceType"
                        }
                    },
                    "monitorType":{
                        "type":"string",
                        "description":"The monitoring group type. Allowed Values: <ul><li><b>H_CE</b> (Hierarchy Credit Exposure)</li><li><b>PR_CE</b> (Payment Responsible Credit Exposure)</li><li><b>SUB_CE</b> (Subscription Credit Exposure)</li><li><b>PR_RTCE</b> (Payment Responsible Real-Time Credit Enforcement)</li></ul>"
                    },
                    "balances":{
                        "type":"array",
                        "description":"The list of balances associated with the balance group.",
                        "items":{
                            "$ref":"#/components/schemas/Balances"
                        }
                    },
                    "elem":{
                        "type":"integer",
                        "description":"The position of the entry in the array. For example, the first item in a list would have an <b>elem</b> value of <b>1</b>.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "CollectionsExemptedBillUnits":{
                "required":[
                    "billUnitId"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "billUnitId":{
                        "type":"string",
                        "description":"The ID of the bill unit."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The ID of the account."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The customer's first name."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The customer's last name."
                    },
                    "billUnitName":{
                        "type":"string",
                        "description":"The bill unit's name."
                    }
                },
                "xml":{
                    "name":"collectionsExemptedBillUnits"
                }
            },
            "BillingHierarchy":{
                "required":[
                    "account"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "account":{
                        "type":"array",
                        "description":"An account.",
                        "items":{
                            "$ref":"#/components/schemas/Account"
                        }
                    },
                    "numberOfChildren":{
                        "type":"integer",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"billingHierarchy"
                }
            },
            "LoanProfileDetails":{
                "required":[
                    "id",
                    "name"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The loan profile's ID.",
                        "default":"configLoanId"
                    },
                    "name":{
                        "type":"string",
                        "description":"The loan profile's name.",
                        "default":"name"
                    },
                    "loanInfo":{
                        "$ref":"#/components/schemas/LoanInfo"
                    },
                    "locations":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Location"
                        }
                    }
                },
                "xml":{
                    "name":"loanProfileDetails"
                }
            },
            "GroupOfServices":{
                "type":"object",
                "properties":{
                    "service":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ServiceInPlan"
                        }
                    },
                    "groupIndex":{
                        "type":"integer",
                        "description":"The group index.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "AdjustmentItem":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    }
                },
                "xml":{
                    "name":"adjustmentItem"
                }
            },
            "ActionHistory":{
                "required":[
                    "agentName",
                    "changeDate",
                    "description",
                    "dueDate"
                ],
                "type":"object",
                "properties":{
                    "description":{
                        "type":"string",
                        "description":"The description of the collections action."
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The date and time the collections action is due.",
                        "format":"date-time"
                    },
                    "changeDate":{
                        "type":"string",
                        "description":"The date and time there was a change to the collections action.",
                        "format":"date-time"
                    },
                    "agentName":{
                        "type":"string",
                        "description":"The name of the agent that performed the collections action."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status of the collections action: <b>0</b> (Action pending), <b>1</b> (Action canceled), <b>2</b> (Action completed), or <b>3</b> (Action error).",
                        "format":"int32"
                    }
                },
                "description":"The list of collections action activities."
            },
            "PaymentChannel":{
                "required":[
                    "channelName"
                ],
                "type":"object",
                "properties":{
                    "channelId":{
                        "type":"integer",
                        "description":"The ID of the payment channel.",
                        "format":"int32"
                    },
                    "channelName":{
                        "type":"string",
                        "description":"The name of the payment channel."
                    }
                },
                "xml":{
                    "name":"paymentChannel"
                }
            },
            "Parent":{
                "required":[
                    "accountId",
                    "accountNumber",
                    "address",
                    "city",
                    "country",
                    "firstName",
                    "lastName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The ID of the account."
                    },
                    "address":{
                        "type":"string",
                        "description":"The address for the account."
                    },
                    "city":{
                        "type":"string",
                        "description":"The city for the account."
                    },
                    "company":{
                        "type":"string",
                        "description":"The company name."
                    },
                    "country":{
                        "type":"string",
                        "description":"The country."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The customer's first name."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The customer's last name."
                    },
                    "middleName":{
                        "type":"string",
                        "description":"The customer's middle name."
                    },
                    "state":{
                        "type":"string",
                        "description":"The state."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The zip code."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "parent":{
                        "$ref":"#/components/schemas/Parent"
                    },
                    "organizationHierarchyType":{
                        "type":"integer",
                        "description":"The type of organization hierarchy, such as <b>not set</b>, <b>site</b>, <b>legal entity</b>, <b>billing account</b>, or <b>service account</b>.",
                        "format":"int32"
                    }
                },
                "description":"The parent in the organization hierarchy.",
                "xml":{
                    "name":"parent"
                }
            },
            "AccountAndBillItems":{
                "required":[
                    "billItem",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The first name of the customer owning the account."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The last name of the customer owning the account."
                    },
                    "billItem":{
                        "type":"array",
                        "description":"The bill item details.",
                        "items":{
                            "$ref":"#/components/schemas/BillItem"
                        }
                    }
                }
            },
            "SepaType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The payment instrument's name."
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "correctiveInvoiceType":{
                        "type":"integer",
                        "description":"The type of invoice to create, such as an invoice correction letter or a replacement invoice.",
                        "format":"int32"
                    },
                    "details":{
                        "$ref":"#/components/schemas/SepaTypeDetails"
                    }
                }
            },
            "ContractPreviewCancellationCharge":{
                "required":[
                    "cancellationFee"
                ],
                "type":"object",
                "properties":{
                    "subscriberContractRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "cancellationFee":{
                        "type":"number",
                        "description":"The cancellation fee."
                    },
                    "cancellationChargeType":{
                        "type":"integer",
                        "description":"The type of cancelation fee. Can be one of the following: <ul><li><b>0</b>: Fixed</li><li><b>1</b>: Reducing</li></ul>",
                        "format":"int32"
                    }
                }
            },
            "Properties":{
                "type":"object",
                "properties":{
                    "key":{
                        "type":"string"
                    },
                    "value":{
                        "type":"string"
                    }
                }
            },
            "Money":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "amount":{
                        "type":"number",
                        "description":"The amount of money."
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The currency for the money.",
                        "format":"int32"
                    }
                }
            },
            "DisputeEvent":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "percent":{
                        "type":"number",
                        "description":"The amount of the adjustment, as a percentage. For example, enter <b>5</b> for 5%."
                    },
                    "billItem":{
                        "type":"array",
                        "description":"The bill item details.",
                        "items":{
                            "$ref":"#/components/schemas/BillItem"
                        }
                    },
                    "appliesToTotalOfAllEvents":{
                        "type":"boolean",
                        "description":"Whether the adjustment applies to the total from all events (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "taxType":{
                        "type":"integer",
                        "description":"Whether to include tax in the adjustment (<b>8</b>), exclude the tax and adjust only the amount (<b>9</b>), or adjust only the tax (<b>10</b>).",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "events":{
                        "$ref":"#/components/schemas/Events"
                    }
                },
                "xml":{
                    "name":"disputeEvent"
                }
            },
            "FailedInfo":{
                "required":[
                    "errorCode"
                ],
                "type":"object",
                "properties":{
                    "errorCode":{
                        "type":"string",
                        "description":"The error code of the failure."
                    },
                    "errorDescr":{
                        "type":"string",
                        "description":"The description of the error."
                    }
                },
                "description":"Failure information for the request."
            },
            "Children":{
                "required":[
                    "accountId",
                    "accountNumber",
                    "address",
                    "city",
                    "country",
                    "firstName",
                    "lastName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The ID of the account."
                    },
                    "address":{
                        "type":"string",
                        "description":"The address for the account."
                    },
                    "city":{
                        "type":"string",
                        "description":"The city for the account."
                    },
                    "company":{
                        "type":"string",
                        "description":"The company name."
                    },
                    "country":{
                        "type":"string",
                        "description":"The country."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The customer's first name."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The customer's last name."
                    },
                    "middleName":{
                        "type":"string",
                        "description":"The customer's middle name."
                    },
                    "state":{
                        "type":"string",
                        "description":"The state."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The zip code."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    }
                },
                "description":"The list of child accounts in the organization hierarchy.",
                "xml":{
                    "name":"children"
                }
            },
            "Preferences":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "preference":{
                        "type":"array",
                        "description":"A preference.",
                        "items":{
                            "$ref":"#/components/schemas/Preference"
                        }
                    }
                },
                "xml":{
                    "name":"preferences"
                }
            },
            "AdjustmentNonCurrencyBalance":{
                "required":[
                    "amount",
                    "validFrom",
                    "validTo"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The resource ID of the noncurrency balance to adjust.",
                        "format":"int32"
                    },
                    "elementId":{
                        "type":"integer",
                        "description":"The element ID of the noncurrency balance bucket to be adjusted. This field is optional. If not provided, the system will choose the bucket.",
                        "format":"int32"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "balanceGroupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the adjustment's validity period starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the adjustment's validity period ends.",
                        "format":"date-time"
                    }
                },
                "xml":{
                    "name":"adjustmentNonCurrencyBalance"
                }
            },
            "Notes":{
                "required":[
                    "accountId"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The ID of the account associated with the note."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount associated with the note. It can be a payment amount, adjustment amount, or so on."
                    },
                    "billUnitId":{
                        "type":"string",
                        "description":"The ID of the bill unit associated with the note."
                    },
                    "billId":{
                        "type":"string",
                        "description":"The ID of the bill associated with the note."
                    },
                    "closedDate":{
                        "type":"string",
                        "description":"The date and time the note was resolved.",
                        "format":"date-time"
                    },
                    "count":{
                        "type":"integer",
                        "description":"The number of comments associated with the note.",
                        "format":"int32"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the comment was posted.",
                        "format":"date-time"
                    },
                    "eventId":{
                        "type":"string",
                        "description":"The ID of the event associated with the note."
                    },
                    "header":{
                        "type":"string",
                        "description":"The header associated with the note."
                    },
                    "itemId":{
                        "type":"string",
                        "description":"The ID of the item associated with the note."
                    },
                    "subType":{
                        "type":"integer",
                        "description":"The note's subtype. Possible values are stored in the <b>/config/note_type</b> object. See &quot;Localizing and Customizing Strings&quot; in <i>BRM Developer's Guide</i> for information about how to customize these values using the <b>note.</b><i>locale</i> file.",
                        "format":"int32"
                    },
                    "type":{
                        "type":"integer",
                        "description":"The note's type. Possible values are stored in the <b>/config/note_type</b> object. See &quot;Localizing and Customizing Strings&quot; in <i>BRM Developer's Guide</i> for information about how to customize these values using the <b>note.</b><i>locale</i> file.",
                        "format":"int32"
                    },
                    "domainId":{
                        "type":"integer",
                        "description":"The domain ID associated with the note.",
                        "format":"int32"
                    },
                    "reasonId":{
                        "type":"integer",
                        "description":"The reason ID associated with the note. Possible values are stored in <b>/config/reason_code_scope</b> objects. See &quot;Localizing and Customizing Strings&quot; in <i>BRM Developer's Guide</i> for information about how to customize these values using the <b>reasons.</b><i>locale</i> file.",
                        "format":"int32"
                    },
                    "serviceId":{
                        "type":"string",
                        "description":"The service ID associated with the note."
                    },
                    "status":{
                        "type":"number",
                        "description":"The note's status: not set (<b>100</b>), resolved (<b>101</b>), or unresolved (<b>102</b>). The default value is <b>102</b>."
                    },
                    "comments":{
                        "type":"array",
                        "description":"The list of comments associated with the note.",
                        "items":{
                            "$ref":"#/components/schemas/Comments"
                        }
                    }
                }
            },
            "OrganizationHierarchy":{
                "required":[
                    "accountId",
                    "accountNumber",
                    "address",
                    "city",
                    "country",
                    "firstName",
                    "lastName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The ID of the account."
                    },
                    "address":{
                        "type":"string",
                        "description":"The address for the account."
                    },
                    "city":{
                        "type":"string",
                        "description":"The city for the account."
                    },
                    "company":{
                        "type":"string",
                        "description":"The company name."
                    },
                    "country":{
                        "type":"string",
                        "description":"The country."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The customer's first name."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The customer's last name."
                    },
                    "middleName":{
                        "type":"string",
                        "description":"The customer's middle name."
                    },
                    "state":{
                        "type":"string",
                        "description":"The state."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The zip code."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "parent":{
                        "$ref":"#/components/schemas/Parent"
                    },
                    "children":{
                        "type":"array",
                        "description":"The list of child accounts in the organization hierarchy.",
                        "items":{
                            "$ref":"#/components/schemas/Children"
                        }
                    },
                    "organizationHierarchyType":{
                        "type":"integer",
                        "description":"The type of organization hierarchy, such as site or legal entity.",
                        "format":"int32"
                    },
                    "numberOfDirectChildren":{
                        "type":"integer",
                        "description":"The number of immediate children of the parent in the organization hierarchy.",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"organizationHierarchy"
                }
            },
            "GLIDSpec":{
                "required":[
                    "descr",
                    "glid"
                ],
                "type":"object",
                "properties":{
                    "glid":{
                        "type":"string",
                        "description":"The general ledger ID."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The general ledger label or name."
                    }
                },
                "xml":{
                    "name":"gLIDSpec"
                }
            },
            "UpdateServiceProfile":{
                "type":"object",
                "properties":{
                    "service":{
                        "$ref":"#/components/schemas/ServiceBase"
                    },
                    "devices":{
                        "type":"array",
                        "description":"The list of devices associated with the service profile.",
                        "items":{
                            "$ref":"#/components/schemas/Devices"
                        }
                    },
                    "profile":{
                        "$ref":"#/components/schemas/ProfileBase"
                    }
                },
                "xml":{
                    "name":"updateServiceProfile"
                }
            },
            "ProfileServExtratingType":{
                "required":[
                    "accountObj",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the profile was created.",
                        "format":"date-time"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the profile is effective from.",
                        "format":"date-time"
                    },
                    "accountObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the profile."
                    },
                    "selected":{
                        "type":"boolean",
                        "description":"Whether the profile is selected (<b>true</b>) or not (<b>false</b>)."
                    },
                    "parentName":{
                        "type":"string",
                        "description":"The name of the parent profile."
                    },
                    "multiValued":{
                        "type":"boolean",
                        "description":"Whether the profile has multiple values (<b>true</b>) or not (<b>false</b>)."
                    },
                    "dataArray":{
                        "type":"array",
                        "description":"A list of extended rating attributes (ERAs).",
                        "items":{
                            "$ref":"#/components/schemas/DataArray"
                        }
                    },
                    "extrating":{
                        "$ref":"#/components/schemas/Extrating"
                    }
                }
            },
            "BatchPaymentTemplates":{
                "required":[
                    "locale",
                    "payTypeName",
                    "templateName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "payTypeCode":{
                        "type":"integer",
                        "description":"The payment method type. Allowed Values: <ul><li><b>10011</b> (Cash payment batch)</li><li><b>10012</b> (Check payment batch)</li><li><b>10013</b> (Wire-transfer payment batch)</li><li><b>10014</b> (Inter-bank payment order payment batch)</li><li><b>10015</b> (Postal order payment batch)</li><li><b>10017</b> (Failed payment batch)</li></ul>",
                        "format":"int32"
                    },
                    "payTypeName":{
                        "type":"string",
                        "description":"The payment type name, such as Cash Payment Batch or Failed Payment Batch."
                    },
                    "templateName":{
                        "type":"string",
                        "description":"The file name for the batch payment template."
                    },
                    "locale":{
                        "type":"string",
                        "description":"The template's locale, such as <b>en_US</b> or <b>fr_FR</b>. For a list of valid values, see \\\"Locale Names\\\" in <i>BRM Developer's Guide</i>."
                    }
                },
                "xml":{
                    "name":"batchPaymentTemplates"
                }
            },
            "CustomerPackages":{
                "type":"object",
                "properties":{
                    "billUnitPackages":{
                        "type":"array",
                        "description":"A list of purchased packages",
                        "items":{
                            "$ref":"#/components/schemas/BillUnitPackages"
                        }
                    }
                },
                "xml":{
                    "name":"customerPackages"
                }
            },
            "ColumnDefinitions":{
                "type":"object",
                "properties":{
                    "label":{
                        "type":"string"
                    },
                    "icon":{
                        "type":"boolean"
                    },
                    "width":{
                        "type":"string"
                    },
                    "visible":{
                        "type":"boolean"
                    },
                    "sortable":{
                        "type":"boolean"
                    },
                    "tooltip":{
                        "type":"string"
                    },
                    "resizable":{
                        "type":"boolean"
                    },
                    "alignment":{
                        "type":"string"
                    },
                    "name":{
                        "type":"string",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "OfferStatus":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the status takes effect.",
                        "format":"date-time"
                    },
                    "statusCode":{
                        "type":"integer",
                        "description":"The code associated with the offer's status. Can be one of the following: <ul><li><b>0</b>: Not set</li><li><b>1</b>: Active</li><li><b>2</b>: Inactive</li><li><b>3</b>: Canceled</li></ul>",
                        "format":"int32"
                    },
                    "chargeOffers":{
                        "type":"array",
                        "description":"The list of charge offers.",
                        "items":{
                            "$ref":"#/components/schemas/ChargeOffers"
                        }
                    },
                    "discountOffers":{
                        "type":"array",
                        "description":"The list of discount offers.",
                        "items":{
                            "$ref":"#/components/schemas/DiscountOffers"
                        }
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"offerStatus"
                }
            },
            "Charge":{
                "required":[
                    "amount",
                    "priceTag",
                    "type"
                ],
                "type":"object",
                "properties":{
                    "amount":{
                        "type":"number",
                        "description":"The charge amount."
                    },
                    "priceTag":{
                        "type":"string",
                        "description":"The charge's price tag."
                    },
                    "type":{
                        "type":"string",
                        "description":"The charge type."
                    }
                },
                "description":"The charges."
            },
            "ApplyLoan":{
                "required":[
                    "amount",
                    "channel",
                    "locale",
                    "resourceId",
                    "zoneMapName",
                    "zoneMapTarget"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "service":{
                        "$ref":"#/components/schemas/Service"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The loan amount."
                    },
                    "resourceId":{
                        "type":"number",
                        "description":"The ID of the resource associated with the loan."
                    },
                    "locale":{
                        "type":"string",
                        "description":"The locale associated with the loan."
                    },
                    "zoneMapTarget":{
                        "type":"string",
                        "description":"The zone map associated with the loan."
                    },
                    "zoneMapName":{
                        "type":"string",
                        "description":"The name of the zone map associated with the loan."
                    },
                    "channel":{
                        "type":"string",
                        "description":"The channel requesting the loan. For example, USSD or IVR."
                    },
                    "type":{
                        "type":"integer",
                        "description":"The type of loan. Can be one of the following: <ul><li><b>0</b>: Currency or emergency loan</li><li><b>1</b>: Data loan</li><li><b>2</b>: Hybrid loan</li><ul>",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"applyLoan"
                }
            },
            "SharingMember":{
                "required":[
                    "membership"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "orderedBalGroupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "membership":{
                        "type":"array",
                        "description":"The list of sharing groups that the member belongs to.",
                        "items":{
                            "$ref":"#/components/schemas/Membership"
                        }
                    }
                },
                "xml":{
                    "name":"sharingMember"
                }
            },
            "Sponsor":{
                "required":[
                    "description",
                    "eventDescription",
                    "eventType",
                    "name",
                    "sponsorshipRef",
                    "validFrom",
                    "validTo"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "sponsorshipRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "offeringRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the sharing group."
                    },
                    "quantity":{
                        "type":"string",
                        "description":"The quantity of the sponsored offer in the sharing group."
                    },
                    "description":{
                        "type":"string",
                        "description":"The sponsored offer's description."
                    },
                    "eventType":{
                        "type":"string",
                        "description":"The event type associated with the sponsored offer."
                    },
                    "eventDescription":{
                        "type":"string",
                        "description":"The description of the event associated with the sponsored offer."
                    },
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the sponsored offer's validity starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the sponsored offer's validity ends.",
                        "format":"date-time"
                    },
                    "rollupEnabledSponsor":{
                        "type":"boolean",
                        "description":"Whether this is a rollup-enabled sponsor (<b>true</b>) or not (<b>false</b>)."
                    },
                    "selected":{
                        "type":"boolean",
                        "description":"Whether the sponsored offer is selected (<b>true</b>) or not (<b>false</b>)."
                    }
                },
                "xml":{
                    "name":"sponsor"
                }
            },
            "OfferDetail":{
                "required":[
                    "details",
                    "event"
                ],
                "type":"object",
                "properties":{
                    "event":{
                        "type":"string",
                        "description":"The event associated with the offer."
                    },
                    "details":{
                        "type":"array",
                        "description":"The offer details.",
                        "items":{
                            "$ref":"#/components/schemas/Details"
                        }
                    }
                },
                "xml":{
                    "name":"offerDetail"
                }
            },
            "CreditCardType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The payment instrument's name."
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "correctiveInvoiceType":{
                        "type":"integer",
                        "description":"The type of invoice to create, such as an invoice correction letter or a replacement invoice.",
                        "format":"int32"
                    },
                    "details":{
                        "$ref":"#/components/schemas/CreditCardTypeDetails"
                    }
                }
            },
            "DiscountOffers":{
                "type":"object",
                "properties":{
                    "ref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "description":"The list of discount offers."
            },
            "TransferOut":{
                "required":[
                    "name"
                ],
                "type":"object",
                "properties":{
                    "itemNo":{
                        "type":"string",
                        "description":"The bill item number for the bill item to which the balance was transferred."
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the bill item to which the balance was transferred."
                    },
                    "due":{
                        "type":"number",
                        "description":"The due date for the bill item to which the balance was transferred."
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The creation date for the bill item to which the balance was transferred.",
                        "format":"date-time"
                    },
                    "itemRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "transfered":{
                        "type":"number",
                        "description":"The amount transferred to the target bill item."
                    }
                }
            },
            "Cells":{
                "type":"object",
                "properties":{
                    "type":{
                        "type":"string"
                    },
                    "args":{
                        "type":"array",
                        "items":{
                            "type":"string"
                        }
                    },
                    "format":{
                        "type":"array",
                        "items":{
                            "type":"string"
                        }
                    },
                    "styles":{
                        "type":"array",
                        "items":{
                            "type":"string"
                        }
                    },
                    "types":{
                        "type":"array",
                        "items":{
                            "type":"string"
                        }
                    },
                    "name":{
                        "type":"string",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "OverriddenCharges":{
                "required":[
                    "charges",
                    "event"
                ],
                "type":"object",
                "properties":{
                    "event":{
                        "type":"string",
                        "description":"The event associated with the overridden charges."
                    },
                    "charges":{
                        "type":"array",
                        "description":"The charge details.",
                        "items":{
                            "$ref":"#/components/schemas/Charges"
                        }
                    }
                },
                "xml":{
                    "name":"overriddenCharges"
                }
            },
            "Filter":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "defaultPageSize":{
                        "type":"integer",
                        "format":"int32",
                        "default":50
                    },
                    "criteria":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Criteria"
                        }
                    }
                }
            },
            "CollectionsGroup":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "parentBillUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "newParentBillUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the collections sharing group."
                    },
                    "parentBillUnitDue":{
                        "type":"number",
                        "description":"The amount owed by the collections sharing group owner."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "members":{
                        "type":"array",
                        "description":"The list of members in the collections sharing group.",
                        "items":{
                            "$ref":"#/components/schemas/Members"
                        }
                    }
                },
                "xml":{
                    "name":"collectionsGroup"
                }
            },
            "TargetTransferFee":{
                "type":"object",
                "properties":{
                    "amount":{
                        "type":"number",
                        "description":"The amount of the fee."
                    },
                    "feeTax":{
                        "type":"number",
                        "description":"The tax on the fee."
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource associated with the fee.",
                        "format":"int32"
                    }
                },
                "description":"The transfer fee to charge the target."
            },
            "Location":{
                "required":[
                    "location"
                ],
                "type":"object",
                "properties":{
                    "location":{
                        "type":"string",
                        "description":"A location where the loan is allowed or not, depending on the value of <b>locationMode</b>."
                    }
                }
            },
            "Bills":{
                "required":[
                    "amount",
                    "billNo"
                ],
                "type":"object",
                "properties":{
                    "amount":{
                        "type":"number",
                        "description":"The amount due for this bill."
                    },
                    "billNo":{
                        "type":"string",
                        "description":"The bill number."
                    }
                },
                "description":"The list of bills associated with the recycled payment."
            },
            "ServiceProfile":{
                "type":"object",
                "properties":{
                    "service":{
                        "$ref":"#/components/schemas/ServiceType"
                    },
                    "profile":{
                        "$ref":"#/components/schemas/ProfileType"
                    },
                    "devices":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/DeviceType"
                        }
                    }
                },
                "xml":{
                    "name":"serviceProfile"
                }
            },
            "BundleTransition":{
                "required":[
                    "fromBundle",
                    "toBundle"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "toBundle":{
                        "type":"string",
                        "description":"The new bundle that the customer is transitioning to."
                    },
                    "fromBundle":{
                        "type":"string",
                        "description":"The old bundle that the customer is transitioning from."
                    },
                    "transitionType":{
                        "type":"integer",
                        "description":"The transition type, such as an upgrade or downgrade. Use the keys returned by the Get Transition Types endpoint.",
                        "format":"int32"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"bundleTransition"
                }
            },
            "Account":{
                "required":[
                    "accountNumber",
                    "billUnit",
                    "contacts",
                    "creationDate",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the account was created.",
                        "format":"date-time"
                    },
                    "pendingDeferredActionsCount":{
                        "type":"integer",
                        "description":"The number of deferred actions in pending state.",
                        "format":"int32"
                    },
                    "customerDurationDays":{
                        "type":"integer",
                        "description":"The number of days that the account has been a customer.",
                        "format":"int32"
                    },
                    "customerDurationYears":{
                        "type":"integer",
                        "description":"The number of years that the account has been a customer.",
                        "format":"int32"
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "accountFirstName":{
                        "type":"string",
                        "description":"The account owner's first name."
                    },
                    "accountLastName":{
                        "type":"string",
                        "description":"The account owner's last name."
                    },
                    "securityCode1":{
                        "type":"string",
                        "description":"The first access code for voice verification."
                    },
                    "securityCode2":{
                        "type":"string",
                        "description":"The second access code for voice verification."
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The code for the account's primary currency.",
                        "format":"int32"
                    },
                    "currencySecondary":{
                        "type":"integer",
                        "description":"The account's secondary currency.",
                        "format":"int32"
                    },
                    "locale":{
                        "type":"string",
                        "description":"The customer's locale, such as <b>en_US</b> or <b>fr_FR</b>. For a list of valid values, see \"Locale Names\" in <i>BRM Developer's Guide</i>."
                    },
                    "balanceGroupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "customerTypeCode":{
                        "type":"integer",
                        "description":"The customer type: <b>1</b> (standard), <b>2</b> (brand), or <b>3</b> (subscription).",
                        "format":"int32"
                    },
                    "organizationHierarchyTypeCode":{
                        "type":"integer",
                        "description":"The internal code for the account's organization hierarchy type.",
                        "format":"int32"
                    },
                    "businessType":{
                        "type":"string",
                        "description":"The account's business type: <b>1</b> (consumer) or <b>2</b> (business)."
                    },
                    "parentRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "contacts":{
                        "type":"array",
                        "description":"An account's contact information.",
                        "items":{
                            "$ref":"#/components/schemas/Contacts"
                        }
                    },
                    "statusCode":{
                        "type":"integer",
                        "description":"The code for the account's status: <b>0</b> (defunct), <b>10100</b> (active), <b>10102</b> (inactive), or <b>10103</b> (closed).",
                        "format":"int32"
                    },
                    "timezoneId":{
                        "type":"string",
                        "description":"The ID of the account's time zone."
                    },
                    "wallet":{
                        "$ref":"#/components/schemas/Wallet"
                    },
                    "billUnit":{
                        "type":"array",
                        "description":"A bill unit.",
                        "items":{
                            "$ref":"#/components/schemas/BillUnit"
                        }
                    }
                },
                "description":"An account.",
                "xml":{
                    "name":"account"
                }
            },
            "ServiceGroup":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "serviceId":{
                        "type":"string",
                        "description":"The service's ID."
                    },
                    "serviceName":{
                        "type":"string",
                        "description":"The service's name."
                    },
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "lastStatusChange":{
                        "type":"string",
                        "description":"The date and time the service's status was last modified.",
                        "format":"date-time"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The service's status.",
                        "format":"int32"
                    },
                    "bundles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/PurchasedBundle"
                        }
                    }
                }
            },
            "SettlementEvent":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "percent":{
                        "type":"number",
                        "description":"The amount of the adjustment, as a percentage. For example, enter <b>5</b> for 5%."
                    },
                    "billItem":{
                        "type":"array",
                        "description":"The bill item details.",
                        "items":{
                            "$ref":"#/components/schemas/BillItem"
                        }
                    },
                    "appliesToTotalOfAllEvents":{
                        "type":"boolean",
                        "description":"Whether the adjustment applies to the total from all events (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "taxType":{
                        "type":"integer",
                        "description":"Whether to include tax in the adjustment (<b>8</b>), exclude the tax and adjust only the amount (<b>9</b>), or adjust only the tax (<b>10</b>).",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "events":{
                        "$ref":"#/components/schemas/Events"
                    }
                },
                "xml":{
                    "name":"settlementEvent"
                }
            },
            "BillItem":{
                "required":[
                    "amount",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The bill item's name."
                    },
                    "type":{
                        "type":"string",
                        "description":"The bill item's type."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "arBillinfoRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "arBillRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billinfoRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the bill item was created.",
                        "format":"date-time"
                    },
                    "closedDate":{
                        "type":"string",
                        "description":"The date and time the bill item was closed. If the bill item is reopened for an adjustment, this is reset until the bill item is closed again.",
                        "format":"date-time"
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The currency for the bill item, copied from the currency of the associated account.",
                        "format":"int32"
                    },
                    "deltaDue":{
                        "type":"number",
                        "description":"The delta amount due."
                    },
                    "disputed":{
                        "type":"number",
                        "description":"The total amount from disputes associated with the bill item."
                    },
                    "adjusted":{
                        "type":"number",
                        "description":"The total amount from debit and credit adjustments made to the bill item."
                    },
                    "due":{
                        "type":"number",
                        "description":"The amount due for the bill item."
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The date when the amount in the bill item is due.",
                        "format":"date-time"
                    },
                    "itemNo":{
                        "type":"string",
                        "description":"The bill item's number."
                    },
                    "login":{
                        "type":"string",
                        "description":"The username associated with the bill item."
                    },
                    "received":{
                        "type":"number",
                        "description":"The amount of payments or credits applied to the bill item."
                    },
                    "transfered":{
                        "type":"number",
                        "description":"The amount transferred out of the bill item."
                    },
                    "writeoff":{
                        "type":"number",
                        "description":"The amount written off for the bill item."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the bill item."
                    },
                    "discount":{
                        "type":"number",
                        "description":"The amount discounted for the bill item."
                    },
                    "billNo":{
                        "type":"string",
                        "description":"The bill number."
                    },
                    "billInfoId":{
                        "type":"string",
                        "description":"The ID of the /billinfo object."
                    },
                    "accountName":{
                        "type":"string",
                        "description":"The name of the account."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The first name of the account holder."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The last name of the account holder."
                    },
                    "serviceTypeName":{
                        "type":"string",
                        "description":"The name of the service type."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number associated with the bill item."
                    },
                    "aliasList":{
                        "type":"array",
                        "description":"The list of aliases in the bill item.",
                        "items":{
                            "$ref":"#/components/schemas/AliasList"
                        }
                    },
                    "status":{
                        "type":"string",
                        "description":"The status of the bill item: active (<b>10100</b>), inactive (<b>10102</b>), or closed (<b>10103</b>)"
                    },
                    "transferInto":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/TransferInto"
                        }
                    },
                    "transferOut":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/TransferOut"
                        }
                    }
                },
                "description":"The bill item details.",
                "xml":{
                    "name":"billItem"
                }
            },
            "PaymentBatchStatistics":{
                "required":[
                    "fileCreationDate",
                    "fileName",
                    "institutionName",
                    "lockBoxId",
                    "lockBoxName",
                    "processCompletionDate",
                    "processEndDate",
                    "processStartDate",
                    "processedBy",
                    "totalAmount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "batchRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "lockBoxName":{
                        "type":"string",
                        "description":"The lockbox's name."
                    },
                    "processedBy":{
                        "type":"string",
                        "description":"The company that processed the lockbox payments."
                    },
                    "lockBoxId":{
                        "type":"string",
                        "description":"The lockbox's ID."
                    },
                    "institutionName":{
                        "type":"string",
                        "description":"The name of the institution, such as a commercial bank, that processed the batch payment."
                    },
                    "totalPaymentsProcessed":{
                        "type":"integer",
                        "description":"The total number of payments that have been processed.",
                        "format":"int32"
                    },
                    "totalPayments":{
                        "type":"integer",
                        "description":"The total number of payments in the batch payment file.",
                        "format":"int32"
                    },
                    "totalPaymentsSuspended":{
                        "type":"integer",
                        "description":"The total number of payments that were suspended.",
                        "format":"int32"
                    },
                    "processStartDate":{
                        "type":"string",
                        "description":"The date BRM started processing the batch payment file.",
                        "format":"date-time"
                    },
                    "processEndDate":{
                        "type":"string",
                        "description":"The date BRM stopped processing the batch payment file.",
                        "format":"date-time"
                    },
                    "processCompletionDate":{
                        "type":"string",
                        "description":"The date BRM completed processing the batch payment file.",
                        "format":"date-time"
                    },
                    "durationInQueue":{
                        "type":"integer",
                        "description":"The amount of time that the batch payment file was in the BRM queue.",
                        "format":"int32"
                    },
                    "durationProcessed":{
                        "type":"integer",
                        "description":"The amount of time that the batch payment file was being processed by BRM.",
                        "format":"int32"
                    },
                    "batchCurrency":{
                        "type":"integer",
                        "description":"The currency of all payments in the batch payment file.",
                        "format":"int32"
                    },
                    "fileName":{
                        "type":"string",
                        "description":"The name of the batch payment file."
                    },
                    "fileCreationDate":{
                        "type":"string",
                        "description":"The date and time the batch payment file was created.",
                        "format":"date-time"
                    },
                    "fileSize":{
                        "type":"number",
                        "description":"The size of the batch payment file.",
                        "format":"double"
                    },
                    "totalAmount":{
                        "type":"number",
                        "description":"The total amount of all payments in the batch payment file."
                    }
                },
                "xml":{
                    "name":"paymentBatchStatistics"
                }
            },
            "CreditorInfo":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "creditorsDetails":{
                        "type":"array",
                        "description":"Details about a creditor.",
                        "items":{
                            "$ref":"#/components/schemas/CreditorsDetails"
                        }
                    }
                },
                "xml":{
                    "name":"creditorInfo"
                }
            },
            "Values":{
                "required":[
                    "value"
                ],
                "type":"object",
                "properties":{
                    "stringId":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "stringVersion":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "value":{
                        "type":"string"
                    }
                }
            },
            "CustomerAssets":{
                "type":"object",
                "properties":{
                    "billUnitServices":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BillUnitServices"
                        }
                    }
                },
                "xml":{
                    "name":"customerAssets"
                }
            },
            "TransferInto":{
                "required":[
                    "name"
                ],
                "type":"object",
                "properties":{
                    "itemNo":{
                        "type":"string",
                        "description":"The bill item number for the bill item from which the balance was transferred."
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the bill item from which the balance was transferred."
                    },
                    "due":{
                        "type":"number",
                        "description":"The due date for the bill item from which the balance was transferred."
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The creation date for the bill item from which the balance was transferred.",
                        "format":"date-time"
                    },
                    "itemRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "transfered":{
                        "type":"number",
                        "description":"The amount transferred from the source bill item."
                    }
                }
            },
            "LoanDetail":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "availableLoanLimit":{
                        "type":"number",
                        "description":"The amount that the customer can currently be loaned, based on the amount specified in <b>creditLimit</b> and the current total outstanding amount for all active loans."
                    },
                    "creditLimit":{
                        "type":"number",
                        "description":"The maximum total amount the customer can be loaned."
                    },
                    "loanDetails":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/LoanDetails"
                        }
                    }
                },
                "xml":{
                    "name":"loanDetail"
                }
            },
            "PaymentMethods":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "paymentMethods":{
                        "$ref":"#/components/schemas/Wallet"
                    }
                },
                "xml":{
                    "name":"paymentMethods"
                }
            },
            "CollectionsActions":{
                "required":[
                    "action",
                    "actionId",
                    "completedDate",
                    "configCollectionsId",
                    "dueDate"
                ],
                "type":"object",
                "properties":{
                    "action":{
                        "type":"string",
                        "description":"The collections action's name."
                    },
                    "actionId":{
                        "type":"string",
                        "description":"The collections action's ID."
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The date and time the collections action is due.",
                        "format":"date-time"
                    },
                    "completedDate":{
                        "type":"string",
                        "description":"The date and time the collections action was completed.",
                        "format":"date-time"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The collections action amount."
                    },
                    "configCollectionsId":{
                        "type":"string",
                        "description":"The collections action's configuration ID."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The collections action's status. Can be one of the following:<ul><li><b>0</b>: Pending</li><li><b>1</b>: Canceled</li><li><b>2</b>: Completed</li><li><b>3</b>: Error</li><li><b>4</b>: Did not run.</li><li><b>5</b>: Waiting for a dependent</li></ul>",
                        "format":"int32"
                    }
                },
                "description":"The list of collections actions for the account."
            },
            "Item":{
                "type":"object",
                "properties":{
                    "labelKey":{
                        "type":"string",
                        "xml":{
                            "name":"label-key"
                        }
                    },
                    "descriptionKey":{
                        "type":"string",
                        "xml":{
                            "name":"description-key"
                        }
                    },
                    "permissionKey":{
                        "type":"string",
                        "xml":{
                            "name":"permission-key"
                        }
                    },
                    "actionKey":{
                        "type":"string",
                        "xml":{
                            "name":"action-key"
                        }
                    },
                    "version":{
                        "type":"string"
                    },
                    "id":{
                        "type":"string",
                        "xml":{
                            "attribute":true
                        }
                    },
                    "separator":{
                        "type":"boolean",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "SubscriberPreferencesType":{
                "required":[
                    "name"
                ],
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string"
                    },
                    "subscriberPreferenceId":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "type":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "stringId":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "stringVersion":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "values":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Values"
                        }
                    },
                    "default":{
                        "type":"string"
                    }
                }
            },
            "ServiceType":{
                "required":[
                    "login",
                    "password"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "pendingDeferredActionsCount":{
                        "type":"integer",
                        "description":"The number of deferred actions that are pending for the service.",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "aliasList":{
                        "type":"array",
                        "description":"The list of aliases associated with the service.",
                        "items":{
                            "$ref":"#/components/schemas/AliasList"
                        }
                    },
                    "balanceGroupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the service type was created.",
                        "format":"date-time"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "format":"date-time"
                    },
                    "lastStatusComment":{
                        "type":"string",
                        "description":"The comment associated with the last status change."
                    },
                    "lastStatusChange":{
                        "type":"string",
                        "description":"The date and time of the last status change.",
                        "format":"date-time"
                    },
                    "login":{
                        "type":"string",
                        "description":"The login associated with the service."
                    },
                    "lifeCycleState":{
                        "type":"integer",
                        "description":"The current lifecycle state.",
                        "format":"int32"
                    },
                    "lastModified":{
                        "type":"string",
                        "description":"The date and time the service was last modified.",
                        "format":"date-time"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the service."
                    },
                    "password":{
                        "type":"string",
                        "description":"The password associated with the service."
                    },
                    "passwordExpiration":{
                        "type":"string",
                        "description":"The date and time the password expires.",
                        "format":"date-time"
                    },
                    "passwordStatus":{
                        "type":"integer",
                        "description":"The current status of the password.",
                        "format":"int32"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status.",
                        "format":"int32"
                    },
                    "statusFlags":{
                        "type":"integer",
                        "description":"The status flags.",
                        "format":"int32"
                    },
                    "subscriptionServiceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceAccessLevel":{
                        "type":"string",
                        "description":"The service access level."
                    },
                    "balGrpIndex":{
                        "type":"integer",
                        "description":"The balance group index.",
                        "format":"int32"
                    },
                    "nameinfoObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "svcExpLastNotiOffset":{
                        "type":"string",
                        "description":"The notification offset."
                    },
                    "svcExpLastNotiT":{
                        "type":"string",
                        "description":"The last notification time.",
                        "format":"date-time"
                    }
                }
            },
            "TaxInfo":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "businessAccount":{
                        "type":"boolean",
                        "description":"Whether this is a business account (<b>true</b>) or not (<b>false</b>).",
                        "xml":{
                            "name":"BusinessAccount"
                        }
                    },
                    "insideIncorporatedArea":{
                        "type":"boolean",
                        "description":"Whether the customer is located inside the incorporated area of a city (<b>true</b>) or not (<b>false</b>).",
                        "xml":{
                            "name":"InsideIncorporatedArea"
                        }
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "taxExemptDetails":{
                        "type":"array",
                        "description":"The details associated with a tax exemption.",
                        "items":{
                            "$ref":"#/components/schemas/TaxExemptDetails"
                        }
                    }
                },
                "xml":{
                    "name":"taxInfo"
                }
            },
            "DepositTxnNotes":{
                "required":[
                    "createdAt",
                    "id",
                    "modifiedAt",
                    "note"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit transaction note ID."
                    },
                    "note":{
                        "type":"string",
                        "description":"The deposit transaction note."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit transaction note is created."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The date when the deposit transaction note is modified."
                    }
                }
            },
            "Membership":{
                "type":"object",
                "properties":{
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "groupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "description":"The list of sharing groups that the member belongs to."
            },
            "BillUnitHierarchy":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "parentBillUnitId":{
                        "type":"string",
                        "description":"The ID of parent bill unit."
                    },
                    "billUnitId":{
                        "type":"string",
                        "description":"The ID of this bill unit."
                    },
                    "arBillUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "paymentInstrumentRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "billCurrentDue":{
                        "type":"boolean",
                        "description":"The current amount due."
                    },
                    "rollUp":{
                        "type":"boolean"
                    }
                },
                "xml":{
                    "name":"billUnitHierarchy"
                }
            },
            "ArActionsList":{
                "required":[
                    "arActionAmount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The customer's first name."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The customer's last name."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the A/R action takes effect.",
                        "format":"date-time"
                    },
                    "createdDate":{
                        "type":"string",
                        "description":"The date and time the A/R action was created.",
                        "format":"date-time"
                    },
                    "arActionType":{
                        "type":"integer",
                        "description":"The type of A/R action: item adjustment (<b>0</b>), event adjustment (<b>1</b>), bill adjustment (<b>2</b>), account adjustment (<b>3</b>), refund (<b>4</b>), open item dispute (<b>6</b>), settled item dispute (<b>7</b>), item payment (<b>8</b>), open event dispute (<b>9</b>), settled event dispute (<b>10</b>), open bill dispute (<b>11</b>), settled bill dispute (<b>12</b>), account writeoff (<b>13</b>), bill writeoff (<b>14</b>), or item writeoff (<b>15</b>).",
                        "format":"int32"
                    },
                    "arActionAmount":{
                        "type":"number",
                        "description":"The amount associated with the A/R action."
                    },
                    "arUnallocatedAmount":{
                        "type":"number",
                        "description":"The amount that is still unallocated."
                    },
                    "arActionId":{
                        "type":"string",
                        "description":"The ID of the A/R action."
                    },
                    "arActionRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billUnitName":{
                        "type":"string",
                        "description":"The name of the bill unit."
                    },
                    "billID":{
                        "type":"string",
                        "description":"The ID of the bill."
                    },
                    "itemName":{
                        "type":"string",
                        "description":"The item name."
                    },
                    "billingStatus":{
                        "type":"integer",
                        "description":"The billing status: billed (<b>1</b>) or unbilled (<b>2</b>).",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"arActionsList"
                }
            },
            "BillDetails":{
                "required":[
                    "accountNumber",
                    "billId",
                    "billUnitId",
                    "dueAmount",
                    "dueDate"
                ],
                "type":"object",
                "properties":{
                    "billId":{
                        "type":"string",
                        "description":"The bill ID."
                    },
                    "cycleStarts":{
                        "type":"string",
                        "description":"The date and time the billing cycle starts.",
                        "format":"date-time"
                    },
                    "cycleEnds":{
                        "type":"string",
                        "description":"The date and time the billing cycle ends.",
                        "format":"date-time"
                    },
                    "dueAmount":{
                        "type":"number",
                        "description":"The total amount due."
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The due date for the bill.",
                        "format":"date-time"
                    },
                    "itemsAffectedCount":{
                        "type":"integer",
                        "description":"The number of bill items affected by the bill.",
                        "format":"int64"
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number associated with the bill."
                    },
                    "billUnitId":{
                        "type":"string",
                        "description":"The ID for the bill unit associated with the bill."
                    },
                    "itemsAffected":{
                        "type":"array",
                        "description":"Affected bill items.",
                        "items":{
                            "$ref":"#/components/schemas/ItemsAffected"
                        }
                    }
                },
                "description":"The list of bill details associated with the payment."
            },
            "RefundedDetails":{
                "required":[
                    "amount",
                    "item"
                ],
                "type":"object",
                "properties":{
                    "amount":{
                        "type":"number"
                    },
                    "item":{
                        "type":"string"
                    },
                    "itemRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                }
            },
            "LocationDetails":{
                "required":[
                    "locale",
                    "zoneMapName",
                    "zoneMapTarget"
                ],
                "type":"object",
                "properties":{
                    "locale":{
                        "type":"string",
                        "description":"A locale."
                    },
                    "zoneMapTarget":{
                        "type":"string",
                        "description":"The target zone map."
                    },
                    "zoneMapName":{
                        "type":"string",
                        "description":"The zone map's name."
                    }
                }
            },
            "Actions":{
                "required":[
                    "action",
                    "actionId",
                    "completedDate",
                    "dueDate"
                ],
                "type":"object",
                "properties":{
                    "actionId":{
                        "type":"string",
                        "description":"The ID of the collections action."
                    },
                    "action":{
                        "type":"string",
                        "description":"The collections action's name."
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The date and time the collections action is due.",
                        "format":"date-time"
                    },
                    "completedDate":{
                        "type":"string",
                        "description":"The date and time the collections action was completed.",
                        "format":"date-time"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status of the collections action: <b>0</b> (Pending) , <b>1</b> (Canceled), <b>2</b> (Completed), <b>3</b> (Error), and <b>4</b> (No execute).",
                        "format":"int32"
                    }
                },
                "description":"List of collections actions."
            },
            "TimePeriod":{
                "required":[
                    "endDateTime",
                    "startDateTime"
                ],
                "type":"object",
                "properties":{
                    "startDateTime":{
                        "type":"string"
                    },
                    "endDateTime":{
                        "type":"string"
                    }
                }
            },
            "PurchasingService":{
                "required":[
                    "serviceKey"
                ],
                "type":"object",
                "properties":{
                    "service":{
                        "$ref":"#/components/schemas/ServiceBase"
                    },
                    "serviceKey":{
                        "type":"string",
                        "description":"The service key."
                    },
                    "serviceType":{
                        "type":"string",
                        "description":"The service type."
                    },
                    "customizedBundles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/CustomizedBundleForPurchase"
                        }
                    },
                    "balanceGroupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "balGrpIndex":{
                        "type":"integer",
                        "description":"The balance group index.",
                        "format":"int32"
                    },
                    "groupParent":{
                        "type":"boolean",
                        "description":"Whether this is a parent in a service group (<b>true</b>) or not (<b>false</b>)."
                    },
                    "subscriptionIndex":{
                        "type":"integer",
                        "description":"The subscription index.",
                        "format":"int32"
                    },
                    "devices":{
                        "type":"array",
                        "description":"The list of devices associated with the service.",
                        "items":{
                            "$ref":"#/components/schemas/Devices"
                        }
                    },
                    "profiles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ProfileBase"
                        }
                    }
                }
            },
            "DisputeItem":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    }
                },
                "xml":{
                    "name":"disputeItem"
                }
            },
            "SharingGroupMembers":{
                "required":[
                    "groupType"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "groupType":{
                        "type":"string",
                        "description":"The sharing group type. Allowed Values: <ul><li><b>H_PSG</b> (Hierarchy product sharing group)</li><li><b>PR_PSG</b> (Payment responsibility product sharing group)</li><li><b>H_DSG</b> (Hierarchy discount sharing group)</li><li><b>PR_DSG</b> (Payment responsibility discount sharing group)</li></ul>"
                    },
                    "memberDetails":{
                        "type":"array",
                        "description":"The list of sharing group members.",
                        "items":{
                            "$ref":"#/components/schemas/MemberDetails"
                        }
                    }
                }
            },
            "BillUnitServices":{
                "type":"object",
                "properties":{
                    "billUnitID":{
                        "type":"string",
                        "description":"The bill unit's ID."
                    },
                    "billUnitName":{
                        "type":"string",
                        "description":"The bill unit's name."
                    },
                    "services":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Service"
                        }
                    }
                }
            },
            "DepositTxnPayment":{
                "required":[
                    "completedAt",
                    "createdAt",
                    "customerDepositRef",
                    "customerRef",
                    "glCode",
                    "href",
                    "id",
                    "notes",
                    "paymentRef"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit payment ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the deposit payment."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit payment is created."
                    },
                    "completedAt":{
                        "type":"string",
                        "description":"The date when the deposit payment is completed."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The deposit payment transaction status. Allowed Values: <ul><li><b>1</b> (Completed)</li><li><b>2</b> (Failed)</li><li><b>3</b> (Pending)</li></ul>",
                        "format":"int32"
                    },
                    "paymentAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "customerDepositRef":{
                        "type":"string",
                        "description":"The deposit reference."
                    },
                    "notes":{
                        "type":"string",
                        "description":"The notes for the deposit payment."
                    },
                    "paymentMethodType":{
                        "type":"integer",
                        "description":"The payment method type. Allowed Values: <ul><li><b>10003</b> (Credit card)</li><li><b>10005</b> (Direct debit)</li><li><b>10011</b> (Cash)</li><li><b>10012</b> (Check)</li><li><b>10013</b> (Wire Transfer)</li><li><b>10014</b> (Inter-bank payment order)</li><li><b>10015</b> (Postal order)</li><li><b>3</b> (Prepayment)</li><li><b>4</b> (Other)</li></ul>",
                        "format":"int32"
                    },
                    "paymentRef":{
                        "type":"string",
                        "description":"The payment reference."
                    },
                    "glCode":{
                        "type":"string",
                        "description":"The general ledger code for the deposit payment."
                    },
                    "transactionId":{
                        "type":"string",
                        "description":"Indicates the transaction ID for the deposit payments."
                    },
                    "paymentId":{
                        "type":"string",
                        "description":"The payment ID for the deposit payments."
                    },
                    "payinfoTypeObject":{
                        "$ref":"#/components/schemas/PaymentTypeBase"
                    }
                }
            },
            "RelativeSettings":{
                "required":[
                    "units"
                ],
                "type":"object",
                "properties":{
                    "offset":{
                        "type":"integer",
                        "description":"The number of days, hours, minutes or so on after the cycle starts or ends.",
                        "format":"int32"
                    },
                    "units":{
                        "type":"string",
                        "description":"The offset unit. Can be one of the following: <ul><li>seconds</li><li>minutes</li><li>hours</li><li>days</li><li>months</li><li>cycles</li></ul>"
                    }
                }
            },
            "ReplaceScenarioDetails":{
                "type":"object",
                "properties":{
                    "scenarioFromID":{
                        "type":"string",
                        "description":"The ID of the old collections scenario that is being replaced."
                    },
                    "scenarioToID":{
                        "type":"string",
                        "description":"The ID of the new collections scenario."
                    },
                    "scheduleMode":{
                        "type":"integer",
                        "description":"The collections scheduling mode, such as billing due date or user billing date.",
                        "format":"int32"
                    },
                    "scheduleDate":{
                        "type":"string",
                        "description":"The date and time the new scenario actions are to be scheduled. This field is relevant only if the schedule mode is set to the user billing date. If no date is passed in and the schedule mode is user billing date, the scenario actions are scheduled for the current date.",
                        "format":"date-time"
                    },
                    "considerEntryDays":{
                        "type":"integer",
                        "description":"When calculating the due date for new scenario actions, whether to ignore the new collections scenario entry days (<b>0</b>) or to use the new entry days (<b>1</b>).",
                        "format":"int32"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"replaceScenarioDetails"
                }
            },
            "Bundles":{
                "required":[
                    "description",
                    "name"
                ],
                "type":"object",
                "properties":{
                    "ref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "required":{
                        "type":"boolean",
                        "description":"Whether the bundle is required (<b>true</b>) or optional (<b>false</b>).",
                        "default":false
                    },
                    "name":{
                        "type":"string",
                        "description":"The bundle's name."
                    },
                    "description":{
                        "type":"string",
                        "description":"The bundle's description."
                    },
                    "chargeoffers":{
                        "type":"array",
                        "description":"The list of charge offers in the bundle.",
                        "items":{
                            "$ref":"#/components/schemas/Chargeoffers"
                        }
                    },
                    "discountoffers":{
                        "type":"array",
                        "description":"The list of discount offers in the bundle.",
                        "items":{
                            "$ref":"#/components/schemas/Discountoffers"
                        }
                    },
                    "elem":{
                        "type":"integer",
                        "description":"The position of the entry in the array. For example, the first item in a list would have an <b>elem</b> value of <b>1</b>.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    }
                },
                "description":"The list of bundles in the service."
            },
            "CollectionsActionHistory":{
                "required":[
                    "actionHistory",
                    "actionId"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionId":{
                        "type":"string",
                        "description":"The ID of the collections action."
                    },
                    "actionHistory":{
                        "type":"array",
                        "description":"The list of collections action activities.",
                        "items":{
                            "$ref":"#/components/schemas/ActionHistory"
                        }
                    }
                },
                "xml":{
                    "name":"collectionsActionHistory"
                }
            },
            "BatchRecordsType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The customer's account number."
                    },
                    "accountCurrency":{
                        "type":"integer",
                        "description":"The account currency of the customer's account.",
                        "format":"int32"
                    },
                    "paymentId":{
                        "type":"string",
                        "description":"The ID of the record."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billNumber":{
                        "type":"string",
                        "description":"The customer's bill number to which the record should be applied."
                    },
                    "allocationDeferred":{
                        "type":"integer",
                        "description":"Whether to allocate payments to items (<b>0</b>) or keep them unallocated at the account level (<b>1</b>). This only applies to payments, so for refund and reversal batches, this value should be null.",
                        "format":"int32"
                    },
                    "amount":{
                        "type":"number",
                        "description":"Amount to be paid, refunded, or reversed."
                    },
                    "payInfo":{
                        "type":"object",
                        "description":"The payment information."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status of the record. Allowed values: <ul><li><b>0</b> (Input)</li><li><b>1</b> (Validated)</li><li><b>2</b> (Validated (with MBI distribution))</li><li><b>3</b> (Validated (written-off))</li><li><b>4</b> (Suspended)</li><li><b>5</b> (Manually Suspended)</li><li><b>6</b> (Allocate)</li><li><b>7</b> (Error)</li><li><b>8</b> (Submit)</li><li><b>9</b> (Batch Submit Error)</li><li><b>10</b> (Empty)</li></ul>",
                        "format":"int32"
                    },
                    "statusDescription":{
                        "type":"integer",
                        "description":"The status description of the record.  Allowed values: <ul><li><b>0</b> (Empty)</li><li><b>1</b> (Error finding account or bill)</li><li><b>2</b> (Error selecting items for payment)</li><li><b>3</b> (Payment allocation required)</li><li><b>4</b> (Payment allocation required due to overpayment)</li><li><b>5</b> (Payment allocation required due to underpayment)</li><li><b>6</b> (Payment allocation suggested)</li><li><b>7</b> (Payment allocation suggested due to overpayment)</li><li><b>8</b> (Payment allocation suggested due to underpayment)</li><li><b>9</b> (Multiple payments to the same account are not allowed in the same batch.  Remove or modify this row)</li><li><b>10</b> (Bill number and account number mismatch)</li><li><b>11</b> (Currency Conversion Rates)</li><li><b>12</b> (Duplicate Account)</li><li><b>13</b> (Invalid Payment ID)</li><li><b>14</b> (Duplicate Payment ID)</li><li><b>15</b> (Payment has already been reversed)</li><li><b>16</b> (Payment not able to reverse)</li><li><b>17</b> (Error in distribution to Multiple Bill Infos)</li></ul>",
                        "format":"int32"
                    },
                    "comment":{
                        "type":"string",
                        "description":"Notes associated with the record"
                    },
                    "firstName":{
                        "type":"string",
                        "description":"Person's first name"
                    },
                    "lastName":{
                        "type":"string",
                        "description":"Person's last name"
                    },
                    "dueAmount":{
                        "type":"number",
                        "description":"The amount due"
                    },
                    "channelId":{
                        "type":"integer",
                        "description":"The description of the channel",
                        "format":"int32"
                    },
                    "billItem":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BillItemType"
                        }
                    },
                    "billinfo":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BillinfoType"
                        }
                    },
                    "statusCode":{
                        "type":"integer",
                        "description":"The status code for the record"
                    },
                    "reasonId":{
                        "type":"integer",
                        "description":"The reason ID returned in by the validation opcode",
                        "format":"int32"
                    },
                    "reasonDomainId":{
                        "type":"integer",
                        "description":"The reason Domain ID returned by the validation opcode",
                        "format":"int32"
                    },
                    "selectResult":{
                        "type":"integer",
                        "description":"The result returned by the SelectItems opcode for validation",
                        "format":"int32"
                    },
                    "selectStatus":{
                        "type":"integer",
                        "description":"The select status returned by the SelectItems opcode",
                        "format":"int32"
                    },
                    "accountType":{
                        "type":"integer",
                        "description":"The accounting type associated with the account returned by the SelectItems opcode.",
                        "format":"int32"
                    },
                    "chargebackDate":{
                        "type":"integer",
                        "description":"The date and time the bill item was created.",
                        "format":"int64"
                    },
                    "originalTransactionDate":{
                        "type":"integer",
                        "description":"The original transaction date for reversal batch records",
                        "format":"int64"
                    }
                }
            },
            "Chargeoffers":{
                "required":[
                    "description",
                    "name"
                ],
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The name of the charge offer."
                    },
                    "description":{
                        "type":"string",
                        "description":"The charge offer's description."
                    },
                    "ref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "baseProductRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "baseProductName":{
                        "type":"string",
                        "description":"The name of the base product of the charge offer."
                    },
                    "baseProductCode":{
                        "type":"string",
                        "description":"The code of the base product of the charge offer."
                    },
                    "validityAlignMode":{
                        "type":"integer",
                        "description":"This shows if the product is an addon product and alignment of validity with other products.",
                        "format":"int32"
                    },
                    "gracePeriodUnit":{
                        "type":"integer",
                        "description":"The unit the grace period is measured in.",
                        "format":"int32"
                    },
                    "gracePeriodOffset":{
                        "type":"integer",
                        "description":"The number to offset the grace period by.",
                        "format":"int32"
                    },
                    "renewalMode":{
                        "type":"integer",
                        "description":"How to handle the charge offer's cycle alignment when its bundle is reactivated. Valid values: <ul><li><b>0</b>: Cycle aligns with the original billing date or configured specific day of the month.</li><li><b>1</b>: Cycle aligns with the reactivation date.</li></ul>",
                        "format":"int32"
                    }
                },
                "description":"The list of charge offers in the bundle."
            },
            "Contents":{
                "required":[
                    "item"
                ],
                "type":"object",
                "properties":{
                    "item":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Item"
                        }
                    }
                }
            },
            "Preference":{
                "required":[
                    "key",
                    "value"
                ],
                "type":"object",
                "properties":{
                    "key":{
                        "type":"string",
                        "description":"A preference key."
                    },
                    "value":{
                        "type":"string",
                        "description":"A preference value."
                    }
                },
                "description":"A preference."
            },
            "ServicesAndBillItems":{
                "required":[
                    "billItem",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "deviceID":{
                        "type":"string",
                        "description":"The ID of the device related to the service."
                    },
                    "serviceID":{
                        "type":"string",
                        "description":"The service's ID."
                    },
                    "serviceType":{
                        "type":"string",
                        "description":"The service's type."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The first name of the customer owning the service."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The last name of the customer owning the service."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number associated with the service."
                    },
                    "billItem":{
                        "type":"array",
                        "description":"The bill item details.",
                        "items":{
                            "$ref":"#/components/schemas/BillItem"
                        }
                    }
                }
            },
            "ServiceProfileConfigurations":{
                "required":[
                    "serviceProfileDefinitions"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "serviceProfileDefinitions":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ServiceProfileDefinition"
                        }
                    }
                },
                "xml":{
                    "name":"serviceProfileConfigurations"
                }
            },
            "SharingMemberServiceDetails":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "members":{
                        "type":"array",
                        "description":"The list of members in the sharing group.",
                        "items":{
                            "$ref":"#/components/schemas/Members"
                        }
                    }
                },
                "xml":{
                    "name":"sharingMemberServiceDetails"
                }
            },
            "BillUnitPackages":{
                "type":"object",
                "properties":{
                    "packageID":{
                        "type":"string",
                        "description":"The package's ID."
                    },
                    "packageName":{
                        "type":"string",
                        "description":"The package's name."
                    },
                    "packagePurchasedDate":{
                        "type":"string",
                        "description":"The date and time the package was purchased.",
                        "format":"date-time"
                    },
                    "packageTerms":{
                        "$ref":"#/components/schemas/SubscriptionTerms"
                    },
                    "serviceType":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ServiceGroup"
                        }
                    },
                    "accountBundles":{
                        "$ref":"#/components/schemas/AccountGroup"
                    },
                    "packageCreatedDate":{
                        "type":"string",
                        "description":"The date and time the package was created.",
                        "format":"date-time"
                    }
                },
                "description":"A list of purchased packages"
            },
            "CorrectiveBillTrail":{
                "required":[
                    "creationDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "invoiceFormat":{
                        "type":"integer",
                        "description":"The invoice format. Can be one of the following: <ul><li><b>1</b>: Detail</li><li><b>2</b>: Summary</li></ul>",
                        "format":"int32"
                    },
                    "invoiceType":{
                        "type":"integer",
                        "description":"The invoice type. Can be one of the following: <ul><li><b>1</b>: Correction letter</li><li><b>2</b>: Replacement invoice</li></ul>",
                        "format":"int32"
                    },
                    "adjusted":{
                        "type":"number",
                        "description":"The amount of any adjustments."
                    },
                    "billNo":{
                        "type":"string",
                        "description":"The bill number."
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the corrective bill was created.",
                        "format":"date-time"
                    },
                    "disputed":{
                        "type":"number",
                        "description":"The amount of any disputes."
                    },
                    "currentTotal":{
                        "type":"number",
                        "description":"The current total amount due."
                    },
                    "arActionsAmtExcludingPayments":{
                        "type":"number",
                        "description":"The total amount of all accounts receivable actions, excluding any payments."
                    },
                    "due":{
                        "type":"number",
                        "description":"The amount due for the corrective bill."
                    },
                    "totalDue":{
                        "type":"number",
                        "description":"The total amount due for the parent account and all child accounts."
                    },
                    "subordsTotal":{
                        "type":"number",
                        "description":"The total amount due for all subordinate accounts."
                    },
                    "receivedForBill":{
                        "type":"number",
                        "description":"The payment received against the original bill."
                    },
                    "dueDate":{
                        "type":"string",
                        "description":"The date and time the corrective bill is due.",
                        "format":"date-time"
                    },
                    "originalBill":{
                        "$ref":"#/components/schemas/OriginalBill"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"correctiveBillTrail"
                }
            },
            "FormDataContentDisposition":{
                "type":"object",
                "properties":{
                    "type":{
                        "type":"string"
                    },
                    "parameters":{
                        "type":"object",
                        "additionalProperties":{
                            "type":"string"
                        }
                    },
                    "fileName":{
                        "type":"string"
                    },
                    "creationDate":{
                        "type":"string",
                        "format":"date-time"
                    },
                    "modificationDate":{
                        "type":"string",
                        "format":"date-time"
                    },
                    "readDate":{
                        "type":"string",
                        "format":"date-time"
                    },
                    "size":{
                        "type":"integer",
                        "format":"int64"
                    },
                    "name":{
                        "type":"string"
                    }
                }
            },
            "Package":{
                "required":[
                    "creationDate",
                    "id",
                    "lastModified"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the package was created.",
                        "format":"date-time"
                    },
                    "description":{
                        "type":"string",
                        "description":"The package's description."
                    },
                    "lastModified":{
                        "type":"string",
                        "description":"The date and time the package was last modified.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The end date for the package's validity.",
                        "format":"date-time"
                    },
                    "name":{
                        "type":"string",
                        "description":"The package's name."
                    },
                    "tags":{
                        "type":"string",
                        "description":"The tags associated with the package."
                    },
                    "serviceGroup":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/GroupOfServices"
                        }
                    },
                    "packageId":{
                        "type":"integer",
                        "description":"The package's ID.",
                        "format":"int32"
                    },
                    "serviceIds":{
                        "type":"array",
                        "description":"The list of service IDs associated with the package.",
                        "items":{
                            "type":"string",
                            "description":"The list of service IDs associated with the package."
                        }
                    },
                    "purchaseFeeWaived":{
                        "type":"boolean",
                        "description":"Whether to waive the purchase fee for the package (<b>true</b>) or not (<b>false</b>). The default is (<b>false</b>).",
                        "default":false
                    },
                    "terminationFeeWaived":{
                        "type":"boolean",
                        "description":"Whether to waive the termination fee for the package (<b>true</b>) or not (<b>false</b>). The default is (<b>false</b>).",
                        "default":false
                    },
                    "balanceGroups":{
                        "type":"array",
                        "description":"Balance groups associated with the package.",
                        "items":{
                            "$ref":"#/components/schemas/BalanceGroups"
                        }
                    },
                    "subscriptionTerms":{
                        "$ref":"#/components/schemas/SubscriptionTerms"
                    }
                },
                "xml":{
                    "name":"package"
                }
            },
            "StartingType":{
                "required":[
                    "mode"
                ],
                "type":"object",
                "properties":{
                    "mode":{
                        "type":"string",
                        "description":"The starting type mode for a product. Can be one of the following:<ul><li><b>immediately</b>: The start date is set to today. This mode can be used with the <b>purchaseStart</b>, <b>cycleStart</b>, and <b>usageStart</b> parameters.</li><li><b>absolute</b>: The start date is a calendar date. This mode can be used with the <b>purchaseStart</b>, <b>cycleStart</b>, and <b>usageStart</b> parameters.</li><li><b>relativeToPurchase</b>: The start date is relative to the purchase date, such as a specified number of billing cycles, months, days, hours, minutes, or seconds after activation. This mode can be used with the <b>cycleStart</b> and <b>usageStart</b> parameters.</li><li><b>firstUsage</b>: The start day is the day of the first recorded usage.</li></ul>"
                    },
                    "startDate":{
                        "type":"string",
                        "description":"The date and time the cycle starts.",
                        "format":"date-time"
                    },
                    "unitSettings":{
                        "$ref":"#/components/schemas/RelativeSettings"
                    }
                }
            },
            "SharingOwner":{
                "required":[
                    "groupName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "groupName":{
                        "type":"string",
                        "description":"The name of the sharing group."
                    },
                    "groupOwnerBalGroupref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "parentRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "rollup":{
                        "type":"boolean",
                        "description":"Whether impacts to the sharing group owner account for shared charges/discounts will be deferred (<b>true</b>) or not, meaning impacts to the sharing group owner occur in the same transaction (<b>false</b>)."
                    },
                    "ownership":{
                        "type":"array",
                        "description":"The list of owners for the sharing group.",
                        "items":{
                            "$ref":"#/components/schemas/Ownership"
                        }
                    }
                },
                "xml":{
                    "name":"sharingOwner"
                }
            },
            "Map":{
                "required":[
                    "id",
                    "key"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The map ID."
                    },
                    "key":{
                        "type":"string",
                        "description":"The key."
                    }
                },
                "description":"A map."
            },
            "BundleOffer":{
                "type":"object",
                "properties":{
                    "bundleId":{
                        "type":"string",
                        "description":"The ID of the bundle."
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the bundle."
                    },
                    "packageId":{
                        "type":"string",
                        "description":"The ID of the package."
                    },
                    "chargeoffers":{
                        "type":"array",
                        "description":"A list of charge offers.",
                        "items":{
                            "$ref":"#/components/schemas/Chargeoffers"
                        }
                    },
                    "discountoffers":{
                        "type":"array",
                        "description":"A list of discount offers.",
                        "items":{
                            "$ref":"#/components/schemas/Discountoffers"
                        }
                    }
                },
                "description":"A bundle."
            },
            "Members":{
                "type":"object",
                "properties":{
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "markAsDelete":{
                        "type":"boolean",
                        "description":"Whether the service referenced is being deleted (<b>true</b>) or added (<b>false</b>) to the sharing group."
                    },
                    "index":{
                        "type":"integer",
                        "description":"The position of the service in the index. For example, the first item in a list would have an <b>index</b> value of <b>1</b>.",
                        "format":"int32"
                    }
                },
                "description":"The list of members in the sharing group."
            },
            "DepositOrder":{
                "required":[
                    "payments"
                ],
                "type":"object",
                "properties":{
                    "payments":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/DepositPayment"
                        }
                    },
                    "customerDeposit":{
                        "$ref":"#/components/schemas/CustomerDeposit"
                    }
                },
                "xml":{
                    "name":"depositOrder"
                }
            },
            "DepositPayment":{
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit payment ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit payment is created."
                    },
                    "completedAt":{
                        "type":"string",
                        "description":"The deposit payment completion date."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The deposit payment status. Allowed Values: <b>1</b> (Completed), <b>2</b> (Failed), <b>3</b> (Pending).",
                        "format":"int32"
                    },
                    "paymentAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "notes":{
                        "type":"string",
                        "description":"Notes about the deposit payment."
                    },
                    "glCode":{
                        "type":"string",
                        "description":"The general ledger ID."
                    },
                    "paymentMethodType":{
                        "type":"integer",
                        "description":"The payment method type. Allowed Values: <ul><li><b>10011</b> (Cash payment batch)</li><li><b>10012</b> (Check payment batch)</li><li><b>10013</b> (Wire-transfer payment batch)</li><li><b>10014</b> (Inter-bank payment order payment batch)</li><li><b>10015</b> (Postal order payment batch)</li><li><b>10017</b> (Failed payment batch)</li></ul>",
                        "format":"int32"
                    },
                    "paymentRef":{
                        "type":"string",
                        "description":"The payment reference."
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "customerDepositRef":{
                        "type":"string",
                        "description":"The customer deposit reference."
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The code for the payment's currency.",
                        "format":"int32"
                    },
                    "payinfoTypeObject":{
                        "$ref":"#/components/schemas/PaymentTypeBase"
                    }
                }
            },
            "PaymentTypeFields":{
                "required":[
                    "paymentMethodFields"
                ],
                "type":"object",
                "properties":{
                    "paymentMethodFields":{
                        "type":"array",
                        "description":"Payment fields of default type and language type.",
                        "items":{
                            "$ref":"#/components/schemas/PaymentMethodFields"
                        }
                    }
                },
                "xml":{
                    "name":"paymentTypeFields"
                }
            },
            "Discount":{
                "required":[
                    "purchaseDate",
                    "purchaseEndDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The discount's name."
                    },
                    "planName":{
                        "type":"string",
                        "description":"The name of the package containing the discount."
                    },
                    "description":{
                        "type":"string",
                        "description":"The discount's description."
                    },
                    "purchaseDate":{
                        "type":"string",
                        "description":"The date and time the discount was purchased.",
                        "format":"date-time"
                    },
                    "purchaseEndDate":{
                        "type":"string",
                        "description":"The date and time the purchase ends.",
                        "format":"date-time"
                    },
                    "lastStatusChange":{
                        "type":"string",
                        "description":"The date and time the discount's status was last changed.",
                        "format":"date-time"
                    },
                    "status":{
                        "type":"string",
                        "description":"The discount's status"
                    },
                    "type":{
                        "type":"integer",
                        "description":"The type of discount. Can be one of the following: <ul><li><b>0</b>: Optional</li><li><b>1</b>: Required</li><li><b>2</b>: Regular</li></ul>",
                        "format":"int32"
                    }
                }
            },
            "PaymentTypeBase":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the payment type was created.",
                        "format":"date-time"
                    },
                    "accountObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type.",
                        "format":"int32"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the payment type."
                    }
                },
                "discriminator":{
                    "propertyName":"@class"
                }
            },
            "UpdateServiceAndEras":{
                "type":"object",
                "properties":{
                    "service":{
                        "$ref":"#/components/schemas/ServiceBase"
                    },
                    "profiles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ProfileBase"
                        }
                    }
                },
                "xml":{
                    "name":"updateServiceAndEras"
                }
            },
            "BillItemType":{
                "required":[
                    "amount",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "billRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billinfoRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the bill item."
                    },
                    "due":{
                        "type":"number",
                        "description":"The amount due for the bill item."
                    }
                }
            },
            "AdjustmentBill":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "percent":{
                        "type":"number",
                        "description":"The amount of the adjustment, as a percentage. For example, enter <b>5</b> for 5%."
                    },
                    "billItem":{
                        "type":"array",
                        "description":"The bill item details.",
                        "items":{
                            "$ref":"#/components/schemas/BillItem"
                        }
                    }
                },
                "xml":{
                    "name":"adjustmentBill"
                }
            },
            "Criteria":{
                "required":[
                    "fixedValues",
                    "properties"
                ],
                "type":"object",
                "properties":{
                    "fieldGroups":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/FieldGroups"
                        }
                    },
                    "fieldKey":{
                        "type":"string"
                    },
                    "type":{
                        "type":"string"
                    },
                    "visible":{
                        "type":"string",
                        "default":"true"
                    },
                    "storableClass":{
                        "type":"string"
                    },
                    "inputType":{
                        "type":"string"
                    },
                    "label":{
                        "type":"string"
                    },
                    "width":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "spacer":{
                        "type":"boolean"
                    },
                    "join":{
                        "type":"string"
                    },
                    "fixedValues":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/FixedValues"
                        }
                    },
                    "properties":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Properties"
                        }
                    },
                    "name":{
                        "type":"string",
                        "xml":{
                            "attribute":true
                        }
                    },
                    "default":{
                        "type":"string"
                    }
                }
            },
            "ServiceGroupIndex":{
                "type":"object",
                "properties":{
                    "serviceGroupElem":{
                        "type":"integer",
                        "description":"The service group element.",
                        "format":"int32"
                    }
                }
            },
            "SuspenseAccount":{
                "required":[
                    "accountId",
                    "accountNumber",
                    "firstName",
                    "lastName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The ID of the account."
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The first name of the suspense account.."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The last name of the suspense account."
                    }
                },
                "xml":{
                    "name":"suspenseAccount"
                }
            },
            "PaymentAuditDetails":{
                "required":[
                    "activityDate",
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "paymentTypeEventRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "activityDate":{
                        "type":"string",
                        "description":"The date and time the payment activity occurred.",
                        "format":"date-time"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "paymentItemRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The first name associated with the account."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The last name associated with the account."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the payment."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status of the payment. Successful payment statuses are 0 to 14. Suspended payment statuses are 15 to 29. Failed payment statuses are 30 to 44.",
                        "format":"int32"
                    },
                    "transactionId":{
                        "type":"string",
                        "description":"The transaction ID."
                    },
                    "subTransactionId":{
                        "type":"string",
                        "description":"The subtransaction ID."
                    },
                    "csrLoginId":{
                        "type":"string",
                        "description":"The CSR's login ID."
                    },
                    "domainId":{
                        "type":"integer",
                        "description":"The domain ID. 14 is for payment suspense management. 15 is for payment suspense action owners. 16 is for payment suspense reversals.",
                        "format":"int32"
                    },
                    "reasonId":{
                        "type":"integer",
                        "description":"The ID of the reason code.",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"paymentAuditDetails"
                }
            },
            "TransferBalance":{
                "required":[
                    "transferAmount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "sourceRef":{
                        "$ref":"#/components/schemas/SourceRef"
                    },
                    "targetRef":{
                        "$ref":"#/components/schemas/TargetRef"
                    },
                    "transferAmount":{
                        "type":"number",
                        "description":"The transfer amount."
                    },
                    "transferAmountType":{
                        "type":"integer",
                        "description":"The transfer amount's type.",
                        "format":"int32"
                    },
                    "chargeSource":{
                        "type":"boolean",
                        "description":"The source for a charge."
                    },
                    "chargeDestination":{
                        "type":"boolean",
                        "description":"The destination for a charge."
                    },
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the transfer's validity starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the transfer's validity ends.",
                        "format":"date-time"
                    },
                    "description":{
                        "type":"string",
                        "description":"The transfer's description."
                    },
                    "sourceLocation":{
                        "$ref":"#/components/schemas/LocationDetails"
                    },
                    "targetLocation":{
                        "$ref":"#/components/schemas/LocationDetails"
                    }
                },
                "xml":{
                    "name":"transferBalance"
                }
            },
            "Events":{
                "required":[
                    "eventRef"
                ],
                "type":"object",
                "properties":{
                    "eventRef":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ResourceRef"
                        }
                    }
                },
                "description":"The events."
            },
            "DDObjectSpecFields":{
                "required":[
                    "descr",
                    "fieldName",
                    "fieldType",
                    "label",
                    "smItemName"
                ],
                "type":"object",
                "properties":{
                    "fieldName":{
                        "type":"string",
                        "description":"The field's name."
                    },
                    "fieldType":{
                        "type":"string",
                        "description":"The field's data type."
                    },
                    "smItemName":{
                        "type":"string",
                        "description":"The name of the table or collection."
                    },
                    "descr":{
                        "type":"string",
                        "description":"The field's description."
                    },
                    "label":{
                        "type":"string",
                        "description":"The field's label."
                    }
                }
            },
            "PackageTransition":{
                "required":[
                    "fromPackage",
                    "toPackage"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "toPackage":{
                        "type":"string",
                        "description":"The package the account is transitioning to."
                    },
                    "fromPackage":{
                        "type":"string",
                        "description":"The package the account is transitioning from."
                    },
                    "transitionType":{
                        "type":"integer",
                        "description":"The type of transition, such as <b>upgrade</b>, <b>downgrade</b>, <b>generation change</b>, or a custom transition type.",
                        "format":"int32"
                    },
                    "mappedServiceIds":{
                        "type":"array",
                        "description":"The list of service IDs.",
                        "items":{
                            "type":"string",
                            "description":"The list of service IDs."
                        }
                    },
                    "services":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/PurchasingService"
                        }
                    },
                    "genericBundle":{
                        "$ref":"#/components/schemas/CustomizedBundleForPurchase"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"packageTransition"
                }
            },
            "AssignSuspensePaymentHandler":{
                "required":[
                    "locale",
                    "userName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "paymentEventRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "userName":{
                        "type":"string",
                        "description":"The user name of the suspense payment handler."
                    },
                    "userId":{
                        "type":"integer",
                        "description":"The user ID of the suspense payment handler.",
                        "format":"int32"
                    },
                    "locale":{
                        "type":"string",
                        "description":"The locale of the suspense payment handler, such as <b>en_US</b> or <b>fr_FR</b>. For a list of valid values, see \"Locale Names\" in <i>BRM Developer's Guide</i>."
                    }
                },
                "xml":{
                    "name":"AssignSuspensePaymentHandler"
                }
            },
            "SettlementItem":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the adjustment."
                    },
                    "amountIsCredit":{
                        "type":"boolean",
                        "description":"Whether the adjustment is a credit (<b>true</b>) or a debit (<b>false</b>).",
                        "default":true
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of the resource to adjust.",
                        "format":"int32"
                    },
                    "includeTax":{
                        "type":"boolean",
                        "description":"Whether to include the tax in the adjustment (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "percent":{
                        "type":"number",
                        "description":"The amount of the adjustment, as a percentage. For example, enter <b>5</b> for 5%."
                    }
                },
                "xml":{
                    "name":"settlementItem"
                }
            },
            "Charges":{
                "required":[
                    "charge",
                    "startDate"
                ],
                "type":"object",
                "properties":{
                    "startDate":{
                        "type":"string",
                        "description":"The date and time the charge's validity starts.",
                        "format":"date-time"
                    },
                    "endDate":{
                        "type":"string",
                        "description":"The date and time the charge's validity ends.",
                        "format":"date-time"
                    },
                    "charge":{
                        "type":"array",
                        "description":"The charges.",
                        "items":{
                            "$ref":"#/components/schemas/Charge"
                        }
                    }
                },
                "description":"The charge details."
            },
            "FixedValues":{
                "type":"object",
                "properties":{
                    "label":{
                        "type":"string"
                    },
                    "value":{
                        "type":"string"
                    }
                }
            },
            "Menu":{
                "required":[
                    "headerKey"
                ],
                "type":"object",
                "properties":{
                    "headerKey":{
                        "type":"string",
                        "xml":{
                            "name":"header-key"
                        }
                    },
                    "contents":{
                        "$ref":"#/components/schemas/Contents"
                    },
                    "id":{
                        "type":"string",
                        "xml":{
                            "attribute":true
                        }
                    }
                }
            },
            "GroupOwners":{
                "type":"object",
                "properties":{
                    "groupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "groupName":{
                        "type":"string",
                        "description":"The name of the collections sharing group."
                    },
                    "billUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billUnitName":{
                        "type":"string",
                        "description":"The name of the bill unit associated with the collections sharing group."
                    },
                    "memberCount":{
                        "type":"integer",
                        "description":"The number of members in the collections sharing group.",
                        "format":"int32"
                    }
                },
                "description":"A collections sharing group owner."
            },
            "CustomizedOffers":{
                "type":"object",
                "properties":{
                    "customizedOffer":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/CustomizedOffer"
                        }
                    }
                },
                "xml":{
                    "name":"customizedOffers"
                }
            },
            "DepositRelease":{
                "required":[
                    "completedAt",
                    "createdAt",
                    "customerDepositRef",
                    "customerRef",
                    "error",
                    "glCode",
                    "href",
                    "id",
                    "notes",
                    "reason",
                    "releaseRef",
                    "status"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit reference ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "customerDepositRef":{
                        "type":"string",
                        "description":"The customer deposit reference."
                    },
                    "notes":{
                        "type":"string",
                        "description":"Notes about the deposit release."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit release is initiated."
                    },
                    "completedAt":{
                        "type":"string",
                        "description":"The deposit release completion date."
                    },
                    "status":{
                        "type":"string",
                        "description":"The deposit release status.<br/>Allowed Values: COMPLETED, FAILED, PENDING, ACCEPTED, REJECTED"
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "reason":{
                        "type":"string",
                        "description":"Reason for the deposit release."
                    },
                    "error":{
                        "type":"string",
                        "description":"Error message for the deposit release."
                    },
                    "releaseAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "releaseType":{
                        "type":"integer",
                        "description":"The deposit release type.<br/>Allowed Values: PREPAYMENT, REFUND",
                        "format":"int32"
                    },
                    "releaseRef":{
                        "type":"string",
                        "description":"The deposit release reference."
                    },
                    "glCode":{
                        "type":"string",
                        "description":"The general ledger ID."
                    }
                },
                "xml":{
                    "name":"depositRelease"
                }
            },
            "AccountCollectionDetails":{
                "required":[
                    "accountId",
                    "accountNumber",
                    "address",
                    "city",
                    "country",
                    "firstName",
                    "lastName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "billUnitCollectionsDetails":{
                        "type":"array",
                        "description":"The details for a bill unit in collections.",
                        "items":{
                            "$ref":"#/components/schemas/BillUnitCollectionsDetails"
                        }
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account's number."
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The account's ID."
                    },
                    "numberOfBillUnitsInCollections":{
                        "type":"integer",
                        "description":"The number of bill units that are in collections.",
                        "format":"int32"
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The account owner's first name."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The account owner's last name."
                    },
                    "address":{
                        "type":"string",
                        "description":"The account's address."
                    },
                    "city":{
                        "type":"string",
                        "description":"The account's city."
                    },
                    "company":{
                        "type":"string",
                        "description":"The account's company name."
                    },
                    "country":{
                        "type":"string",
                        "description":"The account's country."
                    },
                    "emailAddress":{
                        "type":"string",
                        "description":"The account's email address."
                    },
                    "state":{
                        "type":"string",
                        "description":"The account's state or province."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The account's ZIP or postal code."
                    },
                    "phonenumbers":{
                        "type":"array",
                        "description":"The list of the account's phone numbers.",
                        "items":{
                            "$ref":"#/components/schemas/Phonenumbers"
                        }
                    }
                },
                "xml":{
                    "name":"accountCollectionDetails"
                }
            },
            "Plan":{
                "required":[
                    "code",
                    "createdAt",
                    "desc",
                    "id",
                    "name"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The plan's ID."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date the plan was created."
                    },
                    "name":{
                        "type":"string",
                        "description":"The plan's name."
                    },
                    "code":{
                        "type":"string",
                        "description":"The plan's code."
                    },
                    "desc":{
                        "type":"string",
                        "description":"The plan's description."
                    }
                },
                "xml":{
                    "name":"plan"
                }
            },
            "LoanDetails":{
                "type":"object",
                "properties":{
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "loanAmount":{
                        "type":"number",
                        "description":"The loan amount."
                    },
                    "loanFee":{
                        "type":"number",
                        "description":"The loan's fee."
                    },
                    "tax":{
                        "type":"number",
                        "description":"The tax to apply on the loan."
                    },
                    "outstandingAmount":{
                        "type":"number",
                        "description":"The amount of the loan that is still owed."
                    },
                    "loanFeeRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "loanDebitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "type":{
                        "type":"integer",
                        "description":"The type of loan. Can be one of the following: <ul><li><b>0</b>: Currency or emergency loan</li><li><b>1</b>: Data loan</li><li><b>2</b>: Hybrid loan</li><ul>",
                        "format":"int32"
                    },
                    "channel":{
                        "type":"string",
                        "description":"The channel that requested the loan. For example, USSD or IVR."
                    }
                }
            },
            "ResourceDetails":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The resource's ID.",
                        "format":"int32"
                    },
                    "resourceName":{
                        "type":"string",
                        "description":"The resource's name."
                    },
                    "resourceCode":{
                        "type":"string",
                        "description":"The resource's code."
                    },
                    "symbol":{
                        "type":"string",
                        "description":"The resource's symbol."
                    },
                    "numberOfDecimalPlaces":{
                        "type":"integer",
                        "description":"The number of decimal places for the resource.",
                        "format":"int32"
                    },
                    "currencyResource":{
                        "type":"boolean",
                        "description":"Whether this is a currency resource (<b>true</b>) or not (<b>false</b>). The default is <b>false</b>.",
                        "default":false
                    }
                },
                "xml":{
                    "name":"resourceDetails"
                }
            },
            "PaymentAuditDetailsType":{
                "required":[
                    "accountRef",
                    "activityDate",
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "paymentTypeEventRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "activityDate":{
                        "type":"string",
                        "description":"The date and time the payment activity occurred.",
                        "format":"date-time"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "paymentItemRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The first name associated with the account."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The last name associated with the account."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount of the payment."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status of the payment. Successful payment statuses are 0 to 14. Suspended payment statuses are 15 to 29. Failed payment statuses are 30 to 44.",
                        "format":"int32"
                    },
                    "transactionId":{
                        "type":"string",
                        "description":"The transaction ID."
                    },
                    "subTransactionId":{
                        "type":"string",
                        "description":"The subtransaction ID."
                    },
                    "csrLoginId":{
                        "type":"string",
                        "description":"The CSR's login ID."
                    },
                    "domainId":{
                        "type":"integer",
                        "description":"The domain ID. 14 is for payment suspense management. 15 is for payment suspense action owners. 16 is for payment suspense reversals.",
                        "format":"int32"
                    },
                    "reasonId":{
                        "type":"integer",
                        "description":"The ID of the reason code.",
                        "format":"int32"
                    }
                }
            },
            "Results":{
                "type":"object",
                "properties":{
                    "column":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Column"
                        }
                    }
                }
            },
            "ServiceBase":{
                "required":[
                    "login",
                    "password"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "pendingDeferredActionsCount":{
                        "type":"integer",
                        "description":"The number of deferred actions that are pending for the service.",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "aliasList":{
                        "type":"array",
                        "description":"The list of aliases associated with the service.",
                        "items":{
                            "$ref":"#/components/schemas/AliasList"
                        }
                    },
                    "balanceGroupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the service type was created.",
                        "format":"date-time"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "format":"date-time"
                    },
                    "lastStatusComment":{
                        "type":"string",
                        "description":"The comment associated with the last status change."
                    },
                    "lastStatusChange":{
                        "type":"string",
                        "description":"The date and time of the last status change.",
                        "format":"date-time"
                    },
                    "login":{
                        "type":"string",
                        "description":"The login associated with the service."
                    },
                    "lifeCycleState":{
                        "type":"integer",
                        "description":"The current lifecycle state.",
                        "format":"int32"
                    },
                    "lastModified":{
                        "type":"string",
                        "description":"The date and time the service was last modified.",
                        "format":"date-time"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the service."
                    },
                    "password":{
                        "type":"string",
                        "description":"The password associated with the service."
                    },
                    "passwordExpiration":{
                        "type":"string",
                        "description":"The date and time the password expires.",
                        "format":"date-time"
                    },
                    "passwordStatus":{
                        "type":"integer",
                        "description":"The current status of the password.",
                        "format":"int32"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status.",
                        "format":"int32"
                    },
                    "statusFlags":{
                        "type":"integer",
                        "description":"The status flags.",
                        "format":"int32"
                    },
                    "subscriptionServiceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceAccessLevel":{
                        "type":"string",
                        "description":"The service access level."
                    },
                    "balGrpIndex":{
                        "type":"integer",
                        "description":"The balance group index.",
                        "format":"int32"
                    },
                    "nameinfoObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "svcExpLastNotiOffset":{
                        "type":"string",
                        "description":"The notification offset."
                    },
                    "svcExpLastNotiT":{
                        "type":"string",
                        "description":"The last notification time.",
                        "format":"date-time"
                    }
                },
                "discriminator":{
                    "propertyName":"@class"
                }
            },
            "FieldGroups":{
                "type":"object",
                "properties":{
                    "groupLabel":{
                        "type":"string"
                    },
                    "groupOperator":{
                        "type":"string"
                    }
                }
            },
            "Discountoffers":{
                "required":[
                    "description",
                    "name"
                ],
                "type":"object",
                "properties":{
                    "ref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the discount offer."
                    },
                    "description":{
                        "type":"string",
                        "description":"The discount offer's description."
                    }
                },
                "description":"The list of discount offers in the bundle."
            },
            "DirectDebitType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The payment instrument's name."
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "correctiveInvoiceType":{
                        "type":"integer",
                        "description":"The type of invoice to create, such as an invoice correction letter or a replacement invoice.",
                        "format":"int32"
                    },
                    "details":{
                        "$ref":"#/components/schemas/DebitCardTypeDetails"
                    }
                }
            },
            "InsertAction":{
                "required":[
                    "startDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "billUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "startDate":{
                        "type":"string",
                        "description":"The date and time the collections action starts.",
                        "format":"date-time"
                    },
                    "collectionAgent":{
                        "type":"string",
                        "description":"The agent assigned to the collections action."
                    },
                    "slipByDays":{
                        "type":"integer",
                        "description":"The number of days to slip the scheduled action.",
                        "format":"int32"
                    },
                    "cancelFollowupActions":{
                        "type":"boolean",
                        "description":"Whether to cancel all of the follow-up collections actions (<b>true</b>) or keep the existing follow-up collections actions (<b>false</b>)."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount to collect for the new action."
                    },
                    "paymentMethodRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"insertAction"
                }
            },
            "CustomerDeposit":{
                "required":[
                    "billProfileRef",
                    "code",
                    "createdAt",
                    "customerRef",
                    "depositSpecName",
                    "depositSpecRef",
                    "effectiveDate",
                    "href",
                    "id",
                    "modifiedAt",
                    "serviceRef",
                    "status",
                    "transactions"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The customer deposit ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the customer deposit is created."
                    },
                    "modifiedAt":{
                        "type":"string",
                        "description":"The date when the customer deposit is modified."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date from which the customer deposit is effective."
                    },
                    "status":{
                        "type":"string",
                        "description":"The deposit status. Allowed Values: WAITING, ACTIVE, EXPIRED, TRANSFERRED, RELEASED, REFUNDED, CANCELLED"
                    },
                    "totalAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "notes":{
                        "type":"string",
                        "description":"The notes for the customer deposit."
                    },
                    "receivedAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "releasedAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "interestAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "balanceAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "discountAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "depositSpecRef":{
                        "type":"string",
                        "description":"The deposit specification reference."
                    },
                    "depositSpecName":{
                        "type":"string",
                        "description":"The deposit specification name."
                    },
                    "serviceRef":{
                        "type":"string",
                        "description":"The service reference."
                    },
                    "billProfileRef":{
                        "type":"string",
                        "description":"The bill profile reference."
                    },
                    "releaseType":{
                        "type":"integer",
                        "description":"The release type. Allowed Values: <b>1</b> (Prepayment), <b>2</b> (Refund), <b>3</b> (Zeroise).",
                        "format":"int32"
                    },
                    "code":{
                        "type":"string",
                        "description":"The external identifier."
                    },
                    "transactions":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/CustomerDepositTransactions"
                        }
                    },
                    "validityRule":{
                        "$ref":"#/components/schemas/DepositValidityRule"
                    },
                    "validFor":{
                        "$ref":"#/components/schemas/TimePeriod"
                    }
                }
            },
            "Phonenumbers":{
                "required":[
                    "number"
                ],
                "type":"object",
                "properties":{
                    "number":{
                        "type":"string",
                        "description":"The phone number."
                    },
                    "phonetype":{
                        "type":"integer",
                        "description":"The phone number's type.",
                        "format":"int32"
                    }
                },
                "description":"The list of the account's phone numbers."
            },
            "ValidityPeriod":{
                "required":[
                    "validFrom",
                    "validTo"
                ],
                "type":"object",
                "properties":{
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the validity period starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the validity period ends.",
                        "format":"date-time"
                    }
                },
                "description":"A validity period."
            },
            "ResourceRef":{
                "required":[
                    "id"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "uri":{
                        "type":"string",
                        "description":"The Uniform Resource Identifier (URI) associated with the resource."
                    }
                }
            },
            "DepositTxnDepositDetails":{
                "required":[
                    "depositRef",
                    "destDepositRef",
                    "sourceDepositRef"
                ],
                "type":"object",
                "properties":{
                    "depositRef":{
                        "type":"string",
                        "description":"The deposit reference."
                    },
                    "sourceDepositRef":{
                        "type":"string",
                        "description":"The source deposit reference."
                    },
                    "destDepositRef":{
                        "type":"string",
                        "description":"The destination deposit reference."
                    }
                }
            },
            "SettlementDetails":{
                "required":[
                    "billId",
                    "disputeId",
                    "disputedAmount",
                    "disputedDate",
                    "eventsCount",
                    "itemId",
                    "itemName",
                    "itemNumber",
                    "settledDate",
                    "settledNonTaxedAmount",
                    "settledTaxAmount",
                    "settledTaxedAmount",
                    "settlementAmount",
                    "settlementId"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "billId":{
                        "type":"string",
                        "description":"The ID of the bill associated with the settlement."
                    },
                    "itemId":{
                        "type":"string",
                        "description":"The ID of the item associated with the settlement."
                    },
                    "disputedDate":{
                        "type":"string",
                        "description":"The date and time the bill, item, or event was disputed.",
                        "format":"date-time"
                    },
                    "settledDate":{
                        "type":"string",
                        "description":"The date and time the dispute was settled.",
                        "format":"date-time"
                    },
                    "disputeId":{
                        "type":"string",
                        "description":"The ID of the dispute."
                    },
                    "disputeRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "settlementId":{
                        "type":"string",
                        "description":"The ID of the settlement."
                    },
                    "itemName":{
                        "type":"string",
                        "description":"The name of the item associated with the settlement."
                    },
                    "itemNumber":{
                        "type":"string",
                        "description":"The item number associated with the settlement."
                    },
                    "eventsCount":{
                        "type":"string",
                        "description":"The number of events associated with the settlement."
                    },
                    "disputedAmount":{
                        "type":"number",
                        "description":"The amount of the dispute."
                    },
                    "settlementAmount":{
                        "type":"number",
                        "description":"The settlement amount. The amount you enter can be all, a portion, or none of the disputed amount."
                    },
                    "settlementRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "billNumber":{
                        "type":"string",
                        "description":"The bill number associated with the settlement."
                    },
                    "due":{
                        "type":"number",
                        "description":"The amount due after the settlement."
                    },
                    "billingStart":{
                        "type":"string",
                        "description":"The date and time the billing cycle starts.",
                        "format":"date-time"
                    },
                    "billingEnd":{
                        "type":"string",
                        "description":"The date and time the billing cycle ends.",
                        "format":"date-time"
                    },
                    "settledTaxAmount":{
                        "type":"number",
                        "description":"The amount of tax for the bill item settled by the adjustment."
                    },
                    "settledTaxedAmount":{
                        "type":"number",
                        "description":"The taxable amount for the bill item settled by the adjustment."
                    },
                    "settledNonTaxedAmount":{
                        "type":"number",
                        "description":"The non-taxable amount for the bill item settled by the adjustment."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"settlementDetails"
                }
            },
            "MemberDetails":{
                "type":"object",
                "properties":{
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "services":{
                        "type":"array",
                        "description":"The list of services shared in the group.",
                        "items":{
                            "$ref":"#/components/schemas/Services"
                        }
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The member's account number."
                    },
                    "firstName":{
                        "type":"string",
                        "description":"The member's first name."
                    },
                    "lastName":{
                        "type":"string",
                        "description":"The member's last name."
                    },
                    "memberIndex":{
                        "type":"integer",
                        "description":"Index of the non-service charges being a member of the group.",
                        "format":"int32"
                    }
                },
                "description":"The list of sharing group members."
            },
            "AdjustmentDetails":{
                "required":[
                    "accountId",
                    "effectiveDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "adjustmentId":{
                        "type":"string",
                        "description":"The adjustment's ID."
                    },
                    "originalAdjustmentAmount":{
                        "type":"number",
                        "description":"The original amount before the adjustment."
                    },
                    "allocatedAmount":{
                        "type":"number",
                        "description":"The amount of the adjustment that has been allocated."
                    },
                    "unallocatedAmount":{
                        "type":"number",
                        "description":"The amount of the adjustment that has not been allocated."
                    },
                    "taxAmount":{
                        "type":"number",
                        "description":"The amount of tax associated with the adjustment."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "accountId":{
                        "type":"string",
                        "description":"The ID of the account associated with the adjustment."
                    },
                    "billDetails":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BillDetails"
                        }
                    }
                },
                "xml":{
                    "name":"adjustmentDetails"
                }
            },
            "BillItems":{
                "type":"object",
                "properties":{
                    "itemRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The number of bill items."
                    }
                },
                "description":"The list of bill items associated with the recycled payment."
            },
            "DebtorInfo":{
                "required":[
                    "address",
                    "city",
                    "country",
                    "name",
                    "zip"
                ],
                "type":"object",
                "properties":{
                    "address":{
                        "type":"string",
                        "description":"The debtor's address."
                    },
                    "city":{
                        "type":"string",
                        "description":"The debtor's city."
                    },
                    "country":{
                        "type":"string",
                        "description":"The debtor's country."
                    },
                    "name":{
                        "type":"string",
                        "description":"The debtor's name."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The debtor's ZIP code."
                    },
                    "identificationCode":{
                        "type":"string",
                        "description":"The debtor's bank identifier code."
                    },
                    "referencePartyName":{
                        "type":"string",
                        "description":"The debtor's party name."
                    },
                    "partyIdCode":{
                        "type":"string",
                        "description":"The debtor's party ID code."
                    }
                },
                "description":"Information about the debtor."
            },
            "SubscriptionTerms":{
                "required":[
                    "bundleName",
                    "commitmentEndDate",
                    "commitmentStartDate",
                    "earlyCancellationDate",
                    "earlyCancellationFee",
                    "id",
                    "minimumContractEndDate",
                    "originalCommitmentEndDate",
                    "reducedCancellationFee",
                    "termsName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "termsName":{
                        "type":"string",
                        "description":"The subscription terms' name."
                    },
                    "termsDescription":{
                        "type":"string",
                        "description":"The subscription terms' description."
                    },
                    "packageRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "bundleRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "subscriberContractRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "commitmentPeriod":{
                        "type":"integer",
                        "description":"The duration of the commitment period.",
                        "format":"int32"
                    },
                    "commitmentUnit":{
                        "type":"integer",
                        "description":"The unit for the commitment period. Can be one of the following: <ul><li><b>0</b>: Months</li><li><b>1</b>: Days</li></ul>",
                        "format":"int32"
                    },
                    "commitmentStartDate":{
                        "type":"string",
                        "description":"The date and time the commitment period starts.",
                        "format":"date-time"
                    },
                    "commitmentEndDate":{
                        "type":"string",
                        "description":"The date and time the commitment period ends.",
                        "format":"date-time"
                    },
                    "originalCommitmentEndDate":{
                        "type":"string",
                        "description":"The date and time the original commitment period ends.",
                        "format":"date-time"
                    },
                    "earlyCancellationAllowed":{
                        "type":"boolean",
                        "description":"Whether early cancellation is allowed (<b>true</b>) or not (<b>false</b>)."
                    },
                    "earlyCancellationDate":{
                        "type":"string",
                        "description":"The date and time of early cancellation.",
                        "format":"date-time"
                    },
                    "earlyCancellationFee":{
                        "type":"number",
                        "description":"The fee for canceling a subscription early."
                    },
                    "reducedCancellationFee":{
                        "type":"number",
                        "description":"The reduced cancellation fee."
                    },
                    "autoRenew":{
                        "type":"boolean",
                        "description":"Whether to automatically renew the terms at the end of its commitment period (<b>true</b>) or not (<b>false</b>)."
                    },
                    "renewWithSameTerms":{
                        "type":"boolean",
                        "description":"Whether to renew with the same terms (<b>true</b>) or with different terms (<b>false</b>)."
                    },
                    "bundleName":{
                        "type":"string",
                        "description":"The name of the bundle associated with the subscription terms."
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The currency associated with the subscription fee.",
                        "format":"int32"
                    },
                    "gracePeriod":{
                        "type":"integer",
                        "description":"The duration of the grace period.",
                        "format":"int32"
                    },
                    "packageId":{
                        "type":"integer",
                        "description":"The ID of package associated with the subscription terms.",
                        "format":"int32"
                    },
                    "gracePeriodUnit":{
                        "type":"integer",
                        "description":"The unit for the grace period. Can be one of the following: <ul><li><b>0</b>: Months</li><li><b>1</b>: Days</li></ul>",
                        "format":"int32"
                    },
                    "earlyCancellationType":{
                        "type":"integer",
                        "description":"The type of early cancelation fee. Can be one of the following: <ul><li><b>0</b>: Fixed</li><li><b>1</b>: Reducing</li></ul>",
                        "format":"int32"
                    },
                    "minimumCommitmentPeriod":{
                        "type":"integer",
                        "description":"The duration of the minimum commitment period.",
                        "format":"int32"
                    },
                    "minimumCommitmentUnit":{
                        "type":"integer",
                        "description":"The unit for the minimum commitment period. Can be one of the following: <ul><li><b>0</b>: Months</li><li><b>1</b>: Years</li></ul>",
                        "format":"int32"
                    },
                    "renewalContractTerms":{
                        "$ref":"#/components/schemas/SubscriptionTerms"
                    },
                    "minimumContractEndDate":{
                        "type":"string",
                        "description":"The minimum date and time the contract is in effect before termination.",
                        "format":"date-time"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The status of the contract.",
                        "format":"int32"
                    },
                    "previousContracts":{
                        "type":"array",
                        "description":"Stores contracts previously linked to the current contract.",
                        "items":{
                            "$ref":"#/components/schemas/SubscriptionTerms"
                        }
                    }
                }
            },
            "DepositAOC":{
                "required":[
                    "billProfileRef",
                    "customerRef",
                    "depositSpecRef",
                    "effectiveDate",
                    "href",
                    "id",
                    "serviceRef",
                    "startsAt"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The ID of the deposit."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "startsAt":{
                        "type":"string",
                        "description":"The date when the advice-of-charge starts."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The effective date for the advice-of-charge deposit."
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "depositSpecRef":{
                        "type":"string",
                        "description":"The deposit specification reference."
                    },
                    "serviceRef":{
                        "type":"string",
                        "description":"The service reference."
                    },
                    "billProfileRef":{
                        "type":"string",
                        "description":"The bill profile reference."
                    },
                    "amount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "validFor":{
                        "$ref":"#/components/schemas/TimePeriod"
                    }
                },
                "xml":{
                    "name":"depositAOC"
                }
            },
            "Mapping":{
                "required":[
                    "desc",
                    "key",
                    "map"
                ],
                "type":"object",
                "properties":{
                    "key":{
                        "type":"string",
                        "description":"The mapping's key."
                    },
                    "map":{
                        "type":"array",
                        "description":"A map.",
                        "items":{
                            "$ref":"#/components/schemas/Map"
                        }
                    },
                    "desc":{
                        "type":"string",
                        "description":"The mapping's description."
                    },
                    "version":{
                        "type":"string",
                        "description":"The version of the mapping."
                    }
                },
                "description":"A mapping."
            },
            "TaxExemptDetails":{
                "required":[
                    "certificateNumber",
                    "percent",
                    "starts"
                ],
                "type":"object",
                "properties":{
                    "taxType":{
                        "type":"integer",
                        "description":"The exemption jurisdiction type. Can be one of the following: <ul><li><b>0</b>: Federal</li><li><b>1</b>: State</li><li><b>2</b>: County</li><li><b>3</b>: City</li><li><b>4</b>: Secondary county</li><li><b>5</b>: Secondary city</li><li><b>6</b>: Territory</li><li><b>7</b>: Secondary state</li><li><b>8</b>: District</li><li><b>9</b>: Secondary federal</li><li><b>10</b>: County district</li><li><b>11</b>: City district</li><li><b>12</b>: Other</li></ul>",
                        "format":"int32"
                    },
                    "certificateNumber":{
                        "type":"string",
                        "description":"The tax exemption certificate number."
                    },
                    "percent":{
                        "type":"number",
                        "description":"The percentage of the tax that is exempt, such as 50 or 100."
                    },
                    "starts":{
                        "type":"string",
                        "description":"The date and time the tax exemption starts.",
                        "format":"date-time"
                    },
                    "ends":{
                        "type":"string",
                        "description":"The date and time the tax exemption ends.",
                        "format":"date-time"
                    }
                },
                "description":"The details associated with a tax exemption."
            },
            "DepositPayments":{
                "required":[
                    "customerDepositRef",
                    "customerRef",
                    "notes"
                ],
                "type":"object",
                "properties":{
                    "payments":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/DepositPayment"
                        }
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "customerDepositRef":{
                        "type":"string",
                        "description":"The customer deposit reference."
                    },
                    "notes":{
                        "type":"string",
                        "description":"Notes about the deposit payment."
                    }
                },
                "xml":{
                    "name":"depositPayments"
                }
            },
            "MembershipDetails":{
                "required":[
                    "accountNumber",
                    "accountRef",
                    "groupName",
                    "groupRef",
                    "groupType",
                    "serviceName",
                    "serviceRef"
                ],
                "type":"object",
                "properties":{
                    "groupRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "groupName":{
                        "type":"string",
                        "description":"The sharing group's name."
                    },
                    "groupType":{
                        "type":"string",
                        "description":"The sharing group type. Allowed Values: <ul><li><b>H_PSG</b> (Hierarchy product sharing group)</li><li><b>PR_PSG</b> (Payment responsibility product sharing group)</li><li><b>H_DSG</b> (Hierarchy discount sharing group)</li><li><b>PR_DSG</b> (Payment responsibility discount sharing group)</li></ul>"
                    },
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceName":{
                        "type":"string",
                        "description":"The name of the service being shared."
                    },
                    "priority":{
                        "type":"integer",
                        "description":"The priority.",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number associated with the sharing group."
                    },
                    "parentName":{
                        "type":"string",
                        "description":"The sharing group parent's name."
                    }
                },
                "description":"The list of groups the member belongs to."
            },
            "CreditorsDetails":{
                "required":[
                    "address",
                    "country",
                    "creditorID",
                    "name"
                ],
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The creditor's name."
                    },
                    "country":{
                        "type":"string",
                        "description":"The creditor's country."
                    },
                    "address":{
                        "type":"string",
                        "description":"The creditor's address."
                    },
                    "creditorID":{
                        "type":"string",
                        "description":"The ID for the creditor."
                    }
                },
                "description":"Details about a creditor."
            },
            "NotificationDeliverySchedule":{
                "required":[
                    "offsetValue"
                ],
                "type":"object",
                "properties":{
                    "offsetUnit":{
                        "type":"integer",
                        "description":"The notification delivery schedule offset type. Allowed values:<ul><li><b>1</b> (Minute)</li><li><b>3</b> (Hour)</li><li><b>4</b> (Day)</li><li><b>5</b> (Week)</li><li><b>2</b> (Month)</li><li><b>0</b> (Year)</li></ul>",
                        "format":"int32"
                    },
                    "offsetValue":{
                        "type":"string",
                        "description":"The notification delivery schedule offset value."
                    }
                }
            },
            "BillUnitCollectionsDetails":{
                "required":[
                    "billUnitId",
                    "billUnitName",
                    "collectionAgent",
                    "collectionsGroupId",
                    "entryDate",
                    "lastPaymentAmount",
                    "lastPaymentEffectiveDate",
                    "lastPaymentId",
                    "minimumPayment",
                    "overdueAmount",
                    "scenarioId",
                    "scenarioName"
                ],
                "type":"object",
                "properties":{
                    "scenarioId":{
                        "type":"string",
                        "description":"The ID of the account's collections scenario."
                    },
                    "billUnitId":{
                        "type":"string",
                        "description":"The ID of the bill unit in collections."
                    },
                    "billUnitName":{
                        "type":"string",
                        "description":"The name of the bill unit in collections."
                    },
                    "overdueAmount":{
                        "type":"number",
                        "description":"The amount that is overdue."
                    },
                    "minimumPayment":{
                        "type":"number",
                        "description":"The minimum required payment."
                    },
                    "overdueDays":{
                        "type":"integer",
                        "description":"The number of days the payment is overdue.",
                        "format":"int32"
                    },
                    "entryDate":{
                        "type":"string",
                        "description":"The date and time the account entered collections.",
                        "format":"date-time"
                    },
                    "lastPaymentId":{
                        "type":"string",
                        "description":"The ID of the account's last payment."
                    },
                    "lastPaymentAmount":{
                        "type":"number",
                        "description":"The amount of the account's last payment."
                    },
                    "lastPaymentEffectiveDate":{
                        "type":"string",
                        "description":"The effective date and time of the account's last payment.",
                        "format":"date-time"
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The code for the account's primary currency.",
                        "format":"int32"
                    },
                    "collectionAgent":{
                        "type":"string",
                        "description":"The collections agent assigned to the account."
                    },
                    "scenarioName":{
                        "type":"string",
                        "description":"The name of the account's collections scenario."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "numberOfTimesInCollections":{
                        "type":"integer",
                        "description":"The number of times the account has been in collections.",
                        "format":"int32"
                    },
                    "collectionsGroupId":{
                        "type":"string",
                        "description":"The ID of the account's collections group."
                    },
                    "promiseToPayStatus":{
                        "type":"integer",
                        "description":"The status of Promise to Pay in the collection scenario.",
                        "format":"int32"
                    },
                    "collectionsActions":{
                        "type":"array",
                        "description":"The list of collections actions for the account.",
                        "xml":{
                            "name":"CollectionsActions"
                        },
                        "items":{
                            "$ref":"#/components/schemas/CollectionsActions"
                        }
                    }
                },
                "description":"The details for a bill unit in collections."
            },
            "Qualifier":{
                "required":[
                    "key",
                    "value"
                ],
                "type":"object",
                "properties":{
                    "key":{
                        "type":"string",
                        "description":"The name or the identifier from a storable class."
                    },
                    "value":{
                        "type":"string",
                        "description":"The reference value to be evaluated."
                    },
                    "dataType":{
                        "type":"integer",
                        "description":"The data type of the value. Allowed values:<ul><li><b>1</b> (Integer)</li><li><b>3</b> (Enumerated)</li><li><b>5</b> (String)</li><li><b>7</b> (POID)</li><li><b>8</b> (Timestamp)</li><li><b>14</b> (Decimal)</li></ul>",
                        "format":"int32"
                    },
                    "operator":{
                        "type":"integer",
                        "description":"The operator for the qualifier. Allowed values:<ul><li><b>0</b> (Equals)</li><li><b>1</b> (Less than)</li><li><b>2</b> (Greater than)</li><li><b>3</b> (Less than or equals)</li><li><b>4</b> (Greater than or equals)</li><li><b>5</b> (Not equal)</li><li><b>6</b> (Contained in string)</li><li><b>7</b> (Like)</li></ul>",
                        "format":"int32"
                    }
                }
            },
            "InstallmentBill":{
                "required":[
                    "billItems",
                    "billNo",
                    "dueAt",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment bill ID."
                    },
                    "dueAt":{
                        "type":"string",
                        "description":"When the installment bill is due."
                    },
                    "dueAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "billNo":{
                        "type":"string",
                        "description":"The installment bill number."
                    },
                    "billItems":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/InstallmentBillItem"
                        }
                    }
                }
            },
            "ErrorInfo":{
                "type":"object",
                "properties":{
                    "errorCode":{
                        "type":"string",
                        "description":"The error code."
                    },
                    "location":{
                        "type":"string",
                        "description":"The location of the error."
                    },
                    "className":{
                        "type":"string",
                        "description":"The class name."
                    },
                    "fieldNum":{
                        "type":"integer",
                        "description":"The field number.",
                        "format":"int32"
                    },
                    "elementId":{
                        "type":"integer",
                        "description":"The element ID.",
                        "format":"int32"
                    },
                    "reasonDomainId":{
                        "type":"integer",
                        "description":"The domain ID of the reason for the error.",
                        "format":"int32"
                    },
                    "reasonId":{
                        "type":"integer",
                        "description":"The ID of the reason for the error.",
                        "format":"int32"
                    }
                },
                "description":"Information about the error."
            },
            "OwnershipDetails":{
                "required":[
                    "description",
                    "name",
                    "offeringRef",
                    "quantity",
                    "sharingRef",
                    "validFrom",
                    "validTo"
                ],
                "type":"object",
                "properties":{
                    "sharingRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "offeringRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "quantity":{
                        "type":"number",
                        "description":"The quantity."
                    },
                    "index":{
                        "type":"integer",
                        "description":"The position of the entry in the index. For example, the first item in a list would have an (<b>index</b>) value of (<b>1</b>).",
                        "format":"int32"
                    },
                    "name":{
                        "type":"string",
                        "description":"The sharing group name."
                    },
                    "description":{
                        "type":"string",
                        "description":"The sharing group description."
                    },
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the sharing group's validity starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the sharing group's validity ends.",
                        "format":"date-time"
                    }
                },
                "description":"The  ownership details for the sharing group."
            },
            "Resource":{
                "required":[
                    "reference"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "reference":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "xml":{
                    "name":"resource"
                }
            },
            "ChangeValidity":{
                "required":[
                    "validTo"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "balanceGroupId":{
                        "type":"string",
                        "description":"The ID of the balance group associated with the date change."
                    },
                    "elementId":{
                        "type":"integer",
                        "description":"The ID of the element associated with the date change.",
                        "format":"int32"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The new validity end date.",
                        "format":"date-time"
                    }
                },
                "xml":{
                    "name":"changeValidity"
                }
            },
            "TemplateFields":{
                "required":[
                    "batchName",
                    "qualifier"
                ],
                "type":"object",
                "properties":{
                    "batchType":{
                        "type":"integer",
                        "description":"The type of the batch.  Allowed values: <b>1</b> (payment), <b>2</b> (refund), or <b>3</b> (reversal).",
                        "format":"int32"
                    },
                    "payType":{
                        "type":"integer",
                        "description":"The payment method type. Allowed values: <ul><li><b>10003</b> (Credit card)</li><li><b>10005</b> (Direct debit)</li><li><b>10011</b> (Cash)</li><li><b>10012</b> (Check)</li><li><b>10013</b> (Wire Transfer)</li><li><b>10014</b> (Inter-bank payment order)</li><li><b>10015</b> (Postal order)</li><li>Any customized payment methods that have been added for your implementation</li></ul>",
                        "format":"int32"
                    },
                    "batchName":{
                        "type":"string",
                        "description":"The batch name, for example Cash Payment Batch or Check Payment Batch."
                    },
                    "startRow":{
                        "type":"integer",
                        "description":"The row from which import should start.",
                        "format":"int32"
                    },
                    "delimiter":{
                        "type":"string",
                        "description":"The delimiter that is used to separate fields."
                    },
                    "consecutive":{
                        "type":"integer",
                        "description":"Whether to treat consecutive delimiters as one (<b>true</b>) or not (<b>false</b>).",
                        "format":"int32"
                    },
                    "qualifier":{
                        "type":"string",
                        "description":"Ignore delimiters between specific characters. Valid characters are <b>\"</b>, <b>'</b>, or <b>none</b>."
                    },
                    "columnLink":{
                        "type":"array",
                        "description":"Indicates the order of the columns present in the batch.",
                        "items":{
                            "$ref":"#/components/schemas/ColumnLink"
                        }
                    },
                    "headerStartRow":{
                        "type":"integer",
                        "description":"The row from which the header starts.",
                        "format":"int32"
                    },
                    "headerEndRow":{
                        "type":"integer",
                        "description":"The row at which the header ends.",
                        "format":"int32"
                    },
                    "footerStartRow":{
                        "type":"integer",
                        "description":"The row from which the footer starts.",
                        "format":"int32"
                    },
                    "footerEndRow":{
                        "type":"integer",
                        "description":"The row at which the footer ends.",
                        "format":"int32"
                    },
                    "batchTemplateRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                },
                "xml":{
                    "name":"templateFields"
                }
            },
            "PartialRefund":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "payinfoTypeObject":{
                        "$ref":"#/components/schemas/PaymentTypeBase"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount that was refunded."
                    }
                },
                "xml":{
                    "name":"partialRefund"
                }
            },
            "AgingBuckets":{
                "required":[
                    "due"
                ],
                "type":"object",
                "properties":{
                    "days":{
                        "type":"integer",
                        "description":"The number of overdue days in this aging bucket.",
                        "format":"int32"
                    },
                    "due":{
                        "type":"number",
                        "description":"The amount due in this aging bucket."
                    }
                },
                "description":"List of aging buckets."
            },
            "PayinfoType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the payment type was created.",
                        "format":"date-time"
                    },
                    "accountObj":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type.",
                        "format":"int32"
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the payment type."
                    }
                }
            },
            "SourceImpactedBucket":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time the bucket's validity starts.",
                        "format":"date-time"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the bucket's validity ends.",
                        "format":"date-time"
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount in the bucket."
                    }
                },
                "description":"The impacted bucket at the source."
            },
            "DepositRefundRule":{
                "required":[
                    "offsetPeriodUnit"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"integer",
                        "description":"The ID of the deposit refund rule.",
                        "format":"int32"
                    },
                    "hasWorkFlow":{
                        "type":"boolean",
                        "description":"Specify whether the deposit refund has a workflow (<b>true</b>) or not (<b>false</b>).",
                        "default":true
                    },
                    "handlingFeeType":{
                        "type":"integer",
                        "description":"The handling fee type.<br/>Allowed Values: PERCENTAGE, ABSOLUTE",
                        "format":"int32"
                    },
                    "handlingFee":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "minRefundAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "offsetPeriodUnit":{
                        "type":"string",
                        "description":"The unit of measure for the offer period.<br/>Allowed Values: DAY, WEEK, MONTH, YEAR"
                    },
                    "offsetPeriodValue":{
                        "type":"integer",
                        "description":"The offer period value.",
                        "format":"int32"
                    },
                    "glCode":{
                        "type":"integer",
                        "description":"The general ledger ID.",
                        "format":"int32"
                    }
                }
            },
            "DepositTxnBalanceImpacts":{
                "required":[
                    "resourceId"
                ],
                "type":"object",
                "properties":{
                    "resourceId":{
                        "type":"string",
                        "description":"The balance impact's resource ID."
                    },
                    "tax":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "amount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "discountAmount":{
                        "$ref":"#/components/schemas/Money"
                    }
                }
            },
            "DeviceType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "deviceId":{
                        "type":"string",
                        "description":"The device ID."
                    },
                    "description":{
                        "type":"string",
                        "description":"The device type's description."
                    }
                }
            },
            "Payment":{
                "required":[
                    "amount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "payinfoTypeObject":{
                        "$ref":"#/components/schemas/PaymentTypeBase"
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The payment's currency.",
                        "format":"int32"
                    },
                    "selectedBillUnit":{
                        "type":"string",
                        "description":"The bill unit associated with the payment."
                    },
                    "itemPaymentRef":{
                        "type":"string",
                        "description":"The item associated with the payment."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The payment amount."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"payment"
                }
            },
            "Fields":{
                "required":[
                    "columnName",
                    "fieldName"
                ],
                "type":"object",
                "properties":{
                    "batchType":{
                        "type":"integer",
                        "description":"Type of Batch-reversal or payment.",
                        "format":"int32"
                    },
                    "columnName":{
                        "type":"string",
                        "description":"Name of field displayed."
                    },
                    "fieldName":{
                        "type":"string",
                        "description":"Name of fields in batch."
                    },
                    "purpose":{
                        "type":"integer",
                        "description":"Whether the field can be modified (<b>0</b>) or is read-only (<b>1</b>).",
                        "format":"int32"
                    },
                    "typeID":{
                        "type":"integer",
                        "description":"The data type of the value. Allowed values:<ul><li><b>1</b> (Integer)</li><li><b>3</b> (Enumerated)</li><li><b>5</b> (String)</li><li><b>7</b> (POID)</li><li><b>8</b> (Timestamp)</li><li><b>14</b> (Decimal)</li></ul>",
                        "format":"int32"
                    }
                }
            },
            "CustomizedBundleForPurchase":{
                "required":[
                    "id",
                    "name"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The bundle's name."
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the bundle takes effect.",
                        "format":"date-time"
                    },
                    "creditLimitFlags":{
                        "type":"integer",
                        "description":"Flag to set credit limit options. Allowed Values: <b>1</b> (Override credit limit), <b>2</b> (Prorate based on credit limit), <b>64</b> (Enforce credit limit).",
                        "format":"int32"
                    },
                    "customizedChargeOffers":{
                        "type":"array",
                        "description":"The list of customized charge offers in the bundle.",
                        "items":{
                            "$ref":"#/components/schemas/CustomizedChargeOffers"
                        }
                    },
                    "customizedDiscountOffers":{
                        "type":"array",
                        "description":"The list of customized discount offers.",
                        "items":{
                            "$ref":"#/components/schemas/CustomizedDiscountOffers"
                        }
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                }
            },
            "PaymentMethod":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "creditCard":{
                        "$ref":"#/components/schemas/CreditCardType"
                    },
                    "directDebit":{
                        "$ref":"#/components/schemas/DirectDebitType"
                    },
                    "invoice":{
                        "$ref":"#/components/schemas/InvoiceType"
                    },
                    "sepa":{
                        "$ref":"#/components/schemas/SepaType"
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    }
                }
            },
            "PromiseToPay":{
                "required":[
                    "effectiveDate",
                    "specName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "promiseToPayAmount":{
                        "type":"number",
                        "description":"The amount that is agreed to be paid."
                    },
                    "numberOfMilestones":{
                        "type":"integer",
                        "description":"The number of installments to be paid.",
                        "format":"int32"
                    },
                    "amountPerMilestone":{
                        "type":"number",
                        "description":"The amount of each installment to be paid."
                    },
                    "daysToPayAmount":{
                        "type":"integer",
                        "description":"The number of days until the payment is completed.",
                        "format":"int32"
                    },
                    "daysBetweenMilestones":{
                        "type":"integer",
                        "description":"The number of days between each installment.",
                        "format":"int32"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the promise-to-pay agreement is effective.",
                        "format":"date-time"
                    },
                    "paymentRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "specName":{
                        "type":"string"
                    },
                    "milestones":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Milestones"
                        }
                    }
                },
                "xml":{
                    "name":"promiseToPay"
                }
            },
            "LoanInfo":{
                "required":[
                    "ageOffsetUnit",
                    "loanTaxCode",
                    "maximum",
                    "minimum",
                    "percentFee",
                    "scaledMaximum",
                    "serviceFee",
                    "taxCode"
                ],
                "type":"object",
                "properties":{
                    "age":{
                        "type":"integer",
                        "description":"The minimum number of days, months, or years the account must be active to be eligible for a loan.",
                        "format":"int32",
                        "default":0
                    },
                    "serviceFee":{
                        "type":"number",
                        "description":"The fixed amount to charge as service fee. If you specify this, you cannot specify percentFee.",
                        "default":0
                    },
                    "ageOffsetUnit":{
                        "type":"string",
                        "description":"The unit (days, months, or years) for the account age eligibility number."
                    },
                    "minimum":{
                        "type":"number",
                        "description":"The minimum amount for the loan.",
                        "default":0
                    },
                    "maximum":{
                        "type":"number",
                        "description":"The fixed maximum amount for the loan. If you specify this, you cannot specify scaledMaximum.",
                        "default":0
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The ID of a noncurrency resource to use when calculating the loan when scaledMaximum is specified.",
                        "format":"int32",
                        "default":0
                    },
                    "maxQuantity":{
                        "type":"integer",
                        "description":"The maximum number of times the loan can be granted in each loan cycle.",
                        "format":"int32",
                        "default":0
                    },
                    "taxCode":{
                        "type":"string",
                        "description":"The tax code for the loan service fee."
                    },
                    "loanTaxCode":{
                        "type":"string",
                        "description":"The tax code for the loan."
                    },
                    "percentFee":{
                        "type":"number",
                        "description":"The percent of the loan to charge as a service fee. If you specify this, you cannot specify serviceFee.",
                        "default":0
                    },
                    "scaledMaximum":{
                        "type":"number",
                        "description":"The maximum scaled amount to grant. This is a percent of the resource specified in resourceId, which represents consumption of a noncurrency resource in the previous calendar month. If you specify this, you cannot specify the maximum element.",
                        "default":0
                    },
                    "reasonId":{
                        "type":"integer",
                        "description":"The A/R reason code to map to the G/L ID.",
                        "format":"int32",
                        "default":0
                    },
                    "reasonDomainId":{
                        "type":"integer",
                        "description":"The A/R reason domain to map to the G/L ID.",
                        "format":"int32",
                        "default":0
                    },
                    "locationMode":{
                        "type":"integer",
                        "description":"Whether the locations specified are where the loan is allowed (<b>0</b>) or not (<b>1</b>).",
                        "format":"int32"
                    }
                },
                "description":"The loan information."
            },
            "InstallmentBillItem":{
                "required":[
                    "billItemNumber",
                    "billRef",
                    "createdAt",
                    "customerRef",
                    "id"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment bill item ID."
                    },
                    "dueAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date and time the installment bill item was created."
                    },
                    "billItemNumber":{
                        "type":"string",
                        "description":"The installment bill item number."
                    },
                    "billRef":{
                        "type":"string",
                        "description":"The bill reference."
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    }
                }
            },
            "Ownership":{
                "type":"object",
                "properties":{
                    "sharingRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "offeringRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "markAsDelete":{
                        "type":"boolean",
                        "description":"Whether to delete the ownership (<b>true</b>) or not (<b>false</b>)."
                    },
                    "index":{
                        "type":"integer",
                        "description":"The position of the entry in the index. For example, the first item in a list would have an <b>index</b> value of <b>1</b>.",
                        "format":"int32"
                    }
                },
                "description":"The list of owners for the sharing group."
            },
            "User":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "userName":{
                        "type":"string",
                        "description":"The user name."
                    }
                },
                "xml":{
                    "name":"user"
                }
            },
            "NotificationDeliveryMethod":{
                "required":[
                    "id",
                    "name"
                ],
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The notification delivery method name."
                    },
                    "id":{
                        "type":"string",
                        "description":"The notification delivery method ID."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The notification delivery method status. Allowed Values: <ul><li><b>1</b> (Active)</li><li><b>2</b> (Inactive)</li></ul>",
                        "format":"int32"
                    }
                }
            },
            "NewBillUnits":{
                "required":[
                    "businessProfile",
                    "forServiceGroup"
                ],
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The name of the bill unit."
                    },
                    "forServiceGroup":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ServiceGroupIndex"
                        }
                    },
                    "walletPaymentInstrumentIndex":{
                        "type":"integer",
                        "description":"The wallet index number for the payment instrument associated with the bill unit.",
                        "format":"int32"
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the bill unit takes effect.",
                        "format":"date-time"
                    },
                    "currency":{
                        "type":"integer",
                        "description":"The primary currency of the bill unit.",
                        "format":"int32"
                    },
                    "accountingCycleDom":{
                        "type":"integer",
                        "description":"The accounting cycle day of month (DOM).",
                        "format":"int32"
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    },
                    "paymentMethod":{
                        "$ref":"#/components/schemas/PaymentMethod"
                    },
                    "paymentMethodId":{
                        "type":"string",
                        "description":"The ID of the payment method."
                    },
                    "rollUp":{
                        "type":"boolean"
                    },
                    "accountingType":{
                        "type":"integer",
                        "description":"The accounting type. Can be one of the following: <ul><li><b>1</b>: Open item</li><li><b>2</b>: Balance forward</li></ul>",
                        "format":"int32"
                    },
                    "billingFrequencyInMonths":{
                        "type":"integer",
                        "description":"The billing frequency in number of months. Can be one of the following: <ul><li><b>1</b>: Monthly</li><li><b>2</b>: Bi-monthly</li><li><b>3</b>: Quarterly</li><li><b>12</b>: Yearly</li></ul>",
                        "format":"int32"
                    },
                    "segment":{
                        "type":"integer",
                        "description":"The customer segment associated with the bill unit. A customer segment is a user-defined customer description that can be used to group accounts according to customer billing and payment practices.",
                        "format":"int32"
                    },
                    "status":{
                        "type":"string",
                        "description":"The status of the bill unit, such as active, inactive, or closed."
                    },
                    "arBillUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "parentBillUnitRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "parentRef":{
                        "type":"string",
                        "description":"A reference to the parent."
                    },
                    "businessProfile":{
                        "type":"string",
                        "description":"The business profile associated with bill unit."
                    },
                    "balanceGroups":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/BalanceGroup"
                        }
                    }
                }
            },
            "EditAction":{
                "required":[
                    "rescheduleDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "rescheduleDate":{
                        "type":"string",
                        "description":"The date and time to reschedule the collections action to. If <b>rescheduleAction</b> is set to <b>false</b>, specify an empty string here.",
                        "format":"date-time"
                    },
                    "rescheduleAction":{
                        "type":"boolean",
                        "description":"Whether to reschedule the collections action (<b>true</b>) or not (<b>false</b>)."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The amount due to be collected."
                    },
                    "status":{
                        "type":"integer",
                        "description":"The collection action's status. Can be one of the following: <ul><li><b>0</b>: Pending</li><li><b>1</b>: Canceled</li><li><b>2</b>: Completed</li><li><b>3</b>: Error</li></ul>",
                        "format":"int32"
                    },
                    "actionFlag":{
                        "type":"integer",
                        "description":"Which collections action to reschedule. Can be one of the following: <ul><li><b>0</b>: Only the selected action.</li><li><b>1</b>: All pending errored actions.</li><li><b>2</b>: Do not reschedule actions.</li></ul>",
                        "format":"int32"
                    },
                    "slipByDays":{
                        "type":"integer",
                        "description":"The number of days to slip the schedule.",
                        "format":"int32"
                    },
                    "cancelFollowupActions":{
                        "type":"boolean",
                        "description":"Whether to cancel all follow-up actions (<b>true</b>) or keep the existing follow-up actions (<b>false</b>)."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"editAction"
                }
            },
            "CustomizedOffer":{
                "required":[
                    "cycleEndT",
                    "cycleStartT",
                    "id",
                    "overriddenCharges",
                    "purchaseDiscount",
                    "purchaseDiscountPercent",
                    "purchaseEndT",
                    "purchaseFee",
                    "purchaseFeeOverriden",
                    "purchaseStartT",
                    "purchasedDate",
                    "quantity",
                    "recurringDiscount",
                    "recurringDiscountPercent",
                    "recurringFee",
                    "recurringFeeOverriden",
                    "usageDiscount",
                    "usageEndT",
                    "usageStartT"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "purchasedProductRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "cycleDuration":{
                        "type":"integer",
                        "description":"The accounting cycle duration.",
                        "format":"int32"
                    },
                    "recurringFee":{
                        "type":"number",
                        "description":"The amount of the recurring fee."
                    },
                    "recurringFeeOverriden":{
                        "type":"number",
                        "description":"The amount by which to override the recurring fee."
                    },
                    "recurringDiscount":{
                        "type":"number",
                        "description":"The fixed amount of the recurring discount."
                    },
                    "recurringDiscountPercent":{
                        "type":"number",
                        "description":"The percentage amount of the recurring discount."
                    },
                    "purchaseFee":{
                        "type":"number",
                        "description":"The purchase fee amount."
                    },
                    "purchaseFeeOverriden":{
                        "type":"number",
                        "description":"The amount by which to override the purchase fee."
                    },
                    "purchaseDiscount":{
                        "type":"number",
                        "description":"The amount of the purchase fee discount."
                    },
                    "purchaseDiscountPercent":{
                        "type":"number",
                        "description":"The percentage amount by which to discount the purchase fee."
                    },
                    "usageDiscount":{
                        "type":"number",
                        "description":"The amount of the usage discount."
                    },
                    "usageStartT":{
                        "type":"string",
                        "description":"The date and time the usage changes start.",
                        "format":"date-time"
                    },
                    "usageEndT":{
                        "type":"string",
                        "description":"The date and time the usage changes end.",
                        "format":"date-time"
                    },
                    "purchaseStartT":{
                        "type":"string",
                        "description":"The date and time the purchase changes start.",
                        "format":"date-time"
                    },
                    "purchaseEndT":{
                        "type":"string",
                        "description":"The date and time the purchase changes end.",
                        "format":"date-time"
                    },
                    "cycleStartT":{
                        "type":"string",
                        "description":"The date and time the cycle changes start.",
                        "format":"date-time"
                    },
                    "cycleEndT":{
                        "type":"string",
                        "description":"The date and time the cycle changes end.",
                        "format":"date-time"
                    },
                    "gracePeriodUnit":{
                        "type":"integer",
                        "description":"The unit the grace period is measured in.",
                        "format":"int32"
                    },
                    "gracePeriodOffset":{
                        "type":"integer",
                        "description":"The number to offset the grace period by.",
                        "format":"int32"
                    },
                    "renewalMode":{
                        "type":"integer",
                        "description":"How to handle the offer's cycle alignment when its bundle is reactivated. Possible values are: <ul><li><b>0</b>: Cycle aligns with the original billing date or configured specific day of the month.</li><li><b>1</b>: Cycle aligns with the reactivation date.</li></ul>",
                        "format":"int32"
                    },
                    "terminationFee":{
                        "type":"number",
                        "description":"The amount of the early termination fee."
                    },
                    "overriddenCharges":{
                        "type":"array",
                        "description":"The overridden charges.",
                        "items":{
                            "$ref":"#/components/schemas/OverriddenCharges"
                        }
                    },
                    "name":{
                        "type":"string",
                        "description":"The offer's name."
                    },
                    "planName":{
                        "type":"string",
                        "description":"The name of the package that contains the offer."
                    },
                    "dealName":{
                        "type":"string",
                        "description":"The name of the deal that contains the offer."
                    },
                    "serviceName":{
                        "type":"string",
                        "description":"The name of the service that contains the offer."
                    },
                    "serviceType":{
                        "type":"string",
                        "description":"The type of the service that contains the offer."
                    },
                    "dealRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "planRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "description":{
                        "type":"string",
                        "description":"The offer's description."
                    },
                    "status":{
                        "type":"string",
                        "description":"The offer's status."
                    },
                    "quantity":{
                        "type":"number",
                        "description":"The quantity of offer."
                    },
                    "packageId":{
                        "type":"integer",
                        "description":"The package id of offer.",
                        "format":"int32"
                    },
                    "purchasedDate":{
                        "type":"string",
                        "description":"The date on which the offer is purchased.",
                        "format":"date-time"
                    },
                    "contractName":{
                        "type":"string",
                        "description":"The name of the contract."
                    },
                    "contractStartDate":{
                        "type":"string",
                        "description":"The start date for the contract.",
                        "format":"date-time"
                    },
                    "contractEndDate":{
                        "type":"string",
                        "description":"The end date for the contract.",
                        "format":"date-time"
                    },
                    "contractRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "termRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    }
                }
            },
            "CustomizedDiscountOffers":{
                "required":[
                    "quantity"
                ],
                "type":"object",
                "properties":{
                    "baseDiscountOfferRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "name":{
                        "type":"string",
                        "description":"The discount offer's name."
                    },
                    "description":{
                        "type":"string",
                        "description":"The discount offer's description."
                    },
                    "quantity":{
                        "type":"number",
                        "description":"The discount's quantity."
                    },
                    "purchaseStart":{
                        "$ref":"#/components/schemas/StartingType"
                    },
                    "purchaseEnd":{
                        "$ref":"#/components/schemas/EndingType"
                    },
                    "cycleStart":{
                        "$ref":"#/components/schemas/StartingType"
                    },
                    "cycleEnd":{
                        "$ref":"#/components/schemas/EndingType"
                    },
                    "usageStart":{
                        "$ref":"#/components/schemas/StartingType"
                    },
                    "usageEnd":{
                        "$ref":"#/components/schemas/EndingType"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The discount offer's status. Can be one of the following: <ul><li><b>0</b>: Not set</li><li><b>1</b>: Active</li><li><b>2</b>: Inactive</li><li><b>3</b>: Canceled</li></ul>",
                        "format":"int32"
                    },
                    "statusFlag":{
                        "type":"integer",
                        "description":"The status flag.",
                        "format":"int32"
                    },
                    "overriddenCharges":{
                        "type":"array",
                        "description":"The overridden charges.",
                        "items":{
                            "$ref":"#/components/schemas/OverriddenCharges"
                        }
                    }
                },
                "description":"The list of customized discount offers."
            },
            "Column":{
                "required":[
                    "name",
                    "value"
                ],
                "type":"object",
                "properties":{
                    "value":{
                        "type":"string"
                    },
                    "name":{
                        "type":"string"
                    }
                }
            },
            "BundleOffers":{
                "type":"object",
                "properties":{
                    "bundleOffer":{
                        "type":"array",
                        "description":"A bundle.",
                        "items":{
                            "$ref":"#/components/schemas/BundleOffer"
                        }
                    }
                },
                "xml":{
                    "name":"bundleOffers"
                }
            },
            "ColumnarRecord":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "templateName":{
                        "type":"string"
                    },
                    "xmlTemplateName":{
                        "type":"string"
                    },
                    "saveResults":{
                        "type":"boolean"
                    },
                    "columnDefinitions":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/ColumnDefinitions"
                        }
                    },
                    "entries":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Entries"
                        }
                    }
                },
                "xml":{
                    "name":"columnarRecord"
                }
            },
            "Configurations":{
                "required":[
                    "flags",
                    "keyvals",
                    "mapping",
                    "thresholds"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "keyvals":{
                        "type":"array",
                        "description":"A set of key-value pairs.",
                        "items":{
                            "$ref":"#/components/schemas/Keyvals"
                        }
                    },
                    "flags":{
                        "type":"array",
                        "description":"A flag.",
                        "items":{
                            "$ref":"#/components/schemas/Flags"
                        }
                    },
                    "thresholds":{
                        "type":"array",
                        "description":"A threshold. The minimum required parameters are: <b>key</b> and <b>value</b>.",
                        "items":{
                            "$ref":"#/components/schemas/Thresholds"
                        }
                    },
                    "mapping":{
                        "type":"array",
                        "description":"A mapping.",
                        "items":{
                            "$ref":"#/components/schemas/Mapping"
                        }
                    }
                },
                "xml":{
                    "name":"configurations"
                }
            },
            "CancelInstallment":{
                "required":[
                    "completedAt",
                    "createdAt",
                    "customerRef",
                    "error",
                    "href",
                    "id",
                    "installmentRef",
                    "notes",
                    "reason",
                    "status"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The ID of the installment schedule to cancel."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used for getting the object."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date of creation."
                    },
                    "completedAt":{
                        "type":"string",
                        "description":"The completion date and time of the operation."
                    },
                    "status":{
                        "type":"string",
                        "description":"The status of the installment schedule cancelation.<br/>Allowed Values: COMPLETED, FAILED, PENDING"
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "installmentRef":{
                        "type":"string",
                        "description":"The installment schedule reference."
                    },
                    "reason":{
                        "type":"string",
                        "description":"The reason for cancellation."
                    },
                    "notes":{
                        "type":"string",
                        "description":"Notes about the cancellation."
                    },
                    "error":{
                        "type":"string",
                        "description":"The error message for any details or corrective actions."
                    }
                },
                "xml":{
                    "name":"cancelInstallment"
                }
            },
            "CollectionDetails":{
                "required":[
                    "billUnitId",
                    "minimumDue",
                    "overdueAmount",
                    "scenarioId"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "scenarioId":{
                        "type":"string",
                        "description":"The ID of the collections scenario."
                    },
                    "billUnitId":{
                        "type":"string",
                        "description":"The ID of the bill unit."
                    },
                    "overdueAmount":{
                        "type":"number",
                        "description":"The amount that is past due."
                    },
                    "overdueDays":{
                        "type":"integer",
                        "description":"The number of days that the payment is past due.",
                        "format":"int32"
                    },
                    "minimumDue":{
                        "type":"number",
                        "description":"The minimum payment amount."
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    },
                    "agingBuckets":{
                        "type":"array",
                        "description":"List of aging buckets.",
                        "items":{
                            "$ref":"#/components/schemas/AgingBuckets"
                        }
                    },
                    "actions":{
                        "type":"array",
                        "description":"List of collections actions.",
                        "items":{
                            "$ref":"#/components/schemas/Actions"
                        }
                    }
                },
                "xml":{
                    "name":"collectionDetails"
                }
            },
            "ColumnLink":{
                "required":[
                    "fieldName"
                ],
                "type":"object",
                "properties":{
                    "fieldName":{
                        "type":"string",
                        "description":"The name of the column."
                    },
                    "index":{
                        "type":"integer",
                        "description":"The position in which the column appears.",
                        "format":"int32"
                    },
                    "purpose":{
                        "type":"integer",
                        "description":"Whether the field is specific to the batch (<b>1</b>) or not (<b>0</b>).",
                        "format":"int32"
                    }
                },
                "description":"Indicates the order of the columns present in the batch."
            },
            "PaymentMethodFields":{
                "required":[
                    "languageName",
                    "paymentMethodObjectID",
                    "paymentMethodType"
                ],
                "type":"object",
                "properties":{
                    "paymentMethodObjectID":{
                        "type":"string",
                        "description":"Paymenttool object unique ID."
                    },
                    "languageName":{
                        "type":"string",
                        "description":"Type of paymenttool object based on language."
                    },
                    "paymentMethodType":{
                        "type":"array",
                        "description":"Fields related to a particular payment method.",
                        "items":{
                            "$ref":"#/components/schemas/PaymentMethodType"
                        }
                    }
                },
                "description":"Payment fields of default type and language type."
            },
            "OpcodeInfo":{
                "type":"object",
                "properties":{
                    "opcode":{
                        "type":"integer",
                        "description":"The name of the opcode.",
                        "format":"int32"
                    },
                    "flags":{
                        "type":"integer",
                        "description":"The flags passed with the opcode.",
                        "format":"int32"
                    }
                },
                "description":"Information about the opcode related to the request."
            },
            "Wallet":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "paymentInstrument":{
                        "type":"array",
                        "items":{
                            "type":"object",
                            "properties":{
                                "name":{
                                    "type":"object",
                                    "properties":{
                                        "namespaceURI":{
                                            "type":"string"
                                        },
                                        "localPart":{
                                            "type":"string"
                                        },
                                        "prefix":{
                                            "type":"string"
                                        }
                                    }
                                },
                                "value":{
                                    "$ref":"#/components/schemas/PaymentInstrumentType"
                                },
                                "nil":{
                                    "type":"boolean"
                                },
                                "globalScope":{
                                    "type":"boolean"
                                },
                                "typeSubstituted":{
                                    "type":"boolean"
                                }
                            }
                        }
                    }
                }
            },
            "Comments":{
                "required":[
                    "comment"
                ],
                "type":"object",
                "properties":{
                    "csrLoginId":{
                        "type":"string",
                        "description":"The login ID associated with the CSR."
                    },
                    "csrFirstName":{
                        "type":"string",
                        "description":"The CSR's first name."
                    },
                    "csrLastName":{
                        "type":"string",
                        "description":"The CSR's last name."
                    },
                    "csrAccountId":{
                        "type":"string",
                        "description":"The CSR's account ID."
                    },
                    "externalUser":{
                        "type":"string",
                        "description":"The external user."
                    },
                    "comment":{
                        "type":"string",
                        "description":"The comment."
                    },
                    "trackingId":{
                        "type":"string",
                        "description":"The tracking ID."
                    },
                    "entryDate":{
                        "type":"string",
                        "description":"The date and time the comment was entered by the CSR.",
                        "format":"date-time"
                    }
                },
                "description":"The list of comments associated with the note."
            },
            "ResourceGrants":{
                "required":[
                    "deniedActions",
                    "grantedActions",
                    "resourceName"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "resourceName":{
                        "type":"string",
                        "description":"The name of the resource being granted."
                    },
                    "grantedActions":{
                        "type":"array",
                        "items":{
                            "type":"string"
                        }
                    },
                    "deniedActions":{
                        "type":"array",
                        "items":{
                            "type":"string"
                        }
                    }
                },
                "xml":{
                    "name":"resourceGrants"
                }
            },
            "Bundle":{
                "required":[
                    "creationDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "bundleId":{
                        "type":"string",
                        "description":"The ID of the bundle."
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the bundle."
                    },
                    "permitted":{
                        "type":"string",
                        "description":"The purchase level permitted for the bundle. This can be a single service (for example, <b>/service/email</b>), all services (<b>/service</b>), all accounts (<b>/account</b>), or all accounts and services (<b>*</b>)."
                    },
                    "creationDate":{
                        "type":"string",
                        "description":"The date and time the bundle was created.",
                        "format":"date-time"
                    },
                    "description":{
                        "type":"string",
                        "description":"The bundle's description."
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time the validity period ends.",
                        "format":"date-time"
                    },
                    "tags":{
                        "type":"string",
                        "description":"The tags associated with the bundle."
                    },
                    "ref":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "chargeoffers":{
                        "type":"array",
                        "description":"The list of charge offers in the bundle.",
                        "items":{
                            "$ref":"#/components/schemas/Chargeoffers"
                        }
                    },
                    "discountoffers":{
                        "type":"array",
                        "description":"The list of discount offers in the bundle.",
                        "items":{
                            "$ref":"#/components/schemas/Discountoffers"
                        }
                    },
                    "subscriptionTerms":{
                        "$ref":"#/components/schemas/SubscriptionTerms"
                    },
                    "service":{
                        "$ref":"#/components/schemas/Service"
                    }
                },
                "description":"A bundle.",
                "xml":{
                    "name":"bundle"
                }
            },
            "ServiceInPlan":{
                "type":"object",
                "properties":{
                    "serviceKey":{
                        "type":"string",
                        "description":"The service key."
                    },
                    "serviceType":{
                        "type":"string",
                        "description":"The service type."
                    },
                    "balGrpIndex":{
                        "type":"integer",
                        "description":"The balance group index.",
                        "format":"int32"
                    },
                    "groupParent":{
                        "type":"boolean",
                        "description":"Whether this is a parent in the service group (<b>true</b>) or not (<b>false</b>)."
                    },
                    "subscriptionIndex":{
                        "type":"integer",
                        "description":"The subscription index.",
                        "format":"int32"
                    },
                    "bundles":{
                        "type":"array",
                        "description":"The list of bundles in the service.",
                        "items":{
                            "$ref":"#/components/schemas/Bundles"
                        }
                    }
                }
            },
            "TempCreditLimit":{
                "required":[
                    "validFrom",
                    "validTo"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "limit":{
                        "type":"number",
                        "description":"The temporary credit limit amount."
                    },
                    "resourceId":{
                        "type":"integer",
                        "description":"The resource ID associated with the temporary credit limit.",
                        "format":"int32"
                    },
                    "validTo":{
                        "type":"string",
                        "description":"The date and time temporary credit limit's validity ends.",
                        "format":"date-time"
                    },
                    "validFrom":{
                        "type":"string",
                        "description":"The date and time temporary credit limit's validity starts.",
                        "format":"date-time"
                    },
                    "validToUnit":{
                        "type":"integer",
                        "description":"The unit for the temporary credit limit's validity period end.",
                        "format":"int32"
                    },
                    "validToOffset":{
                        "type":"integer",
                        "description":"The offset for the temporary credit limit's validity period end.",
                        "format":"int32"
                    },
                    "validFromUnit":{
                        "type":"integer",
                        "description":"The unit for the temporary credit limit's validity period start.",
                        "format":"int32"
                    },
                    "validFromOffset":{
                        "type":"integer",
                        "description":"The offset for the temporary credit limit's validity period start.",
                        "format":"int32"
                    }
                }
            },
            "Service":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "serviceDetails":{
                        "$ref":"#/components/schemas/ServiceBase"
                    },
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number associated with the service."
                    },
                    "products":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Product"
                        }
                    },
                    "discounts":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/Discount"
                        }
                    }
                }
            },
            "BalanceGroups":{
                "type":"object",
                "properties":{
                    "limits":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/LimitType"
                        }
                    },
                    "name":{
                        "type":"string",
                        "description":"The name of the balance group."
                    },
                    "rules":{
                        "type":"array",
                        "description":"The list of consumption rules that define the order in which to consume balances.",
                        "items":{
                            "$ref":"#/components/schemas/Rules"
                        }
                    },
                    "elem":{
                        "type":"integer",
                        "description":"The position of the entry in the array. For example, the first item in a list would have an <b>elem</b> value of <b>1</b>.",
                        "format":"int32",
                        "xml":{
                            "attribute":true
                        }
                    },
                    "default":{
                        "type":"boolean"
                    }
                },
                "description":"Balance groups associated with the package."
            },
            "NotificationEvent":{
                "required":[
                    "eventName"
                ],
                "type":"object",
                "properties":{
                    "flags":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "eventName":{
                        "type":"string",
                        "description":"The notification event name."
                    },
                    "opcode":{
                        "type":"integer",
                        "description":"The policy opcode number.",
                        "format":"int32"
                    },
                    "eventType":{
                        "type":"string",
                        "description":"The event type."
                    },
                    "notifySearchLevel":{
                        "type":"integer",
                        "description":"The level to search for the notification. Allowed Values: <ul><li><b>1</b> (Own self)</li><li><b>2</b> (Account)</li><li><b>4</b> (Balance group)</li><li><b>8</b> (Service)</li><li><b>16</b> (Bill info)</li></ul>",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"notificationEvent"
                }
            },
            "TransferBalanceDetails":{
                "required":[
                    "id",
                    "sourceAccountRef",
                    "sourceImpactedBucket",
                    "sourceRef",
                    "sourceTransferFee",
                    "targetAccountRef",
                    "targetImpactedBucket",
                    "targetRef",
                    "targetTransferFee",
                    "transferAmount",
                    "transferDate"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The transfer's ID."
                    },
                    "sourceAccountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "targetAccountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "transferDate":{
                        "type":"string",
                        "description":"The date and time of the transfer.",
                        "format":"date-time"
                    },
                    "sourceRef":{
                        "$ref":"#/components/schemas/SourceRef"
                    },
                    "targetRef":{
                        "$ref":"#/components/schemas/TargetRef"
                    },
                    "transferAmount":{
                        "type":"number",
                        "description":"The transfer amount."
                    },
                    "transferAmountType":{
                        "type":"integer",
                        "description":"The transfer amount's type.",
                        "format":"int32"
                    },
                    "chargeSource":{
                        "type":"boolean",
                        "description":"The source for a charge."
                    },
                    "chargeDestination":{
                        "type":"boolean",
                        "description":"The destination for a charge."
                    },
                    "sourceImpactedBucket":{
                        "type":"array",
                        "description":"The impacted bucket at the source.",
                        "items":{
                            "$ref":"#/components/schemas/SourceImpactedBucket"
                        }
                    },
                    "targetImpactedBucket":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/TargetImpactedBucket"
                        }
                    },
                    "sourceTransferFee":{
                        "$ref":"#/components/schemas/SourceTransferFee"
                    },
                    "targetTransferFee":{
                        "$ref":"#/components/schemas/TargetTransferFee"
                    }
                },
                "xml":{
                    "name":"transferBalanceDetails"
                }
            },
            "RecyclePayment":{
                "required":[
                    "effectiveDate",
                    "unallocatedSuspendedAmount"
                ],
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "effectiveDate":{
                        "type":"string",
                        "description":"The date and time the recycled payment took effect.",
                        "format":"date-time"
                    },
                    "eventRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "unallocatedSuspendedAmount":{
                        "type":"number",
                        "description":"The amount of the original payment that hasn't been allocated."
                    },
                    "details":{
                        "type":"array",
                        "description":"The list of details associated with the recycled payment.",
                        "items":{
                            "$ref":"#/components/schemas/Details"
                        }
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"RecyclePayment"
                }
            },
            "InvoiceType":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "id":{
                        "type":"string",
                        "description":"The ID."
                    },
                    "name":{
                        "type":"string",
                        "description":"The payment instrument's name."
                    },
                    "paymentType":{
                        "type":"integer",
                        "description":"The payment type. Can be one of the following: <ul><li><b>10001</b>:Invoice</li><li><b>10003</b>: Credit card</li><li><b>10005</b>: Direct debit</li><li><b>10007</b>: Subordinate</li></ul>",
                        "format":"int32"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "correctiveInvoiceType":{
                        "type":"integer",
                        "description":"The type of invoice to create, such as an invoice correction letter or a replacement invoice.",
                        "format":"int32"
                    },
                    "details":{
                        "$ref":"#/components/schemas/InvoiceTypeDetails"
                    }
                }
            },
            "Milestones":{
                "type":"object",
                "properties":{
                    "interval":{
                        "type":"integer",
                        "format":"int32"
                    },
                    "amount":{
                        "type":"number"
                    },
                    "type":{
                        "type":"integer",
                        "format":"int32"
                    }
                }
            },
            "BundleCancel":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the status takes effect.",
                        "format":"date-time"
                    },
                    "packageId":{
                        "type":"integer",
                        "description":"The ID of the package.",
                        "format":"int32"
                    },
                    "dealRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "serviceRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "accountRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "description":{
                        "type":"string",
                        "description":"The product's description."
                    },
                    "flag":{
                        "type":"integer",
                        "description":"flag.",
                        "format":"int32"
                    }
                },
                "xml":{
                    "name":"bundleCancel"
                }
            },
            "AccountGroup":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "lastStatusChange":{
                        "type":"string",
                        "description":"The date and time the account group's status was last modified.",
                        "format":"date-time"
                    },
                    "status":{
                        "type":"integer",
                        "description":"The account group's status.",
                        "format":"int32"
                    },
                    "bundles":{
                        "type":"array",
                        "items":{
                            "$ref":"#/components/schemas/PurchasedBundle"
                        }
                    }
                }
            },
            "ReverseWriteoff":{
                "type":"object",
                "properties":{
                    "extension":{
                        "type":"object",
                        "description":"The extended attributes."
                    },
                    "actionAffectsRef":{
                        "$ref":"#/components/schemas/ResourceRef"
                    },
                    "effective":{
                        "type":"string",
                        "description":"The date and time the adjustment takes effect.",
                        "format":"date-time"
                    },
                    "notes":{
                        "$ref":"#/components/schemas/Notes"
                    }
                },
                "xml":{
                    "name":"reverseWriteoff"
                }
            },
            "TargetRef":{
                "required":[
                    "id",
                    "type"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The target's ID."
                    },
                    "type":{
                        "type":"string",
                        "description":"The target's type. Can be one of the following: <ul><li>balanceGroup</li><li>account</li><li>service</li></ul>"
                    }
                },
                "description":"The balance transfer's target."
            },
            "ItemsAffected":{
                "required":[
                    "accountNumber",
                    "amount",
                    "billNumber",
                    "billUnitId",
                    "item",
                    "settledNonTaxedAmount",
                    "settledTaxAmount",
                    "settledTaxedAmount"
                ],
                "type":"object",
                "properties":{
                    "accountNumber":{
                        "type":"string",
                        "description":"The account number associated with the bill item."
                    },
                    "billNumber":{
                        "type":"string",
                        "description":"The bill number associated with the bill item."
                    },
                    "amount":{
                        "type":"number",
                        "description":"The bill item amount."
                    },
                    "item":{
                        "type":"string",
                        "description":"The bill item."
                    },
                    "billUnitId":{
                        "type":"string",
                        "description":"The ID of the bill unit associated with the bill item."
                    },
                    "cycleStarts":{
                        "type":"string",
                        "description":"The date and time the billing cycle starts.",
                        "format":"date-time"
                    },
                    "cycleEnds":{
                        "type":"string",
                        "description":"The date and time the billing cycle ends.",
                        "format":"date-time"
                    },
                    "settledTaxAmount":{
                        "type":"number",
                        "description":"The amount of tax for the bill item settled by the payment."
                    },
                    "settledTaxedAmount":{
                        "type":"number",
                        "description":"The taxable amount for the bill item settled by the payment."
                    },
                    "settledNonTaxedAmount":{
                        "type":"number",
                        "description":"The nontaxable amount for the bill item settled by the payment."
                    }
                },
                "description":"Affected bill items."
            },
            "DepositReversal":{
                "required":[
                    "completedAt",
                    "createdAt",
                    "customerDepositRef",
                    "customerRef",
                    "error",
                    "href",
                    "id",
                    "notes",
                    "reason",
                    "status"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The deposit reversal ID."
                    },
                    "href":{
                        "type":"string",
                        "description":"The unique resource URL, used to get the object."
                    },
                    "customerRef":{
                        "type":"string",
                        "description":"The customer reference."
                    },
                    "customerDepositRef":{
                        "type":"string",
                        "description":"The customer deposit reference."
                    },
                    "notes":{
                        "type":"string",
                        "description":"Notes about the deposit reversal."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date when the deposit reversal is initiated.",
                        "format":"date-time"
                    },
                    "completedAt":{
                        "type":"string",
                        "description":"The deposit reversal completion date.",
                        "format":"date-time"
                    },
                    "status":{
                        "type":"string",
                        "description":"The deposit reversal status.<br/>Allowed Values: COMPLETED, FAILED, PENDING, ACCEPTED, REJECTED"
                    },
                    "reason":{
                        "type":"string",
                        "description":"Reason for the deposit reversal."
                    },
                    "error":{
                        "type":"string",
                        "description":"Error message for the deposit reversal."
                    }
                },
                "xml":{
                    "name":"depositReversal"
                }
            },
            "PromiseToPaySpec":{
                "required":[
                    "minPercentageThreshold",
                    "minimum"
                ],
                "type":"object",
                "properties":{
                    "type":{
                        "type":"integer",
                        "description":"The type of minimum value. Allowed Values: <ul><li><b>0</b> (Absolute)</li><li><b>1</b> (Percentage)</li></ul>",
                        "format":"int32"
                    },
                    "minimum":{
                        "type":"number",
                        "description":"Minimum value per installment."
                    },
                    "maxUnequalInstallments":{
                        "type":"integer",
                        "description":"The maximum number of unequal installments.",
                        "format":"int32"
                    },
                    "maxUnequalInterval":{
                        "type":"integer",
                        "description":"The maximum interval between installments.",
                        "format":"int32"
                    },
                    "minPercentageThreshold":{
                        "type":"number",
                        "description":"The minimum value of the first installment."
                    },
                    "creditLimitFlag":{
                        "type":"integer",
                        "description":"Specify whether to increment or decrement the credit limit (<b>1</b>) or not (<b>0</b>).",
                        "format":"int32"
                    }
                }
            },
            "InstallmentScheduleBill":{
                "required":[
                    "billNo",
                    "createdAt",
                    "dueAt",
                    "id",
                    "status"
                ],
                "type":"object",
                "properties":{
                    "id":{
                        "type":"string",
                        "description":"The installment schedule bill ID."
                    },
                    "createdAt":{
                        "type":"string",
                        "description":"The date and time the installment schedule bill was created."
                    },
                    "dueAt":{
                        "type":"string",
                        "description":"The date and time the installment schedule bill is due."
                    },
                    "billNo":{
                        "type":"string",
                        "description":"The installment schedule bill number."
                    },
                    "totalAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "dueAmount":{
                        "$ref":"#/components/schemas/Money"
                    },
                    "status":{
                        "type":"string",
                        "description":"The installment schedule bill status."
                    }
                }
            },
            "CreditCardTypeDetails":{
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The name as it appears on the credit card."
                    },
                    "address":{
                        "type":"string",
                        "description":"The street address associated with the credit card."
                    },
                    "city":{
                        "type":"string",
                        "description":"The city associated with the credit card."
                    },
                    "state":{
                        "type":"string",
                        "description":"The state associated with the credit card."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The ZIP code associated with the credit card."
                    },
                    "country":{
                        "type":"string",
                        "description":"The country associated with the credit card."
                    },
                    "debitExp":{
                        "type":"string",
                        "description":"The credit card expiration in <i>mmyy</i> format."
                    },
                    "debitNumber":{
                        "type":"string",
                        "description":"The credit card number."
                    },
                    "securityCode":{
                        "type":"string",
                        "description":"The credit card's 3-digit CVV2 or 4-digit CID."
                    }
                }
            },
            "DebitCardTypeDetails":{
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The name as it appears on the bank account."
                    },
                    "address":{
                        "type":"string",
                        "description":"The street address associated with the bank account."
                    },
                    "city":{
                        "type":"string",
                        "description":"The city associated with the bank account."
                    },
                    "state":{
                        "type":"string",
                        "description":"The state associated with the bank account."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The ZIP code associated with the bank account."
                    },
                    "country":{
                        "type":"string",
                        "description":"The country associated with the bank account."
                    },
                    "bankNumber":{
                        "type":"string",
                        "description":"The RDFI or Bank ID used for routing transactions."
                    },
                    "debitNumber":{
                        "type":"string",
                        "description":"The RDFI or Bank ID used for routing transactions."
                    },
                    "accountType":{
                        "type":"integer",
                        "description":"The bank account type. Possible values are: <ul><li><b>1</b> (Checking account)</li><li><b>2</b> (Savings account)</li><li><b>3</b> (Corporate account)</li></ul>"
                    },
                    "mandateStatus":{
                        "type":"integer",
                        "description":"The current mandate status."
                    },
                    "cardActivationDate":{
                        "type":"string",
                        "description":"The date and time the card was activated."
                    },
                    "mandateReceivedDate":{
                        "type":"string",
                        "description":"The date and time the mandate was received."
                    },
                    "fiasId":{
                        "type":"string",
                        "description":"The FIAS ID."
                    }
                }
            },
            "InvoiceTypeDetails":{
                "type":"object",
                "properties":{
                    "name":{
                        "type":"string",
                        "description":"The customer's name."
                    },
                    "invoiceID":{
                        "type":"string",
                        "description":"The invoice's ID."
                    },
                    "address":{
                        "type":"string",
                        "description":"The customer's street address."
                    },
                    "city":{
                        "type":"string",
                        "description":"The customer's city."
                    },
                    "state":{
                        "type":"string",
                        "description":"The customer's state."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The customer's ZIP code."
                    },
                    "country":{
                        "type":"string",
                        "description":"The customer's country."
                    },
                    "deliveryPrefer":{
                        "type":"string",
                        "description":"The customer's invoice delivery preference. Possible values are: <ul><li><b>0</b> (Email)</li><li><b>1</b> (Postal)</li><li><b>2</b> (Fax)</li></ul>"
                    },
                    "emailAddr":{
                        "type":"string",
                        "description":"The customer's email address."
                    },
                    "elem":{
                        "type":"integer",
                        "description":"The position of the entry in the array. For example, the first item in a list would have an <b>elem</b> value of <b>1</b>."
                    }
                }
            },
            "SepaTypeDetails":{
                "type":"object",
                "properties":{
                    "bankIdentifierCode":{
                        "type":"string",
                        "description":"The bank identifier code."
                    },
                    "creditorId":{
                        "type":"string",
                        "description":"The creditor's ID."
                    },
                    "creditorName":{
                        "type":"string",
                        "description":"The creditor's name."
                    },
                    "debtorInfo":{
                        "$ref":"#/components/schemas/DebtorInfoDetails"
                    },
                    "internationalBankAccountNumber":{
                        "type":"string",
                        "description":"The international bank account number."
                    },
                    "mandateLastPostedDate":{
                        "type":"string",
                        "description":"The date and time the customer's SEPA mandate was last posted."
                    },
                    "mandateAmended":{
                        "type":"integer",
                        "description":"The date and time the customer's SEPA mandate was last amended."
                    },
                    "mandateContractDescr":{
                        "type":"string",
                        "description":"The description of the customer's SEPA mandate contract."
                    },
                    "mandateContractId":{
                        "type":"string",
                        "description":"The ID of the customer's SEPA mandate contract."
                    },
                    "mandateEndDate":{
                        "type":"string",
                        "description":"The date and time the customer's SEPA mandate ends."
                    },
                    "mandateSignedDate":{
                        "type":"integer",
                        "description":"The position of the entry in the array. For example, the first item in a list would have an <b>elem</b> value of <b>1</b>."
                    },
                    "mandateSignedPlace":{
                        "type":"string",
                        "description":"The date and time the customer's SEPA mandate contract was signed."
                    },
                    "mandateStatus":{
                        "type":"integer",
                        "description":"The status of the customer's SEPA mandate. Possible values are: <ul><li><b>0</b> (Active)</li><li><b>1</b> (Expired)</li><li><b>2</b> (Canceled)</li></ul>"
                    },
                    "mandateUniqueReference":{
                        "type":"string",
                        "description":"The unique reference number for the mandate."
                    },
                    "mandateType":{
                        "type":"integer",
                        "description":"The mandate type. Possible values are: <ul><li><b>0</b> (One-off mandate)</li><li><b>1</b> (Recurring mandate)</li></ul>"
                    }
                }
            },
            "DebtorInfoDetails":{
                "type":"object",
                "properties":{
                    "address":{
                        "type":"string",
                        "description":"The debtor's address."
                    },
                    "city":{
                        "type":"string",
                        "description":"The debtor's city."
                    },
                    "country":{
                        "type":"string",
                        "description":"The debtor's country."
                    },
                    "name":{
                        "type":"string",
                        "description":"The debtor's name."
                    },
                    "zip":{
                        "type":"string",
                        "description":"The debtor's ZIP code."
                    },
                    "identificationCode":{
                        "type":"string",
                        "description":"The debtor's bank identifier code."
                    },
                    "referencePartyName":{
                        "type":"string",
                        "description":"The debtor's party name."
                    },
                    "partyIdCode":{
                        "type":"string",
                        "description":"The debtor's party ID code."
                    }
                }
            }
        }
    }
}