Allows you to retrieve overpayments

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

Request Params

KeyDatatypeRequiredDescription
wherestringFilter by an any element
orderstringOrder by an any element
pagestringe.g. page=1 – Up to 100 overpayments will be returned in a single API call with line items shown for each overpayment
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;c0ce675e-e5bc-4b2a-a20e-76a9eaedf89d&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552428951416)/&quot;,&quot;Overpayments&quot;:[{&quot;OverpaymentID&quot;:&quot;098b4dcb-5622-4699-87f8-9d40c4ccceb3&quot;,&quot;ID&quot;:&quot;098b4dcb-5622-4699-87f8-9d40c4ccceb3&quot;,&quot;Type&quot;:&quot;SPEND-OVERPAYMENT&quot;,&quot;RemainingCredit&quot;:500.0,&quot;Allocations&quot;:[],&quot;Payments&quot;:[],&quot;HasAttachments&quot;:false,&quot;Contact&quot;:{&quot;ContactID&quot;:&quot;af3ffcc1-c578-4658-82f3-5d8d458cc7af&quot;,&quot;Name&quot;:&quot;Daddy Warbucks&quot;,&quot;Addresses&quot;:[],&quot;Phones&quot;:[],&quot;ContactGroups&quot;:[],&quot;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;DateString&quot;:&quot;2019-03-12T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1552348800000+0000)/&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:500.0,&quot;TotalTax&quot;:0.0,&quot;Total&quot;:500.0,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552428535123+0000)/&quot;,&quot;CurrencyCode&quot;:&quot;NZD&quot;},{&quot;OverpaymentID&quot;:&quot;2a8bda49-8908-473b-8bcf-1f90990460eb&quot;,&quot;ID&quot;:&quot;2a8bda49-8908-473b-8bcf-1f90990460eb&quot;,&quot;Type&quot;:&quot;RECEIVE-OVERPAYMENT&quot;,&quot;RemainingCredit&quot;:20.0,&quot;Allocations&quot;:[],&quot;Payments&quot;:[],&quot;HasAttachments&quot;:false,&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;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;DateString&quot;:&quot;2019-03-13T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1552435200000+0000)/&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:20.0,&quot;TotalTax&quot;:0.0,&quot;Total&quot;:20.0,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552428568250+0000)/&quot;,&quot;CurrencyCode&quot;:&quot;NZD&quot;},{&quot;OverpaymentID&quot;:&quot;ed7f6041-c915-4667-bd1d-54c48e92161e&quot;,&quot;ID&quot;:&quot;ed7f6041-c915-4667-bd1d-54c48e92161e&quot;,&quot;Type&quot;:&quot;SPEND-OVERPAYMENT&quot;,&quot;RemainingCredit&quot;:3000.0,&quot;Allocations&quot;:[],&quot;Payments&quot;:[],&quot;HasAttachments&quot;:false,&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;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;DateString&quot;:&quot;2019-03-12T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1552348800000+0000)/&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:3000.0,&quot;TotalTax&quot;:0.0,&quot;Total&quot;:3000.0,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552428781527+0000)/&quot;,&quot;CurrencyCode&quot;:&quot;NZD&quot;},{&quot;OverpaymentID&quot;:&quot;0859adbc-ea00-40cd-a877-258cf8644975&quot;,&quot;ID&quot;:&quot;0859adbc-ea00-40cd-a877-258cf8644975&quot;,&quot;Type&quot;:&quot;RECEIVE-OVERPAYMENT&quot;,&quot;RemainingCredit&quot;:20.0,&quot;Allocations&quot;:[],&quot;Payments&quot;:[],&quot;HasAttachments&quot;:false,&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;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;DateString&quot;:&quot;2019-03-13T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1552435200000+0000)/&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:20.0,&quot;TotalTax&quot;:0.0,&quot;Total&quot;:20.0,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552428842190+0000)/&quot;,&quot;CurrencyCode&quot;:&quot;NZD&quot;},{&quot;OverpaymentID&quot;:&quot;687b877f-634a-415d-92b2-74e62977de30&quot;,&quot;ID&quot;:&quot;687b877f-634a-415d-92b2-74e62977de30&quot;,&quot;Type&quot;:&quot;RECEIVE-OVERPAYMENT&quot;,&quot;RemainingCredit&quot;:20.0,&quot;Allocations&quot;:[],&quot;Payments&quot;:[],&quot;HasAttachments&quot;:false,&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;ContactPersons&quot;:[],&quot;HasValidationErrors&quot;:false},&quot;DateString&quot;:&quot;2019-03-13T00:00:00&quot;,&quot;Date&quot;:&quot;/Date(1552435200000+0000)/&quot;,&quot;Status&quot;:&quot;AUTHORISED&quot;,&quot;LineAmountTypes&quot;:&quot;NoTax&quot;,&quot;LineItems&quot;:[],&quot;SubTotal&quot;:20.0,&quot;TotalTax&quot;:0.0,&quot;Total&quot;:20.0,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552428950730+0000)/&quot;,&quot;CurrencyCode&quot;:&quot;NZD&quot;}]}