Allows you to retrieve draft expense claim receipts for any user

GET {{baseUrl}}/Receipts?where=<string>&order=<string>&unitdp=<integer>

Request Params

KeyDatatypeRequiredDescription
wherestringFilter by an any element
orderstringOrder by an any element
unitdpstringe.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts

HEADERS

KeyDatatypeRequiredDescription
If-Modified-SincestringOnly records created or modified since this timestamp will be returned
xero-tenant-idstring(Required) Xero identifier for Tenant

RESPONSES

status: OK

{&quot;Id&quot;:&quot;078b2a2c-902f-4154-8739-357ece5982e5&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552524584695)/&quot;,&quot;Receipts&quot;:[{&quot;ReceiptID&quot;:&quot;a44fd147-af4e-4fe8-a09a-55332df74162&quot;,&quot;ReceiptNumber&quot;:1,&quot;Status&quot;:&quot;DRAFT&quot;,&quot;User&quot;:{&quot;UserID&quot;:&quot;d1164823-0ac1-41ad-987b-b4e30fe0b273&quot;,&quot;FirstName&quot;:&quot;API &quot;,&quot;LastName&quot;:&quot;Team&quot;,&quot;ValidationErrors&quot;:[],&quot;Warnings&quot;:[]},&quot;Contact&quot;:{&quot;ContactID&quot;:&quot;430fa14a-f945-44d3-9f97-5df5e28441b8&quot;,&quot;Name&quot;:&quot;Liam Gallagher&quot;,&quot;Addresses&quot;:[],&quot;Phones&quot;:[],&quot;ContactGroups&quot;:[],&quot;SalesTrackingCategories&quot;:[],&quot;PurchasesTrackingCategories&quot;:[],&quot;ContactPersons&quot;:[],&quot;Attachments&quot;:[],&quot;HasValidationErrors&quot;:false,&quot;ValidationErrors&quot;:[],&quot;Warnings&quot;:[]},&quot;Date&quot;:&quot;/Date(1552435200000+0000)/&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552524583983+0000)/&quot;,&quot;Reference&quot;:&quot;&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:40.0,&quot;TotalTax&quot;:0.0,&quot;Total&quot;:40.0,&quot;ID&quot;:&quot;a44fd147-af4e-4fe8-a09a-55332df74162&quot;,&quot;HasAttachments&quot;:false,&quot;Attachments&quot;:[],&quot;ValidationErrors&quot;:[],&quot;Warnings&quot;:[]}]}