Allows you to retrieve draft expense claim receipts for any user
GET {{baseUrl}}/Receipts?where=<string>&order=<string>&unitdp=<integer>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
where | string | Filter by an any element | |
order | string | Order by an any element | |
unitdp | string | e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-Modified-Since | string | Only records created or modified since this timestamp will be returned | |
xero-tenant-id | string | (Required) Xero identifier for Tenant |
RESPONSES
status: OK
{"Id":"078b2a2c-902f-4154-8739-357ece5982e5","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1552524584695)/","Receipts":[{"ReceiptID":"a44fd147-af4e-4fe8-a09a-55332df74162","ReceiptNumber":1,"Status":"DRAFT","User":{"UserID":"d1164823-0ac1-41ad-987b-b4e30fe0b273","FirstName":"API ","LastName":"Team","ValidationErrors":[],"Warnings":[]},"Contact":{"ContactID":"430fa14a-f945-44d3-9f97-5df5e28441b8","Name":"Liam Gallagher","Addresses":[],"Phones":[],"ContactGroups":[],"SalesTrackingCategories":[],"PurchasesTrackingCategories":[],"ContactPersons":[],"Attachments":[],"HasValidationErrors":false,"ValidationErrors":[],"Warnings":[]},"Date":"/Date(1552435200000+0000)/","UpdatedDateUTC":"/Date(1552524583983+0000)/","Reference":"","LineAmountTypes":"NoTax","LineItems":[],"SubTotal":40.0,"TotalTax":0.0,"Total":40.0,"ID":"a44fd147-af4e-4fe8-a09a-55332df74162","HasAttachments":false,"Attachments":[],"ValidationErrors":[],"Warnings":[]}]}