To override the contractual settlement date for a transaction and settle some or all of its units explicitly, you must pre-configure both:
The transaction type to which the transaction belongs, for example
Buy, andThe parent portfolio in which it resides, for example one with a scope of
Equitiesand code ofUK-Growth. More information.
Note that such a change impacts all transactions belonging to the nominated transaction type in the parent portfolio.
Configuring transaction types
By default, the settlement mode is Internal, to obey the contractual settlement date.
You can set the settlement mode to External for the following movement types to override the contractual settlement date for stock holdings, cash holdings, and/or deferred cash holdings (reclaimed tax):
Holding category | Movement types |
|---|---|
Stock |
|
Cash |
|
Deferred cash/reclaimed tax |
|
Call the SetTransactionType API to set the settlementMode fields of applicable movement types to External:
curl -X PUT 'https://<your-domain>.lusid.com/api/api/transactionconfiguration/types/default/Buy?scope=default'
-H 'Content-Type: application/json-patch+json'
-H 'Authorization: Bearer <your-API-access-token>'
-d '{
"aliases": [
{
"type": "Buy",
"description": "Purchase",
"transactionClass": "Basic",
"transactionRoles": "LongLonger",
"isDefault": false
}
],
"movements": [
{
"movementTypes": "StockMovement",
"side": "Side1",
"direction": 1,
"settlementMode": "External"
},
{
"movementTypes": "CashCommitment",
"side": "Side2",
"direction": -1,
"settlementMode": "External"
}
]
}'Navigate to the System Settings > Transaction Types dashboard, locate the transaction type to configure, and change the Settlement Mode of applicable movement types to External, for example:

Configuring portfolios
You can enable different settlement methods for stock holdings, cash holdings, and/or deferred cash holdings:
Choose
Automaticto settle units on the contractual settlement date, as per the default LUSID behaviour, but enable the option to cancel settlement or settle by instruction on an ad-hoc basis.Choose
Instructedto negate the contractual settlement date. You must explicitly load one or more settlement instructions.
To configure an existing portfolio, call the PatchPortfolioDetails API and specify the settlementConfiguration object, for example:
curl -X POST "https://<your-domain>.lusid.com/api/api/transactionportfolios/Equities/UK-Growth/details"
-H "Authorization: Bearer <your-API-access-token>"
-H "Content-Type: application/json-patch+json"
-d '[
{
"path": "/settlementConfiguration",
"op": "add",
"value": {
"stockSettlement": {"method": "Automatic"},
"cashSettlement": {"method": "Instructed"},
"deferredCashReceipt": {"method": "Instructed"}
},
}
]'Navigate to the Data Management > Portfolios dashboard, locate the portfolio to edit and, on the Details tab, choose an appropriate Stock settlement method, Cash settlement method and/or Deferred cash receipt method, for example:

Overriding the chosen settlement method on an ad-hoc basis
You can nominate a property type with a special data type as an override key for a particular settlement method.
Consider the example where Cash settlement method is set to Automatic in a portfolio. You can specify an override key and then, for a particular transaction such as a dividend, add a property of that type with a value of Instructed to cancel automatic settlement and require an explicit instruction for just that transaction.
To do this:
Create a property type in the
Transactiondomain with the built-in data typesystem/settlementMethodpermitting only the valuesAutomaticandInstructed, for example:
Specify the property type as an override key for a particular settlement method in the portfolio, for example:

Add a property of the type to a particular transaction with the opposite value to the settlement method, either explicitly or via a transaction type or a transaction template, for example:
