# Veryfi

> Process receipts and invoices and retrieve extracted document data.

App · 5 actions. Web page: https://docs.lodol.com/docs/integrations/veryfi

## Actions

### Delete document

Delete document.

**Inputs**

- Document ID (`document_id`, number, required): Document id. At least 1.

**Outputs**

- `data` (object): The response from Veryfi.

**Example output**

```json
{
  "data": {
    "status": "example"
  }
}
```

### Get document

Get document.

**Inputs**

- Document ID (`document_id`, number, required): Document id. At least 1.

**Outputs**

- `data` (object): The response from Veryfi.

**Example output**

```json
{
  "data": {
    "created_date": "example",
    "currency_code": "example",
    "document_type": "example",
    "id": 1,
    "line_items": [],
    "total": 1.0,
    "vendor": {
      "name": "example"
    }
  }
}
```

### List documents

List documents.

**Inputs**

- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 50.
- Query (`query`, text): Query.
- External ID (`external_id`, text): External id.
- Tag (`tag`, text): Tag.
- Created after (`created_after`, date and time): Created after.
- Created before (`created_before`, date and time): Created before.

**Outputs**

- `data` (object): The response from Veryfi.

**Example output**

```json
{
  "data": {
    "documents": []
  }
}
```

### List webhooks

List webhooks.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Veryfi.

**Example output**

```json
{
  "data": {}
}
```

### Process document

Process document.

**Inputs**

- File URL (`file_url`, text, required): File url.
- External ID (`external_id`, text): External id.
- Categories (`categories`, list): Categories.

**Outputs**

- `data` (object): The response from Veryfi.

**Example output**

```json
{
  "data": {
    "created_date": "example",
    "currency_code": "example",
    "document_type": "example",
    "id": 1,
    "line_items": [],
    "total": 1.0,
    "vendor": {
      "name": "example"
    }
  }
}
```
