---
canonical_url: "https://docs.composio.dev/toolkits/invofox"
markdown_url: "https://docs.composio.dev/toolkits/invofox.md"
product: "platform"
version: null
last_updated: null
---

# Invofox

Invofox extracts structured data and OCR text from invoices and other business documents and supports document-processing workflows.

- **Category:** documents & ocr
- **Auth:** API_KEY
- **Composio-managed OAuth available?** N/A
- **Tools:** 10
- **Triggers:** 0
- **Slug:** `INVOFOX`
- **Version:** 20261014_00

## Tools

### Create Company

**Slug:** `INVOFOX_CREATE_COMPANY`

Create a managed company collection used to organize document processing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Company's display name. |
| `tax_id` | string | Yes | Company tax identifier. Invofox may normalize its punctuation. |
| `client_data` | object | No | Optional caller-owned metadata to associate with the company. |
| `country_code` | string | Yes | Two-letter ISO 3166-1 alpha-2 country code. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Delete Company

**Slug:** `INVOFOX_DELETE_COMPANY`

Permanently delete one managed company by ID. This destructive operation cannot be undone.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `company_id` | string | Yes | Managed company ID to permanently delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Document

**Slug:** `INVOFOX_GET_DOCUMENT`

Get one processed document with extracted fields, confidence, processing metadata, and signed source or image URLs.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `document_id` | string | Yes | Processed document ID returned by an import, file, or document-list response. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Document Text

**Slug:** `INVOFOX_GET_DOCUMENT_TEXT`

Return plain OCR text for each page of a processed document.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `document_id` | string | Yes | Processed document ID whose page text should be returned. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Import

**Slug:** `INVOFOX_GET_IMPORT`

Get an asynchronous import's status, document count, and file processing records after documents were queued.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `import_id` | string | Yes | Import ID returned when documents were queued. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Companies

**Slug:** `INVOFOX_LIST_COMPANIES`

Find managed companies by country, tax ID, or name using bounded offset pagination.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Filter by company name. |
| `limit` | integer | No | Maximum companies in this page; the provider does not publish a maximum. |
| `tax_id` | string | No | Filter by tax identifier. |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. |
| `country_code` | string | No | Filter by two-letter country code. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### List Documents

**Slug:** `INVOFOX_LIST_DOCUMENTS`

Find processed documents using extraction-field filters, sorting, field selection, and bounded offset pagination.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `sort` | string | No | Field to sort by; prefix the field with '-' for descending order. |
| `limit` | integer | No | Maximum documents in this page (1-500). |
| `filter` | object | No | Optional filter object using eq, ne, gt, gte, lt, lte, or in against document fields, data fields, or clientData fields. Keys and nested keys must use the provider's documented spellings. |
| `select` | array | No | Document fields to return. |
| `next_cursor` | string | No | Continuation cursor returned by a previous call; omit for the first page. When continuing, repeat the same filter, sort, and select values. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Process Documents by URL

**Slug:** `INVOFOX_PROCESS_DOCUMENTS_BY_URL`

Queue one or more documents from public HTTPS URLs for asynchronous extraction. Returns the import and file IDs needed to track processing.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `info` | object | No | Optional processing settings and metadata applied across all files. |
| `files` | array | Yes | One or more documents to download and process asynchronously. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Set Document State

**Slug:** `INVOFOX_SET_DOCUMENT_STATE`

Move a document to pending correction, approved, discarded, or exported. Approval, discard, and export may trigger irreversible downstream workflows.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `document_id` | string | Yes | Document ID whose business workflow state should change. |
| `public_state` | string ("pendingCorrection" | "approved" | "discarded" | "exported") | Yes | Exact target state. Use pendingCorrection, approved, discarded, or exported. Approval, discard, and export may trigger irreversible downstream workflows. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Update Document

**Slug:** `INVOFOX_UPDATE_DOCUMENT`

Correct extracted document fields, update client metadata, or do both for an existing processed document.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | object | No | Corrected extraction fields using the document type's field names. Provide data, client_data, or both. |
| `client_data` | object | No | Caller-owned metadata to associate with the document. Provide data, client_data, or both. |
| `document_id` | string | Yes | Document ID to update. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
