# Retrieve By Id General Ledger Get General Ledger By Id Endpoint: GET /rest/2.0/GENERAL_LEDGER_TRANSACTION/{id} Version: 1.0 Security: JWT ## Path parameters: - `id` (integer, required) Id of the record ## Header parameters: - `sessionId` (string, required) ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.JEType` (string) Journal Entry Type - `retrieveResponse.OriginRevenueContractId` (integer) Origin Rev Rec Contract - `retrieveResponse.OriginRevenueContractProductId` (integer) Origin Rev Rec Contract Product - `retrieveResponse.PrePeriodEnforceDate` (string) Booking Date Pre-Enforcement of Closed Periods: This date represents the booking date generated by the GL Rules prior to considering if the booking date falls into a closed accounting period. This field is used for reference so users can determine if the booking date deviates from the date originally generated due to that date falling into a closed period. In such cases, the booking date field will be the first day in the earliest subsequent open period. - `retrieveResponse.JournalEntryId` (string) Journal Entry Id - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.InvoiceId` (integer) Invoice Id - `retrieveResponse.TransactionDate` (string) Booking Date: This date represents the ledger date for the GL entry. In cases where the original booking date generated by the GL rule falls into a closed period, the booking date will be the first day of the earliest open period. Refer to Booking Date Pre-Enforcement of Closed Periods field to view the original booking date generated by the GL rule prior to enforcement of closed periods. - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.PaymentId` (integer) Payment Id - `retrieveResponse.CreditId` (integer) Credit Id - `retrieveResponse.Id` (string) Id: GENERAL_LEDGER_ID - `retrieveResponse.CurrencyCode` (integer) CurrencyCode - `retrieveResponse.FinancialAccountId` (integer) Financial Account - `retrieveResponse.TransactionId` (string) TransactionId - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.FinancialCriteriaId` (integer) Revenue Classification Rule - `retrieveResponse.PeriodStartDate` (string) PeriodStartDate - `retrieveResponse.PeriodEndDate` (string) PeriodEndDate - `retrieveResponse.FinancialPeriodId` (integer) Financial Period - `retrieveResponse.ReversalStatus` (string) Reversal Status - `retrieveResponse.AccountingPeriodId` (integer) Accounting Period - `retrieveResponse.RevrecContractProductEventId` (integer) Revrec Contract Product Event Id - `retrieveResponse.PerformanceObligation` (integer) Performance Obligation - `retrieveResponse.RevRecContractProductId` (integer) Rev Rec Contract Product - `retrieveResponse.FinancialAccountType` (string) Financial Account Type - `retrieveResponse.CatchUpAdjustmentFlag` (string) Catch Up Adjustment Flag - `retrieveResponse.PaymentItemInvoiceDetailId` (integer) Payment Item Invoice Detail Id - `retrieveResponse.CreditItemInvoiceDetailId` (integer) Credit Item Invoice Detail Id - `retrieveResponse.BillingActivityId` (integer) BillingActivityId - `retrieveResponse.Source` (string) Source - `retrieveResponse.EntityId` (string) Entity Id: Source Entity Id - `retrieveResponse.ObjectId` (string) Object Id: Source Object Id - `retrieveResponse.RefundId` (integer) Refund Id - `retrieveResponse.AccountId` (integer) Account Id ## Response 400 fields (application/json): - `error` (string) Bad request - `message` (string) Bad request ## Response 401 fields (application/json): - `error` (string) Unauthorized - `message` (string) Unauthorized ## Response 404 fields (application/json): - `error` (string) Not found - `message` (string) Not found ## Response 429 fields (application/json): - `error` (string) Too many requests - `message` (string) Too many requests ## Response 500 fields (application/json): - `error` (string) Internal error - `message` (string) Internal error