|
LUSID C# SDK
|
A Journal Entry line entity. More...

Public Member Functions | |
| JournalEntryLine (DateTimeOffset accountingDate=default(DateTimeOffset), DateTimeOffset activityDate=default(DateTimeOffset), ResourceId portfolioId=default(ResourceId), string instrumentId=default(string), string instrumentScope=default(string), Dictionary< string, PerpetualProperty > subHoldingKeys=default(Dictionary< string, PerpetualProperty >), string taxLotId=default(string), string generalLedgerAccountCode=default(string), CurrencyAndAmount local=default(CurrencyAndAmount), CurrencyAndAmount varBase=default(CurrencyAndAmount), decimal units=default(decimal), string postingModuleCode=default(string), string postingRule=default(string), DateTimeOffset asAtDate=default(DateTimeOffset), string activitiesDescription=default(string), string sourceType=default(string), string sourceId=default(string), Dictionary< string, Property > properties=default(Dictionary< string, Property >), string movementName=default(string), string holdingType=default(string), string economicBucket=default(string), string economicBucketComponent=default(string), string economicBucketVariant=default(string), List< string > levels=default(List< string >), List< string > sourceLevels=default(List< string >), string movementSign=default(string), string holdingSign=default(string), string ledgerColumn=default(string), string journalEntryLineType=default(string), List< Link > links=default(List< Link >)) | |
| Initializes a new instance of the JournalEntryLine class. More... | |
| override string | ToString () |
| Returns the string presentation of the object More... | |
| virtual string | ToJson () |
| Returns the JSON string presentation of the object More... | |
| override bool | Equals (object input) |
| Returns true if objects are equal More... | |
| bool | Equals (JournalEntryLine input) |
| Returns true if JournalEntryLine instances are equal More... | |
| override int | GetHashCode () |
| Gets the hash code More... | |
Protected Member Functions | |
| JournalEntryLine () | |
| Initializes a new instance of the JournalEntryLine class. More... | |
Properties | |
| DateTimeOffset | AccountingDate [get, set] |
| The Journal Entry Line accounting date. More... | |
| DateTimeOffset | ActivityDate [get, set] |
| The actual date of the activity. Differs from the accounting date when creating journals that would occur in a closed period. More... | |
| ResourceId | PortfolioId [get, set] |
| Gets or Sets PortfolioId More... | |
| string | InstrumentId [get, set] |
| To indicate the instrument of the transaction that the Journal Entry Line posted for, if applicable. More... | |
| string | InstrumentScope [get, set] |
| The scope in which the Journal Entry Line instrument is in. More... | |
| Dictionary< string, PerpetualProperty > | SubHoldingKeys [get, set] |
| The sub-holding properties which are part of the AccountingKey. More... | |
| string | TaxLotId [get, set] |
| If the holding type is 'B' (settled cash balance), this is 1. Otherwise, this is the ID of a tax lot if applicable, or the source ID of the original transaction if not. More... | |
| string | GeneralLedgerAccountCode [get, set] |
| The code of the account in the general ledger the Journal Entry was posted to. More... | |
| CurrencyAndAmount | Local [get, set] |
| Gets or Sets Local More... | |
| CurrencyAndAmount | Base [get, set] |
| Gets or Sets Base More... | |
| decimal | Units [get, set] |
| Units held for the Journal Entry Line. More... | |
| string | PostingModuleCode [get, set] |
| The code of the posting module where the posting rules derived the Journal Entry lines. More... | |
| string | PostingRule [get, set] |
| The rule generating the Journal Entry Line. More... | |
| DateTimeOffset | AsAtDate [get, set] |
| The corresponding input date and time of the Transaction generating the Journal Entry Line. More... | |
| string | ActivitiesDescription [get, set] |
| This would be the description of the business activities this Journal Entry Line is for. More... | |
| string | SourceType [get, set] |
| The type of source for the Journal Entry Line. Available values: LusidTransaction, LusidValuation, Manual, External. More... | |
| string | SourceId [get, set] |
| For the Lusid Source Type this will be the txn Id. For the rest will be what the user populates. More... | |
| Dictionary< string, Property > | Properties [get, set] |
| A set of properties for the Abor. More... | |
| string | MovementName [get, set] |
| If the JE Line is generated from a transaction, the name of the side in the transaction type's movement. If from a valuation, this is 'MarkToMarket'. More... | |
| string | HoldingType [get, set] |
| One of the LUSID holding types such as 'P' for position or 'B' for settled cash balance. More... | |
| string | EconomicBucket [get, set] |
| LUSID automatically categorises a JE Line into a broad economic bucket such as 'NA_Cost' or 'PL_RealPriceGL'. More... | |
| string | EconomicBucketComponent [get, set] |
| Sub bucket of the economic bucket. Available values: Undefined, Premium, OID, MarketDiscount, AcquisitionPremium, CoreMarket, CrossGainLoss, TradedInterest, Income, Expense. More... | |
| string | EconomicBucketVariant [get, set] |
| Further categorisation of a journal entry line. LongTerm/ShortTerm: based on whether the ActivityDate is more than a year after the purchase trade date. TradeDateToSettlementDate: FX gain/loss between trade date and settlement date. InLieuSubstitution: FX gain/loss from settling in a different currency when the original settlement currency is the portfolio base currency. Available values: Undefined, ShortTerm, LongTerm, Bought, Sold, TradeDateToSettlementDate, Rounding, InLieuSubstitution. More... | |
| List< string > | Levels [get, set] |
| Resolved data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body. More... | |
| List< string > | SourceLevels [get, set] |
| Source data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body. More... | |
| string | MovementSign [get, set] |
| Indicates if the Journal Entry Line corresponds to a Long or Short movement. Available values: NA, Long, Short. More... | |
| string | HoldingSign [get, set] |
| Indicates if the Journal Entry Line is operating against a Long or Short holding. Available values: NA, Long, Short. More... | |
| string | LedgerColumn [get, set] |
| Indicates if the Journal Entry Line is credit or debit. Available values: Debit, Credit. More... | |
| string | JournalEntryLineType [get, set] |
| Indicates the Journal Entry Line type. Available values: Default, Reversal, TrueUp. More... | |
| List< Link > | Links [get, set] |
| Gets or Sets Links More... | |
A Journal Entry line entity.
|
inlineprotected |
Initializes a new instance of the JournalEntryLine class.
|
inline |
Initializes a new instance of the JournalEntryLine class.
| accountingDate | The Journal Entry Line accounting date. (required). |
| activityDate | The actual date of the activity. Differs from the accounting date when creating journals that would occur in a closed period. (required). |
| portfolioId | portfolioId (required). |
| instrumentId | To indicate the instrument of the transaction that the Journal Entry Line posted for, if applicable. (required). |
| instrumentScope | The scope in which the Journal Entry Line instrument is in. (required). |
| subHoldingKeys | The sub-holding properties which are part of the AccountingKey.. |
| taxLotId | If the holding type is 'B' (settled cash balance), this is 1. Otherwise, this is the ID of a tax lot if applicable, or the source ID of the original transaction if not.. |
| generalLedgerAccountCode | The code of the account in the general ledger the Journal Entry was posted to. (required). |
| local | local (required). |
| varBase | varBase (required). |
| units | Units held for the Journal Entry Line. (required). |
| postingModuleCode | The code of the posting module where the posting rules derived the Journal Entry lines.. |
| postingRule | The rule generating the Journal Entry Line. (required). |
| asAtDate | The corresponding input date and time of the Transaction generating the Journal Entry Line. (required). |
| activitiesDescription | This would be the description of the business activities this Journal Entry Line is for.. |
| sourceType | The type of source for the Journal Entry Line. Available values: LusidTransaction, LusidValuation, Manual, External. (required). |
| sourceId | For the Lusid Source Type this will be the txn Id. For the rest will be what the user populates. (required). |
| properties | A set of properties for the Abor.. |
| movementName | If the JE Line is generated from a transaction, the name of the side in the transaction type's movement. If from a valuation, this is 'MarkToMarket'.. |
| holdingType | One of the LUSID holding types such as 'P' for position or 'B' for settled cash balance. (required). |
| economicBucket | LUSID automatically categorises a JE Line into a broad economic bucket such as 'NA_Cost' or 'PL_RealPriceGL'. (required). |
| economicBucketComponent | Sub bucket of the economic bucket. Available values: Undefined, Premium, OID, MarketDiscount, AcquisitionPremium, CoreMarket, CrossGainLoss, TradedInterest, Income, Expense.. |
| economicBucketVariant | Further categorisation of a journal entry line. LongTerm/ShortTerm: based on whether the ActivityDate is more than a year after the purchase trade date. TradeDateToSettlementDate: FX gain/loss between trade date and settlement date. InLieuSubstitution: FX gain/loss from settling in a different currency when the original settlement currency is the portfolio base currency. Available values: Undefined, ShortTerm, LongTerm, Bought, Sold, TradeDateToSettlementDate, Rounding, InLieuSubstitution.. |
| levels | Resolved data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.. |
| sourceLevels | Source data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.. |
| movementSign | Indicates if the Journal Entry Line corresponds to a Long or Short movement. Available values: NA, Long, Short.. |
| holdingSign | Indicates if the Journal Entry Line is operating against a Long or Short holding. Available values: NA, Long, Short.. |
| ledgerColumn | Indicates if the Journal Entry Line is credit or debit. Available values: Debit, Credit.. |
| journalEntryLineType | Indicates the Journal Entry Line type. Available values: Default, Reversal, TrueUp.. |
| links | links. |
|
inline |
Returns true if JournalEntryLine instances are equal
| input | Instance of JournalEntryLine to be compared |
|
inline |
Returns true if objects are equal
| input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
The Journal Entry Line accounting date.
The Journal Entry Line accounting date.
|
getset |
This would be the description of the business activities this Journal Entry Line is for.
This would be the description of the business activities this Journal Entry Line is for.
|
getset |
The actual date of the activity. Differs from the accounting date when creating journals that would occur in a closed period.
The actual date of the activity. Differs from the accounting date when creating journals that would occur in a closed period.
|
getset |
The corresponding input date and time of the Transaction generating the Journal Entry Line.
The corresponding input date and time of the Transaction generating the Journal Entry Line.
|
getset |
Gets or Sets Base
|
getset |
LUSID automatically categorises a JE Line into a broad economic bucket such as 'NA_Cost' or 'PL_RealPriceGL'.
LUSID automatically categorises a JE Line into a broad economic bucket such as 'NA_Cost' or 'PL_RealPriceGL'.
|
getset |
Sub bucket of the economic bucket. Available values: Undefined, Premium, OID, MarketDiscount, AcquisitionPremium, CoreMarket, CrossGainLoss, TradedInterest, Income, Expense.
Sub bucket of the economic bucket. Available values: Undefined, Premium, OID, MarketDiscount, AcquisitionPremium, CoreMarket, CrossGainLoss, TradedInterest, Income, Expense.
|
getset |
Further categorisation of a journal entry line. LongTerm/ShortTerm: based on whether the ActivityDate is more than a year after the purchase trade date. TradeDateToSettlementDate: FX gain/loss between trade date and settlement date. InLieuSubstitution: FX gain/loss from settling in a different currency when the original settlement currency is the portfolio base currency. Available values: Undefined, ShortTerm, LongTerm, Bought, Sold, TradeDateToSettlementDate, Rounding, InLieuSubstitution.
Further categorisation of a journal entry line. LongTerm/ShortTerm: based on whether the ActivityDate is more than a year after the purchase trade date. TradeDateToSettlementDate: FX gain/loss between trade date and settlement date. InLieuSubstitution: FX gain/loss from settling in a different currency when the original settlement currency is the portfolio base currency. Available values: Undefined, ShortTerm, LongTerm, Bought, Sold, TradeDateToSettlementDate, Rounding, InLieuSubstitution.
|
getset |
The code of the account in the general ledger the Journal Entry was posted to.
The code of the account in the general ledger the Journal Entry was posted to.
|
getset |
Indicates if the Journal Entry Line is operating against a Long or Short holding. Available values: NA, Long, Short.
Indicates if the Journal Entry Line is operating against a Long or Short holding. Available values: NA, Long, Short.
|
getset |
One of the LUSID holding types such as 'P' for position or 'B' for settled cash balance.
One of the LUSID holding types such as 'P' for position or 'B' for settled cash balance.
|
getset |
To indicate the instrument of the transaction that the Journal Entry Line posted for, if applicable.
To indicate the instrument of the transaction that the Journal Entry Line posted for, if applicable.
|
getset |
The scope in which the Journal Entry Line instrument is in.
The scope in which the Journal Entry Line instrument is in.
|
getset |
Indicates the Journal Entry Line type. Available values: Default, Reversal, TrueUp.
Indicates the Journal Entry Line type. Available values: Default, Reversal, TrueUp.
|
getset |
Indicates if the Journal Entry Line is credit or debit. Available values: Debit, Credit.
Indicates if the Journal Entry Line is credit or debit. Available values: Debit, Credit.
|
getset |
Resolved data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.
Resolved data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.
|
getset |
Gets or Sets Links
|
getset |
Gets or Sets Local
|
getset |
If the JE Line is generated from a transaction, the name of the side in the transaction type's movement. If from a valuation, this is 'MarkToMarket'.
If the JE Line is generated from a transaction, the name of the side in the transaction type's movement. If from a valuation, this is 'MarkToMarket'.
|
getset |
Indicates if the Journal Entry Line corresponds to a Long or Short movement. Available values: NA, Long, Short.
Indicates if the Journal Entry Line corresponds to a Long or Short movement. Available values: NA, Long, Short.
|
getset |
Gets or Sets PortfolioId
|
getset |
The code of the posting module where the posting rules derived the Journal Entry lines.
The code of the posting module where the posting rules derived the Journal Entry lines.
|
getset |
The rule generating the Journal Entry Line.
The rule generating the Journal Entry Line.
|
getset |
|
getset |
|
getset |
Source data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.
Source data from the general ledger profile where the GeneralLedgerProfileCode is specified in the GetJournalEntryLines request body.
|
getset |
The type of source for the Journal Entry Line. Available values: LusidTransaction, LusidValuation, Manual, External.
The type of source for the Journal Entry Line. Available values: LusidTransaction, LusidValuation, Manual, External.
|
getset |
The sub-holding properties which are part of the AccountingKey.
The sub-holding properties which are part of the AccountingKey.
|
getset |
If the holding type is 'B' (settled cash balance), this is 1. Otherwise, this is the ID of a tax lot if applicable, or the source ID of the original transaction if not.
If the holding type is 'B' (settled cash balance), this is 1. Otherwise, this is the ID of a tax lot if applicable, or the source ID of the original transaction if not.
|
getset |
Units held for the Journal Entry Line.
Units held for the Journal Entry Line.