Gets all of the expense items on a claim for the current user.
Name | Description | Additional information |
---|---|---|
claimId | The claim to get the expense items for. |
Define this parameter in the request URI. |
{ "DisplayFields": [], "List": [ { "ExpenseItem": { "Id": 0, "ReferenceNumber": "Ref234234", "ExpenseSubCategoryId": 2123, "ExpenseSubCategoryDescription": null, "ParentId": 10, "SplitItems": null, "ClaimId": 1223, "ClaimReasonId": 1, "ClaimReasonInfo": "Claim Reason", "CurrencyId": 1, "CurrencySymbol": "£", "CountryId": 1, "ItemType": 1, "Date": "2014-12-25T00:00:00", "PrimaryItem": true, "Returned": true, "DisputeNotes": "Dispute Note", "TempAllow": false, "Corrected": false, "ItemCheckerId": null, "ItemCheckerTeamId": null, "FloatId": 1, "AdvanceDescription": null, "TransactionId": 0, "Quantity": 1.0, "Net": 100.0, "VAT": 10.0, "Total": 100.0, "AmountPayable": 100.0, "VATNumber": "VAT34245", "AccountCode": "Acc1637", "BaseCurrency": 1, "BaseCurrencyGlobal": 1, "ForeignVAT": 10.0, "ExchangeRate": 1.0, "ExchangeRateGlobal": 2.0, "ConvertedTotal": 10.0, "GrandTotal": 50.0, "GlobalTotal": 100.0, "GrandTotalGlobal": 20.0, "GrandTotalConverted": 0.0, "GrandTotalNet": 10.0, "GrandTotalVAT": 10.0, "GrandTotalAmountPayable": 20.0, "GrandTotalOther": 1, "GrandTotalRemoteWorkers": 2, "GrandTotalPersonalGuests": 5, "UserSaysHasReceipts": true, "NormalReceipt": true, "ReceiptAttached": true, "CarId": 1, "VehicleDescription": null, "MileageId": 1, "JourneySteps": null, "DistanceUom": 0, "HomeToOfficeDeductionMethod": 1, "NumPassengers": 2, "Miles": 50.0, "MileageBusiness": 1.0, "MileagePersonal": 10.0, "FuelLitresPersonal": 2, "FuelLitresBusiness": 1, "Attendees": "staff", "NumStaff": 10, "NumDirectors": 3, "NumPersonalGuests": 3, "NumRemoteWorkers": 5, "NumOthers": 1, "EventInHomeCity": false, "Tip": 10.0, "NumRooms": 1, "NumNights": 1, "HotelId": 1, "HotelName": "California", "Reason": "Expense Reason", "Notes": "Notes", "CompanyId": 1, "CompanyName": "Dummy Company", "FromId": 1, "FromDescription": null, "ToId": 1, "ToDescription": null, "AllowanceId": 1, "AllowanceStartDate": "2014-12-25T00:00:00", "AllowanceEndDate": "2014-12-25T00:00:00", "AllowanceDeduction": 1.0, "CostCentreBreakdowns": null, "Flags": null, "BlockedFlags": null, "UserDefined": null, "AddedAsMobileExpense": true, "ESRAssignmentId": 1, "ESRAssignmentDescription": null, "ValidationProgress": 10, "ValidationResults": null, "Edited": false, "Paid": false, "OriginalExpenseId": 10, "BankAccountId": 1, "OperatorValidationProgress": 0, "ExpenseActionOutcome": 0, "MobileMetricDeviceId": null, "WalletReceiptId": 0 }, "Subcat": { "SubCatId": 0, "ParentCategoryId": 0, "SubCat": "Long", "Description": "Description", "AllowanceAmount": 10.0, "AccountCode": "Code", "AddAsNet": true, "PdCatId": 0, "CalculationType": 4, "Comment": "Comment", "Reimbursable": true, "AlternateAccountCode": "Alt", "ShortSubCategory": "Short", "VatApplicable": true, "VatReceipt": false, "VatRates": [ { "VatRateId": 0, "SubCatId": 0, "VatAmount": 100.0, "VatReceipt": true, "VatLimitWithout": 100.0, "VatLimitWith": 100.0, "VatPercent": 100, "RangeType": 2, "DateValue1": "2012-01-01T00:00:00", "DateValue2": "2012-02-02T00:00:00" } ], "MileageApplicable": true, "StaffApplicable": true, "OthersApplicable": true, "TipApplicable": true, "TipLimit": null, "PersonalMilesApplicable": true, "BusinessMilesApplicable": true, "AttendeesApplicable": true, "EventInHomeApp": true, "ReceiptApplicable": true, "NoPersonalGuestApplicable": true, "PassengersApplicable": true, "NoPassengersApplicable": true, "PassengersNameApplicable": true, "SplitEntertainment": true, "EntertainmentId": 0, "NoNightsApplicable": true, "AttendeesMandatory": true, "NoDirectorsApplicable": true, "HotelApplicable": true, "NoRoomsApplicable": true, "HotelMandatory": true, "VatNumberApplicable": true, "VatNumberMandatory": true, "NoRemoteWorkersApplicable": true, "SplitPersonal": true, "SplitRemote": true, "PersonalId": 0, "RemoteId": 0, "ReasonApplicable": true, "OtherDetailsApplicable": true, "UserDefined": [], "FromApplicable": true, "ToApplicable": true, "Countries": null, "Allowances": [ 1287 ], "AssociatedUdfs": [ 2387 ], "Split": null, "CompanyApplicable": true, "EnableHomeToLocationMileage": true, "HomeToLocationType": 0, "MileageCategory": null, "IsRelocationMileage": true, "ReimbursableSubCatId": null, "AllowHeavyBulkyMileage": true, "HomeToOfficeAsZero": true, "StartDate": "2014-01-01T00:00:00", "EndDate": "2014-12-12T00:00:00", "Validate": false, "ValidationRequirements": null, "HomeToOfficeFixedMiles": null, "PublicTransportRate": null, "EnableDoc": false, "CurrencySymbol": null, "MaximumLimitWithoutReceipt": 0.0, "MaximumLimit": 0.0, "UserDefinedFields": [], "ValidDates": [], "ForcedFixedMileageDeduction": false, "NumberOfMiles": 0.0, "DailyDeductionItemId": 0 } } ], "ResponseInformation": null }
<ClaimExpenseItemsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Responses"> <ResponseInformation i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Common" /> <List xmlns:d2p1="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Types" xmlns="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Common"> <d2p1:ClaimExpenseItem> <d2p1:ExpenseItem> <d2p1:AccountCode>Acc1637</d2p1:AccountCode> <d2p1:AddedAsMobileExpense>true</d2p1:AddedAsMobileExpense> <d2p1:AdvanceDescription i:nil="true" /> <d2p1:AllowanceDeduction>1</d2p1:AllowanceDeduction> <d2p1:AllowanceEndDate>2014-12-25T00:00:00</d2p1:AllowanceEndDate> <d2p1:AllowanceId>1</d2p1:AllowanceId> <d2p1:AllowanceStartDate>2014-12-25T00:00:00</d2p1:AllowanceStartDate> <d2p1:AmountPayable>100</d2p1:AmountPayable> <d2p1:Attendees>staff</d2p1:Attendees> <d2p1:BankAccountId>1</d2p1:BankAccountId> <d2p1:BaseCurrency>1</d2p1:BaseCurrency> <d2p1:BaseCurrencyGlobal>1</d2p1:BaseCurrencyGlobal> <d2p1:BlockedFlags i:nil="true" /> <d2p1:CarId>1</d2p1:CarId> <d2p1:ClaimId>1223</d2p1:ClaimId> <d2p1:ClaimReasonId>1</d2p1:ClaimReasonId> <d2p1:ClaimReasonInfo>Claim Reason</d2p1:ClaimReasonInfo> <d2p1:CompanyId>1</d2p1:CompanyId> <d2p1:CompanyName>Dummy Company</d2p1:CompanyName> <d2p1:ConvertedTotal>10</d2p1:ConvertedTotal> <d2p1:Corrected>false</d2p1:Corrected> <d2p1:CostCentreBreakdowns xmlns:d5p1="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Types.Employees" i:nil="true" /> <d2p1:CountryId>1</d2p1:CountryId> <d2p1:CurrencyId>1</d2p1:CurrencyId> <d2p1:CurrencySymbol>£</d2p1:CurrencySymbol> <d2p1:Date>2014-12-25T00:00:00</d2p1:Date> <d2p1:DisputeNotes>Dispute Note</d2p1:DisputeNotes> <d2p1:DistanceUom>Mile</d2p1:DistanceUom> <d2p1:ESRAssignmentDescription i:nil="true" /> <d2p1:ESRAssignmentId>1</d2p1:ESRAssignmentId> <d2p1:Edited>false</d2p1:Edited> <d2p1:EventInHomeCity>false</d2p1:EventInHomeCity> <d2p1:ExchangeRate>1</d2p1:ExchangeRate> <d2p1:ExchangeRateGlobal>2</d2p1:ExchangeRateGlobal> <d2p1:ExpenseActionOutcome>Successs</d2p1:ExpenseActionOutcome> <d2p1:ExpenseSubCategoryDescription i:nil="true" /> <d2p1:ExpenseSubCategoryId>2123</d2p1:ExpenseSubCategoryId> <d2p1:Flags i:nil="true" /> <d2p1:FloatId>1</d2p1:FloatId> <d2p1:ForeignVAT>10</d2p1:ForeignVAT> <d2p1:FromDescription i:nil="true" /> <d2p1:FromId>1</d2p1:FromId> <d2p1:FuelLitresBusiness>1</d2p1:FuelLitresBusiness> <d2p1:FuelLitresPersonal>2</d2p1:FuelLitresPersonal> <d2p1:GlobalTotal>100</d2p1:GlobalTotal> <d2p1:GrandTotal>50</d2p1:GrandTotal> <d2p1:GrandTotalAmountPayable>20</d2p1:GrandTotalAmountPayable> <d2p1:GrandTotalConverted>0</d2p1:GrandTotalConverted> <d2p1:GrandTotalGlobal>20</d2p1:GrandTotalGlobal> <d2p1:GrandTotalNet>10</d2p1:GrandTotalNet> <d2p1:GrandTotalOther>1</d2p1:GrandTotalOther> <d2p1:GrandTotalPersonalGuests>5</d2p1:GrandTotalPersonalGuests> <d2p1:GrandTotalRemoteWorkers>2</d2p1:GrandTotalRemoteWorkers> <d2p1:GrandTotalVAT>10</d2p1:GrandTotalVAT> <d2p1:HomeToOfficeDeductionMethod>CalculateHomeAndOfficeToLocationDiff</d2p1:HomeToOfficeDeductionMethod> <d2p1:HotelId>1</d2p1:HotelId> <d2p1:HotelName>California</d2p1:HotelName> <d2p1:Id>0</d2p1:Id> <d2p1:ItemCheckerId i:nil="true" /> <d2p1:ItemCheckerTeamId i:nil="true" /> <d2p1:ItemType>Cash</d2p1:ItemType> <d2p1:JourneySteps i:nil="true" /> <d2p1:MileageBusiness>1</d2p1:MileageBusiness> <d2p1:MileageId>1</d2p1:MileageId> <d2p1:MileagePersonal>10</d2p1:MileagePersonal> <d2p1:Miles>50</d2p1:Miles> <d2p1:MobileMetricDeviceId i:nil="true" /> <d2p1:Net>100</d2p1:Net> <d2p1:NormalReceipt>true</d2p1:NormalReceipt> <d2p1:Notes>Notes</d2p1:Notes> <d2p1:NumDirectors>3</d2p1:NumDirectors> <d2p1:NumNights>1</d2p1:NumNights> <d2p1:NumOthers>1</d2p1:NumOthers> <d2p1:NumPassengers>2</d2p1:NumPassengers> <d2p1:NumPersonalGuests>3</d2p1:NumPersonalGuests> <d2p1:NumRemoteWorkers>5</d2p1:NumRemoteWorkers> <d2p1:NumRooms>1</d2p1:NumRooms> <d2p1:NumStaff>10</d2p1:NumStaff> <d2p1:OperatorValidationProgress>Available</d2p1:OperatorValidationProgress> <d2p1:OriginalExpenseId>10</d2p1:OriginalExpenseId> <d2p1:Paid>false</d2p1:Paid> <d2p1:ParentId>10</d2p1:ParentId> <d2p1:PrimaryItem>true</d2p1:PrimaryItem> <d2p1:Quantity>1</d2p1:Quantity> <d2p1:Reason>Expense Reason</d2p1:Reason> <d2p1:ReceiptAttached>true</d2p1:ReceiptAttached> <d2p1:ReferenceNumber>Ref234234</d2p1:ReferenceNumber> <d2p1:Returned>true</d2p1:Returned> <d2p1:SplitItems i:nil="true" /> <d2p1:TempAllow>false</d2p1:TempAllow> <d2p1:Tip>10</d2p1:Tip> <d2p1:ToDescription i:nil="true" /> <d2p1:ToId>1</d2p1:ToId> <d2p1:Total>100</d2p1:Total> <d2p1:TransactionId>0</d2p1:TransactionId> <d2p1:UserDefined i:nil="true" /> <d2p1:UserSaysHasReceipts>true</d2p1:UserSaysHasReceipts> <d2p1:VAT>10</d2p1:VAT> <d2p1:VATNumber>VAT34245</d2p1:VATNumber> <d2p1:ValidationProgress>InProgress</d2p1:ValidationProgress> <d2p1:VehicleDescription i:nil="true" /> <d2p1:WalletReceiptId>0</d2p1:WalletReceiptId> </d2p1:ExpenseItem> <d2p1:Subcat> <d2p1:AccountCode>Code</d2p1:AccountCode> <d2p1:AddAsNet>true</d2p1:AddAsNet> <d2p1:AllowHeavyBulkyMileage>true</d2p1:AllowHeavyBulkyMileage> <d2p1:AllowanceAmount>10</d2p1:AllowanceAmount> <d2p1:Allowances xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>1287</d5p1:int> </d2p1:Allowances> <d2p1:AlternateAccountCode>Alt</d2p1:AlternateAccountCode> <d2p1:AssociatedUdfs xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d5p1:int>2387</d5p1:int> </d2p1:AssociatedUdfs> <d2p1:AttendeesApplicable>true</d2p1:AttendeesApplicable> <d2p1:AttendeesMandatory>true</d2p1:AttendeesMandatory> <d2p1:BusinessMilesApplicable>true</d2p1:BusinessMilesApplicable> <d2p1:CalculationType>DailyAllowance</d2p1:CalculationType> <d2p1:Comment>Comment</d2p1:Comment> <d2p1:CompanyApplicable>true</d2p1:CompanyApplicable> <d2p1:Countries i:nil="true" /> <d2p1:CurrencySymbol i:nil="true" /> <d2p1:DailyDeductionItemId>0</d2p1:DailyDeductionItemId> <d2p1:Description>Description</d2p1:Description> <d2p1:EnableDoc>false</d2p1:EnableDoc> <d2p1:EnableHomeToLocationMileage>true</d2p1:EnableHomeToLocationMileage> <d2p1:EndDate>2014-12-12T00:00:00</d2p1:EndDate> <d2p1:EntertainmentId>0</d2p1:EntertainmentId> <d2p1:EventInHomeApp>true</d2p1:EventInHomeApp> <d2p1:ForcedFixedMileageDeduction>false</d2p1:ForcedFixedMileageDeduction> <d2p1:FromApplicable>true</d2p1:FromApplicable> <d2p1:HomeToLocationType>None</d2p1:HomeToLocationType> <d2p1:HomeToOfficeAsZero>true</d2p1:HomeToOfficeAsZero> <d2p1:HomeToOfficeFixedMiles i:nil="true" /> <d2p1:HotelApplicable>true</d2p1:HotelApplicable> <d2p1:HotelMandatory>true</d2p1:HotelMandatory> <d2p1:IsRelocationMileage>true</d2p1:IsRelocationMileage> <d2p1:MaximumLimit>0</d2p1:MaximumLimit> <d2p1:MaximumLimitWithoutReceipt>0</d2p1:MaximumLimitWithoutReceipt> <d2p1:MileageApplicable>true</d2p1:MileageApplicable> <d2p1:MileageCategory i:nil="true" /> <d2p1:NoDirectorsApplicable>true</d2p1:NoDirectorsApplicable> <d2p1:NoNightsApplicable>true</d2p1:NoNightsApplicable> <d2p1:NoPassengersApplicable>true</d2p1:NoPassengersApplicable> <d2p1:NoPersonalGuestApplicable>true</d2p1:NoPersonalGuestApplicable> <d2p1:NoRemoteWorkersApplicable>true</d2p1:NoRemoteWorkersApplicable> <d2p1:NoRoomsApplicable>true</d2p1:NoRoomsApplicable> <d2p1:NumberOfMiles>0</d2p1:NumberOfMiles> <d2p1:OtherDetailsApplicable>true</d2p1:OtherDetailsApplicable> <d2p1:OthersApplicable>true</d2p1:OthersApplicable> <d2p1:ParentCategoryId>0</d2p1:ParentCategoryId> <d2p1:PassengersApplicable>true</d2p1:PassengersApplicable> <d2p1:PassengersNameApplicable>true</d2p1:PassengersNameApplicable> <d2p1:PdCatId>0</d2p1:PdCatId> <d2p1:PersonalId>0</d2p1:PersonalId> <d2p1:PersonalMilesApplicable>true</d2p1:PersonalMilesApplicable> <d2p1:PublicTransportRate i:nil="true" /> <d2p1:ReasonApplicable>true</d2p1:ReasonApplicable> <d2p1:ReceiptApplicable>true</d2p1:ReceiptApplicable> <d2p1:Reimbursable>true</d2p1:Reimbursable> <d2p1:ReimbursableSubCatId i:nil="true" /> <d2p1:RemoteId>0</d2p1:RemoteId> <d2p1:ShortSubCategory>Short</d2p1:ShortSubCategory> <d2p1:Split i:nil="true" /> <d2p1:SplitEntertainment>true</d2p1:SplitEntertainment> <d2p1:SplitPersonal>true</d2p1:SplitPersonal> <d2p1:SplitRemote>true</d2p1:SplitRemote> <d2p1:StaffApplicable>true</d2p1:StaffApplicable> <d2p1:StartDate>2014-01-01T00:00:00</d2p1:StartDate> <d2p1:SubCat>Long</d2p1:SubCat> <d2p1:SubCatId>0</d2p1:SubCatId> <d2p1:TipApplicable>true</d2p1:TipApplicable> <d2p1:TipLimit i:nil="true" /> <d2p1:ToApplicable>true</d2p1:ToApplicable> <d2p1:UserDefined /> <d2p1:UserDefinedFields /> <d2p1:ValidDates /> <d2p1:Validate>false</d2p1:Validate> <d2p1:ValidationRequirements xmlns:d5p1="http://schemas.datacontract.org/2004/07/SpendManagementApi.Models.Types.Expedite" i:nil="true" /> <d2p1:VatNumberApplicable>true</d2p1:VatNumberApplicable> <d2p1:VatNumberMandatory>true</d2p1:VatNumberMandatory> <d2p1:VatRates> <d2p1:SubCatVatRate> <d2p1:DateValue1>2012-01-01T00:00:00</d2p1:DateValue1> <d2p1:DateValue2>2012-02-02T00:00:00</d2p1:DateValue2> <d2p1:RangeType>Between</d2p1:RangeType> <d2p1:SubCatId>0</d2p1:SubCatId> <d2p1:VatAmount>100</d2p1:VatAmount> <d2p1:VatLimitWith>100</d2p1:VatLimitWith> <d2p1:VatLimitWithout>100</d2p1:VatLimitWithout> <d2p1:VatPercent>100</d2p1:VatPercent> <d2p1:VatReceipt>true</d2p1:VatReceipt> </d2p1:SubCatVatRate> </d2p1:VatRates> <d2p1:VatReceipt>false</d2p1:VatReceipt> </d2p1:Subcat> </d2p1:ClaimExpenseItem> </List> <DisplayFields xmlns:d2p1="http://schemas.datacontract.org/2004/07/SpendManagementLibrary.Mobile" /> </ClaimExpenseItemsResponse>