| HTTP | Meaning | Next step |
|---|---|---|
200 | The details are returned. | — |
400, 401, 422, 500 | The request is rejected. | See «Errors» below. |
error_description; error_code is returned for 401, 422 and for the 400 errors that have a code below.| HTTP | error_code | When | What to do |
|---|---|---|---|
400 | 3001 | The invoice is not found. | Check id. |
401 | 9998 | The signature is invalid. | Check the signature: see Overview. |
422 | 9403 | The X-JWS-Signature header is missing. | Pass the signature. |
500 | — | id is not passed or is not a UUID. | Fix the request. |