Kumusoft Solutions
EFRIS API
EFRIS API
๐ Authentication
Copy Page
๐ Getting started
๐ Authentication
Getting started
Calling Kumusoft APIs
API Keys
Generate auth Token
POST
๐งพ Invoicing
How to generate a Fiscal invoice
Generate fiscal invoice
POST
Preview fiscal invoice
POST
Search invoices
POST
Invoice detils
GET
๐ฆ Stock Management
All stock items
GET
Search stock items
POST
Reduce stock
POST
Increase stock
POST
Register stock item
POST
๐ Credit Notes
Issue credit note
POST
โ๏ธ Masterdata
Registration details
GET
Get Masterdata
GET
๐ Reference
Overview
Data Sources
Invoice Types
Tax Rules
Return Codes
Overview
General system return codes
Taxpayer return codes
Invoice return codes
Credit note return codes
Stock management return codes
Device return codes
Invoice industry codes
๐ Authentication
Copy Page
API Keys
API Keys identify your application when requesting OAuth access tokens.
They are used when calling:
POST /oauth/token
Example:
{
"grant_type"
:
"client_credentials"
,
"api_key"
:
"YOUR_API_KEY"
}
Security Guidelines
#
Always follow these practices:
โข Store API keys in environment variables
โข Never commit API keys to Git
โข Rotate keys periodically
โข Use different keys for production and testing
Example Environment Variable
#
Linux / macOS:
Node.js example:
Previous
Calling Kumusoft APIs
Next
Generate auth Token