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