ItinerarySpendSummary Data Type

A summary of the total cash spent on an invoice, group-able by month and year.

Properties
name data type constraints description
railTotal number  
tourTotal number  
cruiseTotal number  
insuranceTotal number  
busTotal number  
airTotal number  
hotelTotal number  
carTotal number  
miscTotal number  
month number  
year number  
feeTotal number  
invoice Invoice required
Properties inherited from BaseHibernateEntity
id number   The unique internal ID of the object.
version number   For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from BaseEntity
violations array of SimpleViolation   A list of constraint violations, if any, that this object has.

Example

{
  "railTotal" : 12345.0,
  "tourTotal" : 12345.0,
  "cruiseTotal" : 12345.0,
  "insuranceTotal" : 12345.0,
  "busTotal" : 12345.0,
  "airTotal" : 12345.0,
  "hotelTotal" : 12345.0,
  "carTotal" : 12345.0,
  "miscTotal" : 12345.0,
  "month" : 12345,
  "year" : 12345,
  "feeTotal" : 12345.0,
  "invoice" : {
    "itinerary" : {
      "recordLocator" : "...",
      "agentName" : "...",
      "client" : { },
      "office" : { },
      "departureDate" : 12345,
      "completionDate" : 12345,
      "importDate" : 12345,
      "gds" : { },
      "latest" : true,
      "citySummary" : "...",
      "departureCity" : { },
      "arrivalCity" : { },
      "arrivalDate" : 12345,
      "utcArrivalDate" : 12345,
      "startDate" : 12345,
      "endDate" : 12345,
      "purpose" : "...",
      "explanation" : "...",
      "authorizationCode" : "...",
      "costCenterCode" : "...",
      "departmentCode" : "...",
      "clientCode" : "...",
      "regionCode" : "...",
      "billable" : "...",
      "travelerCode" : "...",
      "managerCode" : "...",
      "projectCode" : "...",
      "status" : { },
      "observers" : [ { }, { } ],
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "number" : "...",
    "reservations" : [ {
      "ticketNumber" : "...",
      "issueDate" : 12345,
      "electronic" : true,
      "type" : { },
      "status" : { },
      "payments" : [ { }, { } ],
      "hidden" : true,
      "passengerName" : "...",
      "totalAmount" : 12345.0,
      "baseAmount" : 12345.0,
      "taxes" : [ { }, { } ],
      "vendor" : "...",
      "addCollect" : 12345.0,
      "commissionAmount" : 12345.0,
      "refundable" : true,
      "exchangedTicketNumber" : "...",
      "fareCalculation" : "...",
      "endorsement" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    }, {
      "ticketNumber" : "...",
      "issueDate" : 12345,
      "electronic" : true,
      "type" : { },
      "status" : { },
      "payments" : [ { }, { } ],
      "hidden" : true,
      "passengerName" : "...",
      "totalAmount" : 12345.0,
      "baseAmount" : 12345.0,
      "taxes" : [ { }, { } ],
      "vendor" : "...",
      "addCollect" : 12345.0,
      "commissionAmount" : 12345.0,
      "refundable" : true,
      "exchangedTicketNumber" : "...",
      "fareCalculation" : "...",
      "endorsement" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    } ],
    "lowFare" : 12345.0,
    "highFare" : 12345.0,
    "agent" : {
      "user" : { },
      "agentCode" : "...",
      "office" : { },
      "workEmail" : "...",
      "active" : "...",
      "type" : "...",
      "emailList" : "...",
      "category" : "...",
      "directLine" : "...",
      "hours" : "...",
      "onlineAgent" : true,
      "recheckEmails" : true,
      "serviceFeesPct" : 12345.0,
      "otherServiceFeesPct" : 12345.0,
      "internationalAirCommissionPct" : 12345.0,
      "miscCommissionPct" : 12345.0,
      "airCommissionPct" : 12345.0,
      "hotelCommissionPct" : 12345.0,
      "carCommissionPct" : 12345.0,
      "employeeType" : { },
      "ticketingAgent" : true,
      "supportAgent" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "airJustification" : {
      "code" : "...",
      "description" : "...",
      "bcdCode" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "hotelJustification" : {
      "code" : "...",
      "description" : "...",
      "allowsHotelAttachment" : true,
      "bcdCode" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "carJustification" : {
      "code" : "...",
      "description" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "feeJustification" : {
      "code" : "...",
      "description" : "...",
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "assistingAgent" : {
      "user" : { },
      "agentCode" : "...",
      "office" : { },
      "workEmail" : "...",
      "active" : "...",
      "type" : "...",
      "emailList" : "...",
      "category" : "...",
      "directLine" : "...",
      "hours" : "...",
      "onlineAgent" : true,
      "recheckEmails" : true,
      "serviceFeesPct" : 12345.0,
      "otherServiceFeesPct" : 12345.0,
      "internationalAirCommissionPct" : 12345.0,
      "miscCommissionPct" : 12345.0,
      "airCommissionPct" : 12345.0,
      "hotelCommissionPct" : 12345.0,
      "carCommissionPct" : 12345.0,
      "employeeType" : { },
      "ticketingAgent" : true,
      "supportAgent" : true,
      "id" : 12345,
      "version" : 12345,
      "violations" : [ { }, { } ]
    },
    "issueDate" : 12345,
    "id" : 12345,
    "version" : 12345,
    "violations" : [ {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    }, {
      "propertyName" : "...",
      "failureMessage" : "...",
      "stackTrace" : "..."
    } ]
  },
  "id" : 12345,
  "version" : 12345,
  "violations" : [ {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  }, {
    "propertyName" : "...",
    "failureMessage" : "...",
    "stackTrace" : "..."
  } ]
}