A journal asked to reverse in the next period that cannot be: only a journal entry (source 3) posted Open can be reversed. 422. Nothing is posted.
OPDC API error code
REVERSAL_NOT_ALLOWED
HTTP status 422
The API answers with a problem document (RFC 9457) whose type is https://twinn.engineering/errors/reversal-not-allowed, and with X-Error-Code: REVERSAL_NOT_ALLOWED. Branch on the code, never on the detail text.