# Case filing documents
source: https://developer.mastercard.com/mastercom-extended/documentation/use_cases/casefilingdocuments/index.md

The following use cases demonstrate the process of senders and receivers managing documents for pre-arbitration, arbitration, pre-compliance or compliance cases.

For more information, refer to the [Case filing documents](https://developer.mastercard.com/mastercom-extended/tutorial/casefilingdocuments/index.md) tutorial.
Note: In the following graphics, optional steps are denoted with dashed arrows instead of solid arrows.

## Retrieve processed documents {#retrieve-processed-documents}

Senders and receivers use this endpoint to retrieve all documents from a case. The documents include any documents attached by the sender, receiver, or both.
Diagram cfdoc_retprocdocs
API Reference: `GET /cases/{case_id}/documents`

## Attach a new document to a case after a document failed to process {#attach-a-new-document-to-a-case-after-a-document-failed-to-process}

Senders and receivers use this endpoint to attach a new document to an existing case when the previous document failed to process. Document processing status can be retrieved from the GET /cases/documents/attributes endpoint.
Diagram cfdoc_attach
API Reference: `PUT /cases/{case_id}/documents`

## Retrieve statuses for documents {#retrieve-statuses-for-documents}

Senders and receivers use this endpoint to retrieve the processing status of documents associated with cases.
Diagram cfdoc_retstatus
API Reference: `GET /cases/documents/attributes`

