Kumusoft Solutions
EFRIS API
EFRIS API
  1. ๐Ÿ” Authentication
  • ๐Ÿš€ 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
  1. ๐Ÿ” Authentication

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
Built with