Three lines

Uber

Developers

GetReceipt

POST/v1/rides/get-receipt

Description

Fetches the receipt of the trip as per the order id in request.

Request Parameters

Name Type Description Required
context ThirdPartyRequestContext Context of this request Y
order_id string The id of the Order Y

Response Parameters

Name Type Description Required
order_id string The id of the Order Y
order_info OrderInfo Type, status, product and request time of the order Y
entities array<OrderEntity> Users and organizations involved in the order that your application has access to Y
fulfillment_info FulfillmentInfo How the order was fulfilled Y
fare_info FareInfo Total amount and fare breakdown of the order Y
payment_info PaymentInfo Charges per entity and the transactions of your organizations Y

Sample Request

{
  "context": {
    "trace_id": "6b0f3c2e-8a3d-4a5e-9f0c-2b7d1e4a9c11",
    "timestamp": "1762770000000"
  },
  "order_id": "a1b2c3d4-0000-4000-8000-000000000001"
}

Sample Response

{
  "order_id": "a1b2c3d4-0000-4000-8000-000000000001",
  "order_info": {
    "order_type": "RIDES",
    "status": "COMPLETED",
    "product_name": "Comfort",
    "request_time": {
      "timestamp_utc": "2026-10-27T23:35:02.000Z",
      "timestamp_local": "2026-10-28T00:35:02.000+01:00"
    },
    "timezone": "Europe/Madrid"
  },
  "entities": [
    {
      "entity_id": "5f1e2d3c-0000-4000-8000-0000000000aa",
      "entity_type": "CUSTOMER_TYPE_USER",
      "roles": ["REQUESTER", "CONSUMER"],
      "user": {
        "email": "rider@example.com",
        "organization_id": "0e9d8c7b-0000-4000-8000-0000000000bb"
      }
    },
    {
      "entity_id": "0e9d8c7b-0000-4000-8000-0000000000bb",
      "entity_type": "CUSTOMER_TYPE_ORGANIZATION",
      "roles": ["PAYER", "CONSUMER"],
      "organization": {
        "name": "Example Corp"
      }
    }
  ],
  "fulfillment_info": {
    "transport_details": {
      "duration": {
        "number": 533,
        "unit": "TEMPORAL_UNIT_SECOND"
      },
      "distance": {
        "number": 3.78,
        "unit": "DISTANCE_UNIT_MILES"
      },
      "pickup_location": {
        "address": "Terminal 2, Madrid-Barajas Airport (MAD), 28042 Madrid, ES",
        "city": "Madrid",
        "state": "MD",
        "country": "ES",
        "point": {
          "latitude": 40.467785,
          "longitude": -3.5692074
        }
      },
      "dropoff_location": {
        "address": "C. Piragua, 1, Barajas, 28042 Madrid, ES",
        "city": "Madrid",
        "state": "MD",
        "country": "ES",
        "point": {
          "latitude": 40.451534,
          "longitude": -3.5927775
        }
      },
      "pickup_time": {
        "timestamp_utc": "2026-10-27T23:41:30.000Z",
        "timestamp_local": "2026-10-28T00:41:30.000+01:00"
      },
      "dropoff_time": {
        "timestamp_utc": "2026-10-27T23:50:23.000Z",
        "timestamp_local": "2026-10-28T00:50:23.000+01:00"
      }
    }
  },
  "fare_info": {
    "total_amount": {
      "value": 2097000,
      "currency_code": "EUR"
    },
    "fare_items": [
      {
        "name": "Base Fare",
        "fare_type": "FARE",
        "amount": {
          "value": 1906000,
          "currency_code": "EUR"
        }
      },
      {
        "name": "VAT",
        "fare_type": "TAX",
        "amount": {
          "value": 191000,
          "currency_code": "EUR"
        }
      }
    ]
  },
  "payment_info": {
    "entity_fares": [
      {
        "charge_entity_type": "DRIVER",
        "entity_charges": [
          {
            "charge_type": "FARE",
            "amount": {
              "value": 1906000,
              "currency_code": "EUR"
            }
          },
          {
            "charge_type": "TAX",
            "amount": {
              "value": 191000,
              "currency_code": "EUR"
            }
          }
        ]
      },
      {
        "charge_entity_type": "UBER",
        "entity_charges": [
          {
            "charge_type": "FARE",
            "amount": {
              "value": 0,
              "currency_code": "EUR"
            }
          }
        ]
      }
    ],
    "transactions": [
      {
        "transaction_type": "FARE",
        "entity_id": "5f1e2d3c-0000-4000-8000-0000000000aa",
        "local_currency_amount": {
          "value": 2097000,
          "currency_code": "EUR"
        },
        "home_currency_amount": {
          "value": 2097000,
          "currency_code": "EUR"
        },
        "taxes": [
          {
            "name": "transport.tax.vat",
            "rate": "0.1",
            "rate_type": "IVA",
            "amount": {
              "value": 191000,
              "currency_code": "EUR"
            }
          }
        ],
        "payment_instrument": {
          "payment_instrument_type": "CARD",
          "card_details": {
            "network": "VISA",
            "last4": "1234"
          }
        },
        "transaction_receipt_pdf": "https://<signed-receipt-url>"
      }
    ]
  }
}

Errors

HTTP status Code Message
400 BAD_REQUEST Bad request
401 NOT_AUTHORIZED Caller not authorized to make this request
404 ENTITY_NOT_FOUND Entity not found
500 INTERNAL_SERVER_ERROR Internal server error

Uber

Developers
© 2026 Uber Technologies Inc.