Troubleshooting
“Test connection” fails
Section titled ““Test connection” fails”- Check the mode: the test key only works in test mode and the live key only in live mode.
- “The API key belongs to tax number …, not to the number entered here”: enter the VKN or TCKN of the company the key was created for.
- Check for spaces before or after the key.
- The Log tab shows Nilvera’s answer (masked). 401 or 403 means the key is wrong, revoked, expired or lacks the scope of the e-Fatura / e-Arsiv API.
- Your server must be able to reach Nilvera over HTTPS (outgoing port 443) and have a current CA bundle.
Nothing happens after an order changes status
Section titled “Nothing happens after an order changes status”- Check Settings > General > Enable and the “Issue the invoice when the order status becomes” setting.
- Check the license status bar on the add-on pages.
- Open Jobs: queued jobs wait for cron. If the counts never change, the cron job is not running; run the command from the settings page by hand once.
- (Multi-Vendor) in owner mode vendor parts of an order get no invoice of their own; in vendor mode the parent order gets none.
An invoice is in “Error”
Section titled “An invoice is in “Error””The reason is shown on the order tab and in the list. Common causes:
| Message | What to do |
|---|---|
| “Enter the e-Fatura (or e-Arsiv) series code on the Connection page” | Enter the series and click Send again. |
| “Seri Firmaya Tanimli Degil” (Nilvera, code 3009) | The series does not exist in your Nilvera account: create it there or change the code. |
| “The order has lines without VAT. Enter the VAT exemption reason code” | Enter the exemption code in the settings. |
| “VAT rate x% is not valid for a new invoice” | Valid rates are 0, 1, 10 and 20. Check the store’s tax rates. |
| “does not add up to the order total” | A discount, fee or tax of the order cannot be mapped; check the order’s taxes. Fixed-amount taxes are not supported. |
| “not a valid VKN (10 digits) or TCKN (11 digits)” | Correct the buyer’s number on the order page (create the invoice by hand with the right number). |
| “public-sector taxpayer … KAMU” | The buyer needs the KAMU scenario, which this version does not issue. Issue the invoice in the Nilvera portal. |
| “Invoices are issued in TRY” | Make TRY the primary currency or add TRY as a currency of the store. |
| Nilvera error with a number (400, 404, 409, 422) | See the “Error Codes” page of the Nilvera documentation; the text is shown as Nilvera sent it. |
Fix the cause and press Send again. The invoice keeps its UUID, so an invoice that did reach Nilvera is recognised and never issued twice.
An invoice is “Rejected”
Section titled “An invoice is “Rejected””Nilvera, GIB or the buyer (TICARIFATURA) rejected it; the reason is shown. Press Issue a new invoice: the rejected document stays as a record and a new invoice is created and sent.
A cancellation was refused
Section titled “A cancellation was refused”The cancellation period of an e-Arsiv invoice is decided by Nilvera and GIB. Document a consumer return with a gider pusulasi issued by you and record it with “Record a return or cancellation” (see Usage).
The PDF link does not work
Section titled “The PDF link does not work”The invoice needs a number first (status Sent or Accepted). If Nilvera cannot be reached the link answers “not available right now”; try again later.
The cron address answers “Forbidden”
Section titled “The cron address answers “Forbidden””The key in the address is wrong. Copy the address again from the settings page.
Still stuck
Section titled “Still stuck”Contact us through https://cs-cart.kaviolabs.com with the add-on version, the CS-Cart version and the relevant log lines (the key is masked automatically).