# Receipt Submissions

This section of API allows to manage receipt submissions within loyalty club.

### **Validation Context**
The update submission [endpoint](api-3577005) implements specific validation rules that depend on the [authorization type](folder-360415) of request.

#### **Manual Verification Process**
* Request authorization type is [user authorization](doc-342130)
* Current **submission** `state` is `manual_verification`

In this context, two main operations are possible:

1. Changing `state` from `manual_verification` to `accepted`
    * `form` must be present  
    * `form` attributes should meet `required_verification_rules` set [here](api-3576991)

2. Changing `state` from `manual_verification` to `rejected`
    * `form` must be present  
    * `rejection_reasons` must be present


#### **Resolving Duplicates Process**
* Request authorization type is [user authorization](doc-342130)

In this context, the `suspected_duplicates` attribute is under modification.

When this `suspected_duplicates` is present in payload:
* it disable **manual veirification process** validations. 
* The fields like `state`, `form`, `rejection_reasons` can still be provided when confirming that two **submissions** are duplicates. But the presence is not validated.

