{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/orion-advisor-solutions/json-schema/orion-advisor-solutions-oas-web-api-dto-billing-bill-account-base-dto-schema.json",
  "title": "OAS.WebApi.DTO.Billing.BillAccountBaseDto",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/orion-advisor-solutions-billing-accounts-api-openapi.yml#/components/schemas/OAS.WebApi.DTO.Billing.BillAccountBaseDto",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32"
    },
    "clientId": {
      "type": "integer",
      "format": "int32"
    },
    "accountType": {
      "type": "string"
    },
    "registrationName": {
      "type": "string"
    },
    "registrationId": {
      "type": "integer",
      "format": "int32"
    },
    "fundName": {
      "type": "string"
    },
    "accountNumber": {
      "type": "string"
    },
    "accountName": {
      "type": "string"
    },
    "remainingAmount": {
      "type": "number",
      "format": "double"
    },
    "managementStyle": {
      "type": "string"
    },
    "subAdvisorName": {
      "type": "string"
    },
    "feeSchedule": {
      "type": "string"
    },
    "masterPayoutSchedule": {
      "type": "string"
    },
    "payMethod": {
      "type": "string"
    },
    "billFrequency": {
      "type": "string",
      "enum": [
        "Undefined",
        "Monthly",
        "Quarterly",
        "Triannual",
        "Semiannually",
        "Annually",
        "AtMaturity"
      ]
    },
    "billStyle": {
      "type": "string",
      "enum": [
        "Advance",
        "Arrears"
      ]
    },
    "billAccountStatus": {
      "type": "string",
      "enum": [
        "Ready",
        "NotReady",
        "ReportingOnly",
        "FinancialPlanningFeeOnly"
      ]
    },
    "billingStatus": {
      "type": "string",
      "enum": [
        "ReadyToBill",
        "Hold",
        "PendingReview"
      ]
    },
    "valuationMethod": {
      "type": "string",
      "enum": [
        "PeriodEndingValue",
        "AvgDailyBalance",
        "AvgMonthlyBalance"
      ]
    },
    "accountValue": {
      "type": "number",
      "format": "double"
    },
    "accountStartDate": {
      "type": "string",
      "format": "date-time"
    },
    "clientName": {
      "type": "string"
    },
    "billStartDate": {
      "type": "string",
      "format": "date-time"
    },
    "lastBilledThroughDate": {
      "type": "string",
      "format": "date-time"
    },
    "custodialAccountNumber": {
      "type": "string"
    },
    "isPerformanceBilled": {
      "type": "boolean"
    },
    "lastPerfBillDate": {
      "type": "string",
      "format": "date-time"
    },
    "includeInAggregate": {
      "type": "boolean"
    },
    "useFeeHierarchy": {
      "type": "boolean"
    },
    "cycleMonth": {
      "type": "integer",
      "format": "int32"
    },
    "performanceMasterPayoutSchedule": {
      "type": "string"
    },
    "performanceFeeSchedule": {
      "type": "string"
    },
    "representativeName": {
      "type": "string"
    },
    "representativeNumber": {
      "type": "string"
    },
    "isActive": {
      "type": "boolean"
    },
    "lastTransactionDate": {
      "type": "string",
      "format": "date-time"
    },
    "custodian": {
      "type": "string"
    },
    "lastName": {
      "type": "string"
    },
    "businessLine": {
      "type": "string"
    },
    "outsideId": {
      "type": "string"
    },
    "modelName": {
      "type": "string"
    },
    "noFeeAggregate": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "Ready",
        "NotReady",
        "ReportingOnly",
        "FinancialPlanningFeeOnly"
      ]
    },
    "paysForAccountNumbers": {
      "type": "string"
    },
    "prevAmountApplied": {
      "type": "number",
      "format": "double"
    },
    "accountIdThatDoesPaying": {
      "type": "integer",
      "format": "int32"
    }
  },
  "type": "object"
}