Spend Documents v4 - Sample Receipts

Below are sample eReceipt payloads for each supported category. These represent the receipt part of the multipart/form-data POST request body.

General (Restaurant)

Receipt Data

{
  "metadata": {
    "userId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "companyId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "origin": "vendor",
    "provider": "vendor",
    "feature": "eReceipt",
    "category": "general"
  },
  "receiptData": {
    "transactionDateTime": "2026-05-12T19:15:00Z",
    "referenceNumber": "CHK-2026-0512-1234",
    "amount": {
      "total": "67.50",
      "currency": "USD",
      "subTotal": "62.00",
      "taxesTotal": "5.50"
    },
    "vendor": {
      "name": "The Italian Kitchen",
      "addressLine": "456 Restaurant Row",
      "city": "San Francisco",
      "state": "CA",
      "country": "US",
      "postalCode": "94102",
      "phone": "+1-415-555-7890"
    },
    "paymentTypes": [
      {
        "method": "Credit Card",
        "creditCard": {
          "type": "Visa",
          "lastFour": "5678"
        }
      }
    ],
    "lineItems": [
      {
        "description": "Caesar Salad",
        "quantity": "1",
        "unitPrice": "12.00",
        "amount": "12.00",
        "type": "Appetizer"
      },
      {
        "description": "Spaghetti Carbonara",
        "quantity": "1",
        "unitPrice": "24.00",
        "amount": "24.00",
        "type": "Entree"
      },
      {
        "description": "Grilled Salmon",
        "quantity": "1",
        "unitPrice": "28.00",
        "amount": "28.00",
        "type": "Entree"
      },
      {
        "description": "Beverages",
        "quantity": "2",
        "unitPrice": "4.00",
        "amount": "8.00",
        "type": "Beverage"
      }
    ],
    "taxes": [
      {
        "name": "Sales Tax",
        "amount": "5.50",
        "rate": 8.875,
        "rateType": "Standard",
        "authority": {
          "addressCountry": "US",
          "addressRegion": "CA"
        }
      }
    ]
  }
}

Ground Transport (Rideshare)

Receipt Data

{
  "metadata": {
    "userId": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "companyId": "d4e5f6a7-b8c9-0123-def0-234567890123",
    "origin": "vendor",
    "provider": "vendor",
    "feature": "eReceipt",
    "category": "groundTransport"
  },
  "receiptData": {
    "transactionDateTime": "2026-05-12T16:30:00Z",
    "referenceNumber": "RIDE-ABC123XYZ",
    "amount": {
      "total": "32.50",
      "currency": "USD",
      "subTotal": "28.00",
      "taxesTotal": "2.50",
      "discountsTotal": "2.00"
    },
    "vendor": {
      "name": "Uber",
      "country": "US"
    },
    "paymentTypes": [
      {
        "method": "Credit Card",
        "creditCard": {
          "type": "American Express",
          "lastFour": "9012"
        }
      }
    ],
    "tripDetails": {
      "startDate": "2026-05-12T16:15:00Z",
      "endDate": "2026-05-12T16:30:00Z",
      "source": {
        "name": "Financial District",
        "addressLine": "123 Market Street",
        "city": "San Francisco",
        "state": "CA",
        "country": "US",
        "postalCode": "94105"
      },
      "destination": {
        "name": "San Francisco International Airport",
        "addressLine": "Terminal 2",
        "city": "San Francisco",
        "state": "CA",
        "country": "US",
        "postalCode": "94128"
      },
      "rideDetails": {
        "driverNumber": "DRV-54321",
        "duration": "PT15M",
        "classOfService": "UberX",
        "distance": {
          "totalDistance": 14.2,
          "unit": "mi"
        }
      }
    },
    "taxes": [
      {
        "name": "City Tax",
        "amount": "2.50",
        "rate": 8.93
      }
    ],
    "discounts": [
      {
        "discountName": "New User Credit",
        "discountAmount": "2.00"
      }
    ]
  }
}

