Ocassionally Reporting API gives einvoice-kafka-publisher ERROR

Hi Team,

Occasionally, our reporting scheduler get a JAVA Error from ZATCA Reporting API. It seems an Internal Server error from ZATCA and we usually resubmit these invoices without any issues.

The API response will be like:

{
  "validationResults": {
    "infoMessages": [],
    "warningMessages": [],
    "errorMessages": [
      {
        "type": "ERROR",
        "code": null,
        "category": null,
        "message": "I/O error on POST request for \"http://einvoice-kafka-publisher:8083/invoices/publishPIH\": einvoice-kafka-publisher; nested exception is java.net.UnknownHostException: einvoice-kafka-publisher",
        "status": "ERROR"
      }
    ],
    "status": "ERROR"
  },
  "reportingStatus": "NOT_REPORTED"
}

Hope this response is useful for your debugging process. Let me know if you need any more info

Dear @pmohdameen,

Thank you for raising this, please note that this is a known issue & will be fixed in the future insha’Allah.

Our advice is always to re-submit such an invoices till got reported, so stick with your current process please and ignore it.

Thank you,

1 Like

Do we need to change ICV and UUID while re-submitting invoice for this case or can I use the same ICV and UUID ?

you don’t need to change anything, just try resubmitting the same invoice

1 Like