Finbourne · Schema
QueryBucketedCashFlowsRequest
Query for bucketed cashflows from one or more portfolios.
CompanyFinanceData ManagementInvestment
Properties
| Name | Type | Description |
|---|---|---|
| asAt | stringnull | The time of the system at which to query for bucketed cashflows. |
| windowStart | string | The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. There is no lower bound if this is not specified. |
| windowEnd | string | The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows. The upper bound defaults to 'today' if it is not specified |
| portfolioEntityIds | array | The set of portfolios and portfolio groups to which the instrument events must belong. |
| effectiveAt | string | The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows. This determines whether cashflows are evaluated in a historic or forward looking context and wil |
| recipeId | object | |
| roundingMethod | string | When bucketing, there is not a unique way to allocate the bucket points. Available values: RoundUp, RoundDown. |
| bucketingDates | arraynull | A list of dates to perform cashflow bucketing upon. If this is provided, the list of tenors for bucketing should be empty. |
| bucketingTenors | arraynull | A list of tenors to perform cashflow bucketing upon. If this is provided, the list of dates for bucketing should be empty. |
| reportCurrency | string | Three letter ISO currency string indicating what currency to report in for ReportCurrency denominated queries. |
| groupBy | arraynull | The set of items by which to perform grouping. This primarily matters when one or more of the metric operators is a mapping that reduces set size, e.g. sum or proportion. The group-by statement determ |
| addresses | arraynull | The set of items that the user wishes to see in the results. If empty, will be defaulted to standard ones. |
| equipWithSubtotals | boolean | Flag directing the Valuation call to populate the results with subtotals of aggregates. |
| excludeUnsettledTrades | boolean | Flag directing the Valuation call to exclude cashflows from unsettled trades. If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled t |
| cashFlowType | stringnull | Indicate the requested cash flow representation. Supported string (enumeration) values are: [InstrumentCashFlow, PortfolioCashFlow, TransactionCashFlow]. Defaults to 'InstrumentCashFlow' (GetCashLadde |
| bucketingSchedule | object | |
| filter | stringnull | |
| cashFlowCalculationVersion | stringnull | The version of the cash flow calculation logic to use. Defaults to '1' if not specified. Valid values are '1' and '2'. '1' is the current production behaviour: cash flows booked as transactions are de |
| haircutRules | arraynull | Optional ordered haircut rules applied to cashflow inflows; the first matching rule wins and a rule with no criteria acts as a catch-all. When supplied, the additional per-bucket columns 'Valuation/Bu |
| borderConfiguration | object | |
| startingBalance | stringnull | The balance to use at the start of the bucketing window when computing open/close balances. Supported string (enumeration) values are: [PortfolioCashBalance, Zero]. When supplied, the additional per-b |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/finbourne/json-schema/finbourne-query-bucketed-cash-flows-request-schema.json",
"title": "QueryBucketedCashFlowsRequest",
"description": "Query for bucketed cashflows from one or more portfolios.",
"x-generated": "2026-12-01",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/finbourne-lusid-openapi.json#/components/schemas/QueryBucketedCashFlowsRequest",
"required": [
"effectiveAt",
"portfolioEntityIds",
"recipeId",
"reportCurrency",
"roundingMethod",
"windowEnd",
"windowStart"
],
"type": "object",
"properties": {
"asAt": {
"type": [
"string",
"null"
],
"description": "The time of the system at which to query for bucketed cashflows.",
"format": "date-time"
},
"windowStart": {
"type": "string",
"description": "The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows.\r\nThere is no lower bound if this is not specified.",
"format": "date-time"
},
"windowEnd": {
"type": "string",
"description": "The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows.\r\nThe upper bound defaults to 'today' if it is not specified",
"format": "date-time"
},
"portfolioEntityIds": {
"type": "array",
"items": {
"$ref": "#/$defs/PortfolioEntityId"
},
"description": "The set of portfolios and portfolio groups to which the instrument events must belong."
},
"effectiveAt": {
"type": "string",
"description": "The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows.\r\nThis determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up.\r\nFor example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt\r\nis before the start of the range they are forward looking and will be expectations assuming the model supports that.\r\nThere is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today.",
"format": "date-time"
},
"recipeId": {
"$ref": "#/$defs/ResourceId"
},
"roundingMethod": {
"minLength": 1,
"type": "string",
"description": "When bucketing, there is not a unique way to allocate the bucket points. Available values: RoundUp, RoundDown."
},
"bucketingDates": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"format": "date-time"
},
"description": "A list of dates to perform cashflow bucketing upon.\r\nIf this is provided, the list of tenors for bucketing should be empty."
},
"bucketingTenors": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "A list of tenors to perform cashflow bucketing upon.\r\nIf this is provided, the list of dates for bucketing should be empty."
},
"reportCurrency": {
"maxLength": 3,
"minLength": 0,
"type": "string",
"description": "Three letter ISO currency string indicating what currency to report in for ReportCurrency denominated queries."
},
"groupBy": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"description": "The key that uniquely identifies a queryable address in Lusid."
},
"description": "The set of items by which to perform grouping. This primarily matters when one or more of the metric operators is a mapping\r\nthat reduces set size, e.g. sum or proportion. The group-by statement determines the set of keys by which to break the results out."
},
"addresses": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"description": "The key that uniquely identifies a queryable address in Lusid."
},
"description": "The set of items that the user wishes to see in the results. If empty, will be defaulted to standard ones."
},
"equipWithSubtotals": {
"type": "boolean",
"description": "Flag directing the Valuation call to populate the results with subtotals of aggregates."
},
"excludeUnsettledTrades": {
"type": "boolean",
"description": "Flag directing the Valuation call to exclude cashflows from unsettled trades.\r\nIf absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set."
},
"cashFlowType": {
"type": [
"string",
"null"
],
"description": "Indicate the requested cash flow representation. Supported string (enumeration) values are: [InstrumentCashFlow, PortfolioCashFlow, TransactionCashFlow]. Defaults to 'InstrumentCashFlow' (GetCashLadder uses PortfolioCashFlow). Available values: InstrumentCashFlow, PortfolioCashFlow, TransactionCashFlow."
},
"bucketingSchedule": {
"$ref": "#/$defs/BucketingSchedule"
},
"filter": {
"maxLength": 16384,
"minLength": 0,
"pattern": "^[\\s\\S]*$",
"type": [
"string",
"null"
],
"description": ""
},
"cashFlowCalculationVersion": {
"maxLength": 1,
"minLength": 1,
"type": [
"string",
"null"
],
"description": "The version of the cash flow calculation logic to use. Defaults to '1' if not specified. Valid values are '1' and '2'.\r\n'1' is the current production behaviour: cash flows booked as transactions are de-duplicated against the\r\ninstrument cash flows by identifier, and movements are treated as factual when they settle on or before the effective date.\r\n'2' resolves cash flows via a deterministic source waterfall (structured result store > transaction > instrument),\r\nclassifies cash flows as factual by the transaction trade date (so trades dealt on or before the effective date\r\nthat settle afterwards are factual), and applies corporate action date filtering.\r\nThe waterfall governs how each cash flow is resolved, not which sources are listed: under the (default)\r\nInstrumentCashFlow representation the response is the de-duplicated instrument and structured result store stream —\r\na cash flow booked as a transaction is removed from the projection rather than re-listed as a transaction cash flow.\r\nTransaction-sourced cash flows are returned by the PortfolioCashFlow and TransactionCashFlow representations and\r\nby the bucket cash flow drill-down endpoint.\r\nBucketed responses calculated under version '2' always include the bucket interval metadata columns\r\n('Valuation/Bucket/Start', 'Valuation/Bucket/End', 'Valuation/Bucket/StartInclusive', 'Valuation/Bucket/EndInclusive'),\r\nwhich are the required input of the bucket cash flow drill-down endpoint. Without a border configuration the\r\nmetadata describes the window-clamped interval of cash flow dates that the rounding method allocates to each bucket point."
},
"haircutRules": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/CashFlowHaircutRule"
},
"description": "Optional ordered haircut rules applied to cashflow inflows; the first matching rule wins and a rule with no criteria acts as a catch-all. When supplied, the additional per-bucket columns 'Valuation/Bucket/HaircutAmount' and 'Valuation/Bucket/NetOfHaircutAmount' are produced; with no rules the results are unchanged. Only supported for the InstrumentCashFlow CashFlowType."
},
"borderConfiguration": {
"$ref": "#/$defs/BucketBorderConfiguration"
},
"startingBalance": {
"type": [
"string",
"null"
],
"description": "The balance to use at the start of the bucketing window when computing open/close balances.\r\nSupported string (enumeration) values are: [PortfolioCashBalance, Zero].\r\nWhen supplied, the additional per-bucket running balance columns 'Valuation/Bucket/OpenBalance' and 'Valuation/Bucket/CloseBalance' are produced\r\nper group, in the currency of the group's cash flows: the first bucket opens at zero ('Zero') or at the portfolio cash balance at the window\r\nstart ('PortfolioCashBalance'), and each subsequent bucket opens at the previous bucket's close balance. When absent, no balance columns are\r\nproduced and the results are unchanged. 'PortfolioCashBalance' is only supported for the PortfolioCashFlow and TransactionCashFlow CashFlowTypes. Available values: PortfolioCashBalance, Zero."
}
},
"additionalProperties": false,
"$defs": {
"BucketBorderConfiguration": {
"type": "object",
"properties": {
"startInclusive": {
"type": "boolean",
"description": "Is the start of the first bucket interval inclusive of its start date. Defaults to true."
},
"endInclusive": {
"type": "boolean",
"description": "Is the end of the last bucket interval inclusive of its end date. Defaults to false."
},
"boundaryBelongsTo": {
"type": [
"string",
"null"
],
"description": "For boundaries shared by two adjacent intervals, which interval a cash flow falling exactly on the\r\nboundary belongs to. Supported string (enumeration) values are: [Earlier, Later]. Defaults to 'Earlier'. Available values: Earlier, Later."
}
},
"additionalProperties": false,
"description": "Configuration determining how the borders of bucket intervals behave when allocating cash flows to buckets.\r\nWhen supplied, cash flows are bucketed into intervals defined by the bucketing dates rather than being\r\nrounded to the nearest bucketing date."
},
"BucketingSchedule": {
"type": "object",
"properties": {
"tenor": {
"type": [
"string",
"null"
],
"description": "Rolling tenor"
},
"rollDirection": {
"type": [
"string",
"null"
],
"description": "Optional direction in which the bucketing dates are rolled out from the schedule tenor.\r\nSupported string (enumeration) values are: [ForwardFromStart, BackwardFromEnd].\r\nIf absent (and StubType is also absent), the pre-existing date generation behaviour is used. Available values: ForwardFromStart, BackwardFromEnd."
},
"stubType": {
"type": [
"string",
"null"
],
"description": "Optional treatment of the irregular (stub) period when the window length is not an exact multiple of the tenor.\r\nSupported string (enumeration) values are: [ShortStub, LongStub].\r\nIf absent (and RollDirection is also absent), the pre-existing date generation behaviour is used. Available values: ShortStub, LongStub."
}
},
"additionalProperties": false,
"description": "A schedule for dates"
},
"CashFlowHaircutRule": {
"required": [
"haircutType"
],
"type": "object",
"properties": {
"ruleId": {
"maxLength": 64,
"minLength": 1,
"type": [
"string",
"null"
],
"description": "Optional identifier reported back against cashflows this rule haircut. Defaults to the rule's position in the list, e.g. 'HaircutRules[0]'."
},
"propertyKey": {
"maxLength": 512,
"minLength": 0,
"type": [
"string",
"null"
],
"description": "The instrument property key the rule matches on, e.g. 'Instrument/default/CreditRating'. When omitted the rule does not match on a property."
},
"propertyValue": {
"maxLength": 512,
"minLength": 0,
"type": [
"string",
"null"
],
"description": "The instrument property value the rule matches. Required when PropertyKey is supplied."
},
"instrumentType": {
"maxLength": 64,
"minLength": 0,
"type": [
"string",
"null"
],
"description": "Optional instrument type filter, e.g. 'Bond'. When supplied the rule only matches cashflows from instruments of that type."
},
"haircutType": {
"minLength": 1,
"type": "string",
"description": "The mathematical form of the haircut. One of 'CumulativeAnnualised' (net = gross x (1 - rate)^t, where t is the ACT/365.25 year fraction from the valuation date to the payment date) or 'Flat' (net = gross x (1 - h(t)), where h(t) is the flat rate or the term structure rate at t). Available values: CumulativeAnnualised, Flat."
},
"rate": {
"maximum": 1,
"minimum": 0,
"type": [
"number",
"null"
],
"description": "The haircut rate as a fraction in the range [0, 1]. Exactly one of Rate and TermStructure must be supplied.",
"format": "double"
},
"termStructure": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/$defs/CashFlowHaircutTermPoint"
},
"description": "The haircut rate term structure, linearly interpolated on time-to-payment with flat extrapolation beyond either end. Exactly one of Rate and TermStructure must be supplied."
}
},
"additionalProperties": false,
"description": "A rule describing how projected cashflow inflows are reduced by a haircut representing expected\r\ndefault loss or cost of downgrade, for matching-adjustment and liquidity (Solvency II) analyses.\r\nRules are matched in request order against each cashflow's instrument and the first matching rule\r\nwins; a rule with no criteria acts as a catch-all. Only inflows are haircut; outflows always pass\r\nthrough untouched."
},
"CashFlowHaircutTermPoint": {
"required": [
"rate",
"tenor"
],
"type": "object",
"properties": {
"tenor": {
"maxLength": 16,
"minLength": 0,
"type": "string",
"description": "The tenor from the valuation date at which the rate applies, e.g. '6M' or '5Y'."
},
"rate": {
"maximum": 1,
"minimum": 0,
"type": "number",
"description": "The haircut rate applying at the tenor, as a fraction in the range [0, 1].",
"format": "double"
}
},
"additionalProperties": false,
"description": "A point on a cashflow haircut term structure: the haircut rate applying at a given tenor from\r\nthe valuation date. Rates are linearly interpolated on time-to-payment between points and\r\nextrapolated flat beyond either end of the term structure."
},
"PortfolioEntityId": {
"required": [
"code",
"scope"
],
"type": "object",
"properties": {
"scope": {
"maxLength": 256,
"minLength": 1,
"pattern": "^[a-zA-Z0-9\\-_]+$",
"type": "string",
"description": "The scope within which the portfolio or portfolio group lives."
},
"code": {
"maxLength": 256,
"minLength": 1,
"pattern": "^[a-zA-Z0-9\\-_]+$",
"type": "string",
"description": "Portfolio name or code."
},
"portfolioEntityType": {
"maxLength": 128,
"minLength": 0,
"type": [
"string",
"null"
],
"description": "String identifier for portfolio e.g. \"SinglePortfolio\" and \"GroupPortfolio\". If not specified, it is assumed to be a single portfolio. Available values: SinglePortfolio, GroupPortfolio."
}
},
"additionalProperties": false,
"description": "Specification of a portfolio or portfolio group id, its scope and which it is."
},
"ResourceId": {
"required": [
"code",
"scope"
],
"type": "object",
"properties": {
"scope": {
"maxLength": 512,
"minLength": 1,
"type": "string",
"description": "The scope used to identify an entity"
},
"code": {
"maxLength": 512,
"minLength": 1,
"type": "string",
"description": "The code used to identify an entity"
}
},
"additionalProperties": false,
"description": "Identifiers of an entity"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/finbourne-query-bucketed-cash-flows-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.