Accounting

Retrieves linked transactions (billable expenses)

get/LinkedTransactions

Request

  • Base URL
    https://api.xero.com/api.xro/2.0
  • URL
    https://api.xero.com/api.xro/2.0/LinkedTransactions
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: accounting.transactions, accounting.transactions.read

Query parameters

pageinteger

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.

LinkedTransactionIDstring uuid

The Xero identifier for an Linked Transaction

SourceTransactionIDstring uuid

Filter by the SourceTransactionID. Get the linked transactions created from a particular ACCPAY invoice

ContactIDstring uuid

Filter by the ContactID. Get all the linked transactions that have been assigned to a particular customer.

Statusstring

Filter by the combination of ContactID and Status. Get the linked transactions associated to a customer and with a status

TargetTransactionIDstring uuid

Filter by the TargetTransactionID. Get all the linked transactions allocated to a particular ACCREC invoice

Response

Success - return response of type LinkedTransactions array with all LinkedTransaction

Example response

{
  "LinkedTransactions": [
    {
      "UpdatedDateUTC": "/Date(1573755038314)/"
    }
  ]
}

Changes

No recorded changes to this operation across all 62 revisions of this API.