Kumusoft Solutions
EFRIS API
Auth Service
EFRIS API
Auth Service
  1. EFRIS API
  • Get Current Taxpayer Details
    GET
  • Update AES Key
    POST
  • Get Efris Stock Items
    GET
  • Update Stock List
    POST
  • Verify TIN
    GET
  • Fiscalise
    POST
  • Preview Invoice
    POST
  • Issue CreditNote
    POST
  • Register EFRIS Product
    POST
  • Get Units Of Measure
    GET
  • Increase Stock
    POST
  • EFRIS Invoice Report
    POST
  • Invoice Details
    GET
  • Get Saved Items List
    GET
  • Get Master Data
    GET
  • Reduce stock
    POST
  1. EFRIS API

Update AES Key

POST
/efris/update-aes-key

Update AES Key#

This endpoint allows users to update the AES encryption key in the system. It is essential for maintaining the security of encrypted data by ensuring that the encryption key can be rotated or changed as needed.

Request Format#

Method: POST
Endpoint: {{baseUrl}}/efris/update-aes-key
Content-Type: application/x-www-form-urlencoded

Request Body Parameters#

The request body should be formatted as x-www-form-urlencoded and must include the following parameters:
key (text): The new AES key that will be used for encryption. This key should meet the security requirements defined by the system.
userId (text): The identifier of the user requesting the key update. This is used for authorization and tracking purposes.

Response Structure#

Upon successful execution of the request, the response will contain the following structure:
status (string): Indicates the success or failure of the operation (e.g., "success" or "error").
message (string): A descriptive message providing additional information about the operation's outcome.
timestamp (string): The time at which the operation was processed.

Example Response#

{
  "status": "success",
  "message": "AES key updated successfully.",
  "timestamp": "2023-10-01T12:00:00Z"
}
Ensure that all required parameters are included in the request body to avoid errors during processing.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://auth.efris.kakasa.xyz/api/v1/efris/update-aes-key' \
--header 'Authorization: Bearer <token>'
Response Response Example
{}
Previous
Get Current Taxpayer Details
Next
Get Efris Stock Items
Built with