{ "operationId": "getPrepayments", "method": "GET", "path": "/Prepayments", "summary": "Xero Retrieves prepayments", "requestExamples": [], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "Id": "d7a9ca0c-6159-4c26-ad2e-715440c50b7d", "Status": "OK", "ProviderName": "Provider Name Example", "DateTimeUTC": "/Date(1552489227595)/", "pagination": { "page": 1, "pageSize": 100, "pageCount": 1, "itemCount": 1 }, "Prepayments": [ { "PrepaymentID": "ce0cddef-cf5a-4e59-b638-f225679115a7", "ID": "ce0cddef-cf5a-4e59-b638-f225679115a7", "Type": "RECEIVE-PREPAYMENT", "Reference": "INV-0011", "InvoiceNumber": "INV-0011", "RemainingCredit": 3450.0, "Allocations": [], "Payments": [], "HasAttachments": true, "Contact": { "ContactID": "be392c72-c121-4f83-9512-03ac71e54c20", "Name": "Luke Skywalker", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false }, "DateString": "2019-03-13 00:00:00", "Date": "/Date(1552435200000+0000)/", "Status": "AUTHORISED", "LineAmountTypes": "Exclusive", "LineItems": [], "SubTotal": 3000.0, "TotalTax": 450.0, "Total": 3450.0, "UpdatedDateUTC": "/Date(1552489187730+0000)/", "CurrencyCode": "NZD" } ] } } ] }