# Pre-arbitration and Pre-compliance case filing
source: https://developer.mastercard.com/mastercom/documentation/use-cases/prearbprecomp/index.md

## Pre-Arbitration and Pre-Compliance Case Filing {#pre-arbitration-and-pre-compliance-case-filing}

The following use cases demonstrate the process of a sender filing a pre-arbitration or pre-compliance case and of a receiver processing the case. Senders cannot file pre-arbitration cases until the chargeback cycle is complete following the second presentment. Senders can file a pre-compliance case at any point.
Diagram createPreArbitrationPrecomplianceCase

1. (Sender) [Create case](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#create-case) to create a pre-arbitration or pre-compliance case.


API Reference: `POST /v6/cases`

2. (Sender) [Retrieve case status](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-case-status) to retrieve the processing status of the documents uploaded to the case.


API Reference: `PUT /v6/cases/status`

3. **OPTIONAL STEP** : (Sender) [Retrieve claim from case](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-claim-from-case) to retrieve the claim ID associated with the case.


API Reference: `PUT /v6/cases/retrieve/claims`

4. (Receiver) [Retrieve claims from queue within date range](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-claims-from-queue-within-date-range) to retrieve claims from the *ReceiverCaseFiling* queue.


API Reference: `POST /v6/queues`

5. (Receiver) [Retrieve claim](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-claim) to retrieve data for a specific claim and its associated case filing.


API Reference: `PUT /v6/cases/retrieve/claims`

6. (Receiver) [Retrieve case documentation](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-case-documentation) to retrieve documentation for the case.


API Reference: `GET /v6/cases/{case-id}/documents`

7. (Receiver) [Update case](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#update-case) to either accept or reject the case. If rejected, documentation can also be uploaded.


API Reference: `PUT /v6/cases/{case-id}`

The processing status of the documentation can be retrieved by using the [Retrieve case status](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-case-status) endpoint.

API Reference: `PUT /v6/cases/status`

If no response is provided, the system will automatically reject the case, based on chargeback rules.

8. (Sender) [Retrieve claims from queue within date range](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-claims-from-queue-within-date-range) to retrieve claims from the *SenderCaseFiling* queue.


API Reference: `POST /v6/queues`

9. (Sender) [Retrieve claim](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-claim) to retrieve data for a specific claim and its associated case filing, in order to check the outcome of the case.


API Reference: `GET /v6/claims/{claim-id}`

10. **OPTIONAL STEP** : (Sender) [Retrieve case documentation](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#retrieve-case-documentation) to retrieve documentation for the case.


API Reference: `GET /v6/cases/{case-id}/documents`

11. **OPTIONAL STEP** : (Sender) Sender can choose to escalate the case (to arbitration or compliance) or close the case. To escalate the case, the sender can use the [Update case](https://developer.mastercard.com/mastercom/documentation/test-cases/test-cases/index.md#update-case) endpoint.


API Reference: `PUT /v6/cases/{case-id}`

