Error codes / 306
EFRIS error 306 — a credit note already exists against that invoice
URA already holds one or more credit notes against the original invoice. Cancel the existing credit note before issuing another, or credit against a different invoice.
What it actually means
EFRIS tracks credit notes against the original fiscal document, and will not accept a second application while an earlier one stands. The message reads: Credit note(s) have already been issued against this invoice. Please cancel the existing credit note(s) to proceed.
The fix
Query the existing applications, then either cancel the outstanding one (T114 for an issued note, T120 for an application not yet approved) or confirm that the credit you intended has in fact already been recorded — a duplicate submission after a lost response is a common cause.
# What is already outstanding against the original invoice?
applications = client.query_credit_note_applications(
ori_invoice_no="323000000042",
)
# Not yet approved -> void the application
client.void_credit_debit_note_application(
business_key="229700709531101368",
reference_no="425502528294126235",
)
Why this happens
Before raising a credit note, check what remains creditable on the original invoice with T186. It returns the remaining quantity and value per line, which also prevents errors 1434 and 1460.
Related
- Error 1462 — A credit note must mirror the original line's excise fields
- Error 2831 — The excise taxDetails group needs a taxRateName
- All EFRIS error codes
The EFRIS API Kit handles this case already — it is one of the rejections the library was calibrated against. This page stays free either way.