Retrieve linked transactions (billable expenses)
GET {{baseUrl}}/LinkedTransactions?page=<integer>&LinkedTransactionID=<uuid>&SourceTransactionID=<uuid>&ContactID=<uuid>&Status=<string>&TargetTransactionID=<uuid>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page | string | Up to 100 linked transactions will be returned in a single API call. Use the page parameter to specify the page to be returned e.g. page=1. | |
LinkedTransactionID | string | The Xero identifier for an Linked Transaction | |
SourceTransactionID | string | Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice | |
ContactID | string | Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer. | |
Status | string | Filter by the combination of ContactID and Status. Get the linked transactions associaed to a customer and with a status | |
TargetTransactionID | string | Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
xero-tenant-id | string | (Required) Xero identifier for Tenant |
RESPONSES
status: OK
{"Id":"516aabd0-e670-48d5-b0eb-10dce4494dd8","Status":"OK","ProviderName":"Provider Name Example","DateTimeUTC":"/Date(1552348338096)/","LinkedTransactions":[{"LinkedTransactionID":"5cf7d9c0-b9a7-4433-a2dc-ae3c11bba39b","SourceTransactionID":"aec416dd-38ea-40dc-9f0b-813c8c71f87f","SourceLineItemID":"77e0b23b-5b79-4f4b-ae20-c9031d41442f","ContactID":"430fa14a-f945-44d3-9f97-5df5e28441b8","TargetTransactionID":"83693fc1-5b05-4807-b190-109d4a85dd5f","TargetLineItemID":"d5128ff1-0f39-4d2a-a6d5-46dfaf5f075c","Status":"ONDRAFT","Type":"BILLABLEEXPENSE","UpdatedDateUTC":"/Date(1552347991000+0000)/","SourceTransactionTypeCode":"ACCPAY"}]}