# 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` (any, required) Id of the record ## Header parameters: - `sessionId` (string, required) ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.AccountId` (any) Account Id - `retrieveResponse.AccountingPeriodId` (any) Accounting Period - `retrieveResponse.AccrualId` (any) Accrual History Source - `retrieveResponse.BillingActivityId` (any) Billing Activity Id - `retrieveResponse.CatchUpAdjustmentFlag` (any) Catch Up Adjustment Flag - `retrieveResponse.Created` (any) System controlled field: Date and time the record was created - `retrieveResponse.CreatedUserId` (any) System controlled field: Id of the user that created the record - `retrieveResponse.CreditId` (any) Credit Id - `retrieveResponse.CreditItemInvoiceDetailId` (any) Credit Item Invoice Detail Id - `retrieveResponse.CurrencyCode` (any) CurrencyCode - `retrieveResponse.EntityId` (any) Entity Id: Source Entity Id - `retrieveResponse.FinancialAccountId` (any) Financial Account - `retrieveResponse.FinancialAccountType` (any) Financial Account Type - `retrieveResponse.FinancialCriteriaId` (any) Revenue Classification Rule - `retrieveResponse.FinancialPeriodId` (any) Financial Period - `retrieveResponse.Id` (any) Id: GENERAL_LEDGER_ID - `retrieveResponse.InvoiceId` (any) Invoice Id - `retrieveResponse.JEType` (any) Journal Entry Type - `retrieveResponse.JournalEntryId` (any) Journal Entry Id - `retrieveResponse.ObjectId` (any) Object Id: Source Object Id - `retrieveResponse.OriginRevenueContractId` (any) Origin Rev Rec Contract - `retrieveResponse.OriginRevenueContractProductId` (any) Origin Rev Rec Contract Product - `retrieveResponse.PaymentId` (any) Payment Id - `retrieveResponse.PaymentItemInvoiceDetailId` (any) Payment Item Invoice Detail Id - `retrieveResponse.PerformanceObligation` (any) Performance Obligation - `retrieveResponse.PeriodEndDate` (any) PeriodEndDate - `retrieveResponse.PeriodStartDate` (any) PeriodStartDate - `retrieveResponse.PrePeriodEnforceDate` (any) 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.RefundId` (any) Refund Id - `retrieveResponse.RevRecContractProductId` (any) Rev Rec Contract Product - `retrieveResponse.ReversalStatus` (any) Reversal Status - `retrieveResponse.RevrecContractProductEventId` (any) Revrec Contract Product Event Id - `retrieveResponse.Source` (any) Source - `retrieveResponse.TransactionDate` (any) 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.TransactionId` (any) TransactionId - `retrieveResponse.Updated` (any) System controlled field: Date and time the record was last updated - `retrieveResponse.UpdatedUserId` (any) System controlled field: Id of the last user that updated the record ## 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