Manual analysis
Who it is for: a PRRO Manager.
When it happens
A document with the status Unknown and the error code ManualAnalysis waits for a manual analysis. It happens when, after an attempt to resolve the document, the server points to another document under the same number or expects an unexpected number (Resolve a document).
Why it blocks the PRRO
Recording the outcome frees the PRRO for new documents: before it, the app does not know whether the receipt was registered. The message: "Document ... waits for a manual analysis: record its outcome (Accepted or Not Registered)".
How to record the outcome
For such a document the button "Record the Outcome" is available. It opens a prompt "Outcome of the manual analysis" where the manager chooses the outcome "Accepted" or "Not Registered". First the app asks the server about the local number of the document again (Check), and the outcome must agree with the answer:
Check of the local number |
Outcome Accepted | Outcome Not Registered |
|---|---|---|
| this document (the same UID) | recorded, with the fiscal number of the answer | refused: Accepted is recorded instead |
| another document (another UID) | refused | recorded: Unknown → Failed |
| not found (204) | refused | recorded: Unknown → Failed |
| no answer, or an answer without a UID | refused: try again | refused: try again |
So "Accepted" is recorded on the confirmation of the server, and "Not Registered" when the server returns another document or answers 204. This way every recorded outcome agrees with the answer of the server.
After the outcome is recorded
Both outcomes free the PRRO, write the final value of the invoice marker and take the counter from the fiscal server (the sync of the PRRO). If the sync fails, run it with the button (Test connection and sync). After "Not Registered" the invoice may get a new attempt.