# Retrieve By Id Invoices Get Invoices By Id Endpoint: GET /rest/2.0/INVOICE/{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.BillingCycleStartDate` (string) Billing Cycle From - `retrieveResponse.EventInvoiceCycleId` (integer) Cycle Type - `retrieveResponse.LastEmailDeliveryDate` (string) Last Email Sent Date: Last Email Sent Date field is populated with the most recent date that the system sent an email. In cases where an email was sent outside of the system, the field is editable to enable users to populate the field to a specified date. - `retrieveResponse.Id` (string) Invoice ID: INVOICE_ID - `retrieveResponse.PaymentStatus` (string) Payment Status - `retrieveResponse.DueDate` (string) Due Date - `retrieveResponse.ReopenedByInvoiceId` (integer) Reopened By Invoice ID: VOIDED_BY_INVOICE_ID - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.VoidedByCreditId` (integer) Voided By Credit Id - `retrieveResponse.AccountingPeriodId` (integer) Accounting Period - `retrieveResponse.PdfCreatedDate` (string) PDF Created Date - `retrieveResponse.BillableFlag` (integer) Billable - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.Disputed` (integer) Disputed - `retrieveResponse.MigratedInvoice` (integer) Migrated Invoice - `retrieveResponse.MassUpdateError` (string) Invoice Detail Update Errors: Mass Update Workflow Error - `retrieveResponse.BillingCycleEndDate` (string) Billing Cycle Ending - `retrieveResponse.BillingProfileId` (integer) View Ledger - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.AgingInterval` (string) Aging Interval - `retrieveResponse.Status` (string) Status - `retrieveResponse.ClosedDate` (string) Closed Date - `retrieveResponse.ApprovalStatus` (string) Approval Status - `retrieveResponse.ApprovalUserId` (string) Approval User - `retrieveResponse.CreatedByInvoiceId` (integer) Created By Invoice ID - `retrieveResponse.ApprovalDate` (string) Approval Date - `retrieveResponse.MoveInvoiceDescription` (string) Movements invoice log - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.EstimateDate` (string) Estimate Date: ESTIMATED_DATE - `retrieveResponse.InvoiceReburnAction` (string) Reburn Action - `retrieveResponse.VoidFlag` (integer) VoidFlag - `retrieveResponse.EstimatedStatus` (string) EstimatedStatus - `retrieveResponse.AvailableActions` (string) AvailableActions - `retrieveResponse.PendingActions` (string) PendingActions - `retrieveResponse.CurrentAction` (integer) CurrentAction - `retrieveResponse.LastAction` (integer) LastAction - `retrieveResponse.ActivityStartDate` (string) ActivityStartDate - `retrieveResponse.ActivityEndDate` (string) ActivityEndDate - `retrieveResponse.FileName` (string) FileName - `retrieveResponse.ManualCloseApprovedFlag` (string) ManualCloseApprovedFlag - `retrieveResponse.SuppressBulkCloseFlag` (string) SuppressBulkCloseFlag - `retrieveResponse.ReburnFlag` (string) ReburnFlag - `retrieveResponse.LastGatewayKey` (integer) LastGatewayKey - `retrieveResponse.NextEstimateDate` (string) NextEstimateDate: NEXT_ESTIMATED_DATE - `retrieveResponse.SendInvoiceEmail` (integer) SendInvoiceEmail - `retrieveResponse.AccountStrategyId` (integer) Account Strategy ## 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