{"openapi":"3.0.3","info":{"contact":{"name":"vegard.hillestad@tietoevry.com"},"description":"Operations for creating, retrieving and searching for accounts in Ace. Operations are separated by account type. For some account types a simple patch operation may also be available, but operations that affect the state of an existing account are in general found elsewhere.\n","title":"Ace account API","version":"1.0.0","x-evry":{"systemShortName":"ace","application":"ace-api"}},"servers":[{"url":"http://localhost:8080/api/v1"}],"tags":[{"description":"Billing account is the account that is invoiced. The interests are\ncalculated and posted on this account. It also reflects the transactions\nposted on the supplementary accounts.\n\nIf the billing account is part of a hierarchy, the parent account can only\nbe a reporting account and the child account(s) can only be a supplementary account.\n","name":"Billing Account"},{"description":"A supplementary account is used to share the billing account’s limit to\nanother card holder. It holds the transactions of each supplementary\ncard holder. All the transactions are copied real time to the billing \naccount in order to follow the total exposure. It must be linked to a\nbilling account.\n","name":"Supplementary Account"},{"description":"This account is used for reporting purpose and can be used for limit\ndistribution. It is possible to set a structure with unlimited levels of\nreporting accounts.\n\nIt is not possible to post transactions directly on this account.\n","name":"Reporting Account"},{"description":"A generic account resource that includes all Ace accounts across account category that are owned by a customer \nof an institution. Internal accounts owned by the institution, e.g. exception accounts, are not included. \nThis resource contains a small set of the most central account properties that apply to most account categories. \nIf more detailed information is required use the account category specific resource instead, e.g. billing account. \n","name":"Account"}],"paths":{"/billingaccounts":{"post":{"description":"Create a new billing account. If the field `billingAccountId` is left blank in the request, the account id will be\nallocated to the next available account id by the operation accountIdCreate in the service CAISAccountIdService.\nAccount ids are allocated using the account id setup of the corresponding account product.\n","operationId":"createBillingAccount","parameters":[{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/Digest, and is mandatory for all requests containing body.","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"percentageMpaNoPfmAccount":{"summary":"Create billing account with percentage MPA calculation and no PFM","value":{"billingAccountId":"10010000001","productKey":"PRIVATE","customerId":100010000001,"reportingAccountId":"20010000001","accountDescription":"Private account","creditLimit":2050,"cycleGroupKey":"DUEDATE15","mpaCalculationRule":"PERCENTAGE","mpaPercentage":10,"minPercentageMpa":30,"requestAmountCalculationRule":"MIN_PAYMENT_AMOUNT","pfmSelectionRule":"NO_PFM","fixedPfms":[],"paymentMethodKey":"PAYBYINVOICE","statementGenerationRule":"GENERATE_ALWAYS","distributionMethodKey":"STATEMENT_FEE","debtorAgent":"103004","debtorAccount":"300495","profitCenterReference":"BANK","productChargeGroupId":10001,"futureProductChargeGroupId":10010,"futureChargeGroupEffectiveDate":"2022-05-01","productInterestGroupId":10002,"futureProductInterestGroupId":10020,"futureInterestGroupEffectiveDate":"2022-05-01","accountAddress":{"addressLine1":"Snarøyveien 30","postCode":"1360","postBox":"P.O. Box 2","city":"Fornebu","email":"john.doe@tietoevry.com","countryCodeAlpha2":"NO"},"statementCopyRecipients":[{"statementCopyRecipientId":"00000000-0000-0000-0000-000000000001","customerId":100010000001,"distributionMethodKey":"WEBHOTEL"}],"transactionListRecipients":[{"transactionListRecipientId":"00000000-0000-0000-0000-000000000002","customerId":100010000001,"distributionMethodKey":"PAPERSTATEMENT"}]}},"fixedMpaFixedPfmAccount":{"summary":"Create billing account with fixed MPA calculation and fixed PFM","value":{"billingAccountId":"10010000002","productKey":"CARDLESSCREDIT","customerId":100010000001,"reportingAccountId":"20010000001","creditLimit":1000,"cycleGroupKey":"DUEDATE15","mpaCalculationRule":"FIXED","fixedMpa":100,"requestAmountCalculationRule":"MIN_PAYMENT_AMOUNT","pfmSelectionRule":"FIXED","maxPfms":2,"fixedPfms":["MAY","OCTOBER"],"paymentMethodKey":"PAYBYINVOICE","statementGenerationRule":"GENERATE_ALWAYS","distributionMethodKey":"STATEMENT_FEE","debtorAgent":"103004","debtorAccount":"300495","profitCenterReference":"BANK","productChargeGroupId":10201,"futureProductChargeGroupId":10010,"futureChargeGroupEffectiveDate":"2022-05-01","productInterestGroupId":10201,"futureProductInterestGroupId":10020,"futureInterestGroupEffectiveDate":"2022-05-01"}},"mandatoryFields":{"summary":"Create billing account with optional fields determined by account product","value":{"productKey":"BUSINESS","customerId":200010000001,"creditLimit":2000}}},"schema":{"$ref":"#/components/schemas/BillingAccountCreateType"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingAccountCreateResponseType"}}},"description":"Created"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"409":{"content":{"application/json":{"examples":{"conflict":{"summary":"The request failed due to an optimistic locking error","value":{"message":"The request failed due to an optimistic locking error.","errorKey":"OPTIMISTIC_LOCKING","originatingSystem":"IAC"}},"optimisticLockingError":{"summary":"The entity attempted to post is already present","value":{"message":"The entity attempted to post is already present.","errorKey":"DUPLICATE_ENTRY","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Conflict. Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates. (ie. optimistic locking)\n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Create new billing account","tags":["Billing Account"]}},"/billingaccounts/{billingAccountId}":{"get":{"description":"Retrieve a billing account by specifying a `billingAccountId`.\n","operationId":"getBillingAccount","parameters":[{"in":"path","name":"billingAccountId","required":true,"schema":{"$ref":"#/components/schemas/billingAccountId"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"percentageMpaNoPfmAccount":{"summary":"Billing account with percentage MPA calculation and no PFM","value":{"billingAccountId":"10010000001","aliases":{"NORWEGIAN_PAYMENT_REFERENCE_KID":"10010000001"},"productKey":"PRIVATE","productName":"Private","customerId":100010000001,"fullAccountHolderName":"John Doe","reportingAccountId":"20010000001","fullParentAccountHolderName":"John Doe","currencyCodeAlpha3":"EUR","bookedBalance":-10,"availableBalance":2040,"sumReservations":0,"creditLimit":2050,"overdueAmount":0,"overdueDays":0,"cycleGroupKey":"DUEDATE15","accountStatusKey":"ACTIVE","accountStatusName":"Active","paymentStatusKey":"NORMAL","paymentStatusName":"Normal","accountDescription":"Private account","mpaCalculationRule":"PERCENTAGE","mpaPercentage":10,"minPercentageMpa":30,"requestAmountCalculationRule":"MIN_PAYMENT_AMOUNT","pfmSelectionRule":"NO_PFM","fixedPfms":[],"paymentMethodKey":"PAYBYINVOICE","statementGenerationRule":"GENERATE_ALWAYS","distributionMethodKey":"STATEMENT_FEE","debtorAgent":"103004","debtorAccount":"300495","profitCenterReference":"BANK","currentAccountChargeGroup":{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2018-05-17"},"futureAccountChargeGroups":[{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2020-05-21"}],"currentAccountInterestGroup":{"productInterestGroupId":10301,"productInterestGroupName":"Private VISA Credit","effectiveDate":"2018-05-17"},"futureAccountInterestGroups":[{"productInterestGroupId":10002,"productInterestGroupName":"Private Gold","effectiveDate":"2020-03-28"}],"accountCreatedDate":"2018-05-17","originalAccountCreatedDate":"2018-05-17","hasSupplementaryAccount":true,"version":0}},"fixedMpaFixedPfmAccount":{"summary":"Billing account with fixed MPA calculation rule and fixed PFM","value":{"billingAccountId":"10010000002","productKey":"CARDLESSCREDIT","productName":"Cardless Credit","customerId":100010000001,"fullAccountHolderName":"John Doe","reportingAccountId":"20010000001","fullParentAccountHolderName":"John Doe","currencyCodeAlpha3":"EUR","bookedBalance":-517,"sumReservations":0,"availableBalance":483,"creditLimit":1000,"overdueAmount":200,"overdueDays":400,"overdueFromDate":"2018-06-15","originalOverdueFromDate":"2018-06-17","cycleGroupKey":"DUEDATE15","accountStatusKey":"COLLECTION","accountStatusName":"Collection","paymentStatusKey":"MARKEDFORCOLLECT","paymentStatusName":"Marked for collection","mpaCalculationRule":"FIXED","fixedMpa":100,"requestAmountCalculationRule":"FIXED","pfmSelectionRule":"FIXED","maxPfms":2,"fixedPfms":["MAY","OCTOBER"],"paymentMethodKey":"PAYBYINVOICE","statementGenerationRule":"GENERATE_ALWAYS","distributionMethodKey":"STATEMENT_FEE","debtorAgent":"103004","debtorAccount":"300495","profitCenterReference":"BANK","currentAccountChargeGroup":{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2018-05-17"},"futureAccountChargeGroups":[],"currentAccountInterestGroup":{"productInterestGroupId":10301,"productInterestGroupName":"Private VISA Credit","effectiveDate":"2018-05-170"},"futureAccountInterestGroups":[],"accountCreatedDate":"2018-05-17","originalAccountCreatedDate":"2018-05-17","hasSupplementaryAccount":false,"version":0}}},"schema":{"$ref":"#/components/schemas/BillingAccountType"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"404":{"content":{"application/json":{"examples":{"notFound":{"summary":"The requested resource was not found","value":{"message":"The requested resource was not found.","errorKey":"NOT_FOUND","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Not found. The requested resource could not be found. May only occur in the following operations: <br> - `GET` - Requesting a single resource <br> - `PATCH` - Requesting an update on a single resource <br>   - `DELETE` - Deleting a single resource <br> Subsequent requests by the client are permissible.  \n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Get billing account","tags":["Billing Account"]}},"/billingaccounts/searches":{"post":{"description":"A paged search for billing accounts matching the specified criteria. Some of the fields in the search criteria type are arrays. For these properties you can provide multiple valid values and the response will contain all accounts that match one of the provided values. If values are provided for multiple properties the response will only contain accounts with valid values for all provided properties. As an example, if the provided search criteria contains a single `productKey`and two `accountStatusKey`s the response will contain accounts from the specified product which are in either of the two specified statuses.\nIf no paging parameters are provided the default values will be used, i.e. the first 500 elements will be returned. The response is alphabetically ordered by `billingAccountId`.\n","operationId":"listBillingAccounts","parameters":[{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/Digest, and is mandatory for all requests containing body.","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"listAll":{"summary":"Search by no criteria","value":[]},"searchByAllCriteria":{"summary":"Search first page of ten elements by all criteria","value":{"customerId":100010000001,"reportingAccountId":"20010000001","productKeys":["PRIVATE","CARDLESSCREDIT","BUSINESS"],"currencyCodesAlpha3":["EUR"],"accountStatusKeys":["ACTIVE"],"paymentStatusKeys":["NORMAL"],"startIndex":0,"pageSize":10}},"searchByCustomerId":{"summary":"Search by customer id","value":{"customerId":100010000001}},"searchByReportingAccountId":{"summary":"Search by reporting account id","value":{"reportingAccountId":"20010000001"}},"searchNextPage":{"summary":"Search second page of ten elements","value":{"startIndex":10,"pageSize":10}}},"schema":{"$ref":"#/components/schemas/BillingAccountSearchCriteriaType"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"emptyResponse":{"summary":"No matching accounts","value":{"billingAccounts":[],"pagingElement":{"numberOfElements":0,"hasMoreElements":false}}},"fullPageResponse":{"summary":"Response representing a full page with two elements","value":{"billingAccounts":[{"billingAccountId":"10010000001","aliases":{"NORWEGIAN_PAYMENT_REFERENCE_KID":"10010000001"},"productKey":"PRIVATE","productName":"Private","customerId":100010000001,"fullAccountHolderName":"John Doe","reportingAccountId":"20010000001","fullParentAccountHolderName":"John Doe","currencyCodeAlpha3":"EUR","bookedBalance":-10,"availableBalance":2040,"sumReservations":0,"creditLimit":2050,"overdueAmount":0,"overdueDays":0,"cycleGroupKey":"DUEDATE15","accountStatusKey":"ACTIVE","accountStatusName":"Active","paymentStatusKey":"NORMAL","paymentStatusName":"Normal","accountDescription":"Private account","mpaCalculationRule":"PERCENTAGE","mpaPercentage":10,"minPercentageMpa":30,"requestAmountCalculationRule":"MIN_PAYMENT_AMOUNT","pfmSelectionRule":"NO_PFM","fixedPfms":[],"paymentMethodKey":"PAYBYINVOICE","statementGenerationRule":"GENERATE_ALWAYS","distributionMethodKey":"STATEMENT_FEE","debtorAgent":"103004","debtorAccount":"300495","profitCenterReference":"BANK","currentAccountChargeGroup":{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2018-05-17"},"futureAccountChargeGroups":[],"currentAccountInterestGroup":{"productInterestGroupId":10301,"productInterestGroupName":"Private VISA Credit","effectiveDate":"2018-05-170"},"futureAccountInterestGroups":[],"accountCreatedDate":"2018-05-17","originalAccountCreatedDate":"2018-05-17","hasSupplementaryAccount":true,"version":0},{"billingAccountId":"10010000002","productKey":"CARDLESSCREDIT","productName":"Cardless Credit","customerId":100010000001,"fullAccountHolderName":"John Doe","reportingAccountId":"20010000001","fullParentAccountHolderName":"John Doe","currencyCodeAlpha3":"EUR","bookedBalance":-517,"sumReservations":0,"availableBalance":483,"creditLimit":1000,"overdueAmount":200,"overdueDays":400,"overdueFromDate":"2018-06-15","originalOverdueFromDate":"2018-06-17","cycleGroupKey":"DUEDATE15","accountStatusKey":"COLLECTION","accountStatusName":"Collection","paymentStatusKey":"MARKEDFORCOLLECT","paymentStatusName":"Marked for collection","mpaCalculationRule":"FIXED","fixedMpa":100,"requestAmountCalculationRule":"FIXED","pfmSelectionRule":"FIXED","maxPfms":2,"fixedPfms":["MAY","OCTOBER"],"paymentMethodKey":"PAYBYINVOICE","statementGenerationRule":"GENERATE_ALWAYS","distributionMethodKey":"STATEMENT_FEE","debtorAgent":"103004","debtorAccount":"300495","profitCenterReference":"BANK","currentAccountChargeGroup":{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2018-05-17"},"futureAccountChargeGroups":[],"currentAccountInterestGroup":{"productInterestGroupId":10301,"productInterestGroupName":"Private VISA Credit","effectiveDate":"2018-05-170"},"futureAccountInterestGroups":[],"accountCreatedDate":"2018-05-17","originalAccountCreatedDate":"2018-05-17","hasSupplementaryAccount":false,"version":0}],"pagingElement":{"numberOfElements":2,"hasMoreElements":true}}}},"schema":{"$ref":"#/components/schemas/BillingAccountSearchResponseType"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Search for billing accounts","tags":["Billing Account"]}},"/supplementaryaccounts":{"post":{"operationId":"createSupplementaryAccount","parameters":[{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/Digest, and is mandatory for all requests containing body.","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"allFields":{"summary":"Create supplementary account with all fields present","value":{"supplementaryAccountId":"00010000001","customerId":100010000000,"billingAccountId":"10010000001","accountDescription":"Private account","periodicLimit":10000,"productChargeGroupId":10001,"futureProductChargeGroupId":10010,"futureChargeGroupEffectiveDate":"2022-05-01","transactionListRecipients":{"transactionListRecipientId":"00000000-0000-0000-0000-000000000001","customerId":100010000000,"distributionMethodKey":"STATEMENT_FEE","address":{"addressLine1":"Snarøyveien 30","postCode":"1360","postBox":"P.O. Box 2","city":"Fornebu","email":"john.doe@tietoevry.com","countryCodeAlpha2":"NO"}}}},"mandatoryFields":{"summary":"Create supplementary account with optional fields determined by billing account product","value":{"customerId":100010000000,"billingAccountId":"10010000001"}}},"schema":{"$ref":"#/components/schemas/SupplementaryAccountCreateType"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplementaryAccountCreateResponseType"}}},"description":"Created"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"409":{"content":{"application/json":{"examples":{"conflict":{"summary":"The request failed due to an optimistic locking error","value":{"message":"The request failed due to an optimistic locking error.","errorKey":"OPTIMISTIC_LOCKING","originatingSystem":"IAC"}},"optimisticLockingError":{"summary":"The entity attempted to post is already present","value":{"message":"The entity attempted to post is already present.","errorKey":"DUPLICATE_ENTRY","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Conflict. Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates. (ie. optimistic locking)\n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Create new supplementary account","tags":["Supplementary Account"]}},"/supplementaryaccounts/{supplementaryAccountId}":{"get":{"description":"Retrieve a supplementary account by specifying a `supplementaryAccountId`.\n","operationId":"getSupplementaryAccount","parameters":[{"in":"path","name":"supplementaryAccountId","required":true,"schema":{"$ref":"#/components/schemas/supplementaryAccountId"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"allFields":{"summary":"Supplementary account with all fields present","value":{"supplementaryAccountId":"00010000001","customerId":100010000000,"fullAccountHolderName":"John Doe","billingAccountId":"10010000001","parentCustomerId":100010000001,"fullParentAccountHolderName":"John Doe","productKey":"PRIVATE","productName":"Private","bookedBalance":-120,"sumReservations":-25,"availableBalance":855,"periodicLimit":1000,"parentCreditLimit":2050,"currencyCodeAlpha3":"NOK","accountStatusKey":"ACTIVE","accountStatusName":"Active","paymentStatusKey":"NORMAL","paymentStatusName":"Normal","accountDescription":"Private account","accountCreatedDate":"2019-01-01","currentAccountChargeGroup":{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2020-03-28"},"futureAccountChargeGroups":[{"productChargeGroupId":10010,"productChargeGroupName":"Combo","effectiveDate":"2022-05-01"}],"isClosed":false,"version":0}},"mandatoryFields":{"summary":"Supplementary account with mandatory fields present","value":{"supplementaryAccountId":"00010000002","customerId":100010000000,"fullAccountHolderName":"John Doe","billingAccountId":"10010000001","parentCustomerId":100010000001,"fullParentAccountHolderName":"John Doe","productKey":"PRIVATE","productName":"Private","bookedBalance":0,"sumReservations":0,"availableBalance":0,"parentCreditLimit":2050,"currencyCodeAlpha3":"EUR","accountStatusKey":"ACTIVE","accountStatusName":"Active","paymentStatusKey":"NORMAL","paymentStatusName":"Normal","accountCreatedDate":"2019-01-01","currentAccountChargeGroup":{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2020-03-28"},"futureAccountChargeGroups":[],"isClosed":true,"version":0}}},"schema":{"$ref":"#/components/schemas/SupplementaryAccountType"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"404":{"content":{"application/json":{"examples":{"notFound":{"summary":"The requested resource was not found","value":{"message":"The requested resource was not found.","errorKey":"NOT_FOUND","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Not found. The requested resource could not be found. May only occur in the following operations: <br> - `GET` - Requesting a single resource <br> - `PATCH` - Requesting an update on a single resource <br>   - `DELETE` - Deleting a single resource <br> Subsequent requests by the client are permissible.  \n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Get supplementary account","tags":["Supplementary Account"]}},"/supplementaryaccounts/searches":{"post":{"description":"A paged search for supplementary accounts matching the specified criteria.\nIf no paging parameters are provided the default values will be used, i.e. the first 500 elements will be returned. The response is alphabetically ordered by `supplementaryAccountId`.\n","operationId":"listSupplementaryAccounts","parameters":[{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/Digest, and is mandatory for all requests containing body.","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"listAll":{"summary":"Search by no criteria","value":[]},"searchByAllCriteria":{"summary":"Search first page of ten elements by all criteria","value":{"customerId":100010000000,"supplementaryAccountIds":["200200000002","300300000003"],"billingAccountId":"10010000001","excludeClosedAccounts":false,"excludeOpenAccounts":false,"startIndex":0,"pageSize":10}},"searchByCustomerId":{"summary":"Search by customer id","value":{"customerId":100010000000}},"searchBySupplementaryAccountIds":{"summary":"Search by multiple supplementary account ids","value":{"supplementaryAccountIds":["200200000002","300300000003"]}},"searchByBillingAccountId":{"summary":"Search by one billing account id","value":{"billingAccountId":"10010000001"}},"searchByMultipleBillingAccountIds":{"summary":"Search by multiple billing account ids","value":{"billingAccountIds":["10010000001","10010000002"]}},"searchNextPage":{"summary":"Search second page of ten elements","value":{"startIndex":10,"pageSize":10}}},"schema":{"$ref":"#/components/schemas/SupplementaryAccountSearchCriteriaType"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"emptyResponse":{"summary":"No matching accounts","value":{"supplementaryAccounts":[],"pagingElement":{"numberOfElements":0,"hasMoreElements":false}}},"fullPageResponse":{"summary":"Response representing a full page with two elements","value":{"supplementaryAccounts":[{"supplementaryAccountId":"00010000001","customerId":100010000000,"fullAccountHolderName":"John Doe","billingAccountId":"10010000001","parentCustomerId":100010000001,"fullParentAccountHolderName":"John Doe","productKey":"PRIVATE","productName":"Private","bookedBalance":-120,"sumReservations":-25,"availableBalance":855,"periodicLimit":1000,"parentCreditLimit":2050,"currencyCodeAlpha3":"NOK","accountStatusKey":"ACTIVE","accountStatusName":"Active","paymentStatusKey":"NORMAL","paymentStatusName":"Normal","accountDescription":"Private account","accountCreatedDate":"2019-01-01","currentAccountChargeGroup":{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2020-03-28"},"futureAccountChargeGroups":[{"productChargeGroupId":10010,"productChargeGroupName":"Combo","effectiveDate":"2022-05-01"}],"isClosed":false,"version":0},{"supplementaryAccountId":"00010000002","customerId":100010000000,"fullAccountHolderName":"John Doe","billingAccountId":"10010000001","parentCustomerId":100010000001,"fullParentAccountHolderName":"John Doe","productKey":"PRIVATE","productName":"Private","bookedBalance":0,"sumReservations":0,"availableBalance":0,"parentCreditLimit":2050,"currencyCodeAlpha3":"EUR","accountStatusKey":"ACTIVE","accountStatusName":"Active","paymentStatusKey":"NORMAL","paymentStatusName":"Normal","accountCreatedDate":"2019-01-01","currentAccountChargeGroup":{"productChargeGroupId":10001,"productChargeGroupName":"Credit","effectiveDate":"2020-03-28"},"futureAccountChargeGroups":[],"isClosed":true,"version":0}],"pagingElement":{"numberOfElements":2,"hasMoreElements":true}}}},"schema":{"$ref":"#/components/schemas/SupplementaryAccountSearchResponseType"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Search for supplementary accounts","tags":["Supplementary Account"]}},"/reportingaccounts":{"post":{"operationId":"createReportingAccount","parameters":[{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/Digest, and is mandatory for all requests containing body.","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"allFields":{"summary":"Create reporting account with all fields present","value":{"reportingAccountId":"20010000001","customerId":100010000002,"creditLimit":3100,"parentReportingAccountId":"20010000002","currencyCodeAlpha3":"EUR","accountDescription":"Reporting account","transactionListRecipients":[{"transactionListRecipientId":"00000000-0000-0000-0000-000000000002","customerId":100010000002,"distributionMethodKey":"STATEMENT_FEE","address":{"addressLine1":"Snarøyveien 30","postCode":"1360","postBox":"P.O. Box 2","city":"Fornebu","email":"john.doe@tietoevry.com","countryCodeAlpha2":"NO"}}]}},"mandatoryFields":{"summary":"Create reporting account with mandatory fields present","value":{"customerId":100010000002,"currencyCodeAlpha3":"EUR"}}},"schema":{"$ref":"#/components/schemas/ReportingAccountCreateType"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportingAccountCreateResponseType"}}},"description":"Created"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"409":{"content":{"application/json":{"examples":{"conflict":{"summary":"The request failed due to an optimistic locking error","value":{"message":"The request failed due to an optimistic locking error.","errorKey":"OPTIMISTIC_LOCKING","originatingSystem":"IAC"}},"optimisticLockingError":{"summary":"The entity attempted to post is already present","value":{"message":"The entity attempted to post is already present.","errorKey":"DUPLICATE_ENTRY","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Conflict. Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates. (ie. optimistic locking)\n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Create new reporting account","tags":["Reporting Account"]}},"/reportingaccounts/{reportingAccountId}":{"get":{"description":"Retrieve a reporting account by specifying a `reportingAccountId`.\n","operationId":"getReportingAccount","parameters":[{"in":"path","name":"reportingAccountId","required":true,"schema":{"$ref":"#/components/schemas/reportingAccountId"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"allFields":{"summary":"Reporting account with all fields present","value":{"reportingAccountId":"20010000001","customerId":100010000002,"fullAccountHolderName":"John Doe","parentReportingAccountId":"20010000002","parentCustomerId":200010000002,"fullParentAccountHolderName":"John Doe","currencyCodeAlpha3":"EUR","accountDescription":"Reporting account","accountCreatedDate":"2019-01-01","bookedBalance":-300,"sumReservations":-15,"availableBalance":2785,"creditLimit":3100,"aggregatedLimit":3050,"isClosed":false,"hasBillingAccount":true,"hasReportingAccount":false,"version":0}},"mandatoryFields":{"summary":"Reporting account with mandatory fields present","value":{"reportingAccountId":"20010000002","customerId":200010000002,"currencyCodeAlpha3":"EUR","accountCreatedDate":"2019-01-01","bookedBalance":-300,"sumReservations":-15,"availableBalance":-315,"aggregatedLimit":6150,"isClosed":false,"hasBillingAccount":false,"hasReportingAccount":true,"version":0}}},"schema":{"$ref":"#/components/schemas/ReportingAccountType"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"404":{"content":{"application/json":{"examples":{"notFound":{"summary":"The requested resource was not found","value":{"message":"The requested resource was not found.","errorKey":"NOT_FOUND","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Not found. The requested resource could not be found. May only occur in the following operations: <br> - `GET` - Requesting a single resource <br> - `PATCH` - Requesting an update on a single resource <br>   - `DELETE` - Deleting a single resource <br> Subsequent requests by the client are permissible.  \n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Get reporting account","tags":["Reporting Account"]}},"/reportingaccounts/searches":{"post":{"description":"A paged search for reporting accounts matching the specified criteria.\nIf no paging parameters are provided the default values will be used, i.e. the first 500 elements will be returned. The response is alphabetically ordered by `reportingAccountId`.\n","operationId":"listReportingAccounts","parameters":[{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/Digest, and is mandatory for all requests containing body.","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"listAll":{"summary":"Search by no criteria","value":[]},"searchByAllCriteria":{"summary":"Search first page of ten elements by all criteria","value":{"customerId":100010000002,"parentReportingAccountId":"20010000002","currencyCodesAlpha3":"NOK","excludeClosedAccounts":false,"excludeOpenAccounts":false,"startIndex":0,"pageSize":10}},"searchByCustomerId":{"summary":"Search by customer id","value":{"customerId":100010000002}},"searchByParentReportingAccountId":{"summary":"Search by parent reporting account Id","value":{"parentReportingAccountId":"20010000002"}},"searchNextPage":{"summary":"Search second page of ten elements","value":{"startIndex":10,"pageSize":10}}},"schema":{"$ref":"#/components/schemas/ReportingAccountSearchCriteriaType"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"emptyResponse":{"summary":"No matching accounts","value":{"reportingAccounts":[],"pagingElement":{"numberOfElements":0,"hasMoreElements":false}}},"fullPageResponse":{"summary":"Response representing a full page with two elements","value":{"reportingAccounts":[{"reportingAccountId":"20010000001","customerId":100010000002,"fullAccountHolderName":"John Doe","parentReportingAccountId":"20010000002","parentCustomerId":200010000002,"fullParentAccountHolderName":"John Doe","currencyCodeAlpha3":"EUR","accountDescription":"Reporting account","accountCreatedDate":"2019-01-01","bookedBalance":-300,"sumReservations":-15,"availableBalance":2385,"creditLimit":3100,"aggregatedLimit":3050,"isClosed":false,"hasBillingAccount":true,"hasReportingAccount":false,"version":0},{"reportingAccountId":"20010000002","customerId":200010000002,"currencyCodeAlpha3":"EUR","accountCreatedDate":"2019-01-01","bookedBalance":-300,"sumReservations":-15,"availableBalance":-315,"aggregatedLimit":6150,"isClosed":false,"hasBillingAccount":false,"hasReportingAccount":true,"version":0}],"pagingElement":{"numberOfElements":2,"hasMoreElements":true}}}},"schema":{"$ref":"#/components/schemas/ReportingAccountSearchResponseType"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Search for reporting accounts","tags":["Reporting Account"]}},"/accounts/{accountId}":{"get":{"description":"Retrieve an account by specifying an `accountId`.\n","operationId":"getAccount","parameters":[{"in":"path","name":"accountId","required":true,"schema":{"$ref":"#/components/schemas/accountId"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"examples":{"billingAccount":{"summary":"Billing account","value":{"accountId":"10010000001","parentAccountId":"20010000001","accountCategoryKey":"BILLING","customerId":100010000001,"currencyCodeAlpha3":"EUR","limit":2050,"bookedBalance":-10,"sumReservations":0,"availableBalance":2040,"productReference":"PRIVATE","productName":"Private","accountStatusKey":"ACTIVE","paymentStatusKey":"NORMAL","isAllowedForCreditCard":true,"profitCenterReference":"BANK","creditLimit":2050,"accountCategory":"ACE_BA","isAllowedForCard":true,"productKey":"PRIVATE"}},"supplementaryAccount":{"summary":"Supplementary account","value":{"accountId":"00010000001","parentAccountId":"10010000001","accountCategoryKey":"SUPPLEMENTARY","customerId":100010000000,"currencyCodeAlpha3":"EUR","limit":1000,"bookedBalance":-120,"sumReservations":-25,"availableBalance":855,"productReference":"PRIVATE","productName":"Private","isAllowedForCreditCard":true,"creditLimit":1000,"accountCategory":"ACE_SA","isAllowedForCard":true,"productKey":"PRIVATE"}},"reportingAccount":{"summary":"Reporting account","value":{"accountId":"20010000001","accountCategoryKey":"REPORTING","customerId":100010000002,"currencyCodeAlpha3":"EUR","limit":5000,"bookedBalance":-300,"sumReservations":-15,"availableBalance":4685,"isAllowedForCreditCard":false,"creditLimit":5000,"accountCategory":"ACE_RA","isAllowedForCard":false}}},"schema":{"$ref":"#/components/schemas/AccountType"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"404":{"content":{"application/json":{"examples":{"notFound":{"summary":"The requested resource was not found","value":{"message":"The requested resource was not found.","errorKey":"NOT_FOUND","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Not found. The requested resource could not be found. May only occur in the following operations: <br> - `GET` - Requesting a single resource <br> - `PATCH` - Requesting an update on a single resource <br>   - `DELETE` - Deleting a single resource <br> Subsequent requests by the client are permissible.  \n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Get account","tags":["Account"]}},"/accounts/searches":{"post":{"description":"A search for accounts matching the specified criteria. This operation will return the first 200 accounts matching  the search criteria alphabetically ordered by `accountId`. For use cases involving more than 200 accounts you can use the account category specific resources, e.g. billing account or supplementary account. \n","operationId":"listAccounts","parameters":[{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/.","in":"header","name":"Signature","required":true,"schema":{"type":"string"}},{"description":"Used in accordance with https://datatracker.ietf.org/doc/draft-cavage-http-signatures/Digest, and is mandatory for all requests containing body.","in":"header","name":"Digest","required":true,"schema":{"type":"string"}},{"description":"Unique log reference, generated on the client, and must be unique across multiple sessions and days.","example":"ec06882f-7ec9-44f8-b8d4-59e7bb53b800","in":"header","name":"X-EVRY-CLIENT-REQUESTID","required":true,"schema":{"type":"string"}},{"description":"Identifies the source sending the request. Used to separate different service consumers. Name should identify customer (bank) and consumer 'application'. The format of the field is 'Organization name'-'Application name'.","in":"header","name":"X-EVRY-CLIENT-CLIENTNAME","required":true,"schema":{"type":"string"}},{"description":"Identifies the organization, will in a banking context be the Financial Institution (Konsernnr) registered in the banking infrastructure.","in":"header","name":"X-EVRY-DATAOWNERORGID","required":true,"schema":{"type":"string"}},{"description":"Used to distinguish requests origin from Open banking (3. parties), Open Banking under PSD2 (3. parties) and the\nbanks internal use. Following values are valid:\n* `Internal` - Request from the banks own channels\n* `OpenBanking` - Request from an Open Banking platform\n* `PSD2OpenBanking` - Request from a PSD2 platform\n* `ERP` - Request from a ERP platform.\n","in":"header","name":"X-EVRY-ORIGIN","required":false,"schema":{"type":"string"}},{"description":"Used to differentiate business logic based on which channel was the origin of the request. The parameter should\nbe set in selfservice use cases, and when a branch officer acts on behalf of the customer.\n  * `INT` - Online banking from Internet Bank\n  * `MOB` - Online banking from Mobile Bank\n  * `WAP` - Online banking from legacy WAP Mobile Bank\n  * `TLF` - Online banking from Phone Bank\n  * `BES` - Online banking from Corporate Bank\n  * `OPB` - Online banking from Open Banking Parties\n  * `PSD` - Online banking from PSD2 Parties\n  * `SMW` - Online banking from Smart Wealth\n  * `SPA` - Online banking from Saving\n  * `ITR` - Online banking from office client\n  * `CEN` - Online banking from Charge Engine\n  * `COR` - Online banking from Core\n  * `BAX` - Online banking from Bank Axess\n","in":"header","name":"X-EVRY-CHANNEL","required":false,"schema":{"enum":["INT","MOB","WAP","TLF","BES","OPB","PSD","SMW","SPA","ITR","CEN","COR","BAX"],"type":"string"}},{"description":"Identifies the person or system initiating the request. Normally this field is set equally to customerid, but should be set to the id of Employee/Agent/Retail/System if request is initiated on behalf of the customerid.","in":"header","name":"X-EVRY-USERID","required":true,"schema":{"maxLength":30,"type":"string"}},{"description":"Client ip-address or dns-address from the machine sending the request. Used to separate requests from different physical machines.","in":"header","name":"X-EVRY-USER-IPADDRESS","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"examples":{"searchByCustomerId":{"summary":"Search by customer id","value":{"customerId":100010000001}},"listAll":{"summary":"List the first 200 accounts of an institution","value":{}},"searchForCardCreation":{"summary":"Search for accounts where card creation is allowed","value":{"customerId":100010000001,"excludeDisallowedForCard":true}},"searchByAccountIds":{"summary":"Retrieve a set of specific accounts by their accountIds","value":{"accountIds":["10010000001","10010000002","10010000003"]}}},"schema":{"$ref":"#/components/schemas/AccountSearchCriteriaType"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"emptyResponse":{"summary":"No matching accounts","value":[]},"multiAccountResponse":{"summary":"Response containing multiple account categories","value":[{"accountId":"10010000001","accountCategoryKey":"BILLING","customerId":100010000001,"currencyCodeAlpha3":"EUR","limit":5000,"bookedBalance":-1255,"sumReservations":-380,"availableBalance":3365,"productReference":"PRIVATE","productName":"Private","accountStatusKey":"ACTIVE","paymentStatusKey":"NORMAL","isAllowedForCreditCard":true,"profitCenterReference":"BANK","creditLimit":5000,"accountCategory":"ACE_BA","isAllowedForCard":true,"productKey":"PRIVATE"},{"accountId":"10010000002","parentAccountId":"10010000001","accountCategoryKey":"SUPPLEMENTARY","customerId":100010000002,"currencyCodeAlpha3":"EUR","bookedBalance":-155,"sumReservations":-230,"availableBalance":3365,"productReference":"PRIVATE","productName":"Private","isAllowedForCreditCard":true,"accountCategory":"ACE_SA","isAllowedForCard":true,"productKey":"PRIVATE"},{"accountId":"10010000003","parentAccountId":"10010000001","accountCategoryKey":"REPORTING","customerId":100010000001,"currencyCodeAlpha3":"EUR","limit":20000,"bookedBalance":-1455,"sumReservations":-380,"availableBalance":18165,"isAllowedForCreditCard":false,"creditLimit":20000,"accountCategory":"ACE_RA","isAllowedForCard":false,"productKey":"PRIVATE"},{"accountId":"10010000004","accountCategoryKey":"BILLING","customerId":100010000001,"currencyCodeAlpha3":"EUR","limit":5000,"bookedBalance":-200,"sumReservations":0,"availableBalance":4800,"productReference":"PRIVATE","productName":"Private","accountStatusKey":"ACTIVE","paymentStatusKey":"NORMAL","isAllowedForCreditCard":true,"profitCenterReference":"BANK","creditLimit":5000,"accountCategory":"ACE_BA","isAllowedForCard":true,"productKey":"PRIVATE"},{"accountId":"10010000005","accountCategoryKey":"BILLING","customerId":100010000001,"currencyCodeAlpha3":"EUR","limit":0,"bookedBalance":0,"sumReservations":0,"availableBalance":0,"productReference":"PRIVATE","productName":"Private","accountStatusKey":"CLOSED","paymentStatusKey":"NORMAL","isAllowedForCreditCard":false,"profitCenterReference":"BANK","creditLimit":0,"accountCategory":"ACE_BA","isAllowedForCard":false,"productKey":"PRIVATE"}]}},"schema":{"$ref":"#/components/schemas/AccountSearchResponseType"}}},"description":"OK"},"400":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The request is invalid","value":{"message":"The request is invalid.","errorKey":"INVALID_REQUEST","originatingSystem":"ACG","constraintViolations":{}}},"validation":{"summary":"Invalid request with constraint violations","value":{"message":"creditLimit: must not be null productKey: must not be null reportingAccountId: size must be between 4 and 35","errorKey":"VALIDATION","originatingSystem":"ACG","constraintViolations":{"creditLimit":"must not be null","productKey":"must not be null","reportingAccountId":"size must be between 4 and 35"}}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Bad Request. The server cannot or will not process the request due to an apparent client error.\n"},"401":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","value":{"message":"The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n","errorKey":"UNAUTHORIZED","originatingSystem":"CAA"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Unauthorized. The client request has not been completed because it lacks valid authentication credentials for the requested resource.\n"},"403":{"content":{"application/json":{"examples":{"invalidRequest":{"summary":"Resource cannot be accessed with current license","value":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license: internal-ace-test, 44556"}}},"schema":{"$ref":"#/components/schemas/ResponseStateEsbType"}}},"description":"Forbidden. The request contained valid data and was understood by the server, but the server is refusing action. This may be due to the user not having the necessary permissions for a resource or needing an account of some sort, or attempting a prohibited action. The request should not be repeated.\n"},"500":{"content":{"application/json":{"examples":{"internalServerError":{"summary":"The server failed to fulfil a request due to an internal server error","value":{"message":"The server failed to fulfil a request due to an internal server error.","errorKey":"INTERNAL_SERVER_ERROR","originatingSystem":"IAC"}}},"schema":{"$ref":"#/components/schemas/ResponseStateType"}}},"description":"Internal server error. Indicates unexpected condition on the server side.\n"}},"summary":"Search for accounts","tags":["Account"]}}},"components":{"schemas":{"BillingAccountCreateType":{"example":{"debtorAccount":"debtorAccount","productChargeGroupId":9,"accountDescription":"accountDescription","debtorAgent":"debtorAgent","futureChargeGroupEffectiveDate":"2000-01-23","transactionListRecipients":[{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1108362183099530112},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1108362183099530112},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1108362183099530112},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1108362183099530112},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1108362183099530112}],"billingAccountId":"billingAccountId","productKey":"productKey","pfmSelectionRule":"pfmSelectionRule","mpaCalculationRule":"mpaCalculationRule","mpaPercentage":14.658129805029452,"minPercentageMpa":5.962133916683182E17,"distributionMethodKey":"distributionMethodKey","reportingAccountId":"reportingAccountId","customerId":720745371414910336,"creditLimit":602745618307,"statementGenerationRule":"statementGenerationRule","fixedMpa":5.6373766566333286E17,"profitCenterReference":"profitCenterReference","accountAddress":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"maxPfms":8,"paymentMethodKey":"paymentMethodKey","productInterestGroupId":2,"cycleGroupKey":"cycleGroupKey","futureProductChargeGroupId":3,"futureInterestGroupEffectiveDate":"2000-01-23","statementCopyRecipients":[{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"distributionMethodKey":"distributionMethodKey","customerId":6647653753547295744,"statementCopyRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91"},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"distributionMethodKey":"distributionMethodKey","customerId":6647653753547295744,"statementCopyRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91"},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"distributionMethodKey":"distributionMethodKey","customerId":6647653753547295744,"statementCopyRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91"},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"distributionMethodKey":"distributionMethodKey","customerId":6647653753547295744,"statementCopyRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91"},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"distributionMethodKey":"distributionMethodKey","customerId":6647653753547295744,"statementCopyRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91"}],"fixedRequestAmount":2.302135886934765E17,"futureProductInterestGroupId":4,"requestAmountCalculationRule":"requestAmountCalculationRule","fixedPfms":[null,null,null,null,null]},"properties":{"billingAccountId":{"description":"Unique account identifier for a billing account. Sometimes referred to as `billingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"productKey":{"description":"An account product defines the characteristics and behaviour of the accounts that are set up within the product, such as currency, which type of interest that will be calculated and how, the formula for the calculation of the MPA and how it is followed up. Definition of the characteristics are part of the account product setup. Options are pre-defined by the issuer. All billing accounts belong to a single account product and this can not be changed after account creation. The  available products can be listed by calling the productList operation in CAASProductService.\n","maxLength":16,"minLength":4,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"reportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"accountDescription":{"description":"A short description of the account.","maxLength":20,"type":"string"},"creditLimit":{"description":"The maximum amount of credit given to the account. This field is also known as limit amount, credit line or line  of credit. The amount can be updated using the operation limitUpdate in the service ACGSAccountLimitService.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"cycleGroupKey":{"description":"Unique identifier for a cycle group. A cycle group contains the set of rules for the calculation of an end of cycle  date/invoicing date and the related due date. Cycle groups are defined by the bank and account products are  configured to allow access to a subset of cycle groups. A list of currently available cycle groups for an account  product can be fetched using the operation productCycleGroupList in the service CAASProductCycleGroupService. An  individual account always belongs to a single cycle group, but the cycle group to which an account belongs can be  changed after account creation by using the operation accountCycleGroupUpdate in the service  CAASAccountCycleGroupService. \n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"mpaCalculationRule":{"description":"The method that will be used for calculation of the minimum payment amount (MPA), i.e., the amount that is required\nto be paid at due date in order not to go delinquent. A list of allowed values for the account product can be \nfetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService.\nSupported options include:\n* `PERCENTAGE` – The MPA is calculated based on a percentage of the balance. The calculation formula is specified \nat the product by the bank and involves the account specific values `mpaPercentage` and `minPercentageMpa`.\n* `FIXED` – The MPA is set to a fixed amount. The calculation rules are specified at the account product by the \nbank and involve the account specific value `fixedMpa`.\n* `OUTSTANDING_BALANCE` – The MPA is set to the account balance at the Invoicing date/End of cycle date.\n* `NO_MIN_PAYMENT_AMOUNT` – No MPA will be required for the account.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService. \n","maxLength":30,"type":"string"},"mpaPercentage":{"description":"The percentage of the account balance used when calculating MPA if the `mpaCalculationRule` is `PERCENTAGE`. Allowed range and other settings such as `excludeOverdue` and default values for the account product may be fetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. If no  value is specified for this field when setting the `mpaCalculationRule` to `PERCENTAGE` the default value from the  account product will be configured for the account. The field may be changed after account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maximum":100,"minimum":0,"multipleOf":1.0E-8,"type":"number"},"minPercentageMpa":{"description":"If the `mpaCalculationRule` is `PERCENTAGE` the `minPercentageMpa` serves as a lower bound on the calculated MPA, i.e., if the result of percentage calculation is less than the `minPercentageMpa` the MPA will be set equal to the `minPercentageMpa`. If no value is specified for this field when setting the `mpaCalculationRule` to `PERCENTAGE`  the default value from the account product will be configured for the account. The default value may be fetched  using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. The field  may be changed after account creation using the operation accountSettlementUpdate in the service  CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"fixedMpa":{"description":"If the `mpaCalculationRule` is `FIXED` the value `fixedMpa` is the basis for the MPA calculation. Most accounts will end up with MPA values equal to the `fixedMpa`, but there might be exceptions depending on the rules configured for the account product and the state of an individual account. If no value is specified for this field when setting  the `mpaCalculationRule` to `FIXED` the default value from the account product will be configured for the account. Minimum and default values may be fetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"requestAmountCalculationRule":{"description":"The request amount is the amount that is requested to be paid. The request amount is always equal or greater than\nthe MPA. The request amount is not followed up by the system. An example is that the customer wants the outstanding\nbalance to be debited in the direct debit process even if the `mpaCalculationRule` is set to `PERCENTAGE`. Supported\noptions include:\n* `FIXED` - The request amount is set to a fixed amount. The details of the calculation rules are specified at the \naccount product by the bank, but the calculation is always based on the value of `fixedRequestAmount`.\n* `OUTSTANDING_BALANCE` - The request amount is set to the account balance at the invoicing date /End of cycle date.\n* `MIN_PAYMENT_AMOUNT` - The request amount is set to the same amount as the MPA. The MPA is calculated based on \nthe `mpaCalculationRule`.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService.\n","maxLength":20,"type":"string"},"fixedRequestAmount":{"description":"If the `requestAmountCalculationRule` is `FIXED` the `fixedRequestAmount` is the basis for the request amount  calculation. If no value is specified for this field when setting the `requestAmountCalculationRule` to `FIXED` the default value from the account product will be configured for the account. Default and minimum values  for the account product can be fetched using the operation productRequestAmountList in the service  CAASProductRequestAmountService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"pfmSelectionRule":{"description":"Payment free months are billing cycles for which the system will not be requiring a minimum amount to be paid. The\naccount will not go delinquent, although interest is still calculated. A list of allowed values for the account \nproduct can be fetched using the operation productPaymentFreeMonthList in the service \nCAASProductPaymentFreeMonthService. Supported options include:\n* `FIXED` - The customer/institution specifies the months that should be payment free. It needs to be set before the \nrelevant EOC/invoicing date.\n* `PAYMENT_BEHAVIOUR` - The customer uses a payment free month by not paying.\n* `NO_PFM` - Payment free months are not granted for the account.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService.\n","maxLength":30,"type":"string"},"maxPfms":{"description":"The max number of payment free months that can be granted in a 12 month period. The 12 month period can be a  sliding year or follow the regular calendar. The setup for year type can be adjusted using the service  CAASProductPaymentFreeMonthService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","maximum":12,"minimum":0,"type":"integer"},"fixedPfms":{"description":"If the `pfmSelectionRule` is `FIXED` this list will indicate which months are eligible for becoming payment free months. An invoice is eligible to be payment free if the due date is in a month which is present in this list. No months have to be selected at account creation, they can be added at a later stage. The field may be changed after  account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","items":{"$ref":"#/components/schemas/month"},"maxItems":12,"minItems":0,"type":"array"},"paymentMethodKey":{"description":"The payment method of the account, i.e., how payments will be initiated and transferred. The available payment methods for the account product are listable using the operation productPaymentMethodList in the service  CAASProductPaymentMethodService.\n","maxLength":16,"type":"string"},"statementGenerationRule":{"description":"A rule describing when an invoice/statement should be generated. Supported options include:\n* `ON_ACTIVITY` - Statements are generated if (1) Minimum payment amount is calculated, (2) any transaction has \nbeen posted to the account or (3) the balance is not equal to zero (or not within exclusion balance interval).\n* `GENERATE_ALWAYS` - Statements are always generated.\n* `DO_NOT_GENERATE` - Statements are never generated.\n\nAllowed values for the account product can be fetched with the operation productStatementParameterList in the \nservice CAASProductStatementParameterService. The field may be changed after account creation using the operation\naccountStatementParameterUpdate in the service CAASAccountStatementParameterService.\n","maxLength":20,"type":"string"},"distributionMethodKey":{"description":"Indicates how documents should be distributed to the recipient. Allowed values for the product can be fetched using the operation productStatementParameterList in the service CAASProductStatementParameterService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"debtorAgent":{"description":"The financial institution servicing an account for the debtor. May be sort code for UK institutions. The field is  primarily in use in relation to direct debit scenarios and has no use other than information for the credit card  ledger. The field may be changed after account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maxLength":50,"type":"string"},"debtorAccount":{"description":"Account number to use in conjunction with `debtorAgent`. The field is primarily in use in relation to direct debit  scenarios and has no use other than information for the credit card ledger. The field may be changed after account  creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maxLength":50,"type":"string"},"profitCenterReference":{"description":"An externally defined reference to a profit center. Both specific values and what type of entity is referred to are  decided by the bank. The profit center dimension in general ledger reporting is based on this reference. If  multiple related entities have a profit center reference the most specific value is reported,  i.e. if a billing account and the customer who owns the billing account have different profit center references the  billing account reference is reported to the general ledger. \n","maxLength":100,"type":"string"},"productChargeGroupId":{"description":"Unique identifier for a product charge group. Charge groups are used to provide different charges/fees and pricing  for different account segments within the same product. A billing or supplementary account always refers to a  single product charge group which serves as the basis for charge calculation for that account. This reference can  be changed after account creation using the operation accountChargeGroupCreate in the service  CAASAccountChargeGroupService. The available charge groups for an account product can be listed using the operation  productChargeGroupList in the service CAASProductChargeGroupService.\n","format":"int64","type":"integer"},"futureProductChargeGroupId":{"description":"Unique identifier for a product charge group. Charge groups are used to provide different charges/fees and pricing  for different account segments within the same product. A billing or supplementary account always refers to a  single product charge group which serves as the basis for charge calculation for that account. This reference can  be changed after account creation using the operation accountChargeGroupCreate in the service  CAASAccountChargeGroupService. The available charge groups for an account product can be listed using the operation  productChargeGroupList in the service CAASProductChargeGroupService.\n","format":"int64","type":"integer"},"futureChargeGroupEffectiveDate":{"description":"The date from which the account will be affected by the product charge group identified by  `futureProductChargeGroupId`. This field is mandatory if a `futureProductChargeGroupId` is provided.\n","format":"date","type":"string"},"productInterestGroupId":{"description":"Unique identifier for a product interest group. Interest groups are used to provide different pricing for different  account segments within the same product. A billing account always refers to a single product interest group which  serves as the basis for interest calculation for that account. This reference can be changed after account creation  using the operation accountInterestGroupCreate in the service CAASAccountInterestGroupService. The available  interest groups for an account product can be listed using the operation productInterestGroupList in the service  CAASProductInterestGroupService. \n","format":"int64","type":"integer"},"futureProductInterestGroupId":{"description":"Unique identifier for a product interest group. Interest groups are used to provide different pricing for different  account segments within the same product. A billing account always refers to a single product interest group which  serves as the basis for interest calculation for that account. This reference can be changed after account creation  using the operation accountInterestGroupCreate in the service CAASAccountInterestGroupService. The available  interest groups for an account product can be listed using the operation productInterestGroupList in the service  CAASProductInterestGroupService. \n","format":"int64","type":"integer"},"futureInterestGroupEffectiveDate":{"description":"The date from which the account will be affected by the product interest group identified by  `futureProductInterestGroupId`. This field is mandatory if a `futureProductInterestGroupId` is provided.\n","format":"date","type":"string"},"accountAddress":{"$ref":"#/components/schemas/AddressType"},"statementCopyRecipients":{"items":{"$ref":"#/components/schemas/StatementCopyRecipientType"},"maxItems":500,"minItems":0,"type":"array"},"transactionListRecipients":{"items":{"$ref":"#/components/schemas/TransactionListRecipientType"},"maxItems":500,"minItems":0,"type":"array"}},"required":["creditLimit","customerId","productKey"],"type":"object"},"AddressType":{"example":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"properties":{"addressLine1":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine2":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine3":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine4":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine5":{"description":"One line of an address.","maxLength":40,"type":"string"},"postCode":{"description":"The post code of an address.","maxLength":9,"type":"string"},"postBox":{"description":"The post box value of an address.","maxLength":40,"type":"string"},"city":{"description":"The city of an address.","maxLength":40,"type":"string"},"email":{"description":"Email address used to contact a customer.","maxLength":75,"type":"string"},"countryCodeAlpha2":{"description":"Two letter alphabetic country code according to ISO-3166-1. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_3166) for more information about ISO-3166.\n","maxLength":2,"minLength":2,"pattern":"[A-Z]{2}","type":"string"}},"type":"object"},"StatementCopyRecipientType":{"example":{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"distributionMethodKey":"distributionMethodKey","customerId":6647653753547295744,"statementCopyRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91"},"properties":{"statementCopyRecipientId":{"description":"Globally unique identifier for a statement copy recipient. A statement copy recipient is a customer who receives a copy of each statement produced for a billing account. \n","format":"uuid","type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"distributionMethodKey":{"description":"Indicates how documents should be distributed to the recipient. Allowed values for the product can be fetched using the operation productStatementParameterList in the service CAASProductStatementParameterService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"address":{"$ref":"#/components/schemas/AddressType"}},"required":["customerId","distributionMethodKey","statementCopyRecipientId"],"type":"object"},"TransactionListRecipientType":{"example":{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1108362183099530112},"properties":{"transactionListRecipientId":{"description":"Globally unique identifier for a transaction list recipient. A transaction list recipient is a customer who  receives a copy of all transactions posted to an account during a billing cycle after the end of each cycle. \n","format":"uuid","type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"distributionMethodKey":{"description":"Indicates how documents should be distributed to the recipient. Allowed values for the product can be fetched using the operation productStatementParameterList in the service CAASProductStatementParameterService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"address":{"$ref":"#/components/schemas/AddressType"}},"required":["customerId","distributionMethodKey","transactionListRecipientId"],"type":"object"},"BillingAccountCreateResponseType":{"example":{"billingAccountId":"10010000001"},"properties":{"billingAccountId":{"description":"Unique account identifier for a billing account. Sometimes referred to as `billingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"}},"required":["billingAccountId"],"type":"object"},"ResponseStateType":{"example":{"message":"The requested resource was not found.","errorKey":"NOT_FOUND","originatingSystem":"CAA","constraintViolations":{}},"properties":{"message":{"description":"Description of the returned state. This field contains data intended for debugging purposes.\n","type":"string"},"errorKey":{"description":"The error key gives a more granular description of the returned state. Valid values include,\nbut are not limited to:\n* `NOT_FOUND` - The requested resource is not found. Returned with http status code 404.\n* `DUPLICATE_ENTRY` - The entity attempted to post is already present. Returned with http status code 409.\n* `OPTIMISTIC_LOCKING` - Operation failed because another client has updated or deleted the record.\n  Returned with http status code 409\n* `INVALID_REQUEST` - The request is invalid. Returned with http status code 400.\n* `INTERNAL_SERVER_ERROR` - The server failed to fulfil a request. Returned with http status code 500.\n","type":"string"},"originatingSystem":{"description":"Identifier of the system responsible for the returned state. May be internal ace deployment id's or reference to an external system.\n","type":"string"},"constraintViolations":{"description":"List constraint violations with a reason. This field is used when request parameters are not fulfilled linked to http status code 400.\n","type":"object"}},"type":"object"},"ResponseStateEsbType":{"example":{"id":"EF515D6A10#EF515D6A10#ess#gs1#2","system":"REST-ESB","status":403,"errorCode":10026,"message":"Resource cannot be accessed with current license"},"properties":{"id":{"description":"Identifier for the returned state\n","type":"string"},"system":{"description":"Identifier of the system responsible for the returned state. May be internal ace deployment id's or reference to an external system.\n","type":"string"},"status":{"description":"The status gives a descriptive code of the returned state. * `403` - Returned FORBIDDEN state. The server understands the request but refuses to authorize it.\n","type":"string"},"errorCode":{"description":"A descriptive error code representing a specific case within the returned http status.\n","type":"integer"},"message":{"description":"Description of the error code.\n","type":"string"}},"type":"object"},"billingAccountId":{"description":"Unique account identifier for a billing account. Sometimes referred to as `billingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"BillingAccountType":{"example":{"originalOverdueFromDate":"2000-01-23","originalAccountCreatedDate":"2000-01-23","debtorAccount":"debtorAccount","aliases":{},"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":-7.06837403899411E17,"accountDescription":"accountDescription","debtorAgent":"debtorAgent","billingAccountId":"billingAccountId","productKey":"productKey","overdueFromDate":"2000-01-23","productName":"productName","pfmSelectionRule":"pfmSelectionRule","availableBalance":1.924267833366364E17,"mpaCalculationRule":"mpaCalculationRule","mpaPercentage":93.01444243932576,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","minPercentageMpa":3.616076749251911E17,"distributionMethodKey":"distributionMethodKey","fullAccountHolderName":"fullAccountHolderName","reportingAccountId":"reportingAccountId","customerId":720745371414910336,"overdueDays":0,"creditLimit":563737665663,"statementGenerationRule":"statementGenerationRule","currentAccountChargeGroup":{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"futureAccountInterestGroups":[{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"}],"accountStatusKey":"accountStatusKey","overdueAmount":2.302135886934765E17,"fixedMpa":2.027123023002322E17,"hasSupplementaryAccount":true,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"maxPfms":8,"paymentMethodKey":"paymentMethodKey","currentAccountInterestGroup":{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},"cycleGroupKey":"cycleGroupKey","bookedBalance":2.0549123661408077E17,"fixedRequestAmount":4.145608029883936E17,"paymentStatusName":"paymentStatusName","requestAmountCalculationRule":"requestAmountCalculationRule","fixedPfms":[null,null,null,null,null]},"properties":{"billingAccountId":{"description":"Unique account identifier for a billing account. Sometimes referred to as `billingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"aliases":{"additionalProperties":{"$ref":"#/components/schemas/aliasValue"},"description":"A set of account aliases represented by pairs consisting of an `aliasCategoryKey` and an `aliasValue`. An \naccount alias is an alternate identifier for an account. Valid `aliasCategoryKey` values include: \n* `NORWEGIAN_PAYMENT_REFERENCE_KID` - A \"customer identifier\" used to direct payments to a corresponding account\nin Norwegian payment infrastructure. See [Wikipedia](https://no.wikipedia.org/wiki/KID-nummer) for more \ninformation about KID numbers.\n","type":"object"},"productKey":{"description":"An account product defines the characteristics and behaviour of the accounts that are set up within the product, such as currency, which type of interest that will be calculated and how, the formula for the calculation of the MPA and how it is followed up. Definition of the characteristics are part of the account product setup. Options are pre-defined by the issuer. All billing accounts belong to a single account product and this can not be changed after account creation. The  available products can be listed by calling the productList operation in CAASProductService.\n","maxLength":16,"minLength":4,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"productName":{"description":"A human readable name for an account product.","maxLength":50,"type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"fullAccountHolderName":{"description":"The full customer name i.e. first and last name if the customer is a person or the organization name. Does not  include any applicable title.  \n","maxLength":101,"type":"string"},"reportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"fullParentAccountHolderName":{"description":"The full customer name i.e. first and last name if the customer is a person or the organization name. Does not  include any applicable title.  \n","maxLength":101,"type":"string"},"currencyCodeAlpha3":{"description":"Three letter alphabetic currency code according to ISO-4217. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_4217) for more information about ISO-4217.\n","maxLength":3,"minLength":3,"pattern":"[A-Z]{3}","type":"string"},"bookedBalance":{"description":"The sum of the amount of all transactions posted to this account. If this account is a part of a hierarchy  transactions posted to accounts below this account in the hierarchy are also included. For example a billing account  with a single child supplementary account has a booked balance equal to the sum of transactions posted to the  billing account and the supplementary account.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"sumReservations":{"description":"The sum of currently active reservations on this account. If this account is a part of a hierarchy  active reservations on accounts below this account in the hierarchy are also included. A reservation is an accepted online authorization from the card schemes such as VISA or MasterCard. Reservations may also be created and  maintained using the IACSReservationService.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"availableBalance":{"description":"The amount available for usage by the account holder. This is the creditLimit + sumReservations + bookedBalance.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"creditLimit":{"description":"The maximum amount of credit given to the account. This field is also known as limit amount, credit line or line  of credit. The amount can be updated using the operation limitUpdate in the service ACGSAccountLimitService.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"overdueAmount":{"description":"The total amount that is currently overdue for the billing account.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"overdueDays":{"description":"The number of days since the billing account went overdue.\n","format":"int32","minimum":0,"type":"integer"},"overdueFromDate":{"description":"The due date of the oldest unpaid minimum payment amount (MPA). Only present if the account is overdue. When a payment is received this value changes if the payment is sufficiently large to cover the oldest unpaid MPA.\n","format":"date","type":"string"},"originalOverdueFromDate":{"description":"The date from which the account has been overdue. Only present if the account is overdue. A payment smaller than  the account's overdue amount does not change this value.\n","format":"date","type":"string"},"cycleGroupKey":{"description":"Unique identifier for a cycle group. A cycle group contains the set of rules for the calculation of an end of cycle  date/invoicing date and the related due date. Cycle groups are defined by the bank and account products are  configured to allow access to a subset of cycle groups. A list of currently available cycle groups for an account  product can be fetched using the operation productCycleGroupList in the service CAASProductCycleGroupService. An  individual account always belongs to a single cycle group, but the cycle group to which an account belongs can be  changed after account creation by using the operation accountCycleGroupUpdate in the service  CAASAccountCycleGroupService. \n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"accountStatusKey":{"description":"Identifier for an account status. Account statuses are defined by the bank and serve as a rough categorization of\nthe overall states of their associated billing accounts. The behaviour of accounts with a specific account status\ncan be modified by adding or removing processing actions in the account status configuration using the update\noperation of CAASAccountStatusService. To see how each status is configured, use the list operation\nCAASAccountStatusService.\n\nWhich statuses an individual billing account can be in is also limited by the corresponding account product. The \nlist of account statuses available in an account product can be retrieved using the list operation of \nCAASProductAccountStatusService. \n\nAn individual billing account always has exactly one account status at all points in time. The initial status of a\nbilling account is configured per account product, but it may be changed changed after account creation using the \noperation accountStatusUpdate in the service ACGSAccountStatusService. The account status history of a billing \naccount can be fetched using the list operation of CAASBillingAccountStatusService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"accountStatusName":{"description":"A human-readable name for an account status.\n","maxLength":40,"type":"string"},"paymentStatusKey":{"description":"Identifier for a payment status. Payment statuses are defined by the bank and serve as a rough categorization of\nhow up-to-date with payments their associated billing accounts are. The behaviour of accounts with a specific\npayment status can be modified by adding or removing processing actions in the payment status configuration using\nthe update operation of CAASPaymentStatusService. To see how each status is configured, use the list operation\nCAASPaymentStatusService.\n\nWhich statuses an individual billing account can be in is also limited by the corresponding account product. The \nlist of payment statuses available in an account product can be retrieved using the list operation of \nCAASProductPaymentStatusService. The payment status of an individual account is goverened by status rules configured\nper account product. \n\nAn individual billing account always has exactly one payment status at all points in time. The payment status\nhistory of a billing account can be fetched using the list operation of CAASBillingAccountPaymentStatusService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"paymentStatusName":{"description":"A human-readable name for a payment status.\n","maxLength":40,"type":"string"},"accountDescription":{"description":"A short description of the account.","maxLength":20,"type":"string"},"mpaCalculationRule":{"description":"The method that will be used for calculation of the minimum payment amount (MPA), i.e., the amount that is required\nto be paid at due date in order not to go delinquent. A list of allowed values for the account product can be \nfetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService.\nSupported options include:\n* `PERCENTAGE` – The MPA is calculated based on a percentage of the balance. The calculation formula is specified \nat the product by the bank and involves the account specific values `mpaPercentage` and `minPercentageMpa`.\n* `FIXED` – The MPA is set to a fixed amount. The calculation rules are specified at the account product by the \nbank and involve the account specific value `fixedMpa`.\n* `OUTSTANDING_BALANCE` – The MPA is set to the account balance at the Invoicing date/End of cycle date.\n* `NO_MIN_PAYMENT_AMOUNT` – No MPA will be required for the account.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService. \n","maxLength":30,"type":"string"},"mpaPercentage":{"description":"The percentage of the account balance used when calculating MPA if the `mpaCalculationRule` is `PERCENTAGE`. Allowed range and other settings such as `excludeOverdue` and default values for the account product may be fetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. If no  value is specified for this field when setting the `mpaCalculationRule` to `PERCENTAGE` the default value from the  account product will be configured for the account. The field may be changed after account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maximum":100,"minimum":0,"multipleOf":1.0E-8,"type":"number"},"minPercentageMpa":{"description":"If the `mpaCalculationRule` is `PERCENTAGE` the `minPercentageMpa` serves as a lower bound on the calculated MPA, i.e., if the result of percentage calculation is less than the `minPercentageMpa` the MPA will be set equal to the `minPercentageMpa`. If no value is specified for this field when setting the `mpaCalculationRule` to `PERCENTAGE`  the default value from the account product will be configured for the account. The default value may be fetched  using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. The field  may be changed after account creation using the operation accountSettlementUpdate in the service  CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"fixedMpa":{"description":"If the `mpaCalculationRule` is `FIXED` the value `fixedMpa` is the basis for the MPA calculation. Most accounts will end up with MPA values equal to the `fixedMpa`, but there might be exceptions depending on the rules configured for the account product and the state of an individual account. If no value is specified for this field when setting  the `mpaCalculationRule` to `FIXED` the default value from the account product will be configured for the account. Minimum and default values may be fetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"requestAmountCalculationRule":{"description":"The request amount is the amount that is requested to be paid. The request amount is always equal or greater than\nthe MPA. The request amount is not followed up by the system. An example is that the customer wants the outstanding\nbalance to be debited in the direct debit process even if the `mpaCalculationRule` is set to `PERCENTAGE`. Supported\noptions include:\n* `FIXED` - The request amount is set to a fixed amount. The details of the calculation rules are specified at the \naccount product by the bank, but the calculation is always based on the value of `fixedRequestAmount`.\n* `OUTSTANDING_BALANCE` - The request amount is set to the account balance at the invoicing date /End of cycle date.\n* `MIN_PAYMENT_AMOUNT` - The request amount is set to the same amount as the MPA. The MPA is calculated based on \nthe `mpaCalculationRule`.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService.\n","maxLength":20,"type":"string"},"fixedRequestAmount":{"description":"If the `requestAmountCalculationRule` is `FIXED` the `fixedRequestAmount` is the basis for the request amount  calculation. If no value is specified for this field when setting the `requestAmountCalculationRule` to `FIXED` the default value from the account product will be configured for the account. Default and minimum values  for the account product can be fetched using the operation productRequestAmountList in the service  CAASProductRequestAmountService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"pfmSelectionRule":{"description":"Payment free months are billing cycles for which the system will not be requiring a minimum amount to be paid. The\naccount will not go delinquent, although interest is still calculated. A list of allowed values for the account \nproduct can be fetched using the operation productPaymentFreeMonthList in the service \nCAASProductPaymentFreeMonthService. Supported options include:\n* `FIXED` - The customer/institution specifies the months that should be payment free. It needs to be set before the \nrelevant EOC/invoicing date.\n* `PAYMENT_BEHAVIOUR` - The customer uses a payment free month by not paying.\n* `NO_PFM` - Payment free months are not granted for the account.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService.\n","maxLength":30,"type":"string"},"maxPfms":{"description":"The max number of payment free months that can be granted in a 12 month period. The 12 month period can be a  sliding year or follow the regular calendar. The setup for year type can be adjusted using the service  CAASProductPaymentFreeMonthService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","maximum":12,"minimum":0,"type":"integer"},"fixedPfms":{"description":"If the `pfmSelectionRule` is `FIXED` this list will indicate which months are eligible for becoming payment free months. An invoice is eligible to be payment free if the due date is in a month which is present in this list. No months have to be selected at account creation, they can be added at a later stage. The field may be changed after  account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","items":{"$ref":"#/components/schemas/month"},"maxItems":12,"minItems":0,"type":"array"},"paymentMethodKey":{"description":"The payment method of the account, i.e., how payments will be initiated and transferred. The available payment methods for the account product are listable using the operation productPaymentMethodList in the service  CAASProductPaymentMethodService.\n","maxLength":16,"type":"string"},"statementGenerationRule":{"description":"A rule describing when an invoice/statement should be generated. Supported options include:\n* `ON_ACTIVITY` - Statements are generated if (1) Minimum payment amount is calculated, (2) any transaction has \nbeen posted to the account or (3) the balance is not equal to zero (or not within exclusion balance interval).\n* `GENERATE_ALWAYS` - Statements are always generated.\n* `DO_NOT_GENERATE` - Statements are never generated.\n\nAllowed values for the account product can be fetched with the operation productStatementParameterList in the \nservice CAASProductStatementParameterService. The field may be changed after account creation using the operation\naccountStatementParameterUpdate in the service CAASAccountStatementParameterService.\n","maxLength":20,"type":"string"},"distributionMethodKey":{"description":"Indicates how documents should be distributed to the recipient. Allowed values for the product can be fetched using the operation productStatementParameterList in the service CAASProductStatementParameterService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"debtorAgent":{"description":"The financial institution servicing an account for the debtor. May be sort code for UK institutions. The field is  primarily in use in relation to direct debit scenarios and has no use other than information for the credit card  ledger. The field may be changed after account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maxLength":50,"type":"string"},"debtorAccount":{"description":"Account number to use in conjunction with `debtorAgent`. The field is primarily in use in relation to direct debit  scenarios and has no use other than information for the credit card ledger. The field may be changed after account  creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maxLength":50,"type":"string"},"profitCenterReference":{"description":"An externally defined reference to a profit center. Both specific values and what type of entity is referred to are  decided by the bank. The profit center dimension in general ledger reporting is based on this reference. If  multiple related entities have a profit center reference the most specific value is reported,  i.e. if a billing account and the customer who owns the billing account have different profit center references the  billing account reference is reported to the general ledger. \n","maxLength":100,"type":"string"},"currentAccountChargeGroup":{"$ref":"#/components/schemas/AccountChargeGroupType"},"futureAccountChargeGroups":{"items":{"$ref":"#/components/schemas/AccountChargeGroupType"},"type":"array"},"currentAccountInterestGroup":{"$ref":"#/components/schemas/AccountInterestGroupType"},"futureAccountInterestGroups":{"items":{"$ref":"#/components/schemas/AccountInterestGroupType"},"type":"array"},"accountCreatedDate":{"description":"The posting date this account was created in the Ace ledger.","format":"date","type":"string"},"originalAccountCreatedDate":{"description":"For accounts that are not migrated from another ledger this is always equal to `accountCreatedDate`. For migrated  accounts it is possible to supply a value representing when the account was created in the original ledger. This  field is for information only and does not affect any account processing.\n","format":"date","type":"string"},"hasSupplementaryAccount":{"description":"If true, this billing account has one or more supplementary account children.","type":"boolean"},"version":{"description":"The current version of the resource, used for optimistic concurrency control. See  [Wikipedia](https://en.wikipedia.org/wiki/Optimistic_concurrency_control) for more information about optimistic  locking. \n","format":"int64","minimum":0,"type":"integer"}},"required":["accountCreatedDate","accountStatusKey","accountStatusName","availableBalance","billingAccountId","bookedBalance","creditLimit","currencyCodeAlpha3","currentAccountChargeGroup","currentAccountInterestGroup","customerId","cycleGroupKey","distributionMethodKey","fullAccountHolderName","hasSupplementaryAccount","mpaCalculationRule","originalAccountCreatedDate","overdueAmount","overdueDays","paymentMethodKey","paymentStatusKey","paymentStatusName","pfmSelectionRule","productKey","productName","requestAmountCalculationRule","statementGenerationRule","sumReservations","version"],"type":"object"},"AccountChargeGroupType":{"example":{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"properties":{"productChargeGroupId":{"description":"Unique identifier for a product charge group. Charge groups are used to provide different charges/fees and pricing  for different account segments within the same product. A billing or supplementary account always refers to a  single product charge group which serves as the basis for charge calculation for that account. This reference can  be changed after account creation using the operation accountChargeGroupCreate in the service  CAASAccountChargeGroupService. The available charge groups for an account product can be listed using the operation  productChargeGroupList in the service CAASProductChargeGroupService.\n","format":"int64","type":"integer"},"productChargeGroupName":{"description":"A human readable name for a product charge group.","maxLength":50,"type":"string"},"effectiveDate":{"description":"The processing date from which this account charge group affected the account. Only one account charge group is in effect at any point in time and it remains in effect until it is replaced by an account charge group with a more recent effective date.\n","format":"date","type":"string"}},"required":["effectiveDate","productChargeGroupId","productChargeGroupName"],"type":"object"},"AccountInterestGroupType":{"example":{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},"properties":{"productInterestGroupId":{"description":"Unique identifier for a product interest group. Interest groups are used to provide different pricing for different  account segments within the same product. A billing account always refers to a single product interest group which  serves as the basis for interest calculation for that account. This reference can be changed after account creation  using the operation accountInterestGroupCreate in the service CAASAccountInterestGroupService. The available  interest groups for an account product can be listed using the operation productInterestGroupList in the service  CAASProductInterestGroupService. \n","format":"int64","type":"integer"},"productInterestGroupName":{"description":"A human readable name for a product interest group.","maxLength":50,"type":"string"},"effectiveDate":{"description":"The processing date from which this account interest group affected the account. Only one account interest group is in effect at any point in time and it remains in effect until it is replaced by an account interest group with a more recent effective date.\n","format":"date","type":"string"}},"required":["effectiveDate","productInterestGroupId","productInterestGroupName"],"type":"object"},"BillingAccountSearchCriteriaType":{"example":{"productKeys":[null,null,null,null,null],"startIndex":0,"billingAccountIds":[null,null,null,null,null],"reportingAccountId":"reportingAccountId","currencyCodesAlpha3":[null,null,null,null,null],"customerId":720745371414910336,"pageSize":74,"accountStatusKeys":[null,null,null,null,null],"paymentStatusKeys":[null,null,null,null,null],"excludeAccountsHiddenFromSelfService":false},"properties":{"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"reportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"billingAccountIds":{"items":{"$ref":"#/components/schemas/billingAccountId"},"maxItems":500,"minItems":0,"type":"array"},"productKeys":{"items":{"$ref":"#/components/schemas/productKey"},"maxItems":500,"minItems":0,"type":"array"},"currencyCodesAlpha3":{"items":{"$ref":"#/components/schemas/currencyCodeAlpha3"},"maxItems":500,"minItems":0,"type":"array"},"accountStatusKeys":{"items":{"$ref":"#/components/schemas/accountStatusKey"},"maxItems":500,"minItems":0,"type":"array"},"paymentStatusKeys":{"items":{"$ref":"#/components/schemas/paymentStatusKey"},"maxItems":500,"minItems":0,"type":"array"},"excludeAccountsHiddenFromSelfService":{"default":false,"description":"If true, accounts in a status that is hidden in self-service channels will be excluded from the response.","type":"boolean"},"startIndex":{"default":0,"description":"Starting from 0, this is the index of the first element on the requested page.","format":"int32","minimum":0,"type":"integer"},"pageSize":{"default":500,"description":"The maximum number of elements that the response can contain.","format":"int32","maximum":500,"minimum":1,"type":"integer"}},"type":"object"},"BillingAccountSearchResponseType":{"example":{"pagingElement":{"numberOfElements":40,"hasMoreElements":true},"billingAccounts":[{"originalOverdueFromDate":"2000-01-23","originalAccountCreatedDate":"2000-01-23","debtorAccount":"debtorAccount","aliases":{},"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":-7.06837403899411E17,"accountDescription":"accountDescription","debtorAgent":"debtorAgent","billingAccountId":"billingAccountId","productKey":"productKey","overdueFromDate":"2000-01-23","productName":"productName","pfmSelectionRule":"pfmSelectionRule","availableBalance":1.924267833366364E17,"mpaCalculationRule":"mpaCalculationRule","mpaPercentage":93.01444243932576,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","minPercentageMpa":3.616076749251911E17,"distributionMethodKey":"distributionMethodKey","fullAccountHolderName":"fullAccountHolderName","reportingAccountId":"reportingAccountId","customerId":720745371414910336,"overdueDays":0,"creditLimit":563737665663,"statementGenerationRule":"statementGenerationRule","currentAccountChargeGroup":{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"futureAccountInterestGroups":[{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"}],"accountStatusKey":"accountStatusKey","overdueAmount":2.302135886934765E17,"fixedMpa":2.027123023002322E17,"hasSupplementaryAccount":true,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"maxPfms":8,"paymentMethodKey":"paymentMethodKey","currentAccountInterestGroup":{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},"cycleGroupKey":"cycleGroupKey","bookedBalance":2.0549123661408077E17,"fixedRequestAmount":4.145608029883936E17,"paymentStatusName":"paymentStatusName","requestAmountCalculationRule":"requestAmountCalculationRule","fixedPfms":[null,null,null,null,null]},{"originalOverdueFromDate":"2000-01-23","originalAccountCreatedDate":"2000-01-23","debtorAccount":"debtorAccount","aliases":{},"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":-7.06837403899411E17,"accountDescription":"accountDescription","debtorAgent":"debtorAgent","billingAccountId":"billingAccountId","productKey":"productKey","overdueFromDate":"2000-01-23","productName":"productName","pfmSelectionRule":"pfmSelectionRule","availableBalance":1.924267833366364E17,"mpaCalculationRule":"mpaCalculationRule","mpaPercentage":93.01444243932576,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","minPercentageMpa":3.616076749251911E17,"distributionMethodKey":"distributionMethodKey","fullAccountHolderName":"fullAccountHolderName","reportingAccountId":"reportingAccountId","customerId":720745371414910336,"overdueDays":0,"creditLimit":563737665663,"statementGenerationRule":"statementGenerationRule","currentAccountChargeGroup":{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"futureAccountInterestGroups":[{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"}],"accountStatusKey":"accountStatusKey","overdueAmount":2.302135886934765E17,"fixedMpa":2.027123023002322E17,"hasSupplementaryAccount":true,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"maxPfms":8,"paymentMethodKey":"paymentMethodKey","currentAccountInterestGroup":{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},"cycleGroupKey":"cycleGroupKey","bookedBalance":2.0549123661408077E17,"fixedRequestAmount":4.145608029883936E17,"paymentStatusName":"paymentStatusName","requestAmountCalculationRule":"requestAmountCalculationRule","fixedPfms":[null,null,null,null,null]},{"originalOverdueFromDate":"2000-01-23","originalAccountCreatedDate":"2000-01-23","debtorAccount":"debtorAccount","aliases":{},"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":-7.06837403899411E17,"accountDescription":"accountDescription","debtorAgent":"debtorAgent","billingAccountId":"billingAccountId","productKey":"productKey","overdueFromDate":"2000-01-23","productName":"productName","pfmSelectionRule":"pfmSelectionRule","availableBalance":1.924267833366364E17,"mpaCalculationRule":"mpaCalculationRule","mpaPercentage":93.01444243932576,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","minPercentageMpa":3.616076749251911E17,"distributionMethodKey":"distributionMethodKey","fullAccountHolderName":"fullAccountHolderName","reportingAccountId":"reportingAccountId","customerId":720745371414910336,"overdueDays":0,"creditLimit":563737665663,"statementGenerationRule":"statementGenerationRule","currentAccountChargeGroup":{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"futureAccountInterestGroups":[{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"}],"accountStatusKey":"accountStatusKey","overdueAmount":2.302135886934765E17,"fixedMpa":2.027123023002322E17,"hasSupplementaryAccount":true,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"maxPfms":8,"paymentMethodKey":"paymentMethodKey","currentAccountInterestGroup":{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},"cycleGroupKey":"cycleGroupKey","bookedBalance":2.0549123661408077E17,"fixedRequestAmount":4.145608029883936E17,"paymentStatusName":"paymentStatusName","requestAmountCalculationRule":"requestAmountCalculationRule","fixedPfms":[null,null,null,null,null]},{"originalOverdueFromDate":"2000-01-23","originalAccountCreatedDate":"2000-01-23","debtorAccount":"debtorAccount","aliases":{},"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":-7.06837403899411E17,"accountDescription":"accountDescription","debtorAgent":"debtorAgent","billingAccountId":"billingAccountId","productKey":"productKey","overdueFromDate":"2000-01-23","productName":"productName","pfmSelectionRule":"pfmSelectionRule","availableBalance":1.924267833366364E17,"mpaCalculationRule":"mpaCalculationRule","mpaPercentage":93.01444243932576,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","minPercentageMpa":3.616076749251911E17,"distributionMethodKey":"distributionMethodKey","fullAccountHolderName":"fullAccountHolderName","reportingAccountId":"reportingAccountId","customerId":720745371414910336,"overdueDays":0,"creditLimit":563737665663,"statementGenerationRule":"statementGenerationRule","currentAccountChargeGroup":{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"futureAccountInterestGroups":[{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"}],"accountStatusKey":"accountStatusKey","overdueAmount":2.302135886934765E17,"fixedMpa":2.027123023002322E17,"hasSupplementaryAccount":true,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"maxPfms":8,"paymentMethodKey":"paymentMethodKey","currentAccountInterestGroup":{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},"cycleGroupKey":"cycleGroupKey","bookedBalance":2.0549123661408077E17,"fixedRequestAmount":4.145608029883936E17,"paymentStatusName":"paymentStatusName","requestAmountCalculationRule":"requestAmountCalculationRule","fixedPfms":[null,null,null,null,null]},{"originalOverdueFromDate":"2000-01-23","originalAccountCreatedDate":"2000-01-23","debtorAccount":"debtorAccount","aliases":{},"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":-7.06837403899411E17,"accountDescription":"accountDescription","debtorAgent":"debtorAgent","billingAccountId":"billingAccountId","productKey":"productKey","overdueFromDate":"2000-01-23","productName":"productName","pfmSelectionRule":"pfmSelectionRule","availableBalance":1.924267833366364E17,"mpaCalculationRule":"mpaCalculationRule","mpaPercentage":93.01444243932576,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","minPercentageMpa":3.616076749251911E17,"distributionMethodKey":"distributionMethodKey","fullAccountHolderName":"fullAccountHolderName","reportingAccountId":"reportingAccountId","customerId":720745371414910336,"overdueDays":0,"creditLimit":563737665663,"statementGenerationRule":"statementGenerationRule","currentAccountChargeGroup":{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"futureAccountInterestGroups":[{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"}],"accountStatusKey":"accountStatusKey","overdueAmount":2.302135886934765E17,"fixedMpa":2.027123023002322E17,"hasSupplementaryAccount":true,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":1,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"maxPfms":8,"paymentMethodKey":"paymentMethodKey","currentAccountInterestGroup":{"productInterestGroupName":"productInterestGroupName","productInterestGroupId":1,"effectiveDate":"2000-01-23"},"cycleGroupKey":"cycleGroupKey","bookedBalance":2.0549123661408077E17,"fixedRequestAmount":4.145608029883936E17,"paymentStatusName":"paymentStatusName","requestAmountCalculationRule":"requestAmountCalculationRule","fixedPfms":[null,null,null,null,null]}]},"properties":{"billingAccounts":{"items":{"$ref":"#/components/schemas/BillingAccountType"},"maxItems":500,"minItems":0,"type":"array"},"pagingElement":{"$ref":"#/components/schemas/PagingOutputElementType"}},"required":["pagingElement"],"type":"object"},"SupplementaryAccountCreateType":{"example":{"periodicLimit":602745618307,"productChargeGroupId":1,"futureProductChargeGroupId":5,"accountDescription":"accountDescription","futureChargeGroupEffectiveDate":"2000-01-23","transactionListRecipients":[{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":5073638990969995264},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":5073638990969995264},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":5073638990969995264},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":5073638990969995264},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":5073638990969995264}],"customerId":720745371414910336,"billingAccountId":"billingAccountId","supplementaryAccountId":"supplementaryAccountId"},"properties":{"supplementaryAccountId":{"description":"Unique account identifier for a supplementary account. Sometimes referred to as `supplementaryAccountNumber`. This  id may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Account ids are allocated using the account id setup of the account product corresponding to  the parent billing account. \n","maxLength":35,"minLength":4,"type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"billingAccountId":{"description":"Unique account identifier for a billing account. Sometimes referred to as `billingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"accountDescription":{"description":"A short description of the account.","maxLength":20,"type":"string"},"periodicLimit":{"description":"The periodic limit amount setup at the account. The periodic limit is a limitation of the monthly usage at the  supplementary account. Supplementary accounts that are set up with a periodic limit can use up to the limit amount  providing that there is enough available amount at the billing account level. If periodic limit is not setup for  the supplementary account, it has unrestricted access to the credit limit of the billing account. This is called a  shared limit.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"productChargeGroupId":{"description":"Unique identifier for a product charge group. Charge groups are used to provide different charges/fees and pricing  for different account segments within the same product. A billing or supplementary account always refers to a  single product charge group which serves as the basis for charge calculation for that account. This reference can  be changed after account creation using the operation accountChargeGroupCreate in the service  CAASAccountChargeGroupService. The available charge groups for an account product can be listed using the operation  productChargeGroupList in the service CAASProductChargeGroupService.\n","format":"int64","type":"integer"},"futureProductChargeGroupId":{"description":"Unique identifier for a product charge group. Charge groups are used to provide different charges/fees and pricing  for different account segments within the same product. A billing or supplementary account always refers to a  single product charge group which serves as the basis for charge calculation for that account. This reference can  be changed after account creation using the operation accountChargeGroupCreate in the service  CAASAccountChargeGroupService. The available charge groups for an account product can be listed using the operation  productChargeGroupList in the service CAASProductChargeGroupService.\n","format":"int64","type":"integer"},"futureChargeGroupEffectiveDate":{"description":"The processing date from which this account charge group affected the account. Only one account charge group is in effect at any point in time and it remains in effect until it is replaced by an account charge group with a more recent effective date.\n","format":"date","type":"string"},"transactionListRecipients":{"items":{"$ref":"#/components/schemas/TransactionListRecipientType_1"},"maxItems":500,"minItems":0,"type":"array"}},"required":["billingAccountId","customerId"],"type":"object"},"TransactionListRecipientType_1":{"example":{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":5073638990969995264},"properties":{"transactionListRecipientId":{"description":"Globally unique identifier for a transaction list recipient. A transaction list recipient is a customer who  receives a copy of all transactions posted to an account during a billing cycle after the end of each cycle. \n","format":"uuid","type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"distributionMethodKey":{"description":"Indicates how documents should be distributed to the recipient. Allowed values for the product can be fetched using the operation productStatementParameterList in the service CAASProductStatementParameterService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"address":{"$ref":"#/components/schemas/AddressType_1"}},"required":["customerId","distributionMethodKey","transactionListRecipientId"],"type":"object"},"AddressType_1":{"example":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"properties":{"addressLine1":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine2":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine3":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine4":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine5":{"description":"One line of an address.","maxLength":40,"type":"string"},"postCode":{"description":"The post code of an address.","maxLength":9,"type":"string"},"postBox":{"description":"The post box value of an address.","maxLength":40,"type":"string"},"city":{"description":"The city of an address.","maxLength":40,"type":"string"},"email":{"description":"Email address used to contact a customer.","maxLength":75,"type":"string"},"countryCodeAlpha2":{"description":"Two letter alphabetic country code according to ISO-3166-1. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_3166) for more information about ISO-3166.\n","maxLength":2,"minLength":2,"pattern":"[A-Z]{2}","type":"string"}},"type":"object"},"SupplementaryAccountCreateResponseType":{"example":{"supplementaryAccountCreateResponseType":{"supplementaryAccountId":"00010000001"}},"properties":{"supplementaryAccountId":{"description":"Unique account identifier for a supplementary account. Sometimes referred to as `supplementaryAccountNumber`. This  id may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Account ids are allocated using the account id setup of the account product corresponding to  the parent billing account. \n","maxLength":35,"minLength":4,"type":"string"}},"required":["supplementaryAccountId"],"type":"object"},"supplementaryAccountId":{"description":"Unique account identifier for a supplementary account. Sometimes referred to as `supplementaryAccountNumber`. This  id may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Account ids are allocated using the account id setup of the account product corresponding to  the parent billing account. \n","maxLength":35,"minLength":4,"type":"string"},"SupplementaryAccountType":{"example":{"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":1.924267833366364E17,"accountDescription":"accountDescription","billingAccountId":"billingAccountId","productKey":"productKey","productName":"productName","availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"currentAccountChargeGroup":{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"accountStatusKey":"accountStatusKey","periodicLimit":230213588693,"parentCreditLimit":706140124150,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"isClosed":true,"bookedBalance":-7.06837403899411E17,"paymentStatusName":"paymentStatusName","supplementaryAccountId":"supplementaryAccountId"},"properties":{"supplementaryAccountId":{"description":"Unique account identifier for a supplementary account. Sometimes referred to as `supplementaryAccountNumber`. This  id may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Account ids are allocated using the account id setup of the account product corresponding to  the parent billing account. \n","maxLength":35,"minLength":4,"type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"fullAccountHolderName":{"description":"The full customer name i.e. first and last name if the customer is a person or the organization name. Does not  include any applicable title.  \n","maxLength":101,"type":"string"},"billingAccountId":{"description":"Unique account identifier for a billing account. Sometimes referred to as `billingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"parentCustomerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"fullParentAccountHolderName":{"description":"The full customer name i.e. first and last name if the customer is a person or the organization name. Does not  include any applicable title.  \n","maxLength":101,"type":"string"},"productKey":{"description":"An account product defines the characteristics and behaviour of the accounts that are set up within the product, such as currency, which type of interest that will be calculated and how, the formula for the calculation of the MPA and how it is followed up. Definition of the characteristics are part of the account product setup. Options are pre-defined by the issuer. All billing accounts belong to a single account product and this can not be changed after account creation. The  available products can be listed by calling the productList operation in CAASProductService.\n","maxLength":16,"minLength":4,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"productName":{"description":"A human readable name for an account product.","maxLength":50,"type":"string"},"bookedBalance":{"description":"The sum of the amount of all transactions posted to this account. If this account is a part of a hierarchy  transactions posted to accounts below this account in the hierarchy are also included. For example a billing account  with a single child supplementary account has a booked balance equal to the sum of transactions posted to the  billing account and the supplementary account.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"sumReservations":{"description":"The sum of currently active reservations on this account. If this account is a part of a hierarchy  active reservations on accounts below this account in the hierarchy are also included. A reservation is an accepted online authorization from the card schemes such as VISA or MasterCard. Reservations may also be created and  maintained using the IACSReservationService.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"availableBalance":{"description":"The amount available for usage by the account holder. This is the creditLimit + sumReservations + bookedBalance.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"periodicLimit":{"description":"The periodic limit amount setup at the account. The periodic limit is a limitation of the monthly usage at the  supplementary account. Supplementary accounts that are set up with a periodic limit can use up to the limit amount  providing that there is enough available amount at the billing account level. If periodic limit is not setup for  the supplementary account, it has unrestricted access to the credit limit of the billing account. This is called a  shared limit.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"parentCreditLimit":{"description":"The maximum amount of credit given to the account. This field is also known as limit amount, credit line or line  of credit. The amount can be updated using the operation limitUpdate in the service ACGSAccountLimitService.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"currencyCodeAlpha3":{"description":"Three letter alphabetic currency code according to ISO-4217. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_4217) for more information about ISO-4217.\n","maxLength":3,"minLength":3,"pattern":"[A-Z]{3}","type":"string"},"accountStatusKey":{"description":"Identifier for an account status. Account statuses are defined by the bank and serve as a rough categorization of\nthe overall states of their associated billing accounts. The behaviour of accounts with a specific account status\ncan be modified by adding or removing processing actions in the account status configuration using the update\noperation of CAASAccountStatusService. To see how each status is configured, use the list operation\nCAASAccountStatusService.\n\nWhich statuses an individual billing account can be in is also limited by the corresponding account product. The \nlist of account statuses available in an account product can be retrieved using the list operation of \nCAASProductAccountStatusService. \n\nAn individual billing account always has exactly one account status at all points in time. The initial status of a\nbilling account is configured per account product, but it may be changed changed after account creation using the \noperation accountStatusUpdate in the service ACGSAccountStatusService. The account status history of a billing \naccount can be fetched using the list operation of CAASBillingAccountStatusService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"accountStatusName":{"description":"A human-readable name for an account status.\n","maxLength":40,"type":"string"},"paymentStatusKey":{"description":"Identifier for a payment status. Payment statuses are defined by the bank and serve as a rough categorization of\nhow up-to-date with payments their associated billing accounts are. The behaviour of accounts with a specific\npayment status can be modified by adding or removing processing actions in the payment status configuration using\nthe update operation of CAASPaymentStatusService. To see how each status is configured, use the list operation\nCAASPaymentStatusService.\n\nWhich statuses an individual billing account can be in is also limited by the corresponding account product. The \nlist of payment statuses available in an account product can be retrieved using the list operation of \nCAASProductPaymentStatusService. The payment status of an individual account is goverened by status rules configured\nper account product. \n\nAn individual billing account always has exactly one payment status at all points in time. The payment status\nhistory of a billing account can be fetched using the list operation of CAASBillingAccountPaymentStatusService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"paymentStatusName":{"description":"A human-readable name for a payment status.\n","maxLength":40,"type":"string"},"accountDescription":{"description":"A short description of the account.","maxLength":20,"type":"string"},"accountCreatedDate":{"description":"The posting date this account was created in the Ace ledger.","format":"date","type":"string"},"profitCenterReference":{"description":"An externally defined reference to a profit center. Both specific values and what type of entity is referred to are  decided by the bank. The profit center dimension in general ledger reporting is based on this reference. If  multiple related entities have a profit center reference the most specific value is reported,  i.e. if a billing account and the customer who owns the billing account have different profit center references the  billing account reference is reported to the general ledger. \n","maxLength":100,"type":"string"},"currentAccountChargeGroup":{"$ref":"#/components/schemas/SupplementaryAccountChargeGroupType"},"futureAccountChargeGroups":{"items":{"$ref":"#/components/schemas/SupplementaryAccountChargeGroupType"},"type":"array"},"isClosed":{"description":"If true, this account has a closed status. Closed accounts are subject to very limited processing, but are included  in applicable data warehouse files. A closed account cannot have any open child accounts. \n","type":"boolean"},"version":{"description":"The current version of the resource, used for optimistic concurrency control. See  [Wikipedia](https://en.wikipedia.org/wiki/Optimistic_concurrency_control) for more information about optimistic  locking. \n","format":"int64","minimum":0,"type":"integer"}},"required":["accountCreatedDate","accountStatusKey","accountStatusName","availableBalance","billingAccountId","bookedBalance","currencyCodeAlpha3","currentAccountChargeGroup","customerId","fullAccountHolderName","fullParentAccountHolderName","isClosed","parentCreditLimit","parentCustomerId","paymentStatusKey","paymentStatusName","productKey","productName","sumReservations","supplementaryAccountId","version"],"type":"object"},"SupplementaryAccountChargeGroupType":{"example":{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"properties":{"productChargeGroupId":{"description":"Unique identifier for a product charge group. Charge groups are used to provide different charges/fees and pricing  for different account segments within the same product. A billing or supplementary account always refers to a  single product charge group which serves as the basis for charge calculation for that account. This reference can  be changed after account creation using the operation accountChargeGroupCreate in the service  CAASAccountChargeGroupService. The available charge groups for an account product can be listed using the operation  productChargeGroupList in the service CAASProductChargeGroupService.\n","format":"int64","type":"integer"},"productChargeGroupName":{"description":"A human readable name for a product charge group.","maxLength":50,"type":"string"},"effectiveDate":{"description":"The processing date from which this account charge group affected the account. Only one account charge group is in effect at any point in time and it remains in effect until it is replaced by an account charge group with a more recent effective date.\n","format":"date","type":"string"}},"required":["effectiveDate","productChargeGroupId","productChargeGroupName"],"type":"object"},"SupplementaryAccountSearchCriteriaType":{"example":{"excludeOpenAccounts":false,"startIndex":0,"billingAccountIds":[null,null,null,null,null],"supplementaryAccountIds":[null,null,null,null,null],"customerId":720745371414910336,"excludeClosedAccounts":false,"pageSize":74,"billingAccountId":"billingAccountId","excludeAccountsHiddenFromSelfService":false},"properties":{"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"billingAccountId":{"description":"Unique account identifier for a billing account. Sometimes referred to as `billingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"billingAccountIds":{"description":"Only supplementary accounts with one of these billing accounts as their parent will be included in the response.\n","items":{"$ref":"#/components/schemas/billingAccountId"},"maxItems":500,"minItems":0,"type":"array"},"supplementaryAccountIds":{"description":"Only supplementary accounts with one of these ids will be included in the response. \n","items":{"$ref":"#/components/schemas/supplementaryAccountId"},"maxItems":500,"minItems":0,"type":"array"},"excludeClosedAccounts":{"default":false,"description":"If true, closed supplementary accounts will not be included in the response","type":"boolean"},"excludeOpenAccounts":{"default":false,"description":"If true, open supplementary accounts will not be included in the response","type":"boolean"},"excludeAccountsHiddenFromSelfService":{"default":false,"description":"If true, supplementary accounts with a parent billing account in a status that is hidden in self-service channels will be excluded from the response","type":"boolean"},"startIndex":{"default":0,"description":"Starting from 0, this is the index of the first element on the requested page.","format":"int32","minimum":0,"type":"integer"},"pageSize":{"default":500,"description":"The maximum number of elements that the response can contain.","format":"int32","maximum":500,"minimum":1,"type":"integer"}},"type":"object"},"SupplementaryAccountSearchResponseType":{"example":{"pagingElement":{"numberOfElements":40,"hasMoreElements":true},"supplementaryAccounts":[{"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":1.924267833366364E17,"accountDescription":"accountDescription","billingAccountId":"billingAccountId","productKey":"productKey","productName":"productName","availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"currentAccountChargeGroup":{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"accountStatusKey":"accountStatusKey","periodicLimit":230213588693,"parentCreditLimit":706140124150,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"isClosed":true,"bookedBalance":-7.06837403899411E17,"paymentStatusName":"paymentStatusName","supplementaryAccountId":"supplementaryAccountId"},{"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":1.924267833366364E17,"accountDescription":"accountDescription","billingAccountId":"billingAccountId","productKey":"productKey","productName":"productName","availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"currentAccountChargeGroup":{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"accountStatusKey":"accountStatusKey","periodicLimit":230213588693,"parentCreditLimit":706140124150,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"isClosed":true,"bookedBalance":-7.06837403899411E17,"paymentStatusName":"paymentStatusName","supplementaryAccountId":"supplementaryAccountId"},{"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":1.924267833366364E17,"accountDescription":"accountDescription","billingAccountId":"billingAccountId","productKey":"productKey","productName":"productName","availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"currentAccountChargeGroup":{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"accountStatusKey":"accountStatusKey","periodicLimit":230213588693,"parentCreditLimit":706140124150,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"isClosed":true,"bookedBalance":-7.06837403899411E17,"paymentStatusName":"paymentStatusName","supplementaryAccountId":"supplementaryAccountId"},{"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":1.924267833366364E17,"accountDescription":"accountDescription","billingAccountId":"billingAccountId","productKey":"productKey","productName":"productName","availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"currentAccountChargeGroup":{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"accountStatusKey":"accountStatusKey","periodicLimit":230213588693,"parentCreditLimit":706140124150,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"isClosed":true,"bookedBalance":-7.06837403899411E17,"paymentStatusName":"paymentStatusName","supplementaryAccountId":"supplementaryAccountId"},{"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":1.924267833366364E17,"accountDescription":"accountDescription","billingAccountId":"billingAccountId","productKey":"productKey","productName":"productName","availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"accountCreatedDate":"2000-01-23","accountStatusName":"accountStatusName","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"currentAccountChargeGroup":{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},"accountStatusKey":"accountStatusKey","periodicLimit":230213588693,"parentCreditLimit":706140124150,"profitCenterReference":"profitCenterReference","paymentStatusKey":"paymentStatusKey","futureAccountChargeGroups":[{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"},{"productChargeGroupId":9,"productChargeGroupName":"productChargeGroupName","effectiveDate":"2000-01-23"}],"version":0,"isClosed":true,"bookedBalance":-7.06837403899411E17,"paymentStatusName":"paymentStatusName","supplementaryAccountId":"supplementaryAccountId"}]},"properties":{"supplementaryAccounts":{"items":{"$ref":"#/components/schemas/SupplementaryAccountType"},"maxItems":500,"minItems":0,"type":"array"},"pagingElement":{"$ref":"#/components/schemas/PagingOutputElementType"}},"required":["pagingElement"],"type":"object"},"ReportingAccountCreateType":{"example":{"currencyCodeAlpha3":"currencyCodeAlpha3","accountDescription":"accountDescription","reportingAccountId":"reportingAccountId","transactionListRecipients":[{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1319231682452650752},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1319231682452650752},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1319231682452650752},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1319231682452650752},{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1319231682452650752}],"customerId":720745371414910336,"creditLimit":602745618307,"parentReportingAccountId":"parentReportingAccountId"},"properties":{"reportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"creditLimit":{"description":"The maximum amount of credit given to the account. This field is also known as limit amount, credit line or line  of credit. The amount can be updated using the operation limitUpdate in the service ACGSAccountLimitService.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"parentReportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"currencyCodeAlpha3":{"description":"Three letter alphabetic currency code according to ISO-4217. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_4217) for more information about ISO-4217.\n","maxLength":3,"minLength":3,"pattern":"[A-Z]{3}","type":"string"},"accountDescription":{"description":"A short description of the account.","maxLength":20,"type":"string"},"transactionListRecipients":{"items":{"$ref":"#/components/schemas/TransactionListRecipientType_2"},"maxItems":500,"minItems":0,"type":"array"}},"required":["currencyCodeAlpha3","customerId"],"type":"object"},"TransactionListRecipientType_2":{"example":{"address":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"transactionListRecipientId":"046b6c7f-0b8a-43b9-b35d-6489e6daee91","distributionMethodKey":"distributionMethodKey","customerId":1319231682452650752},"properties":{"transactionListRecipientId":{"description":"Globally unique identifier for a transaction list recipient. A transaction list recipient is a customer who  receives a copy of all transactions posted to an account during a billing cycle after the end of each cycle. \n","format":"uuid","type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"distributionMethodKey":{"description":"Indicates how documents should be distributed to the recipient. Allowed values for the product can be fetched using the operation productStatementParameterList in the service CAASProductStatementParameterService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"address":{"$ref":"#/components/schemas/AddressType_2"}},"required":["customerId","distributionMethodKey","transactionListRecipientId"],"type":"object"},"AddressType_2":{"example":{"postBox":"postBox","city":"city","addressLine1":"addressLine1","addressLine2":"addressLine2","postCode":"postCode","addressLine3":"addressLine3","addressLine4":"addressLine4","addressLine5":"addressLine5","email":"email","countryCodeAlpha2":"countryCodeAlpha2"},"properties":{"addressLine1":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine2":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine3":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine4":{"description":"One line of an address.","maxLength":40,"type":"string"},"addressLine5":{"description":"One line of an address.","maxLength":40,"type":"string"},"postCode":{"description":"The post code of an address.","maxLength":9,"type":"string"},"postBox":{"description":"The post box value of an address.","maxLength":40,"type":"string"},"city":{"description":"The city of an address.","maxLength":40,"type":"string"},"email":{"description":"Email address used to contact a customer.","maxLength":75,"type":"string"},"countryCodeAlpha2":{"description":"Two letter alphabetic country code according to ISO-3166-1. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_3166) for more information about ISO-3166.\n","maxLength":2,"minLength":2,"pattern":"[A-Z]{2}","type":"string"}},"type":"object"},"ReportingAccountCreateResponseType":{"example":{"ReportingAccountCreateResponseType":{"reportingAccountId":"20010000001"}},"properties":{"reportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"}},"required":["reportingAccountId"],"type":"object"},"reportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"ReportingAccountType":{"example":{"hasReportingAccount":true,"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","accountDescription":"accountDescription","sumReservations":1.924267833366364E17,"parentReportingAccountId":"parentReportingAccountId","version":0,"availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"hasBillingAccount":true,"accountCreatedDate":"2000-01-23","isClosed":true,"bookedBalance":-7.06837403899411E17,"reportingAccountId":"reportingAccountId","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"creditLimit":230213588693,"aggregatedLimit":706140124150},"properties":{"reportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"fullAccountHolderName":{"description":"The full customer name i.e. first and last name if the customer is a person or the organization name. Does not  include any applicable title.  \n","maxLength":101,"type":"string"},"parentReportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"parentCustomerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"fullParentAccountHolderName":{"description":"The full customer name i.e. first and last name if the customer is a person or the organization name. Does not  include any applicable title.  \n","maxLength":101,"type":"string"},"currencyCodeAlpha3":{"description":"Three letter alphabetic currency code according to ISO-4217. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_4217) for more information about ISO-4217.\n","maxLength":3,"minLength":3,"pattern":"[A-Z]{3}","type":"string"},"accountDescription":{"description":"A short description of the account.","maxLength":20,"type":"string"},"accountCreatedDate":{"description":"The posting date this account was created in the Ace ledger.","format":"date","type":"string"},"bookedBalance":{"description":"The sum of the amount of all transactions posted to this account. If this account is a part of a hierarchy  transactions posted to accounts below this account in the hierarchy are also included. For example a billing account  with a single child supplementary account has a booked balance equal to the sum of transactions posted to the  billing account and the supplementary account.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"sumReservations":{"description":"The sum of currently active reservations on this account. If this account is a part of a hierarchy  active reservations on accounts below this account in the hierarchy are also included. A reservation is an accepted online authorization from the card schemes such as VISA or MasterCard. Reservations may also be created and  maintained using the IACSReservationService.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"availableBalance":{"description":"The amount available for usage by the account holder. This is the creditLimit + sumReservations + bookedBalance.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"creditLimit":{"description":"The maximum amount of credit given to the account. This field is also known as limit amount, credit line or line  of credit. The amount can be updated using the operation limitUpdate in the service ACGSAccountLimitService.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"aggregatedLimit":{"description":"The aggregated limit is the sum of allocated credit limits beneath this account in the account hierarchy and represents the maximum credit exposure of an account without an allocated limit.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"isClosed":{"description":"If true, this account has a closed status. Closed accounts are subject to very limited processing, but are included  in applicable data warehouse files. A closed account cannot have any open child accounts. \n","type":"boolean"},"hasBillingAccount":{"description":"If true, this account has one or more billing account children.","type":"boolean"},"hasReportingAccount":{"description":"If true, this account has one or more reporting account children.","type":"boolean"},"version":{"description":"The current version of the resource, used for optimistic concurrency control. See  [Wikipedia](https://en.wikipedia.org/wiki/Optimistic_concurrency_control) for more information about optimistic  locking. \n","format":"int64","minimum":0,"type":"integer"}},"required":["accountCreatedDate","aggregatedLimit","availableBalance","bookedBalance","currencyCodeAlpha3","customerId","hasBillingAccount","hasReportingAccount","isClosed","reportingAccountId","sumReservations","version"],"type":"object"},"ReportingAccountSearchCriteriaType":{"example":{"excludeOpenAccounts":false,"startIndex":0,"currencyCodesAlpha3":[null,null,null,null,null],"customerId":720745371414910336,"parentReportingAccountId":"parentReportingAccountId","excludeClosedAccounts":false,"pageSize":74},"properties":{"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"parentReportingAccountId":{"description":"Unique account identifier for a reporting account. Sometimes referred to as `reportingAccountNumber`. This id  may be the agreement reference, BBAN, IBAN or a number with no meaning outside the ledger depending on the setup.  The account id can be allocated prior to account creation by using the operation accountIdCreate in the service  CAISAccountIdService. Reporting accounts do not belong to a specific account product and ids are allocated using the institution level account id format.\n","maxLength":35,"minLength":4,"type":"string"},"currencyCodesAlpha3":{"items":{"$ref":"#/components/schemas/currencyCodeAlpha3"},"maxItems":500,"minItems":0,"type":"array"},"excludeClosedAccounts":{"default":false,"description":"If true, closed reporting accounts will not be included in the response","type":"boolean"},"excludeOpenAccounts":{"default":false,"description":"If true, open reporting accounts will not be included in the response","type":"boolean"},"startIndex":{"default":0,"description":"Starting from 0, this is the index of the first element on the requested page.","format":"int32","minimum":0,"type":"integer"},"pageSize":{"default":500,"description":"The maximum number of elements that the response can contain.","format":"int32","maximum":500,"minimum":1,"type":"integer"}},"type":"object"},"ReportingAccountSearchResponseType":{"example":{"pagingElement":{"numberOfElements":40,"hasMoreElements":true},"reportingAccounts":[{"hasReportingAccount":true,"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","accountDescription":"accountDescription","sumReservations":1.924267833366364E17,"parentReportingAccountId":"parentReportingAccountId","version":0,"availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"hasBillingAccount":true,"accountCreatedDate":"2000-01-23","isClosed":true,"bookedBalance":-7.06837403899411E17,"reportingAccountId":"reportingAccountId","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"creditLimit":230213588693,"aggregatedLimit":706140124150},{"hasReportingAccount":true,"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","accountDescription":"accountDescription","sumReservations":1.924267833366364E17,"parentReportingAccountId":"parentReportingAccountId","version":0,"availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"hasBillingAccount":true,"accountCreatedDate":"2000-01-23","isClosed":true,"bookedBalance":-7.06837403899411E17,"reportingAccountId":"reportingAccountId","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"creditLimit":230213588693,"aggregatedLimit":706140124150},{"hasReportingAccount":true,"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","accountDescription":"accountDescription","sumReservations":1.924267833366364E17,"parentReportingAccountId":"parentReportingAccountId","version":0,"availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"hasBillingAccount":true,"accountCreatedDate":"2000-01-23","isClosed":true,"bookedBalance":-7.06837403899411E17,"reportingAccountId":"reportingAccountId","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"creditLimit":230213588693,"aggregatedLimit":706140124150},{"hasReportingAccount":true,"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","accountDescription":"accountDescription","sumReservations":1.924267833366364E17,"parentReportingAccountId":"parentReportingAccountId","version":0,"availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"hasBillingAccount":true,"accountCreatedDate":"2000-01-23","isClosed":true,"bookedBalance":-7.06837403899411E17,"reportingAccountId":"reportingAccountId","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"creditLimit":230213588693,"aggregatedLimit":706140124150},{"hasReportingAccount":true,"fullParentAccountHolderName":"fullParentAccountHolderName","currencyCodeAlpha3":"currencyCodeAlpha3","accountDescription":"accountDescription","sumReservations":1.924267833366364E17,"parentReportingAccountId":"parentReportingAccountId","version":0,"availableBalance":1.2747533132666573E17,"parentCustomerId":5424710564763363328,"hasBillingAccount":true,"accountCreatedDate":"2000-01-23","isClosed":true,"bookedBalance":-7.06837403899411E17,"reportingAccountId":"reportingAccountId","fullAccountHolderName":"fullAccountHolderName","customerId":720745371414910336,"creditLimit":230213588693,"aggregatedLimit":706140124150}]},"properties":{"reportingAccounts":{"items":{"$ref":"#/components/schemas/ReportingAccountType"},"maxItems":500,"minItems":0,"type":"array"},"pagingElement":{"$ref":"#/components/schemas/PagingOutputElementType"}},"required":["pagingElement"],"type":"object"},"accountId":{"description":"Unique identifier for the account. This number may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"AccountType":{"example":{"isAllowedForCreditCard":true,"currencyCodeAlpha3":"currencyCodeAlpha3","sumReservations":1.2747533132666573E17,"profitCenterReference":"profitCenterReference","accountCategory":"accountCategory","paymentStatusKey":"paymentStatusKey","productReference":"productReference","accountCategoryKey":"accountCategoryKey","productKey":"productKey","productName":"productName","availableBalance":-5.39572822613047E17,"isAllowedForCard":true,"parentAccountId":"parentAccountId","accountId":"accountId","parentCustomerId":5424710564763363328,"bookedBalance":1.924267833366364E17,"customerId":720745371414910336,"limit":146581298050,"creditLimit":706140124150,"accountStatusKey":"accountStatusKey"},"properties":{"accountId":{"description":"Unique identifier for the account. This number may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"parentAccountId":{"description":"Unique identifier for the account. This number may be the agreement reference, BBAN, IBAN, or a number with no meaning outside the ledger depending on the setup.\n","maxLength":35,"minLength":4,"type":"string"},"accountCategoryKey":{"description":"Indicates the account category. This field is also known as `accountType`. Valid values include:\n* `BILLING` - An account with revolving credit where the owner is invoiced.\n* `SUPPLEMENTARY` - An account used to facilitate sharing the credit limit of a billing account a supplementary \ncard holder. The account holder is not invoiced. Always has a parent billing account. \n* `REPORTING` - An account used to constrain the credit limits of multiple billing accounts.  \n","format":"[A-Z0-9]*","maxLength":100,"type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"parentCustomerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"currencyCodeAlpha3":{"description":"Three letter alphabetic currency code according to ISO-4217. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_4217) for more information about ISO-4217.\n","maxLength":3,"minLength":3,"pattern":"[A-Z]{3}","type":"string"},"limit":{"description":"A limitation on account use. The nature of the limit depends on the account category:\n* `BILLING` - The `creditLimit`of the account. This is the maximum amount of credit given to the account. \n* `SUPPLEMENTARY` - The `periodicLimit` of the account. This is a limit on monthly expenditure. Null for \nsupplementary accounts without a `periodicLimit`.\n* `REPORTING` - The `creditLimit`of the account. This is the maximum amount of credit given to the account. Null\nfor reporting accounts without a `creditLimit`.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"bookedBalance":{"description":"The sum of the amount of all transactions posted to this account. If this account is a part of a hierarchy  transactions posted to accounts below this account in the hierarchy are also included. For example a billing account  with a single child supplementary account has a booked balance equal to the sum of transactions posted to the  billing account and the supplementary account.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"sumReservations":{"description":"The sum of currently active reservations on this account. If this account is a part of a hierarchy  active reservations on accounts below this account in the hierarchy are also included. A reservation is an accepted online authorization from the card schemes such as VISA or MasterCard. Reservations may also be created and  maintained using the IACSReservationService.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"availableBalance":{"description":"The amount available for usage by the account holder. This is the creditLimit + sumReservations + bookedBalance.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"productReference":{"description":"A reference to a corresponding product. Which product and the format of the reference depends on the account \ncategory of the corresponding account: \n* `BILLING` - The `productKey` of the account product to which the billing account belongs.\n* `SUPPLEMENTARY` - The `productKey` of the account product to which the parent billing account belongs. \n* `REPORTING` - Reporting accounts do not have a corresponding product and the `productReference` will be null.\n","maxLength":100,"type":"string"},"productName":{"description":"A human readable name for the product referred to by `productReference`.","maxLength":50,"type":"string"},"accountStatusKey":{"description":"Identifier for an account status. Account statuses are defined by the bank and serve as a rough categorization of\nthe overall states of their associated billing accounts. The behaviour of accounts with a specific account status\ncan be modified by adding or removing processing actions in the account status configuration using the update\noperation of CAASAccountStatusService. To see how each status is configured, use the list operation\nCAASAccountStatusService.\n\nWhich statuses an individual billing account can be in is also limited by the corresponding account product. The \nlist of account statuses available in an account product can be retrieved using the list operation of \nCAASProductAccountStatusService. \n\nAn individual billing account always has exactly one account status at all points in time. The initial status of a\nbilling account is configured per account product, but it may be changed changed after account creation using the \noperation accountStatusUpdate in the service ACGSAccountStatusService. The account status history of a billing \naccount can be fetched using the list operation of CAASBillingAccountStatusService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"paymentStatusKey":{"description":"Identifier for a payment status. Payment statuses are defined by the bank and serve as a rough categorization of\nhow up-to-date with payments their associated billing accounts are. The behaviour of accounts with a specific\npayment status can be modified by adding or removing processing actions in the payment status configuration using\nthe update operation of CAASPaymentStatusService. To see how each status is configured, use the list operation\nCAASPaymentStatusService.\n\nWhich statuses an individual billing account can be in is also limited by the corresponding account product. The \nlist of payment statuses available in an account product can be retrieved using the list operation of \nCAASProductPaymentStatusService. The payment status of an individual account is goverened by status rules configured\nper account product. \n\nAn individual billing account always has exactly one payment status at all points in time. The payment status\nhistory of a billing account can be fetched using the list operation of CAASBillingAccountPaymentStatusService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"isAllowedForCreditCard":{"description":"If true, a credit card may be linked to the account.","type":"boolean"},"profitCenterReference":{"description":"An externally defined reference to a profit center. Both specific values and what type of entity is referred to are  decided by the bank. The profit center dimension in general ledger reporting is based on this reference. If  multiple related entities have a profit center reference the most specific value is reported,  i.e. if a billing account and the customer who owns the billing account have different profit center references the  billing account reference is reported to the general ledger. \n","maxLength":100,"type":"string"},"creditLimit":{"deprecated":true,"description":"**Deprecated:** Replaced by `limit`.\n\nThe maximum amount of credit given to the account. This field is also known as limit amount, credit line or line \nof credit. The amount can be updated using the operation limitUpdate in the service ACGSAccountLimitService.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"accountCategory":{"deprecated":true,"description":"**Deprecated:** Replaced by `accountCategoryKey`. \n\nIndicates the account category. This field is also known as `accountType`. Valid values include:\n* `ACE_BA` - Billing account\n* `ACE_SA` - Supplementary account\n* `ACE_RA` - Reporting account\n","type":"string"},"isAllowedForCard":{"deprecated":true,"description":"**Deprecated:** Replaced by `isAllowedForCreditCard`.\n\nIf true, a credit card may be linked to the account.\n","type":"boolean"},"productKey":{"deprecated":true,"description":"**Deprecated:** Replaced by `productReference`.\n\nIdentifier for the account product to which a billing or supplementary account belongs. Null for other account\ntypes.\n\nAn account product defines the characteristics and behaviour of the accounts that are set up\nwithin the product, such as currency, which type of interest that will be calculated and how,\nthe formula for the calculation of the MPA and how it is followed up. Definition of the\ncharacteristics are part of the account product setup. Options are pre-defined by the issuer.\nAll billing accounts belong to a single account product and this can not be changed after account creation. The \navailable products can be listed by calling the productList operation in CAASProductService.\n","maxLength":16,"minLength":4,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"}},"required":["accountCategoryKey","accountId","availableBalance","bookedBalance","currencyCodeAlpha3","customerId","isAllowedForCreditCard","sumReservations"],"type":"object"},"AccountSearchCriteriaType":{"example":{"accountIds":[null,null,null,null,null],"customerId":720745371414910336,"excludeDisallowedForCard":false},"properties":{"accountIds":{"description":"Can be used to retrieve a set of specific accounts by their `accountId`. If at least one value is provided only  accounts with `accountId`s matching one of the provided value will be included in the response. \n","items":{"$ref":"#/components/schemas/accountId"},"maxItems":200,"minItems":0,"type":"array"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"excludeDisallowedForCard":{"default":false,"description":"If true, accounts with a status or account category that prohibits credit card creation will be excluded from  the response.\n","type":"boolean"}},"type":"object"},"AccountSearchResponseType":{"description":"List of the first accounts matching the search criteria. Ordered by `accountId`.","items":{"$ref":"#/components/schemas/AccountType"},"maxItems":200,"minItems":0,"type":"array"},"productKey":{"description":"An account product defines the characteristics and behaviour of the accounts that are set up within the product, such as currency, which type of interest that will be calculated and how, the formula for the calculation of the MPA and how it is followed up. Definition of the characteristics are part of the account product setup. Options are pre-defined by the issuer. All billing accounts belong to a single account product and this can not be changed after account creation. The  available products can be listed by calling the productList operation in CAASProductService.\n","maxLength":16,"minLength":4,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"customerId":{"description":"Unique system generated id representing a customer of a financial institution. This can be either an individual or  an organization. The id is allocated by CAS upon customer creation. The id may be retrieved from `customerNo` (SSN  or bank assigned unique identifier) by calling the service DCSSCustomerGet.\n","format":"int64","maximum":9.0E18,"minimum":0,"type":"integer"},"accountDescription":{"description":"A short description of the account.","maxLength":20,"type":"string"},"creditLimit":{"description":"The maximum amount of credit given to the account. This field is also known as limit amount, credit line or line  of credit. The amount can be updated using the operation limitUpdate in the service ACGSAccountLimitService.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"cycleGroupKey":{"description":"Unique identifier for a cycle group. A cycle group contains the set of rules for the calculation of an end of cycle  date/invoicing date and the related due date. Cycle groups are defined by the bank and account products are  configured to allow access to a subset of cycle groups. A list of currently available cycle groups for an account  product can be fetched using the operation productCycleGroupList in the service CAASProductCycleGroupService. An  individual account always belongs to a single cycle group, but the cycle group to which an account belongs can be  changed after account creation by using the operation accountCycleGroupUpdate in the service  CAASAccountCycleGroupService. \n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"mpaCalculationRule":{"description":"The method that will be used for calculation of the minimum payment amount (MPA), i.e., the amount that is required\nto be paid at due date in order not to go delinquent. A list of allowed values for the account product can be \nfetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService.\nSupported options include:\n* `PERCENTAGE` – The MPA is calculated based on a percentage of the balance. The calculation formula is specified \nat the product by the bank and involves the account specific values `mpaPercentage` and `minPercentageMpa`.\n* `FIXED` – The MPA is set to a fixed amount. The calculation rules are specified at the account product by the \nbank and involve the account specific value `fixedMpa`.\n* `OUTSTANDING_BALANCE` – The MPA is set to the account balance at the Invoicing date/End of cycle date.\n* `NO_MIN_PAYMENT_AMOUNT` – No MPA will be required for the account.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService. \n","maxLength":30,"type":"string"},"mpaPercentage":{"description":"The percentage of the account balance used when calculating MPA if the `mpaCalculationRule` is `PERCENTAGE`. Allowed range and other settings such as `excludeOverdue` and default values for the account product may be fetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. If no  value is specified for this field when setting the `mpaCalculationRule` to `PERCENTAGE` the default value from the  account product will be configured for the account. The field may be changed after account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maximum":100,"minimum":0,"multipleOf":1.0E-8,"type":"number"},"minPercentageMpa":{"description":"If the `mpaCalculationRule` is `PERCENTAGE` the `minPercentageMpa` serves as a lower bound on the calculated MPA, i.e., if the result of percentage calculation is less than the `minPercentageMpa` the MPA will be set equal to the `minPercentageMpa`. If no value is specified for this field when setting the `mpaCalculationRule` to `PERCENTAGE`  the default value from the account product will be configured for the account. The default value may be fetched  using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. The field  may be changed after account creation using the operation accountSettlementUpdate in the service  CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"fixedMpa":{"description":"If the `mpaCalculationRule` is `FIXED` the value `fixedMpa` is the basis for the MPA calculation. Most accounts will end up with MPA values equal to the `fixedMpa`, but there might be exceptions depending on the rules configured for the account product and the state of an individual account. If no value is specified for this field when setting  the `mpaCalculationRule` to `FIXED` the default value from the account product will be configured for the account. Minimum and default values may be fetched using the operation productMinimumPaymentAmountList in the service CAASProductMinimumPaymentAmountService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"requestAmountCalculationRule":{"description":"The request amount is the amount that is requested to be paid. The request amount is always equal or greater than\nthe MPA. The request amount is not followed up by the system. An example is that the customer wants the outstanding\nbalance to be debited in the direct debit process even if the `mpaCalculationRule` is set to `PERCENTAGE`. Supported\noptions include:\n* `FIXED` - The request amount is set to a fixed amount. The details of the calculation rules are specified at the \naccount product by the bank, but the calculation is always based on the value of `fixedRequestAmount`.\n* `OUTSTANDING_BALANCE` - The request amount is set to the account balance at the invoicing date /End of cycle date.\n* `MIN_PAYMENT_AMOUNT` - The request amount is set to the same amount as the MPA. The MPA is calculated based on \nthe `mpaCalculationRule`.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService.\n","maxLength":20,"type":"string"},"fixedRequestAmount":{"description":"If the `requestAmountCalculationRule` is `FIXED` the `fixedRequestAmount` is the basis for the request amount  calculation. If no value is specified for this field when setting the `requestAmountCalculationRule` to `FIXED` the default value from the account product will be configured for the account. Default and minimum values  for the account product can be fetched using the operation productRequestAmountList in the service  CAASProductRequestAmountService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"pfmSelectionRule":{"description":"Payment free months are billing cycles for which the system will not be requiring a minimum amount to be paid. The\naccount will not go delinquent, although interest is still calculated. A list of allowed values for the account \nproduct can be fetched using the operation productPaymentFreeMonthList in the service \nCAASProductPaymentFreeMonthService. Supported options include:\n* `FIXED` - The customer/institution specifies the months that should be payment free. It needs to be set before the \nrelevant EOC/invoicing date.\n* `PAYMENT_BEHAVIOUR` - The customer uses a payment free month by not paying.\n* `NO_PFM` - Payment free months are not granted for the account.\n\nThe field may be changed after account creation using the operation accountSettlementUpdate in the service \nCAASAccountSettlementService.\n","maxLength":30,"type":"string"},"maxPfms":{"description":"The max number of payment free months that can be granted in a 12 month period. The 12 month period can be a  sliding year or follow the regular calendar. The setup for year type can be adjusted using the service  CAASProductPaymentFreeMonthService. The field may be changed after account creation using the operation  accountSettlementUpdate in the service CAASAccountSettlementService.\n","maximum":12,"minimum":0,"type":"integer"},"fixedPfms":{"description":"If the `pfmSelectionRule` is `FIXED` this list will indicate which months are eligible for becoming payment free months. An invoice is eligible to be payment free if the due date is in a month which is present in this list. No months have to be selected at account creation, they can be added at a later stage. The field may be changed after  account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","items":{"$ref":"#/components/schemas/month"},"maxItems":12,"minItems":0,"type":"array"},"paymentMethodKey":{"description":"The payment method of the account, i.e., how payments will be initiated and transferred. The available payment methods for the account product are listable using the operation productPaymentMethodList in the service  CAASProductPaymentMethodService.\n","maxLength":16,"type":"string"},"statementGenerationRule":{"description":"A rule describing when an invoice/statement should be generated. Supported options include:\n* `ON_ACTIVITY` - Statements are generated if (1) Minimum payment amount is calculated, (2) any transaction has \nbeen posted to the account or (3) the balance is not equal to zero (or not within exclusion balance interval).\n* `GENERATE_ALWAYS` - Statements are always generated.\n* `DO_NOT_GENERATE` - Statements are never generated.\n\nAllowed values for the account product can be fetched with the operation productStatementParameterList in the \nservice CAASProductStatementParameterService. The field may be changed after account creation using the operation\naccountStatementParameterUpdate in the service CAASAccountStatementParameterService.\n","maxLength":20,"type":"string"},"distributionMethodKey":{"description":"Indicates how documents should be distributed to the recipient. Allowed values for the product can be fetched using the operation productStatementParameterList in the service CAASProductStatementParameterService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"debtorAgent":{"description":"The financial institution servicing an account for the debtor. May be sort code for UK institutions. The field is  primarily in use in relation to direct debit scenarios and has no use other than information for the credit card  ledger. The field may be changed after account creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maxLength":50,"type":"string"},"debtorAccount":{"description":"Account number to use in conjunction with `debtorAgent`. The field is primarily in use in relation to direct debit  scenarios and has no use other than information for the credit card ledger. The field may be changed after account  creation using the operation accountSettlementUpdate in the service CAASAccountSettlementService.\n","maxLength":50,"type":"string"},"profitCenterReference":{"description":"An externally defined reference to a profit center. Both specific values and what type of entity is referred to are  decided by the bank. The profit center dimension in general ledger reporting is based on this reference. If  multiple related entities have a profit center reference the most specific value is reported,  i.e. if a billing account and the customer who owns the billing account have different profit center references the  billing account reference is reported to the general ledger. \n","maxLength":100,"type":"string"},"productChargeGroupId":{"description":"Unique identifier for a product charge group. Charge groups are used to provide different charges/fees and pricing  for different account segments within the same product. A billing or supplementary account always refers to a  single product charge group which serves as the basis for charge calculation for that account. This reference can  be changed after account creation using the operation accountChargeGroupCreate in the service  CAASAccountChargeGroupService. The available charge groups for an account product can be listed using the operation  productChargeGroupList in the service CAASProductChargeGroupService.\n","format":"int64","type":"integer"},"productInterestGroupId":{"description":"Unique identifier for a product interest group. Interest groups are used to provide different pricing for different  account segments within the same product. A billing account always refers to a single product interest group which  serves as the basis for interest calculation for that account. This reference can be changed after account creation  using the operation accountInterestGroupCreate in the service CAASAccountInterestGroupService. The available  interest groups for an account product can be listed using the operation productInterestGroupList in the service  CAASProductInterestGroupService. \n","format":"int64","type":"integer"},"addressLine":{"description":"One line of an address.","maxLength":40,"type":"string"},"postCode":{"description":"The post code of an address.","maxLength":9,"type":"string"},"postBox":{"description":"The post box value of an address.","maxLength":40,"type":"string"},"city":{"description":"The city of an address.","maxLength":40,"type":"string"},"email":{"description":"Email address used to contact a customer.","maxLength":75,"type":"string"},"countryCodeAlpha2":{"description":"Two letter alphabetic country code according to ISO-3166-1. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_3166) for more information about ISO-3166.\n","maxLength":2,"minLength":2,"pattern":"[A-Z]{2}","type":"string"},"statementCopyRecipientId":{"description":"Globally unique identifier for a statement copy recipient. A statement copy recipient is a customer who receives a copy of each statement produced for a billing account. \n","format":"uuid","type":"string"},"transactionListRecipientId":{"description":"Globally unique identifier for a transaction list recipient. A transaction list recipient is a customer who  receives a copy of all transactions posted to an account during a billing cycle after the end of each cycle. \n","format":"uuid","type":"string"},"aliasValue":{"description":"The value of the corresponding account alias. An account alias is an alternate identifier for an account. What this  value represents is given by the corresponding `aliasCategoryKey`.\n","maxLength":100,"minLength":1,"type":"string"},"productName":{"description":"A human readable name for an account product.","maxLength":50,"type":"string"},"fullCustomerName":{"description":"The full customer name i.e. first and last name if the customer is a person or the organization name. Does not  include any applicable title.  \n","maxLength":101,"type":"string"},"currencyCodeAlpha3":{"description":"Three letter alphabetic currency code according to ISO-4217. See [Wikipedia](https://en.wikipedia.org/wiki/ISO_4217) for more information about ISO-4217.\n","maxLength":3,"minLength":3,"pattern":"[A-Z]{3}","type":"string"},"bookedBalance":{"description":"The sum of the amount of all transactions posted to this account. If this account is a part of a hierarchy  transactions posted to accounts below this account in the hierarchy are also included. For example a billing account  with a single child supplementary account has a booked balance equal to the sum of transactions posted to the  billing account and the supplementary account.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"sumReservations":{"description":"The sum of currently active reservations on this account. If this account is a part of a hierarchy  active reservations on accounts below this account in the hierarchy are also included. A reservation is an accepted online authorization from the card schemes such as VISA or MasterCard. Reservations may also be created and  maintained using the IACSReservationService.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"availableBalance":{"description":"The amount available for usage by the account holder. This is the creditLimit + sumReservations + bookedBalance.\n","exclusiveMaximum":true,"exclusiveMinimum":true,"maximum":1.0E18,"minimum":-1.0E18,"multipleOf":1.0E-5,"type":"number"},"overdueAmount":{"description":"The total amount that is currently overdue for the billing account.\n","exclusiveMaximum":true,"maximum":1.0E18,"minimum":0,"multipleOf":1.0E-5,"type":"number"},"overdueDays":{"description":"The number of days since the billing account went overdue.\n","format":"int32","minimum":0,"type":"integer"},"overdueFromDate":{"description":"The due date of the oldest unpaid minimum payment amount (MPA). Only present if the account is overdue. When a payment is received this value changes if the payment is sufficiently large to cover the oldest unpaid MPA.\n","format":"date","type":"string"},"originalOverdueFromDate":{"description":"The date from which the account has been overdue. Only present if the account is overdue. A payment smaller than  the account's overdue amount does not change this value.\n","format":"date","type":"string"},"accountStatusKey":{"description":"Identifier for an account status. Account statuses are defined by the bank and serve as a rough categorization of\nthe overall states of their associated billing accounts. The behaviour of accounts with a specific account status\ncan be modified by adding or removing processing actions in the account status configuration using the update\noperation of CAASAccountStatusService. To see how each status is configured, use the list operation\nCAASAccountStatusService.\n\nWhich statuses an individual billing account can be in is also limited by the corresponding account product. The \nlist of account statuses available in an account product can be retrieved using the list operation of \nCAASProductAccountStatusService. \n\nAn individual billing account always has exactly one account status at all points in time. The initial status of a\nbilling account is configured per account product, but it may be changed changed after account creation using the \noperation accountStatusUpdate in the service ACGSAccountStatusService. The account status history of a billing \naccount can be fetched using the list operation of CAASBillingAccountStatusService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"accountStatusName":{"description":"A human-readable name for an account status.\n","maxLength":40,"type":"string"},"paymentStatusKey":{"description":"Identifier for a payment status. Payment statuses are defined by the bank and serve as a rough categorization of\nhow up-to-date with payments their associated billing accounts are. The behaviour of accounts with a specific\npayment status can be modified by adding or removing processing actions in the payment status configuration using\nthe update operation of CAASPaymentStatusService. To see how each status is configured, use the list operation\nCAASPaymentStatusService.\n\nWhich statuses an individual billing account can be in is also limited by the corresponding account product. The \nlist of payment statuses available in an account product can be retrieved using the list operation of \nCAASProductPaymentStatusService. The payment status of an individual account is goverened by status rules configured\nper account product. \n\nAn individual billing account always has exactly one payment status at all points in time. The payment status\nhistory of a billing account can be fetched using the list operation of CAASBillingAccountPaymentStatusService.\n","maxLength":16,"minLength":3,"pattern":"[A-Z][A-Z0-9_-]*","type":"string"},"paymentStatusName":{"description":"A human-readable name for a payment status.\n","maxLength":40,"type":"string"},"accountCreatedDate":{"description":"The posting date this account was created in the Ace ledger.","format":"date","type":"string"},"originalAccountCreatedDate":{"description":"For accounts that are not migrated from another ledger this is always equal to `accountCreatedDate`. For migrated  accounts it is possible to supply a value representing when the account was created in the original ledger. This  field is for information only and does not affect any account processing.\n","format":"date","type":"string"},"hasSupplementaryAccount":{"description":"If true, this billing account has one or more supplementary account children.","type":"boolean"},"version":{"description":"The current version of the resource, used for optimistic concurrency control. See  [Wikipedia](https://en.wikipedia.org/wiki/Optimistic_concurrency_control) for more information about optimistic  locking. \n","format":"int64","minimum":0,"type":"integer"},"productChargeGroupName":{"description":"A human readable name for a product charge group.","maxLength":50,"type":"string"},"effectiveDate":{"description":"The processing date from which this account charge group affected the account. Only one account charge group is in effect at any point in time and it remains in effect until it is replaced by an account charge group with a more recent effective date.\n","format":"date","type":"string"},"productInterestGroupName":{"description":"A human readable name for a product interest group.","maxLength":50,"type":"string"},"effectiveDate_1":{"description":"The processing date from which this account interest group affected the account. Only one account interest group is in effect at any point in time and it remains in effect until it is replaced by an account interest group with a more recent effective date.\n","format":"date","type":"string"},"startIndex":{"default":0,"description":"Starting from 0, this is the index of the first element on the requested page.","format":"int32","minimum":0,"type":"integer"},"pageSize":{"default":500,"description":"The maximum number of elements that the response can contain.","format":"int32","maximum":500,"minimum":1,"type":"integer"},"PagingOutputElementType":{"description":"Contains the paging properties of the response.","example":{"numberOfElements":40,"hasMoreElements":true},"properties":{"numberOfElements":{"description":"Equal to the number of elements in the response.","format":"int32","maximum":500,"minimum":0,"type":"integer"},"hasMoreElements":{"description":"In cases where the number of elements in the response is equal to the `pageSize` this field is true if the  system contains more elements matching the search criteria with index greater than `startIndex` + `pageSize`.\n","type":"boolean"}},"required":["hasMoreElements","numberOfElements"],"type":"object"},"periodicLimit":{"description":"The periodic limit amount setup at the account. The periodic limit is a limitation of the monthly usage at the  supplementary account. Supplementary accounts that are set up with a periodic limit can use up to the limit amount  providing that there is enough available amount at the billing account level. If periodic limit is not setup for  the supplementary account, it has unrestricted access to the credit limit of the billing account. This is called a  shared limit.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"isClosed":{"description":"If true, this account has a closed status. Closed accounts are subject to very limited processing, but are included  in applicable data warehouse files. A closed account cannot have any open child accounts. \n","type":"boolean"},"aggregatedLimit":{"description":"The aggregated limit is the sum of allocated credit limits beneath this account in the account hierarchy and represents the maximum credit exposure of an account without an allocated limit.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"hasBillingAccount":{"description":"If true, this account has one or more billing account children.","type":"boolean"},"hasReportingAccount":{"description":"If true, this account has one or more reporting account children.","type":"boolean"},"accountCategoryKey":{"description":"Indicates the account category. This field is also known as `accountType`. Valid values include:\n* `BILLING` - An account with revolving credit where the owner is invoiced.\n* `SUPPLEMENTARY` - An account used to facilitate sharing the credit limit of a billing account a supplementary \ncard holder. The account holder is not invoiced. Always has a parent billing account. \n* `REPORTING` - An account used to constrain the credit limits of multiple billing accounts.  \n","format":"[A-Z0-9]*","maxLength":100,"type":"string"},"limit":{"description":"A limitation on account use. The nature of the limit depends on the account category:\n* `BILLING` - The `creditLimit`of the account. This is the maximum amount of credit given to the account. \n* `SUPPLEMENTARY` - The `periodicLimit` of the account. This is a limit on monthly expenditure. Null for \nsupplementary accounts without a `periodicLimit`.\n* `REPORTING` - The `creditLimit`of the account. This is the maximum amount of credit given to the account. Null\nfor reporting accounts without a `creditLimit`.\n","exclusiveMaximum":true,"format":"int64","maximum":1.0E12,"minimum":0,"type":"integer"},"productReference":{"description":"A reference to a corresponding product. Which product and the format of the reference depends on the account \ncategory of the corresponding account: \n* `BILLING` - The `productKey` of the account product to which the billing account belongs.\n* `SUPPLEMENTARY` - The `productKey` of the account product to which the parent billing account belongs. \n* `REPORTING` - Reporting accounts do not have a corresponding product and the `productReference` will be null.\n","maxLength":100,"type":"string"},"isAllowedForCreditCard":{"description":"If true, a credit card may be linked to the account.","type":"boolean"},"accountCategory":{"deprecated":true,"description":"**Deprecated:** Replaced by `accountCategoryKey`. \n\nIndicates the account category. This field is also known as `accountType`. Valid values include:\n* `ACE_BA` - Billing account\n* `ACE_SA` - Supplementary account\n* `ACE_RA` - Reporting account\n","type":"string"},"isAllowedForCard":{"deprecated":true,"description":"**Deprecated:** Replaced by `isAllowedForCreditCard`.\n\nIf true, a credit card may be linked to the account.\n","type":"boolean"},"month":{"enum":["JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"],"type":"string"}}}}