ExpensesFromGuest

Structure

FieldTypeRequiredDescription
reservationRoomStayGuestReservationRoomStayGuesttrueGuest related to this data
invoiceStringtrueSerie + invoice number
totalAccommodationRevenueBigDecimaltrue
totalServiceRevenueBigDecimaltrue
totalRevenueBigDecimaltrue
totalAccommodationRevenueBeforeTaxBigDecimaltrue
totalServiceRevenueBeforeTaxBigDecimaltrue
totalRevenueBeforeTaxBigDecimaltrue
totalAccommodationRevenueAfterLoyaltyBigDecimaltrue
totalServiceRevenueAfterLoyaltyBigDecimaltrue
totalRevenueAfterLoyaltyBigDecimaltrue
totalAccommodationRevenueBeforeTaxAfterLoyaltyBigDecimaltrue
totalServiceRevenueBeforeTaxAfterLoyaltyBigDecimaltrue
totalRevenueBeforeTaxAfterLoyaltyBigDecimaltrue

JSON representation

{
	"reservationRoomStayGuest": {
		"id": 345,
		"documentType": {
			"id": 2,
			"code": "P",
			"name": "Passport",
			"nameI18n": "Passport"
		},
		"documentNumber": "nAlGytkN",
		"givenName": "Tammy",
		"surName": "Daphnée",
		"secondSurName": "Nguyen",
		"genderType": {
			"id": 2,
			"code": "F",
			"name": "Female",
			"nameI18n": "Female"
		},
		"birthDate": "2003-06-11",
		"birthCountryCode": "KI",
		"birthPlace": "Spokane",
		"effectiveDate": "2020-06-11",
		"expireDate": "2023-06-11",
		"street": "07347 Loeprich Pass",
		"city": "Spokane",
		"stateProvName": "Washington",
		"stateProvCode": null,
		"countryCode": "KI",
		"postalCode": "99205",
		"nationalityCountryCode": "KI",
		"countryOfIssuanceCode": "KI",
		"ocr": null,
		"email": "mreed59@dyndns.org",
		"phoneNumber": "1-(509)515-9095",
		"allowMarketing": null,
		"allowThirdParty": null,
		"language": null
	},
	"invoice": "IN279",
	"totalAccommodationRevenue": 287.100000,
	"totalServiceRevenue": 26.000000,
	"totalRevenue": 313.100000,
	"totalAccommodationRevenueBeforeTax": 261.000000,
	"totalServiceRevenueBeforeTax": 23.636364,
	"totalRevenueBeforeTax": 284.636364,
	"totalAccommodationRevenueAfterLoyalty": 287.100000,
	"totalServiceRevenueAfterLoyalty": 26.000000,
	"totalRevenueAfterLoyalty": 313.100000,
	"totalAccommodationRevenueBeforeTaxAfterLoyalty": 261.000000,
	"totalServiceRevenueBeforeTaxAfterLoyalty": 23.636364,
	"totalRevenueBeforeTaxAfterLoyalty": 284.636364
}