# PurchaseControlResult

### Object description <a href="#object-description" id="object-description"></a>

| Field         | Type                                                                                 | Required | Description                   |
| ------------- | ------------------------------------------------------------------------------------ | -------- | ----------------------------- |
| invoiceId     | ​String                                                                              | Yes      | Smarts invoice identifier     |
| institutionId | String                                                                               | Yes      | Smarts institution identifier |
| products      | List<[Product](https://developer.smarts.ee/general/data-object-description/product)> | No       | Products if there was changes |
| status        | [PurchaseControlStatus](#enum-type-possible-values)                                  | Yes      | Purchase control status       |

## Enum type possible values <a href="#enum-type-possible-values" id="enum-type-possible-values"></a>

| PurchaseControlStatus  | ​Title                                  |
| ---------------------- | --------------------------------------- |
| PASSED                 | Purchase check passed                   |
| FAILED                 | Purchase check failed                   |
| PENDING                | Purchase check in progress              |
| EXIPRED                | Purchase check expired                  |
| FAILED\_ALLOW\_PAYMENT | Purchase check failed but allow payment |
