# Retrieve Transaction Documents by ID, ARN, RRN, or SRN
source: https://developer.mastercard.com/mastercard-processing-core/documentation/use-cases/transactions-and-fees-management/retrieve-trans-docs-by-id/index.md

## Overview {#overview}

The use case describes how you retrieve the transaction documents by one of the following identifiers:

* Transaction identifier
* ARN -- Acquirer Reference Number
* RRN -- Retrieval Reference Number
* SRN -- Source Registration Number

Refer to [Transactions and Documents](https://developer.mastercard.com/mastercard-processing-core/documentation/guides/transactions-and-documents/index.md) more information.

## Sequence diagram {#sequence-diagram}

Diagram retrieve-trans-docs-by-id

### Explanation {#explanation}

1. The server sends a `GET` request to the `/transaction-documents` endpoint passing the required query parameters
   * `transaction_selector_type` with the value of the identifier's name by which the search must be executed (`ID`, `ARN`, `RRN` or `SRN`)
   * `transaction_selector_value` with the value representing the value of the identifier defined in the `transaction_selector_type`
2. The API returns a list of transaction documents. Refer to [Endpoint](https://developer.mastercard.com/mastercard-processing-core/documentation/use-cases/transactions-and-fees-management/retrieve-trans-docs-by-id/index.md#endpoint) to check the complete list of data returned by the endpoint. Tip: The operation supports [pagination](https://developer.mastercard.com/mastercard-processing-core/documentation/api-basics-section/pagination-filtering/index.md). Refer to [Sandbox testing](https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/retrieve-trans-docs-by-id/index.md) for information on how to execute the use case in the Sandbox environment.

## Endpoint {#endpoint}


API Reference: `GET /transaction-documents`

