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

Credit note return codes

Credit Note Return Codes are returned during credit note creation, validation, approval, cancellation, and retrieval operations.
These codes typically occur when a credit note references an invalid invoice, violates EFRIS business rules, or conflicts with an existing credit note or debit note.
Kumusoft Validation Layer
The Kumusoft EFRIS API performs extensive validation before submitting credit note requests to EFRIS. As a result, many validation errors documented in this section may never be encountered during normal API usage.
This reference is provided primarily for troubleshooting, diagnostics, support investigations, and understanding responses returned directly by the underlying EFRIS platform.
Whenever possible, validation errors are detected and reported by the Kumusoft platform before the request is submitted to EFRIS.

Credit Note Codes Summary#

Code RangeDescription
300 - 319Credit Note and Debit Note processing errors

Credit Note Return Codes#

CodeDescriptionExplanation
300The original invoice number does not existThe invoice referenced by the credit note could not be found.
301The original invoice number has not been completedThe referenced invoice has not yet completed processing.
303Update failedEFRIS was unable to update the credit note record.
304According to the original invoice number, the result is nullNo invoice matching the supplied invoice number was found.
305Invoice approval failedEFRIS was unable to approve the credit note request.
306A credit note has already been issued against this invoice. Please cancel the existing credit note to proceedA credit note already exists for the referenced invoice.
307Get process template is emptyRequired EFRIS workflow configuration could not be found.
308Approval failedThe approval process failed.
309Items cannot be emptyAt least one item is required in the credit note.
310The data cannot be voidedThe transaction cannot be voided.
311BusinessKey does not existThe referenced business key could not be found.
312Cannot apply for credit note/debit note, the fiscal document has exceeded the allowable application daysThe correction period for the invoice has expired.
313The application has been voidedThe application has already been voided.
314The application cannot be voided for initiated sub process, please contact URAProcessing has already started and the request cannot be cancelled.
315Successfully OperatedOperation completed successfully.
316Seller does not have taxpayer accountThe seller is not registered as a taxpayer.
317A debit note has already been issued against this invoice. Please cancel the existing debit note to proceedA debit note already exists for the referenced invoice.
318The debit note has a cancellation request in process, please don't apply repeatedlyDebit note cancellation is already in progress.
319The credit note has been cancelled, please don't apply repeatedlyThe credit note has already been cancelled.

Commonly Encountered Codes#

The following codes are the most frequently encountered during credit note processing.

Code 300 - Original Invoice Number Does Not Exist#

Cause#

The referenced invoice could not be found in EFRIS.

Resolution#

Verify the invoice number.
Confirm that the invoice was successfully submitted.
Retrieve the invoice before creating the credit note.

Code 301 - Original Invoice Not Completed#

Cause#

The invoice is still being processed by EFRIS.

Resolution#

Wait for invoice processing to complete.
Retry the credit note request later.

Code 306 - Credit Note Already Exists#

Cause#

A credit note has already been issued for the invoice.

Resolution#

Retrieve existing credit notes before creating a new one.
Cancel the existing credit note if appropriate.

Code 312 - Application Period Expired#

Cause#

The invoice exceeds the maximum correction period permitted by EFRIS.

Resolution#

Verify the invoice issue date.
Confirm that the correction period has not expired.

Code 317 - Debit Note Already Exists#

Cause#

A debit note already exists against the referenced invoice.

Resolution#

Review existing debit notes before creating a credit note.
Resolve any outstanding debit note processes.

Best Practices#

Always verify that the original invoice exists before creating a credit note.
Ensure the original invoice has completed processing.
Check for existing credit notes before creating a new one.
Create credit notes as soon as a correction is identified to avoid exceeding the allowable correction period.
Retain the original invoice number for audit and reconciliation purposes.

Related Documentation#

Credit Notes
Invoice Return Codes
Taxpayer Return Codes
General System Return Codes
Return Codes Overview
Note: Credit note validation rules are enforced by EFRIS. The Kumusoft EFRIS API performs additional validation to reduce common submission errors, but EFRIS remains the final authority for credit note processing and approval.
Previous
Invoice return codes
Next
Stock management return codes
Built with