openapi: 3.2.0 info: title: Amex Gbt Receipts API version: '1.0' description: 'Operations tagged receipts across 2 of this provider''s published API definitions: amex-gbt-receipt-api-openapi.json, amex-gbt-service-openconnect-openapi.json. Each path carries the servers of the definition it was published in.' servers: - url: https://apis.egencia.com/openconnect/api description: Generated server url tags: - name: receipts 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