# Retrieve By Id Invoice Template Get Invoice Template By Id Endpoint: GET /rest/2.0/INVOICE_TEMPLATE/{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.Id` (string) Id: Invoice Template Id - `retrieveResponse.Name` (string) Invoice Template Name: The name of invoice template - `retrieveResponse.Status` (string) Status: Status of invoice template - `retrieveResponse.Type` (string) Template Type: Type of invoice template - `retrieveResponse.Created` (string) System controlled field: Date and time the record was created - `retrieveResponse.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `retrieveResponse.Updated` (string) System controlled field: Date and time the record was last updated - `retrieveResponse.CreatedUserId` (string) System controlled field: Id of the user that created the record - `retrieveResponse.InvoiceFileFormat` (string) Invoice File Format: Customize the filename of the PDF file that is generated. The object reference model can be used here to source information from the data model that is accessible from the invoice object. No need to include the extension as this is automatically appended (e.g. .pdf). - `retrieveResponse.SupportMessage1` (string) SupportMessage1 - `retrieveResponse.DefaultFlag` (integer) DefaultFlag - `retrieveResponse.SupportNumber` (string) SupportNumber - `retrieveResponse.ShowCreditAdjDetail` (integer) ShowCreditAdjDetail - `retrieveResponse.ShowTaxFeeDetail` (integer) ShowTaxFeeDetail - `retrieveResponse.ShowAging` (integer) ShowAging - `retrieveResponse.EbppUrl` (string) EbppUrl: Online Bill-pay URL - `retrieveResponse.DateFormat` (string) DateFormat - `retrieveResponse.LanguageCode` (integer) LanguageCode - `retrieveResponse.EmailTemplateId` (integer) EmailTemplateId - `retrieveResponse.InvoiceXslId` (integer) InvoiceXslId - `retrieveResponse.SupportMessage` (string) SupportMessage - `retrieveResponse.EmbedEinvoiceDocIntoPDF` (integer) Embed e-invoice document into PDF: In some jurisdictions PDF invoice has to embed e-invoice XML. Enable this option for this behavior. Corresponding invoice skin must be set to generate PDF A-3 files for this option to have effect. BP will pick e-invoice based on the invoice ID in the e-invoice entity. - `retrieveResponse.ShowPastDueStatements` (integer) ShowPastDueStatements - `retrieveResponse.AccountId` (integer) AccountId ## 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