Lodge (Hotel)

Receipt Data

{
  "metadata": {
    "userId": "e5f6a7b8-c9d0-1234-ef01-345678901234",
    "companyId": "f6a7b8c9-d0e1-2345-f012-456789012345",
    "origin": "vendor",
    "provider": "vendor",
    "feature": "eReceipt",
    "category": "lodge"
  },
  "receiptData": {
    "transactionDateTime": "2026-05-15T10:00:00Z",
    "referenceNumber": "CONF-ABC123456",
    "amount": {
      "total": "950.00",
      "currency": "USD",
      "subTotal": "850.00",
      "taxesTotal": "100.00"
    },
    "vendor": {
      "name": "Grand Plaza Hotel",
      "addressLine": "789 Downtown Avenue",
      "city": "Chicago",
      "state": "IL",
      "country": "US",
      "postalCode": "60601",
      "phone": "+1-312-555-0100"
    },
    "paymentTypes": [
      {
        "method": "Company Paid",
        "companyPaid": {
          "source": "LodgeCard",
          "creditCard": {
            "type": "Corporate Amex",
            "lastFour": "3456"
          }
        }
      }
    ],
    "tripDetails": {
      "confirmationNumber": "CONF-ABC123456",
      "startDate": "2026-05-12T15:00:00-05:00",
      "endDate": "2026-05-15T11:00:00-05:00",
      "numberInParty": 1,
      "guests": [
        {
          "firstName": "John",
          "lastName": "Smith",
          "guestNameRecord": "REWARDS-987654"
        }
      ],
      "lodgeDetails": {
        "hotelProperty": {
          "name": "Grand Plaza Hotel",
          "addressLine": "789 Downtown Avenue",
          "city": "Chicago",
          "state": "IL",
          "country": "US",
          "postalCode": "60601"
        },
        "nightsStayed": "3",
        "room": {
          "roomNumber": "1523",
          "roomType": "Deluxe King",
          "ratePlanType": "Corporate Rate",
          "averageDailyRoomRate": "250.00"
        }
      }
    },
    "lineItems": [
      {
        "description": "Room Charge - Night 1",
        "date": "2026-05-12T00:00:00-05:00",
        "amount": "250.00",
        "type": "Room"
      },
      {
        "description": "Room Charge - Night 2",
        "date": "2026-05-13T00:00:00-05:00",
        "amount": "250.00",
        "type": "Room"
      },
      {
        "description": "Room Charge - Night 3",
        "date": "2026-05-14T00:00:00-05:00",
        "amount": "250.00",
        "type": "Room"
      },
      {
        "description": "Parking",
        "amount": "50.00",
        "type": "Parking"
      },
      {
        "description": "WiFi",
        "amount": "50.00",
        "type": "Internet"
      }
    ],
    "taxes": [
      {
        "name": "Hotel Occupancy Tax",
        "amount": "85.00",
        "rate": 10.0,
        "rateType": "Standard"
      },
      {
        "name": "City Tourism Tax",
        "amount": "15.00",
        "rate": 1.76,
        "rateType": "Standard"
      }
    ]
  }
}

Air Travel

Receipt Data

