Providing you have suitable access control permissions, you can view journal entry lines for an ABOR between two dates.
LUSID automatically generates journal entry lines when you create a trial balance but you might want to view them directly for audit purposes.
The following methods are available:
- Method 1: Using the LUSID API
- Method 2: Using the LUSID web app
- Method 3: Using Luminesce
Using the LUSID API
- Obtain an API access token.
- Call the GetJournalEntryLines API, specifying the scope and code of an ABOR in the URL and, in the body of the request:
- A
start
that is either a date represented as a string or the code of an accounting diary entry. - An
end
that is either a date represented as a string or the code of an accounting diary entry. - Optionally, a
dateMode
. At the time of writing, the only valid value isActivityDate
. - Optionally, a
generalLedgerProfileCode
to decorate levels (or categories) onto journal entry lines, allowing drill down into a trial balance. - Optionally in the
properties
collection, any number of properties from theInstrument
,Transaction
,Portfolio
,Account
,LegalEntity
orCustodianAccount
domains to enrich the output.
- A
Consider the following example, of journal entry lines for an ABOR with a scope of Abor
and code of DailyNAV
(highlighted in red in the URL):
curl -X POST 'https://<your-domain>.lusid.com/api/api/abor/Abor/DailyNAV/journalentrylines/$query'
-H 'Content-Type: application/json-patch+json'
-H 'Authorization: Bearer <your-API-access-token>'
-d '{
"start": {
"date": "2023-01-01T00:00:00.0000000+00:00"
},
"end": {
"date": "2023-07-16T00:00:00.0000000+00:00"
},
"dateMode": "ActivityDate",
"propertyKeys": ["Instrument/default/Name"]
}'
The response contains one or more journal entry lines:
- For each transaction in the associated portfolio(s) between the two dates. These have a source type of
LusidTransaction
. - For each underlying instrument in the portfolio(s) impacted by the latest market data (prices and/or FX rates) detected in the LUSID Quote Store. These have a source type of
LusidValuation
. More information.
The following example response has been transformed to a Pandas dataframe, and some columns renamed or omitted, for clarity:
Using the LUSID web app
Coming soon