{"openapi":"3.0.4","info":{"title":"Get the Journal Entry Lines for the given Fund.","description":"Gets the Journal Entry Lines for the given Valuation Point for a Fund.\r\n            \r\nThe Journal Entry Lines have been generated from transactions, translated via posting rules and used in the valuation point.","version":"0.0.1"},"servers":[{"url":"https://fbn-prd.lusid.com/api"}],"paths":{"/api/funds/{scope}/{code}/valuationpoints/journalentrylines/$query":{"post":{"tags":["Funds"],"summary":"Get the Journal Entry Lines for the given Fund.","description":"Gets the Journal Entry Lines for the given Valuation Point for a Fund.\r\n            \r\nThe Journal Entry Lines have been generated from transactions, translated via posting rules and used in the valuation point.","operationId":"GetValuationPointJournalEntryLines","parameters":[{"name":"scope","in":"path","description":"The scope of the Fund.","required":true,"schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"code","in":"path","description":"The code of the Fund. Together with the scope this uniquely identifies the Fund.","required":true,"schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"generalLedgerProfileCode","in":"query","description":"The optional code of a General Ledger Profile used to decorate Journal Entry Lines with levels.","schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}},{"name":"asAt","in":"query","description":"The asAt datetime at which to retrieve Journal Entry Lines. Defaults to returning the latest version if not specified.","schema":{"type":"string","format":"date-time"},"x-nullable":true},{"name":"filter","in":"query","description":"Expression to filter the result set.","schema":{"maxLength":16384,"minLength":0,"pattern":"^[\\s\\S]*$","type":"string"}},{"name":"limit","in":"query","description":"When paginating, limit the number of returned results to this many. Defaults to 100 if not specified.","schema":{"maximum":5000,"minimum":1,"type":"integer","format":"int32"},"x-nullable":true},{"name":"page","in":"query","description":"The pagination token to use to continue listing Journal Entry Lines from a previous call to GetValuationPointJournalEntryLines.","schema":{"maxLength":500,"minLength":1,"pattern":"^[a-zA-Z0-9\\+/]*={0,3}$","type":"string"}},{"name":"propertyKeys","in":"query","description":"A list of property keys from the 'Instrument', 'Transaction', 'Portfolio', 'Account', 'LegalEntity' or 'CustodianAccount'\r\n             domain to decorate onto the Journal Entry Lines.","schema":{"type":"array","items":{"type":"string","description":"The key that uniquely identifies the property. It has the format {domain}/{scope}/{code}."}},"x-nullable":true},{"name":"navTypeCode","in":"query","description":"When provided, runs against the specified NAV Type, otherwise the Primary NAV Type will be used.","schema":{"maxLength":64,"minLength":1,"pattern":"^[a-zA-Z0-9\\-_]+$","type":"string"}}],"requestBody":{"description":"The arguments to use for querying the Journal Entry Lines.","content":{"application/json-patch+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataQueryParameters"},"example":{"end":{"diaryEntry":"DiaryEntryCode"},"variant":"Variant"}},"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataQueryParameters"},"example":{"end":{"diaryEntry":"DiaryEntryCode"},"variant":"Variant"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataQueryParameters"},"example":{"end":{"diaryEntry":"DiaryEntryCode"},"variant":"Variant"}},"application/*+json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointDataQueryParameters"},"example":{"end":{"diaryEntry":"DiaryEntryCode"},"variant":"Variant"}}},"required":true},"responses":{"200":{"description":"The requested Journal Entry Lines for the specified Valuation Point for a Fund.","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointResourceListOfFundJournalEntryLine"},"example":{"startValuationPoint":{"aborId":{"scope":"aborScope","code":"DiaryEntryCode"},"diaryEntryCode":"DiaryEntryCode","type":"Period","name":"2023_Q1","status":"Final","applyClearDown":false,"effectiveAt":"2023-04-02T15:10:10.0000000+00:00","queryAsAt":"2023-04-15T15:10:10.0000000+00:00","previousEntryTime":"0001-01-01T00:00:00.0000000+00:00","properties":{"DiaryEntry/AccountingDiary/Reports":{"key":"DiaryEntry/AccountingDiary/Reports","value":{"labelValue":"Some comments"}}}},"version":{"effectiveFrom":"2018-03-05T00:00:00.0000000+00:00","asAtDate":"2018-03-04T23:50:00.0000000+00:00"},"values":[{"accountingDate":"2018-03-04T23:50:00.0000000+00:00","activityDate":"2018-03-04T23:50:00.0000000+00:00","portfolioId":{"scope":"Scope1","code":"PortfolioId1"},"instrumentId":"LUID_00000001","instrumentScope":"Default","subHoldingKeys":{},"taxLotId":"TaxLot1","generalLedgerAccountCode":"0071","local":{"amount":110,"currency":"GBP"},"base":{"amount":110,"currency":"GBP"},"units":100,"postingModuleCode":"CodePostingModule","postingRule":"Rule1","asAtDate":"2022-02-03T00:00:00.0000000+00:00","activitiesDescription":"Activites Description","sourceType":"LusidTransaction","sourceId":"Txn1","properties":{},"movementName":"Open","holdingType":"C","economicBucket":"NA_Cost","economicBucketComponent":"Premium","economicBucketVariant":"ShortTerm","movementSign":"Long","holdingSign":"NA","ledgerColumn":"Debit","journalEntryLineType":"Default","shareClassBreakdowns":[{"shortCode":"A","apportionmentFactor":0.75,"localValue":75,"baseValue":75},{"shortCode":"B","apportionmentFactor":0.25,"localValue":25,"baseValue":25}]}],"href":"http://example.com","links":[]}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointResourceListOfFundJournalEntryLine"},"example":{"startValuationPoint":{"aborId":{"scope":"aborScope","code":"DiaryEntryCode"},"diaryEntryCode":"DiaryEntryCode","type":"Period","name":"2023_Q1","status":"Final","applyClearDown":false,"effectiveAt":"2023-04-02T15:10:10.0000000+00:00","queryAsAt":"2023-04-15T15:10:10.0000000+00:00","previousEntryTime":"0001-01-01T00:00:00.0000000+00:00","properties":{"DiaryEntry/AccountingDiary/Reports":{"key":"DiaryEntry/AccountingDiary/Reports","value":{"labelValue":"Some comments"}}}},"version":{"effectiveFrom":"2018-03-05T00:00:00.0000000+00:00","asAtDate":"2018-03-04T23:50:00.0000000+00:00"},"values":[{"accountingDate":"2018-03-04T23:50:00.0000000+00:00","activityDate":"2018-03-04T23:50:00.0000000+00:00","portfolioId":{"scope":"Scope1","code":"PortfolioId1"},"instrumentId":"LUID_00000001","instrumentScope":"Default","subHoldingKeys":{},"taxLotId":"TaxLot1","generalLedgerAccountCode":"0071","local":{"amount":110,"currency":"GBP"},"base":{"amount":110,"currency":"GBP"},"units":100,"postingModuleCode":"CodePostingModule","postingRule":"Rule1","asAtDate":"2022-02-03T00:00:00.0000000+00:00","activitiesDescription":"Activites Description","sourceType":"LusidTransaction","sourceId":"Txn1","properties":{},"movementName":"Open","holdingType":"C","economicBucket":"NA_Cost","economicBucketComponent":"Premium","economicBucketVariant":"ShortTerm","movementSign":"Long","holdingSign":"NA","ledgerColumn":"Debit","journalEntryLineType":"Default","shareClassBreakdowns":[{"shortCode":"A","apportionmentFactor":0.75,"localValue":75,"baseValue":75},{"shortCode":"B","apportionmentFactor":0.25,"localValue":25,"baseValue":25}]}],"href":"http://example.com","links":[]}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/ValuationPointResourceListOfFundJournalEntryLine"},"example":{"startValuationPoint":{"aborId":{"scope":"aborScope","code":"DiaryEntryCode"},"diaryEntryCode":"DiaryEntryCode","type":"Period","name":"2023_Q1","status":"Final","applyClearDown":false,"effectiveAt":"2023-04-02T15:10:10.0000000+00:00","queryAsAt":"2023-04-15T15:10:10.0000000+00:00","previousEntryTime":"0001-01-01T00:00:00.0000000+00:00","properties":{"DiaryEntry/AccountingDiary/Reports":{"key":"DiaryEntry/AccountingDiary/Reports","value":{"labelValue":"Some comments"}}}},"version":{"effectiveFrom":"2018-03-05T00:00:00.0000000+00:00","asAtDate":"2018-03-04T23:50:00.0000000+00:00"},"values":[{"accountingDate":"2018-03-04T23:50:00.0000000+00:00","activityDate":"2018-03-04T23:50:00.0000000+00:00","portfolioId":{"scope":"Scope1","code":"PortfolioId1"},"instrumentId":"LUID_00000001","instrumentScope":"Default","subHoldingKeys":{},"taxLotId":"TaxLot1","generalLedgerAccountCode":"0071","local":{"amount":110,"currency":"GBP"},"base":{"amount":110,"currency":"GBP"},"units":100,"postingModuleCode":"CodePostingModule","postingRule":"Rule1","asAtDate":"2022-02-03T00:00:00.0000000+00:00","activitiesDescription":"Activites Description","sourceType":"LusidTransaction","sourceId":"Txn1","properties":{},"movementName":"Open","holdingType":"C","economicBucket":"NA_Cost","economicBucketComponent":"Premium","economicBucketVariant":"ShortTerm","movementSign":"Long","holdingSign":"NA","ledgerColumn":"Debit","journalEntryLineType":"Default","shareClassBreakdowns":[{"shortCode":"A","apportionmentFactor":0.75,"localValue":75,"baseValue":75},{"shortCode":"B","apportionmentFactor":0.25,"localValue":25,"baseValue":25}]}],"href":"http://example.com","links":[]}}}},"400":{"description":"The details of the input related failure","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}},"text/plain":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}},"text/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidValidationProblemDetails"}}}},"default":{"description":"Error response","content":{"application/json":{"schema":{"$ref":"/docs/api/lusid/schemas.json#/components/schemas/LusidProblemDetails"}}}}},"security":[{"BearerAuth":[]}],"x-fbn-apistatus":"Experimental"}}},"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer"}}}}