{
  "metadata": {
    "userId": "a7b8c9d0-e1f2-3456-a789-567890123456",
    "companyId": "b8c9d0e1-f2a3-4567-b890-678901234567",
    "origin": "vendor",
    "provider": "vendor",
    "feature": "eReceipt",
    "category": "air"
  },
  "receiptData": {
    "transactionDateTime": "2026-05-12T19:45:00Z",
    "referenceNumber": "TKT-0012345678901",
    "amount": {
      "total": "550.00",
      "currency": "USD",
      "subTotal": "450.00",
      "taxesTotal": "100.00"
    },
    "vendor": {
      "name": "United Airlines",
      "country": "US"
    },
    "paymentTypes": [
      {
        "method": "Credit Card",
        "creditCard": {
          "type": "Visa",
          "lastFour": "7890",
          "authorizationCode": "AUTH789012"
        }
      }
    ],
    "tripDetails": {
      "itineraryLocator": "ITIN-XYZ789",
      "confirmationNumber": "ABC123",
      "startDate": "2026-05-20T08:00:00-07:00",
      "endDate": "2026-05-20T19:30:00-04:00",
      "airDetails": {
        "bookingId": "BOOK-456789",
        "airTickets": [
          {
            "number": "0162345678901",
            "issueDateTime": "2026-05-12T19:45:00Z",
            "recordLocator": "ABC123",
            "pseudoCityCode": "SFO",
            "agencyName": "United.com",
            "passengerName": "SMITH/JANE",
            "comparisonFare": "550.00",
            "airCoupons": [
              {
                "couponNumber": "1",
                "originationAirportIATACode": "SFO",
                "originationDateTime": "2026-05-20T08:00:00-07:00",
                "destinationAirportIATACode": "ORD",
                "destinationDateTime": "2026-05-20T14:15:00-05:00",
                "flightNumber": "UA1234",
                "operatingAirlineCode": "UA",
                "marketingCarrier": "UA",
                "operatingCarrier": "UA",
                "classOfServiceCode": "Y",
                "fareBasisCode": "YCA7NWR",
                "fare": {
                  "amount": "225.00",
                  "currency": "USD"
                },
                "taxes": [
                  {
                    "name": "US Transportation Tax",
                    "amount": "16.88",
                    "rate": 7.5
                  },
                  {
                    "name": "Segment Fee",
                    "amount": "4.50"
                  }
                ]
              },
              {
                "couponNumber": "2",
                "originationAirportIATACode": "ORD",
                "originationDateTime": "2026-05-20T16:00:00-05:00",
                "destinationAirportIATACode": "JFK",
                "destinationDateTime": "2026-05-20T19:30:00-04:00",
                "flightNumber": "UA5678",
                "operatingAirlineCode": "UA",
                "marketingCarrier": "UA",
                "operatingCarrier": "UA",
                "classOfServiceCode": "Y",
                "fareBasisCode": "YCA7NWR",
                "fare": {
                  "amount": "225.00",
                  "currency": "USD"
                },
                "taxes": [
                  {
                    "name": "US Transportation Tax",
                    "amount": "16.88",
                    "rate": 7.5
                  },
                  {
                    "name": "Segment Fee",
                    "amount": "4.50"
                  },
                  {
                    "name": "September 11 Security Fee",
                    "amount": "5.60"
                  }
                ],
                "lineItems": [
                  {
                    "description": "Checked Bag",
                    "amount": "35.00",
                    "type": "Baggage Fee"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

Car Rental

Receipt Data

{
  "metadata": {
    "userId": "c9d0e1f2-a3b4-5678-c901-789012345678",
    "companyId": "d0e1f2a3-b4c5-6789-d012-890123456789",
    "origin": "vendor",
    "provider": "vendor",
    "feature": "eReceipt",
    "category": "carRental"
  },
  "receiptData": {
    "transactionDateTime": "2026-05-15T13:30:00Z",
    "referenceNumber": "RENT-2026-ABC123",
    "amount": {
      "total": "420.00",
      "currency": "USD",
      "subTotal": "375.00",
      "taxesTotal": "45.00"
    },
    "vendor": {
      "name": "Enterprise Rent-A-Car",
      "addressLine": "Airport Location",
      "city": "Boston",
      "state": "MA",
      "country": "US",
      "postalCode": "02128",
      "phone": "+1-617-555-3000"
    },
    "paymentTypes": [
      {
        "method": "Credit Card",
        "creditCard": {
          "type": "MasterCard",
          "lastFour": "4567"
        }
      }
    ],
    "tripDetails": {
      "confirmationNumber": "CONF-ENT456",
      "startDate": "2026-05-12T09:00:00-04:00",
      "endDate": "2026-05-15T13:00:00-04:00",
      "carRentalDetails": {
        "rentalDays": "3",
        "rentalAgreementNumber": "AGR-ENT456789",
        "averageDailyRate": "125.00",
        "fuelServiceCharge": "0.00",
        "driverName": "Jane Smith",
        "additionalDriver": false,
        "vehicle": {
          "description": "2026 Toyota Camry",
          "registrationNumber": "MA-XYZ123",
          "classReservedCode": "ICAR",
          "classRentedCode": "ICAR",
          "classChargedCode": "ICAR"
        },
        "distance": {
          "totalDistance": 456.8,
          "unit": "mi"
        },
        "odometerReadingOut": 32150,
        "odometerReadingIn": 32606.8
      }
    },
    "taxes": [
      {
        "name": "Vehicle Rental Tax",
        "amount": "30.00",
        "rate": 8.0
      },
      {
        "name": "Airport Concession Fee",
        "amount": "15.00"
      }
    ]
  }
}

Rail

Receipt Data

{
  "metadata": {
    "userId": "a3b4c5d6-e7f8-9012-a345-123456789012",
    "companyId": "b4c5d6e7-f8a9-0123-b456-234567890123",
    "origin": "vendor",
    "provider": "vendor",
    "feature": "eReceipt",
    "category": "rail"
  },
  "receiptData": {
    "transactionDateTime": "2026-05-12T17:30:00+02:00",
    "referenceNumber": "RAIL-TKT-789012",
    "amount": {
      "total": "145.50",
      "currency": "EUR",
      "subTotal": "120.00",
      "taxesTotal": "25.50"
    },
    "vendor": {
      "name": "Deutsche Bahn",
      "country": "DE"
    },
    "paymentTypes": [
      {
        "method": "Credit Card",
        "creditCard": {
          "type": "Visa",
          "lastFour": "8901"
        }
      }
    ],
    "tripDetails": {
      "confirmationNumber": "DB-CONF-789012",
      "startDate": "2026-05-18T10:00:00+02:00",
      "endDate": "2026-05-18T15:30:00+02:00",
      "railDetails": {
        "railTickets": [
          {
            "ticketNumber": "TKT-DB-001",
            "recordLocator": "RECL-DB001",
            "issueDateTime": "2026-05-12T17:30:00+02:00",
            "passengerName": "Smith, Robert",
            "fare": {
              "amount": "120.00",
              "currency": "EUR"
            },
            "segments": [
              {
                "departureStation": "Berlin Hauptbahnhof",
                "departureDateTime": "2026-05-18T10:00:00+02:00",
                "arrivalStation": "Frankfurt (Main) Hbf",
                "arrivalDateTime": "2026-05-18T14:15:00+02:00",
                "trainNumber": "ICE 1234",
                "trainType": "ICE",
                "classOfServiceCode": "2",
                "fare": {
                  "amount": "75.00",
                  "currency": "EUR"
                },
                "taxes": [
                  {
                    "name": "VAT",
                    "amount": "14.25",
                    "rate": 19.0,
                    "rateType": "Standard"
                  }
                ]
              },
              {
                "departureStation": "Frankfurt (Main) Hbf",
                "departureDateTime": "2026-05-18T14:30:00+02:00",
                "arrivalStation": "Paris Gare de l'Est",
                "arrivalDateTime": "2026-05-18T18:30:00+02:00",
                "trainNumber": "TGV 9456",
                "trainType": "TGV",
                "classOfServiceCode": "2",
                "fare": {
                  "amount": "45.00",
                  "currency": "EUR"
                },
                "taxes": [
                  {
                    "name": "VAT",
                    "amount": "11.25",
                    "rate": 20.0,
                    "rateType": "Standard"
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
}

On this page