{"openapi":"3.0.4","info":{"title":"TransactionRequest","version":"0.0.1"},"paths":{},"components":{"schemas":{"TransactionRequest":{"required":["instrumentIdentifiers","settlementDate","totalConsideration","transactionDate","transactionId","type","units"],"type":"object","properties":{"transactionId":{"minLength":1,"type":"string","description":"The unique identifier of the transaction."},"type":{"minLength":1,"type":"string","description":"The type of the transaction, for example 'Buy' or 'Sell'. The transaction type must have been pre-configured using the System Configuration API. If not, this operation will succeed but you are not able to calculate holdings for the portfolio that include this transaction."},"instrumentIdentifiers":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"A set of instrument identifiers that can resolve the transaction to a unique instrument."},"transactionDate":{"minLength":1,"type":"string","description":"The date of the transaction.","format":"dateorcutlabel"},"settlementDate":{"minLength":1,"type":"string","description":"The settlement date of the transaction.","format":"dateorcutlabel"},"units":{"type":"number","description":"The number of units of the transacted instrument.","format":"double"},"transactionPrice":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/TransactionPrice"},"totalConsideration":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/CurrencyAndAmount"},"exchangeRate":{"type":"number","description":"The exchange rate between the transaction and settlement currency (settlement currency being represented by TotalConsideration.Currency). For example, if the transaction currency is USD and the settlement currency is GBP, this would be the appropriate USD/GBP rate.","format":"double","nullable":true},"transactionCurrency":{"type":"string","description":"The transaction currency.","nullable":true},"properties":{"type":"object","additionalProperties":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/PerpetualProperty"},"description":"A list of unique transaction properties and associated values to store for the transaction. Each property must be from the 'Transaction' domain.","nullable":true},"counterpartyId":{"type":"string","description":"The identifier for the counterparty of the transaction.","nullable":true},"source":{"type":"string","description":"The source of the transaction. This is used to look up the appropriate transaction group set in the transaction type configuration.","nullable":true},"otcConfirmation":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/OtcConfirmation"},"orderId":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ResourceId"},"allocationId":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ResourceId"},"custodianAccountId":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ResourceId"},"transactionGroupId":{"maxLength":64,"minLength":1,"type":"string","description":"The identifier for grouping economic events across multiple transactions","nullable":true},"strategyTag":{"type":"array","items":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/Strategy"},"description":"A list of strategies representing the allocation of units across multiple sub-holding keys","nullable":true}},"additionalProperties":false,"title":"TransactionRequest"}}}}