@idaoud @Ankit_Tiwari @psinclair
We encountered a “409 - Duplicate-Invoice” error with some invoices after initially receiving a “504 Gateway Timeout” response once or twice for each affected invoice.
Below is the submission log for one of the invoices:
[2024-11-03 19:55:19.299 +03:00 INF] First submission attempt
[2024-11-03 19:56:19.437 +03:00 INF] Status code: GatewayTimeout
Response:
<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>
[2024-11-03 19:56:19.454 +03:00 INF] Second submission attempt
[2024-11-03 19:57:19.620 +03:00 INF] Status code: GatewayTimeout
Response:
<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>
[2024-11-03 19:57:19.637 +03:00 INF] Third submission attempt
[2024-11-03 19:57:19.983 +03:00 INF] Status code: Conflict
{
"validationResults": {
"infoMessages": [],
"warningMessages": [],
"errorMessages": [
{
"type": "ERROR",
"code": "Invoice-Errors",
"category": "Duplicate-Invoice",
"message": "Invoice Hash Previously Submitted",
"status": "ERROR"
}
],
"status": "ERROR"
},
"reportingStatus": "NOT_REPORTED"
}
In these cases, we do not receive a response indicating successful processing, so we’re unable to confirm the status of the invoices. Could you please advise on how we can track the status in such situations?