What do the fields in the API response mean
- Code 201: Success, the invoice has been transmitted successfully
- Code 400: Bad Request, there is syntax error within json file according to the message
- Code 401: Unauthorized, the VAT number on the issuer doesn’t match with the APIKey that has been used to sending the json and you cannot be authenticated(bearer token)
- Code 408: Request Timeout, the IAPR service is down and cannot accept the transmitted documents
- Code 409: Conflict, this invoice has already been transmitted to our systems
- Code 500: Server Error, unexpected error in our systems
I cannot find the QRCode in the response
The qr can be generated by forming the url: domain/v/signature
It is the recommended solution as it has a much lower payload for the network, but the qr can also been sent. If there is no qr in the response, then the second method with the qr image transmission is not activated.
I cannot render the QR image
If there is no possibility to generate the qr, it can be sent at the response, but that increases the payload of the network
I failed to store the API response, how can I retrieve it
The retrievement of the API response can be achieved by sending again the POST method with the json.
What is the ratio/average for the times and duration of any outage happened to the portal or IAPR?
The portal is 99,99% uptime. For the IAPR, there are no accurate data, but from our experience, during the 2+ years, there were 3 downtimes in weekends, from which, the 2 of them have been preannounced by IAPR.