> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orquestr.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# sicarv4.inventory.adjust

> Adjust SICAR article stock (ajusteinventario): type adjustment|entry|exit + cantidad + comentario. Registry write — not custom.query.

# `sicarv4.inventory.adjust`

Adjust SICAR article stock (ajusteinventario): type adjustment|entry|exit + cantidad + comentario. Registry write — not custom.query.

|                |            |
| -------------- | ---------- |
| **Adapter**    | `sicarv4`  |
| **Operation**  | `db.query` |
| **SQL policy** | `write`    |

## Parameters

| Name       | Kind   | Required | Notes                                                                 |
| ---------- | ------ | -------- | --------------------------------------------------------------------- |
| `document` | `json` | Yes      | type: adjustment\|entry\|exit; art\_id or clave; cantidad; comentario |

## Example

```bash theme={"system"}
curl -s -X POST "$API/v1/devices/$DEVICE_ID/functions/sicarv4.inventory.adjust" \
  -H "Authorization: Bearer $ORQUESTR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"document":{}}}'
```
