# Save Invoice Template Save Invoice Template Endpoint: POST /rest/2.0/INVOICE_TEMPLATE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.AccountId` (any) AccountId - `brmObjects.Created` (any) System controlled field: Date and time the record was created - `brmObjects.CreatedUserId` (any) System controlled field: Id of the user that created the record - `brmObjects.DateFormat` (any) DateFormat - `brmObjects.DefaultFlag` (any) DefaultFlag - `brmObjects.EbppUrl` (any) EbppUrl: Online Bill-pay URL - `brmObjects.EmailTemplateId` (any) EmailTemplateId - `brmObjects.EmbedEinvoiceDocIntoPDF` (any) 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. - `brmObjects.Id` (any, required) Id: Invoice Template Id - `brmObjects.InvoiceFileFormat` (any) 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). - `brmObjects.InvoiceXslId` (any) InvoiceXslId - `brmObjects.LanguageCode` (any) LanguageCode - `brmObjects.Name` (any) Invoice Template Name: The name of invoice template - `brmObjects.ShowAging` (any) ShowAging - `brmObjects.ShowCreditAdjDetail` (any) ShowCreditAdjDetail - `brmObjects.ShowPastDueStatements` (any) ShowPastDueStatements - `brmObjects.ShowTaxFeeDetail` (any) ShowTaxFeeDetail - `brmObjects.Status` (any) Status: Status of invoice template - `brmObjects.SupportMessage` (any) SupportMessage - `brmObjects.SupportMessage1` (any) SupportMessage1 - `brmObjects.SupportNumber` (any) SupportNumber - `brmObjects.Type` (any) Template Type: Type of invoice template - `brmObjects.Updated` (any) System controlled field: Date and time the record was last updated - `brmObjects.UpdatedUserId` (any) System controlled field: Id of the last user that updated the record ## Response 200 fields (application/json): - `createResponse` (array) - `createResponse.Id` (any) - `createResponse.success` (boolean) - `createResponse.ErrorText` (string) - `createResponse.ErrorElementField` (string) ## 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