{"openapi":"3.1.0","info":{"title":"Egencia Receipt API","version":"v1.0"},"servers":[{"url":"https://apis.egencia.com/openconnect/api","description":"Generated server url"}],"paths":{"/v1/receipts/{itemId}":{"get":{"description":"
Fetch receipt for a booking item
\nRequest Parameters
\n| \n Attribute\n | \n\n Type\n | \n\n Description\n | \n
|---|---|---|
| bookingId | \nString | \nId corresponding to the trips summary for which you want to fetch each booking item receipts | \n
| itemId | \nString | \nId corresponding to the booking item for which we want to fetch receipt | \n
Response Parameters in case of successful response
\nIn case of successful response receipt pdf will be send to the partner with 200 OK status
\nResponse Parameters in case of failure response
\n| \n Attribute\n | \n\n Type\n | \n\n Description\n | \n
|---|---|---|
| code | \nString | \nError code in case of receipt failure | \n
| message | \nString | \nError message in case of failure | \n
Below response with 404 Not Found Error HttpStatus
\n\n \n {\n \"error\": {\n \"code\": \"EGE-ER-OS-4010\",\n \"message\": \"Receipt is unavailable for this booking item.\"\n }\n }\n \n\n