WHEN THE ANSWER GETS LOST ArcaSim · .NET 8 · SOAP · PostgreSQL 1The next numberNumbering runs per point of sale and type: before asking for the CAE, the clientasks which was the last one.2Asks for the CAE of 42Voucher 42 goes out with its amounts, its receiver and its VAT condition.3The answer never arrivesARCA granted the CAE and stored 42, but the connection dropped before the answer.The client does not know whether it went through.4No blind retryARCA is not idempotent: the same request again answers 10016, because 42 isalready issued.5Ask before retryingArca.Client looks up 42 with FECompConsultar, as ARCA's manual prescribes forcommunication errors.6The CAE, recovered42 exists with the same amounts and receiver: the invoice is approved with itsCAE, nothing duplicated. BillingArca.ClientWSFEv1ArcaSim or ARCAVouchersauthorizedlast?last 41 → next 424242 · CAEconnection dropped42 authorized42 again10016: not the next oneFECompConsultar 4242?CAE of 42approved · recovered With the real ARCA this is almost impossible to cause. ArcaSim does it on demand: it grants the CAE and drops theconnection before answering.