# Retrieve By Id Invoices Get Invoices By Id Endpoint: GET /rest/2.0/INVOICE/{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.AccountStrategyId` (any) Account Strategy - `retrieveResponse.AccountingPeriodId` (any) Accounting Period - `retrieveResponse.ActivityEndDate` (any) ActivityEndDate - `retrieveResponse.ActivityStartDate` (any) ActivityStartDate - `retrieveResponse.AgingInterval` (any) Aging Interval - `retrieveResponse.ApprovalDate` (any) Approval Date - `retrieveResponse.ApprovalStatus` (any) Approval Status - `retrieveResponse.ApprovalUserId` (any) Approval User - `retrieveResponse.AutoPayTriggerDate` (any) Auto-pay Trigger Date: This field can be used to specify an automatic payment trigger date for the invoice, if the account is enrolled in electronic payment and not manual payment. - `retrieveResponse.AvailableActions` (any) AvailableActions - `retrieveResponse.BillableFlag` (any) Billable - `retrieveResponse.BillingCycleEndDate` (any) Billing Cycle Ending - `retrieveResponse.BillingCycleStartDate` (any) Billing Cycle From - `retrieveResponse.BillingProfileId` (any) View Ledger - `retrieveResponse.ClosedDate` (any) Closed Date - `retrieveResponse.Created` (any) System controlled field: Date and time the record was created - `retrieveResponse.CreatedByInvoiceId` (any) Created By Invoice ID - `retrieveResponse.CreatedUserId` (any) System controlled field: Id of the user that created the record - `retrieveResponse.CurrentAction` (any) CurrentAction - `retrieveResponse.Disputed` (any) Disputed - `retrieveResponse.DueDate` (any) Due Date - `retrieveResponse.EinvoiceStatus` (any) E-invoicing Status - `retrieveResponse.EstimateDate` (any) Estimate Date: ESTIMATED_DATE - `retrieveResponse.EstimatedStatus` (any) EstimatedStatus - `retrieveResponse.EventInvoiceCycleId` (any) Cycle Type - `retrieveResponse.FileName` (any) FileName - `retrieveResponse.Id` (any) Invoice ID: INVOICE_ID - `retrieveResponse.InvoicePDFTemplateId` (any) Invoice PDF Template: Enter a value in this field only if you want to override the invoice template for this invoice. If the field is left blank, the template from the Event Invoice Cycle will be used. If the invoice uses the default cycle, the template from the Account will be applied. - `retrieveResponse.InvoiceReburnAction` (any) Reburn Action - `retrieveResponse.LastAction` (any) LastAction - `retrieveResponse.LastEmailDeliveryDate` (any) 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.LastGatewayKey` (any) LastGatewayKey - `retrieveResponse.ManualCloseApprovedFlag` (any) ManualCloseApprovedFlag - `retrieveResponse.MassUpdateError` (any) Invoice Detail Update Errors: Mass Update Workflow Error - `retrieveResponse.MigratedInvoice` (any) Migrated Invoice - `retrieveResponse.MoveInvoiceDescription` (any) Movements invoice log - `retrieveResponse.NextEstimateDate` (any) NextEstimateDate: NEXT_ESTIMATED_DATE - `retrieveResponse.PaymentStatus` (any) Payment Status - `retrieveResponse.PdfCreatedDate` (any) PDF Created Date - `retrieveResponse.PendingActions` (any) PendingActions - `retrieveResponse.ReburnFlag` (any) ReburnFlag - `retrieveResponse.ReopenedByInvoiceId` (any) Reopened By Invoice ID: VOIDED_BY_INVOICE_ID - `retrieveResponse.SendInvoiceEmail` (any) SendInvoiceEmail - `retrieveResponse.Status` (any) Status - `retrieveResponse.SuppressBulkCloseFlag` (any) SuppressBulkCloseFlag - `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 - `retrieveResponse.VoidFlag` (any) VoidFlag - `retrieveResponse.VoidedByCreditId` (any) Voided By Credit 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