A transaction for a single commission. There should be many of these to one statement.
| name | data type | description |
|---|---|---|
| type | ReservationType | The type of travel that this commission is paying for. |
| segmentNumber | number | The number of the segment that this commission is paying for in the invoice. |
| invoice | Invoice | The ID of the invoice that this commission is paying for. |
| vendorName | string | The name of the vendor that is paying the commission (through the TMC). |
| confirmationNumber | string | The identifying confirmation number of the commission. |
| travelerName | string | The name of the traveler that this commission is paying for. |
| ticketNumber | string | The ticket number of the ticket that this commission is paying for. |
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
{
"type" : {
"name" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"segmentNumber" : 12345,
"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,
"onsiteAgent" : 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,
"onsiteAgent" : true,
"id" : 12345,
"version" : 12345,
"violations" : [ { }, { } ]
},
"issueDate" : 12345,
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
},
"vendorName" : "...",
"confirmationNumber" : "...",
"travelerName" : "...",
"ticketNumber" : "...",
"id" : 12345,
"version" : 12345,
"violations" : [ {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
}, {
"propertyName" : "...",
"failureMessage" : "...",
"stackTrace" : "..."
} ]
}