# Delete E-invoice Templates Delete E-invoice Templates Endpoint: DELETE /rest/2.0/delete/EINVOICE_XML_ENGINE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Id` (string, required) ## Response 200 fields (application/json): - `retrieveResponse` (object) - `retrieveResponse.TypeId` (integer) Document Type: Allows the selection of a document type to generate specific E-invoice formats. - `retrieveResponse.FileFormat` (string) Invoice File Format: Define name for the files generated. - `retrieveResponse.Country` (integer) Country: Specifies the country associated with the E-invoice template to ensure compliance with local regulations and formats. - `retrieveResponse.XsltDef` (integer) Default XSLT: The default template loads the out-of-the-box XSLT with predefined values. You can customize this template to suit your specific needs. To revert any changes, create a new E-invoice template and select the Default XSLT checkbox. - `retrieveResponse.XmlEngineName` (string) Invoice Template Name: Defines the primary name for the E-invoice mapping document, used to identify and apply the correct template during invoice processing. - `retrieveResponse.Xslt` (string) XSLT - `retrieveResponse.Id` (string) 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