Kumusoft Solutions
EFRIS API
EFRIS API
  1. Return Codes
  • ๐Ÿš€ 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
  • โš™๏ธ Masterdata
    • Registration details
    • Get Masterdata
  • ๐Ÿ“‹ 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. Return Codes

General system return codes

General System Return Codes apply across all EFRIS operations and are not specific to a particular business process such as invoicing, credit notes, or stock management.
These codes typically indicate request validation failures, authentication issues, missing information, permission problems, or system-level errors.

Success Codes#

CodeDescriptionExplanation
00SUCCESSThe request was processed successfully.

General Error Codes#

CodeDescriptionExplanation
99Unknown errorAn unexpected system error occurred.
01Interface coding errorThe specified interface code is invalid or unsupported.
02White box encryption failedInternal EFRIS encryption failed.
03White box decryption failedInternal EFRIS decryption failed.
04Read white box errorEFRIS could not access its encryption components.
05AppID errorInvalid application identifier.
06The outer message is emptyNo request payload was supplied.
07GlobalInfo content cannot be emptyRequired request metadata is missing.
08Data content cannot be emptyRequest data is missing.
09ReturnStateInfo content cannot be emptyRequired return state information is missing.
10DataDescription content cannot be emptyData description information is missing.
11InterfaceCode cannot be emptyInterface code is required.
12UserName cannot be emptyUsername is required.
13TaxpayerID cannot be emptyTaxpayer ID is required.
14DeviceMAC cannot be emptyDevice MAC address is required.
15Unpacking data errorThe request payload could not be processed.
16AppID cannot be emptyApplication identifier is required.
17Version cannot be emptyClient version is required.
18DataExchangeId cannot be emptyData exchange identifier is required.
19RequestCode cannot be emptyRequest code is required.
20RequestTime cannot be emptyRequest timestamp is required.
21ResponseCode cannot be emptyResponse code is required.
22Currency cannot be emptyCurrency is required.
23Tax rate acquisition errorEFRIS could not retrieve tax rate information.
24The version cannot be longer than 15 charactersVersion exceeds the allowed length.
25DataExchangeId cannot be greater than 32 charactersData exchange identifier exceeds the allowed length.
26RequestCode errorInvalid request code supplied.
27ResponseCode errorInvalid response code supplied.
28The difference between RequestTime and the current time is greater than ten minutesRequest timestamp falls outside the allowed time window.
29DeviceMAC cannot be greater than 25 charactersDevice MAC address exceeds the allowed length.
30AppID errorInvalid application identifier.
31RequestTime time format errorRequest timestamp format is invalid.
32Version is too low, please upgrade versionClient version is no longer supported.
33Version errorInvalid version supplied.
34Longitude cannot be emptyLongitude is required.
35Longitude cannot be greater than 60 charactersLongitude exceeds the allowed length.
36Latitude cannot be emptyLatitude is required.
37Latitude cannot be greater than 60 charactersLatitude exceeds the allowed length.
38Signature value is invalidRequest signature validation failed.
39Signature value cannot be emptyRequest signature is missing.
40Insufficient permissionsThe authenticated user does not have permission to perform the requested operation.
41Item does not existThe specified item could not be found.
42Please register for e-Invoicing firstThe taxpayer is not enrolled for EFRIS e-Invoicing.
43Outer packet json format is invalidRequest JSON structure is invalid.
44Taxpayer branch has been removedThe referenced branch is no longer active.
45Partial failureSome operations completed successfully while others failed.
46Database errorAn internal database error occurred.

Commonly Encountered Codes#

The following codes are frequently encountered during integrations:
CodeTypical Cause
22Currency not supplied
28Invalid or expired request timestamp
38Invalid authentication signature
40Insufficient permissions
42Taxpayer not registered for e-Invoicing
43Invalid JSON request payload
45Partial processing failure
99Unexpected EFRIS error

Troubleshooting#

Code 22 - Currency Cannot Be Empty#

Ensure a valid currency code is supplied in the request.

Code 28 - Request Time Difference Exceeds Ten Minutes#

Verify that your server clock is synchronized correctly and that request timestamps are generated at the time of submission.

Code 38 - Signature Value Is Invalid#

Verify that:
The API Key is correct.
The API Secret is correct.
The access token has not expired.

Code 40 - Insufficient Permissions#

Ensure that the authenticated account has access to the requested operation.

Code 42 - Please Register For e-Invoicing First#

The taxpayer must complete EFRIS registration before invoices can be submitted.

Code 43 - Outer Packet JSON Format Is Invalid#

Verify that the request body contains valid JSON and conforms to the documented request schema.

Related Documentation#

Taxpayer Return Codes
Invoice Return Codes
Credit Note Return Codes
Stock Management Return Codes
Authentication
Registration Details
Previous
Overview
Next
Taxpayer return codes
Built with