{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/oracle/main/json-schema/oracle-billing-schedule-summary-schema.json",
  "title": "BillingScheduleSummary",
  "description": "Billing schedule details related to subscription ID.\n",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-billingschedule-api-openapi.yml#/components/schemas/BillingScheduleSummary",
  "properties": {
    "amount": {
      "description": "Billing schedule line net amount.\n",
      "type": "string"
    },
    "arCustomerTransactionId": {
      "description": "Indicates the associated accounts receivable customer transaction ID, which is a unique identifier existing on the accounts receivable.\n",
      "type": "string"
    },
    "arInvoiceNumber": {
      "description": "Indicates the associated accounts receivable invoice number.\n",
      "type": "string"
    },
    "billingFrequency": {
      "description": "Billing frequency.\n",
      "type": "string"
    },
    "invoiceStatus": {
      "description": "Billing schedule invoice status.\n",
      "enum": [
        "INVOICED",
        "NOT_INVOICED"
      ],
      "type": "string"
    },
    "netUnitPrice": {
      "description": "Billing schedule net unit price.\n",
      "type": "string"
    },
    "orderNumber": {
      "description": "Order number associated with the subscribed service.\n",
      "type": "string"
    },
    "product": {
      "$ref": "#/$defs/BillingScheduleProduct"
    },
    "quantity": {
      "description": "Billing schedule quantity.\n",
      "type": "string"
    },
    "subscribedServiceId": {
      "description": "SPM (Subscription Plan Management) internal subscribed service ID.\n",
      "type": "string"
    },
    "timeEnd": {
      "description": "Billing schedule end date.\n",
      "format": "date-time",
      "type": "string"
    },
    "timeInvoicing": {
      "description": "Billing schedule invoicing date.\n",
      "format": "date-time",
      "type": "string"
    },
    "timeStart": {
      "description": "Billing schedule start date.\n",
      "format": "date-time",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "BillingScheduleProduct": {
      "description": "Product description.\n",
      "properties": {
        "name": {
          "description": "Product name.\n",
          "type": "string"
        },
        "partNumber": {
          "description": "Indicates the associated accounts receivable invoice number.\n",
          "type": "string"
        }
      },
      "required": [
        "partNumber",
        "name"
      ],
      "type": "object"
    }
  }
}