Retrieve linked transactions (billable expenses)

GET {{baseUrl}}/LinkedTransactions?page=<integer>&LinkedTransactionID=<uuid>&SourceTransactionID=<uuid>&ContactID=<uuid>&Status=<string>&TargetTransactionID=<uuid>

Request Params

KeyDatatypeRequiredDescription
pagestringUp 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.
LinkedTransactionIDstringThe Xero identifier for an Linked Transaction
SourceTransactionIDstringFilter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice
ContactIDstringFilter by the ContactID. Get all the linked transactions that have been assigned to a particular customer.
StatusstringFilter by the combination of ContactID and Status. Get the linked transactions associaed to a customer and with a status
TargetTransactionIDstringFilter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant

RESPONSES

status: OK

{&quot;Id&quot;:&quot;516aabd0-e670-48d5-b0eb-10dce4494dd8&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Provider Name Example&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1552348338096)/&quot;,&quot;LinkedTransactions&quot;:[{&quot;LinkedTransactionID&quot;:&quot;5cf7d9c0-b9a7-4433-a2dc-ae3c11bba39b&quot;,&quot;SourceTransactionID&quot;:&quot;aec416dd-38ea-40dc-9f0b-813c8c71f87f&quot;,&quot;SourceLineItemID&quot;:&quot;77e0b23b-5b79-4f4b-ae20-c9031d41442f&quot;,&quot;ContactID&quot;:&quot;430fa14a-f945-44d3-9f97-5df5e28441b8&quot;,&quot;TargetTransactionID&quot;:&quot;83693fc1-5b05-4807-b190-109d4a85dd5f&quot;,&quot;TargetLineItemID&quot;:&quot;d5128ff1-0f39-4d2a-a6d5-46dfaf5f075c&quot;,&quot;Status&quot;:&quot;ONDRAFT&quot;,&quot;Type&quot;:&quot;BILLABLEEXPENSE&quot;,&quot;UpdatedDateUTC&quot;:&quot;/Date(1552347991000+0000)/&quot;,&quot;SourceTransactionTypeCode&quot;:&quot;ACCPAY&quot;}]}