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

# Zoho Books API reference

> API reference for the Zoho Books plugin in Corsair: every `zohobooks.api.*` operation with its input and output types, taken from the plugin's Zod schemas.

> [!NOTE]
>
> **New to Corsair?** See [API access](https://docs.corsair.dev/concepts/api.md), [authentication](https://docs.corsair.dev/concepts/auth.md), and [error handling](https://docs.corsair.dev/concepts/error-handling).

## Bank Accounts

### addBankReconciliationAttachment

`bankAccounts.addBankReconciliationAttachment`

Add a reconciliation attachment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.addBankReconciliationAttachment({
	pathParams: { account_id: '999999999999999', reconciliation_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   reconciliation_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createBankAccount

`bankAccounts.createBankAccount`

Create a bank account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.createBankAccount({
	query: { organization_id: '999999999999999' },
	body: { account_name: 'Sample record', account_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_name: string,
>   account_type: string,
>   account_number?: string,
>   account_code?: string,
>   currency_id?: string,
>   currency_code?: string,
>   description?: string,
>   bank_name?: string,
>   routing_number?: string,
>   is_primary_account?: boolean,
>   is_paypal_account?: boolean,
>   paypal_type?: string,
>   paypal_email_address?: string
> }
> ```

**Output:** `custom`

***

### createBankReconciliation

`bankAccounts.createBankReconciliation`

Create a bank reconciliation. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.createBankReconciliation({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   start_date?: string,
>   end_date?: string,
>   closing_balance?: number,
>   save_option?: string,
>   transactions_to_be_reconciled?: {
>     transaction_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteBankAccount

`bankAccounts.deleteBankAccount`

Delete an account. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.deleteBankAccount({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteBankReconciliation

`bankAccounts.deleteBankReconciliation`

Delete a bank reconciliation. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.deleteBankReconciliation({
	pathParams: { account_id: '999999999999999', reconciliation_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   reconciliation_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteBankReconciliationDocument

`bankAccounts.deleteBankReconciliationDocument`

Delete a reconciliation document. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.deleteBankReconciliationDocument({
	pathParams: { account_id: '999999999999999', reconciliation_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   reconciliation_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteLastImportedBankStatement

`bankAccounts.deleteLastImportedBankStatement`

Delete last imported statement. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.deleteLastImportedBankStatement({
	pathParams: { account_id: '999999999999999', statement_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   statement_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccount

`bankAccounts.getBankAccount`

Get account details. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankAccount({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccountBalance

`bankAccounts.getBankAccountBalance`

Get a bank account balance. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankAccountBalance({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccountBalances

`bankAccounts.getBankAccountBalances`

Get bank account balances. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankAccountBalances({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccountInsights

`bankAccounts.getBankAccountInsights`

Get bank account insights. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankAccountInsights({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccountOverview

`bankAccounts.getBankAccountOverview`

Get a bank account overview. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankAccountOverview({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccountPreferences

`bankAccounts.getBankAccountPreferences`

Get bank account preferences. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankAccountPreferences({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccountsOverview

`bankAccounts.getBankAccountsOverview`

Get bank accounts overview. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankAccountsOverview({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccountStatementSummary

`bankAccounts.getBankAccountStatementSummary`

Get a bank statement summary. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankAccountStatementSummary({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankReconciliation

`bankAccounts.getBankReconciliation`

Get a bank reconciliation. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankReconciliation({
	pathParams: { account_id: '999999999999999', reconciliation_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   reconciliation_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankReconciliationDocument

`bankAccounts.getBankReconciliationDocument`

Get a reconciliation document. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankReconciliationDocument({
	pathParams: { account_id: '999999999999999', reconciliation_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   reconciliation_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankStatementImportEncryptionKey

`bankAccounts.getBankStatementImportEncryptionKey`

Get bank statement import encryption key. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getBankStatementImportEncryptionKey({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getLastImportedBankStatement

`bankAccounts.getLastImportedBankStatement`

Get last imported statement. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.getLastImportedBankStatement({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### importBankStatements

`bankAccounts.importBankStatements`

Import a Bank/Credit Card Statement. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.importBankStatements({
	query: { organization_id: '999999999999999' },
	body: {
		account_id: '999999999999999',
		transactions: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   start_date?: string,
>   end_date?: string,
>   transactions: {
>     transaction_id?: string,
>     date: string,
>     debit_or_credit: string,
>     amount: number,
>     payee?: string,
>     description?: string,
>     reference_number?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### listBankAccountBalances

`bankAccounts.listBankAccountBalances`

List bank account balances. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.listBankAccountBalances({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBankAccounts

`bankAccounts.listBankAccounts`

List view of accounts. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.listBankAccounts({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBankAccountStatements

`bankAccounts.listBankAccountStatements`

List bank account statements. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.listBankAccountStatements({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBankAccountSubaccounts

`bankAccounts.listBankAccountSubaccounts`

List bank account sub-accounts. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.listBankAccountSubaccounts({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBankAccountTransactions

`bankAccounts.listBankAccountTransactions`

List bank account transactions. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.listBankAccountTransactions({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBankReconciliations

`bankAccounts.listBankReconciliations`

List bank reconciliations. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.listBankReconciliations({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listUnreviewedBankStatements

`bankAccounts.listUnreviewedBankStatements`

List unreviewed bank statements. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.listUnreviewedBankStatements({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markBankAccountActive

`bankAccounts.markBankAccountActive`

Activate account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.markBankAccountActive({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markBankAccountInactive

`bankAccounts.markBankAccountInactive`

Deactivate account.. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.markBankAccountInactive({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### saveBankReconciliationDraft

`bankAccounts.saveBankReconciliationDraft`

Save a bank reconciliation as draft. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.saveBankReconciliationDraft({
	pathParams: { account_id: '999999999999999', reconciliation_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   reconciliation_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   start_date?: string,
>   end_date?: string,
>   closing_balance?: number,
>   save_option?: string,
>   transactions_to_be_reconciled?: {
>     transaction_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateBankAccount

`bankAccounts.updateBankAccount`

Update bank account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.updateBankAccount({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { account_name: 'Sample record', account_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_name: string,
>   account_type: string,
>   account_number?: string,
>   account_code?: string,
>   currency_id?: string,
>   currency_code?: string,
>   description?: string,
>   bank_name?: string,
>   routing_number?: string,
>   is_primary_account?: boolean,
>   is_paypal_account?: boolean,
>   paypal_type?: string,
>   paypal_email_address?: string
> }
> ```

**Output:** `custom`

***

### updateBankAccountPreferences

`bankAccounts.updateBankAccountPreferences`

Update bank account preferences. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.updateBankAccountPreferences({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateBankReconciliation

`bankAccounts.updateBankReconciliation`

Update a bank reconciliation. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankAccounts.updateBankReconciliation({
	pathParams: { account_id: '999999999999999', reconciliation_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   reconciliation_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   start_date?: string,
>   end_date?: string,
>   closing_balance?: number,
>   save_option?: string,
>   transactions_to_be_reconciled?: {
>     transaction_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Bank Rules

### bulkDeleteBankAccountRules

`bankRules.bulkDeleteBankAccountRules`

Bulk delete rules. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankRules.bulkDeleteBankAccountRules({
	query: { organization_id: '999999999999999', rule_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   rule_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkUpdateBankAccountRules

`bankRules.bulkUpdateBankAccountRules`

Bulk update rules. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankRules.bulkUpdateBankAccountRules({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createBankAccountMatchFilter

`bankRules.createBankAccountMatchFilter`

Create a match filter. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankRules.createBankAccountMatchFilter({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   rule_name?: string,
>   rule_order?: number,
>   apply_to?: string
> }
> ```

**Output:** `custom`

***

### createBankAccountRule

`bankRules.createBankAccountRule`

Create a rule. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankRules.createBankAccountRule({
	query: { organization_id: '999999999999999' },
	body: {
		rule_name: 'Sample record',
		rule_category: 'sample',
		apply_to: 'sample',
		criteria_type: 'sample',
		criterion: [],
		record_as: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   rule_name: string,
>   rule_category: string,
>   account_ids?: string,
>   apply_to: string,
>   criteria_type: string,
>   auto_categorize?: string,
>   criterion: {
>     field?: string,
>     comparator?: string,
>     value?: string
>   }[],
>   record_as: string,
>   account_id?: string,
>   customer_id?: string,
>   tax_id?: string,
>   reference_number?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   product_type?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   location_id?: string
> }
> ```

**Output:** `custom`

***

### deleteBankAccountMatchFilter

`bankRules.deleteBankAccountMatchFilter`

Delete a match filter. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankRules.deleteBankAccountMatchFilter({
	pathParams: { match_filter_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   match_filter_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteBankAccountRule

`bankRules.deleteBankAccountRule`

Delete a rule. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankRules.deleteBankAccountRule({
	pathParams: { rule_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   rule_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankAccountRule

`bankRules.getBankAccountRule`

Get a rule. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankRules.getBankAccountRule({
	pathParams: { rule_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   rule_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBankAccountMatchFilters

`bankRules.listBankAccountMatchFilters`

List match filters. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankRules.listBankAccountMatchFilters({
	query: { organization_id: '999999999999999', account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBankAccountRules

`bankRules.listBankAccountRules`

Get Rules List. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankRules.listBankAccountRules({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### reorderBankAccountRules

`bankRules.reorderBankAccountRules`

Reorder rules. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankRules.reorderBankAccountRules({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### skipSuggestedBankAccountRule

`bankRules.skipSuggestedBankAccountRule`

Skip a suggested rule. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankRules.skipSuggestedBankAccountRule({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateBankAccountMatchFilter

`bankRules.updateBankAccountMatchFilter`

Update a match filter. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankRules.updateBankAccountMatchFilter({
	pathParams: { match_filter_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   match_filter_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   rule_name?: string,
>   rule_order?: number,
>   apply_to?: string
> }
> ```

**Output:** `custom`

***

### updateBankAccountRule

`bankRules.updateBankAccountRule`

Update a rule. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankRules.updateBankAccountRule({
	pathParams: { rule_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		rule_name: 'Sample record',
		rule_category: 'sample',
		apply_to: 'sample',
		criteria_type: 'sample',
		criterion: [],
		record_as: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   rule_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   rule_name: string,
>   rule_category: string,
>   account_ids?: string,
>   apply_to: string,
>   criteria_type: string,
>   auto_categorize?: string,
>   criterion: {
>     criteria_id?: string,
>     field?: string,
>     comparator?: string,
>     value?: string
>   }[],
>   record_as: string,
>   account_id?: string,
>   customer_id?: string,
>   tax_id?: string,
>   reference_number?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   product_type?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   location_id?: string
> }
> ```

**Output:** `custom`

***

## Bank Transactions

### categorizeAsCreditNoteRefunds

`bankTransactions.categorizeAsCreditNoteRefunds`

Categorize as credit note refunds. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.categorizeAsCreditNoteRefunds({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { creditnote_id: '999999999999999', date: '2026-01-15' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount?: number,
>   exchange_rate?: number,
>   from_account_id?: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### categorizeAsVendorCreditRefunds

`bankTransactions.categorizeAsVendorCreditRefunds`

Categorize as vendor credit refunds. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.categorizeAsVendorCreditRefunds({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { vendor_credit_id: '999999999999999', date: '2026-01-15' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string,
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount?: number,
>   exchange_rate?: number,
>   account_id?: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### categorizeAsVendorPaymentRefund

`bankTransactions.categorizeAsVendorPaymentRefund`

Categorize as Vendor Payment refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.categorizeAsVendorPaymentRefund({
	pathParams: { statement_line_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', amount: 1, to_account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   statement_line_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendorpayment_id?: string,
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount: number,
>   exchange_rate?: number,
>   to_account_id: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### categorizeBankTransaction

`bankTransactions.categorizeBankTransaction`

Categorize an uncategorized transaction. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.categorizeBankTransaction({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { transaction_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   from_account_id?: string,
>   to_account_id?: string,
>   transaction_type: string,
>   amount?: number,
>   date?: string,
>   reference_number?: string,
>   payment_mode?: string,
>   exchange_rate?: number,
>   description?: string,
>   customer_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   documents?: {
>     file_name?: string,
>     document_id?: string
>   }[],
>   currency_id?: string,
>   tax_id?: string,
>   to_account_tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   from_account_tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   is_inclusive_tax?: boolean,
>   bank_charges?: number,
>   user_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   custom_fields?: {
>     custom_field_id?: string,
>     index?: number,
>     label?: string,
>     value?: string
>   }[],
>   line_items?: {
>     line_id?: string,
>     account_id?: string,
>     account_name?: string,
>     description?: string,
>     tax_amount?: number,
>     tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     item_total?: number,
>     item_total_inclusive_of_tax?: number,
>     item_order?: number,
>     tags?: custom[]
>   }[]
> }
> ```

**Output:** `custom`

***

### categorizeBankTransactionAsCustomerPayment

`bankTransactions.categorizeBankTransactionAsCustomerPayment`

Categorize as customer payment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.categorizeBankTransactionAsCustomerPayment({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id?: string,
>   retainerinvoice_id?: string,
>   invoices?: {
>     invoice_payment_id?: string,
>     invoice_id?: string,
>     amount_applied?: number,
>     tax_amount_withheld?: number,
>     discount_amount?: number
>   }[],
>   payment_mode?: string,
>   description?: string,
>   reference_number?: string,
>   exchange_rate?: number,
>   amount?: number,
>   bank_charges?: number,
>   account_id?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   documents?: {
>     file_name?: string,
>     document_id?: string
>   }[],
>   date?: string,
>   template_id?: string,
>   contact_persons?: string[]
> }
> ```

**Output:** `custom`

***

### categorizeBankTransactionAsExpense

`bankTransactions.categorizeBankTransactionAsExpense`

Categorize as expense. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.categorizeBankTransactionAsExpense({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   doc?: string,
>   totalFiles?: number,
>   document_ids?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id?: string,
>   paid_through_account_id?: string,
>   date?: string,
>   tax_id?: string,
>   amount?: number,
>   project_id?: string,
>   tax_exemption_code?: string,
>   tax_exemption_id?: string,
>   is_inclusive_tax?: boolean,
>   is_billable?: boolean,
>   reference_number?: string,
>   description?: string,
>   customer_id?: string,
>   zp_project_id?: string,
>   zp_project_name?: string,
>   zp_client_id?: string,
>   vendor_id?: string,
>   vehicle_id?: string,
>   mileage_unit?: string,
>   mileage_rate?: number,
>   can_reclaim_vat_on_mileage?: boolean,
>   fuel_type?: string,
>   engine_capacity_range?: string,
>   employee_id?: string,
>   mileage_type?: string,
>   expense_type?: string,
>   distance?: number,
>   start_reading?: string,
>   end_reading?: string,
>   currency_id?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   documents?: {
>     file_name?: string,
>     document_id?: string
>   }[],
>   exchange_rate?: number,
>   recurring_expense_id?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   acquisition_vat_id?: string,
>   reverse_charge_vat_id?: string,
>   is_update_customer?: boolean,
>   product_type?: string,
>   taxes?: {
>     tax_name?: string,
>     tax_amount?: number,
>     tax_id?: string
>   }[],
>   reason?: string,
>   line_items?: {
>     line_item_id?: string,
>     account_id?: string,
>     description?: string,
>     amount?: number,
>     tax_id?: string,
>     item_order?: number,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     tags?: custom[]
>   }[],
>   zcrm_potential_id?: string
> }
> ```

**Output:** `custom`

***

### categorizeBankTransactionAsPaymentRefund

`bankTransactions.categorizeBankTransactionAsPaymentRefund`

Categorize as Customer Payment refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.categorizeBankTransactionAsPaymentRefund({
	pathParams: { statement_line_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', amount: 1, from_account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   statement_line_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount: number,
>   exchange_rate?: number,
>   from_account_id: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### categorizeBankTransactionAsVendorPayment

`bankTransactions.categorizeBankTransactionAsVendorPayment`

Categorize a vendor payment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.categorizeBankTransactionAsVendorPayment({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id?: string,
>   bills?: {
>     bill_payment_id?: string,
>     bill_id?: string,
>     amount_applied?: number,
>     tax_amount_withheld?: number
>   }[],
>   payment_mode?: string,
>   description?: string,
>   date?: string,
>   reference_number?: string,
>   exchange_rate?: number,
>   paid_through_account_id?: string,
>   amount?: number,
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   is_paid_via_print_check?: boolean,
>   check_details?: {
>     memo?: string,
>     check_number?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createBankTransaction

`bankTransactions.createBankTransaction`

Create a transaction for an account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.createBankTransaction({
	query: { organization_id: '999999999999999' },
	body: { transaction_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   from_account_id?: string,
>   to_account_id?: string,
>   transaction_type: string,
>   amount?: number,
>   payment_mode?: string,
>   exchange_rate?: number,
>   date?: string,
>   customer_id?: string,
>   reference_number?: string,
>   description?: string,
>   currency_id?: string,
>   tax_id?: string,
>   is_inclusive_tax?: boolean,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   from_account_tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   to_account_tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   documents?: {
>     file_name?: string,
>     document_id?: string
>   }[],
>   bank_charges?: number,
>   user_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   custom_fields?: {
>     custom_field_id?: string,
>     index?: number,
>     label?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteBankTransaction

`bankTransactions.deleteBankTransaction`

Delete a transaction. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.deleteBankTransaction({
	pathParams: { bank_transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bank_transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### excludeBankTransaction

`bankTransactions.excludeBankTransaction`

Exclude a transaction. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.excludeBankTransaction({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBankTransaction

`bankTransactions.getBankTransaction`

Get transaction. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.getBankTransaction({
	pathParams: { bank_transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bank_transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getMatchingBankTransactions

`bankTransactions.getMatchingBankTransactions`

Get matching transactions. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.getMatchingBankTransactions({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   transaction_id?: string,
>   transaction_type?: string,
>   date_after?: string,
>   date_before?: string,
>   amount_start?: number,
>   amount_end?: number,
>   contact?: string,
>   reference_number?: string,
>   show_all_transactions?: boolean,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBankTransactions

`bankTransactions.listBankTransactions`

Get transactions list. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.listBankTransactions({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id?: string,
>   transaction_type?: string,
>   date?: string,
>   amount?: number,
>   status?: string,
>   reference_number?: string,
>   filter_by?: string,
>   sort_column?: string,
>   transaction_status?: string,
>   search_text?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### matchBankTransaction

`bankTransactions.matchBankTransaction`

Match a transaction. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.matchBankTransaction({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   transactions_to_be_matched?: {
>     transaction_id?: string,
>     transaction_type?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### restoreBankTransaction

`bankTransactions.restoreBankTransaction`

Restore a transaction. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.restoreBankTransaction({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### uncategorizeBankTransaction

`bankTransactions.uncategorizeBankTransaction`

Uncategorize a categorized transaction. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.uncategorizeBankTransaction({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### unmatchBankTransaction

`bankTransactions.unmatchBankTransaction`

Unmatch a matched transaction. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.unmatchBankTransaction({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateBankTransaction

`bankTransactions.updateBankTransaction`

Update a transaction. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bankTransactions.updateBankTransaction({
	pathParams: { bank_transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { transaction_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bank_transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   from_account_id?: string,
>   to_account_id?: string,
>   transaction_type: string,
>   amount?: number,
>   payment_mode?: string,
>   exchange_rate?: number,
>   date?: string,
>   customer_id?: string,
>   reference_number?: string,
>   description?: string,
>   currency_id?: string,
>   tax_id?: string,
>   is_inclusive_tax?: boolean,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   from_account_tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   to_account_tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   documents?: {
>     file_name?: string,
>     document_id?: string
>   }[],
>   bank_charges?: number,
>   user_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   custom_fields?: {
>     custom_field_id?: string,
>     index?: number,
>     label?: string,
>     value?: string
>   }[],
>   line_items?: {
>     line_id?: string,
>     account_id?: string,
>     account_name?: string,
>     description?: string,
>     tax_amount?: number,
>     tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     item_total?: number,
>     item_total_inclusive_of_tax?: number,
>     item_order?: number,
>     tags?: custom[]
>   }[]
> }
> ```

**Output:** `custom`

***

## Base Currency Adjustment

### bulkDeleteBaseCurrencyAdjustments

`baseCurrencyAdjustment.bulkDeleteBaseCurrencyAdjustments`

Bulk delete base currency adjustments. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.baseCurrencyAdjustment.bulkDeleteBaseCurrencyAdjustments({
	query: { organization_id: '999999999999999', base_currency_adjustment_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   base_currency_adjustment_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createBaseCurrencyAdjustment

`baseCurrencyAdjustment.createBaseCurrencyAdjustment`

Create a base currency adjustment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.baseCurrencyAdjustment.createBaseCurrencyAdjustment({
	query: { organization_id: '999999999999999', account_ids: 'sample' },
	body: {
		currency_id: '999999999999999',
		adjustment_date: '2026-01-15',
		exchange_rate: 1,
		notes: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   currency_id: string,
>   adjustment_date: string,
>   exchange_rate: number,
>   notes: string
> }
> ```

**Output:** `custom`

***

### deleteBaseCurrencyAdjustment

`baseCurrencyAdjustment.deleteBaseCurrencyAdjustment`

Delete a base currency adjustment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.baseCurrencyAdjustment.deleteBaseCurrencyAdjustment({
	pathParams: { base_currency_adjustment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   base_currency_adjustment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBaseCurrencyAdjustment

`baseCurrencyAdjustment.getBaseCurrencyAdjustment`

Get a base currency adjustment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.baseCurrencyAdjustment.getBaseCurrencyAdjustment({
	pathParams: { base_currency_adjustment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   base_currency_adjustment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBaseCurrencyAdjustmentAccounts

`baseCurrencyAdjustment.listBaseCurrencyAdjustmentAccounts`

List account details for base currency adjustment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.baseCurrencyAdjustment.listBaseCurrencyAdjustmentAccounts({
	query: {
		organization_id: '999999999999999',
		currency_id: '999999999999999',
		adjustment_date: '2026-01-15',
		exchange_rate: 1,
		notes: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   currency_id: string,
>   adjustment_date: string,
>   exchange_rate: number,
>   notes: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBaseCurrencyAdjustmentContacts

`baseCurrencyAdjustment.listBaseCurrencyAdjustmentContacts`

List contact details for base currency adjustment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.baseCurrencyAdjustment.listBaseCurrencyAdjustmentContacts({
	query: {
		organization_id: '999999999999999',
		currency_id: '999999999999999',
		account_id: '999999999999999',
		adjustment_date: '2026-01-15',
		exchange_rate: 1,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   currency_id: string,
>   account_id: string,
>   adjustment_date: string,
>   exchange_rate: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBaseCurrencyAdjustments

`baseCurrencyAdjustment.listBaseCurrencyAdjustments`

List base currency adjustment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.baseCurrencyAdjustment.listBaseCurrencyAdjustments({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   sort_column?: string,
>   last_modified_time?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### reevaluateBaseCurrencyAdjustment

`baseCurrencyAdjustment.reevaluateBaseCurrencyAdjustment`

Reevaluate a base currency adjustment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.baseCurrencyAdjustment.reevaluateBaseCurrencyAdjustment({
	pathParams: { base_currency_adjustment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   base_currency_adjustment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Bills

### addBillAttachment

`bills.addBillAttachment`

Add attachment to a bill. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.addBillAttachment({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addBillComment

`bills.addBillComment`

Add comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.addBillComment({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { description: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description: string
> }
> ```

**Output:** `custom`

***

### applyCreditsToBill

`bills.applyCreditsToBill`

Apply credits. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.applyCreditsToBill({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   bill_payments?: {
>     payment_id?: string,
>     amount_applied?: number
>   }[],
>   apply_vendor_credits?: {
>     vendor_credit_id?: string,
>     amount_applied?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### approveBill

`bills.approveBill`

Approve a bill. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bills.approveBill({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### convertPurchaseOrderToBill

`bills.convertPurchaseOrderToBill`

Convert PO to Bill. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bills.convertPurchaseOrderToBill({
	query: { purchaseorder_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   purchaseorder_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createBill

`bills.createBill`

Create a bill. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.createBill({
	query: { organization_id: '999999999999999' },
	body: { vendor_id: '999999999999999', bill_number: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   vat_treatment?: string,
>   is_update_customer?: boolean,
>   purchaseorder_ids?: string[],
>   bill_number: string,
>   entity_type?: string,
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   permit_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   gst_no?: string,
>   tax_reg_no?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     legal_name?: string,
>     electronic_address_value?: string
>   },
>   pricebook_id?: string,
>   reference_number?: string,
>   date?: string,
>   due_date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   bank_account_id?: string,
>   recurring_bill_id?: string,
>   exchange_rate?: number,
>   is_item_level_tax_calc?: boolean,
>   is_inclusive_tax?: boolean,
>   adjustment?: number,
>   adjustment_description?: string,
>   discount_code?: string,
>   location_id?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items?: {
>     purchaseorder_item_id?: string,
>     line_item_id?: string,
>     item_id?: string,
>     name?: string,
>     account_id?: string,
>     description?: string,
>     rate?: number,
>     hsn_or_sac?: string,
>     unitkey_code?: string,
>     discount_code?: string,
>     reverse_charge_tax_id?: string,
>     location_id?: string,
>     quantity?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     item_order?: number,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     unit?: string,
>     tags?: custom[],
>     line_item_category?: string,
>     is_billable?: boolean,
>     project_id?: string,
>     customer_id?: string,
>     item_custom_fields?: custom[],
>     serial_numbers?: custom[]
>   }[],
>   taxes?: {
>     tax_id?: string,
>     tax_name?: string,
>     tax_amount?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   approvers?: {
>     approver_id?: string,
>     order?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteBill

`bills.deleteBill`

Delete a bill. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bills.deleteBill({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteBillAttachment

`bills.deleteBillAttachment`

Delete an attachment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bills.deleteBillAttachment({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteBillComment

`bills.deleteBillComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bills.deleteBillComment({
	pathParams: { bill_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteBillPayment

`bills.deleteBillPayment`

Delete a payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bills.deleteBillPayment({
	pathParams: { bill_id: '999999999999999', bill_payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string,
>   bill_payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBill

`bills.getBill`

Get a bill. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bills.getBill({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBillAttachment

`bills.getBillAttachment`

Get a bill attachment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bills.getBillAttachment({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

Zoho documents this as returning the attached file; JSON metadata responses are also accepted. Binary files are returned with their response content type and are limited to 10 MiB.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   preview?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getBillComments

`bills.getBillComments`

List bill comments & history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bills.getBillComments({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBillPayments

`bills.listBillPayments`

List bill payments. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bills.listBillPayments({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBills

`bills.listBills`

List bills. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.bills.listBills({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   bill_number?: string,
>   reference_number?: string,
>   date?: string,
>   due_date?: string,
>   created_date?: string,
>   status?: paid | open | overdue | void | partially_paid | unpaid | draft | pending_approval | approval_overdue | my_approvals | rejected | approved,
>   description?: string,
>   vendor_name?: string,
>   total?: string,
>   vendor_id?: string,
>   project_id?: string,
>   item_name?: string,
>   item_description?: string,
>   item_id?: string,
>   recurring_bill_id?: string,
>   purchaseorder_id?: string,
>   last_modified_time?: string,
>   customer_id?: string,
>   filter_by?: Status.All | Status.Paid | Status.Open | Status.Overdue | Status.Void | Status.PartiallyPaid | Status.Unpaid | Status.Draft | Status.Pending | Status.ApprovalOverdue | Status.CreditNotes | Status.MyApprovals | Status.Network | Status.NetworkPending | Status.EInvoicedBills | Status.EInvoicePendingBills | Status.MSMEDueBills | Status.TDSInvoices | Status.BBPSPendingApproval | Status.BBPSAccepted | Status.BBPSAcceptFailed | Status.BBPSRejected | Status.BBPSRejectFailed | Status.BBPSReturned | Status.BBPSReturnFailed | Status.PMSAppliedBills | Status.ViolatedBills | YetToBeReceived | Received | ExceptionList | WithAttachment | WithoutAttachment | Source.TallyConnector | MissingAdvancedTrackingDetails | TDSCalculationExceptionList | Type.All | Type.Bills | Type.SelfBilled | Type.MyRecentBills,
>   search_text?: string,
>   page?: number,
>   per_page?: number,
>   location_ids?: string,
>   sort_column?: vendor_name | bill_number | date | due_date | total | balance | created_time | last_modified_time | txn_value_date | total_retention_amount,
>   sort_order?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markBillOpen

`bills.markBillOpen`

Mark a bill as open. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.markBillOpen({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markBillVoid

`bills.markBillVoid`

Void a bill. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.bills.markBillVoid({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitBill

`bills.submitBill`

Submit a bill for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.submitBill({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateBill

`bills.updateBill`

Update a bill. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.updateBill({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { vendor_id: '999999999999999', bill_number: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   vat_treatment?: string,
>   is_update_customer?: boolean,
>   purchaseorder_ids?: string[],
>   bill_number: string,
>   entity_type?: string,
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   permit_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   gst_no?: string,
>   tax_reg_no?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     legal_name?: string,
>     electronic_address_value?: string
>   },
>   pricebook_id?: string,
>   reference_number?: string,
>   date?: string,
>   due_date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   bank_account_id?: string,
>   recurring_bill_id?: string,
>   exchange_rate?: number,
>   is_item_level_tax_calc?: boolean,
>   is_inclusive_tax?: boolean,
>   adjustment?: number,
>   adjustment_description?: string,
>   discount_code?: string,
>   custom_fields?: {
>     custom_field_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items?: {
>     purchaseorder_item_id?: string,
>     line_item_id?: string,
>     item_id?: string,
>     name?: string,
>     account_id?: string,
>     description?: string,
>     rate?: number,
>     hsn_or_sac?: string,
>     unitkey_code?: string,
>     discount_code?: string,
>     reverse_charge_tax_id?: string,
>     location_id?: string,
>     quantity?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     item_order?: number,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     unit?: string,
>     tags?: custom[],
>     line_item_category?: string,
>     is_billable?: boolean,
>     project_id?: string,
>     customer_id?: string,
>     item_custom_fields?: custom[],
>     serial_numbers?: custom[]
>   }[],
>   location_id?: string,
>   taxes?: {
>     tax_id?: string,
>     tax_name?: string,
>     tax_amount?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   approvers?: {
>     approver_id?: string,
>     order?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### updateBillBillingAddress

`bills.updateBillBillingAddress`

Update billing address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.updateBillBillingAddress({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string,
>   attention?: string,
>   is_update_customer?: boolean
> }
> ```

**Output:** `custom`

***

### updateBillUsingCustomField

`bills.updateBillUsingCustomField`

Update a bill using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.updateBillUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: { vendor_id: '999999999999999', bill_number: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   vat_treatment?: string,
>   is_update_customer?: boolean,
>   purchaseorder_ids?: string[],
>   bill_number: string,
>   entity_type?: string,
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   permit_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   gst_no?: string,
>   tax_reg_no?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     legal_name?: string,
>     electronic_address_value?: string
>   },
>   pricebook_id?: string,
>   reference_number?: string,
>   date?: string,
>   due_date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   bank_account_id?: string,
>   recurring_bill_id?: string,
>   exchange_rate?: number,
>   is_item_level_tax_calc?: boolean,
>   is_inclusive_tax?: boolean,
>   adjustment?: number,
>   adjustment_description?: string,
>   discount_code?: string,
>   custom_fields?: {
>     custom_field_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items?: {
>     purchaseorder_item_id?: string,
>     line_item_id?: string,
>     item_id?: string,
>     name?: string,
>     account_id?: string,
>     description?: string,
>     rate?: number,
>     hsn_or_sac?: string,
>     unitkey_code?: string,
>     discount_code?: string,
>     reverse_charge_tax_id?: string,
>     location_id?: string,
>     quantity?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     item_order?: number,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     unit?: string,
>     tags?: custom[],
>     line_item_category?: string,
>     is_billable?: boolean,
>     project_id?: string,
>     customer_id?: string,
>     item_custom_fields?: custom[],
>     serial_numbers?: custom[]
>   }[],
>   location_id?: string,
>   taxes?: {
>     tax_id?: string,
>     tax_name?: string,
>     tax_amount?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   approvers?: {
>     approver_id?: string,
>     order?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### updateCustomFieldsInBill

`bills.updateCustomFieldsInBill`

Update custom field in existing bills. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.bills.updateCustomFieldsInBill({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | Update the custom fields of a bill. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   custom_fields?: {
>     custom_field_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Categories

### createCategory

`categories.createCategory`

Create a category. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.categories.createCategory({
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', url: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | Yes | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   url: string,
>   description?: string,
>   sibling_order?: number,
>   parent_category_id?: string,
>   parent_category_name?: string,
>   visibility?: boolean,
>   show_in_menu?: boolean,
>   category_tax_preferences?: {
>     tax_specification?: string,
>     tax_id?: string
>   }[],
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteCategory

`categories.deleteCategory`

Delete a category. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.categories.deleteCategory({
	pathParams: { category_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   category_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   delete_sub_categories?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCategory

`categories.getCategory`

Get a category. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.categories.getCategory({
	pathParams: { category_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   category_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCategories

`categories.listCategories`

List categories. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.categories.listCategories({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   parent_category_id?: string,
>   include_parent_category?: boolean,
>   include_root_category?: boolean,
>   last_modified_time?: string,
>   search_text?: string,
>   category_ids?: string,
>   name?: string,
>   name_startswith?: string,
>   name_contains?: string,
>   name_in?: string,
>   name_not_in?: string,
>   created_time?: string,
>   filter_by?: string,
>   page?: number,
>   per_page?: number,
>   sort_column?: string,
>   sort_order?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCategory

`categories.updateCategory`

Update a category. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.categories.updateCategory({
	pathParams: { category_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', url: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `Record<string, custom>` | Yes | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   category_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   update_all_items?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Chart Of Accounts

### bulkDeleteChartOfAccounts

`chartOfAccounts.bulkDeleteChartOfAccounts`

Bulk delete accounts. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.bulkDeleteChartOfAccounts({
	query: { organization_id: '999999999999999', account_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkMarkChartOfAccountsActive

`chartOfAccounts.bulkMarkChartOfAccountsActive`

Bulk mark accounts as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.bulkMarkChartOfAccountsActive({
	query: { organization_id: '999999999999999', account_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkMarkChartOfAccountsInactive

`chartOfAccounts.bulkMarkChartOfAccountsInactive`

Bulk mark accounts as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.bulkMarkChartOfAccountsInactive({
	query: { organization_id: '999999999999999', account_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createChartOfAccount

`chartOfAccounts.createChartOfAccount`

Create an account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.createChartOfAccount({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_name?: string,
>   account_code?: string,
>   account_type?: string,
>   currency_id?: string,
>   description?: string,
>   show_on_dashboard?: boolean,
>   can_show_in_ze?: boolean,
>   include_in_vat_return?: boolean,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   parent_account_id?: string
> }
> ```

**Output:** `custom`

***

### deleteChartOfAccount

`chartOfAccounts.deleteChartOfAccount`

Delete an account. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.deleteChartOfAccount({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteChartOfAccountTransaction

`chartOfAccounts.deleteChartOfAccountTransaction`

Delete a transaction. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.deleteChartOfAccountTransaction({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getChartOfAccount

`chartOfAccounts.getChartOfAccount`

Get an account. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.getChartOfAccount({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listChartOfAccounts

`chartOfAccounts.listChartOfAccounts`

List chart of accounts. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.listChartOfAccounts({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   showbalance?: boolean,
>   filter_by?: string,
>   sort_column?: string,
>   last_modified_time?: string,
>   customview_id?: string,
>   account_id?: string,
>   account_code?: string,
>   account_name?: string,
>   search_text?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listChartOfAccountTransactions

`chartOfAccounts.listChartOfAccountTransactions`

List of transactions for an account. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.listChartOfAccountTransactions({
	query: { organization_id: '999999999999999', account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id: string,
>   date?: string,
>   date_start?: string,
>   date_end?: string,
>   date_before?: string,
>   date_after?: string,
>   amount?: number,
>   amount_less_than?: number,
>   amount_less_equals?: number,
>   amount_greater_than?: number,
>   amount_greater_equals?: number,
>   filter_by?: string,
>   transaction_type?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markChartOfAccountActive

`chartOfAccounts.markChartOfAccountActive`

Mark an account as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.markChartOfAccountActive({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markChartOfAccountInactive

`chartOfAccounts.markChartOfAccountInactive`

Mark an account as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.markChartOfAccountInactive({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateChartOfAccount

`chartOfAccounts.updateChartOfAccount`

Update an account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.chartOfAccounts.updateChartOfAccount({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_name?: string,
>   account_code?: string,
>   account_type?: string,
>   currency_id?: string,
>   description?: string,
>   show_on_dashboard?: boolean,
>   can_show_in_ze?: boolean,
>   include_in_vat_return?: boolean,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   parent_account_id?: string
> }
> ```

**Output:** `custom`

***

## Contact Persons

### createContactPerson

`contactPersons.createContactPerson`

Create a contact person. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contactPersons.createContactPerson({
	query: { organization_id: '999999999999999' },
	body: { first_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   contact_id?: string,
>   salutation?: string,
>   first_name: string,
>   last_name?: string,
>   email?: string,
>   phone?: string,
>   mobile?: string,
>   skype?: string,
>   designation?: string,
>   department?: string,
>   enable_portal?: boolean,
>   communication_preference?: {
>     is_sms_enabled?: boolean,
>     is_whatsapp_enabled?: boolean
>   }
> }
> ```

**Output:** `custom`

***

### deleteContactPerson

`contactPersons.deleteContactPerson`

Delete a contact person. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contactPersons.deleteContactPerson({
	pathParams: { contact_person_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_person_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactPerson

`contactPersons.getContactPerson`

Get a contact person. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contactPersons.getContactPerson({
	pathParams: { contact_id: '999999999999999', contact_person_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   contact_person_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactPersons

`contactPersons.listContactPersons`

List contact persons. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contactPersons.listContactPersons({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markContactPersonPrimary

`contactPersons.markContactPersonPrimary`

Mark as primary contact person. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contactPersons.markContactPersonPrimary({
	pathParams: { contact_person_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_person_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateContactPerson

`contactPersons.updateContactPerson`

Update a contact person. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contactPersons.updateContactPerson({
	pathParams: { contact_person_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { contact_id: '999999999999999', first_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_person_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   salutation?: string,
>   first_name: string,
>   last_name?: string,
>   email?: string,
>   phone?: string,
>   mobile?: string,
>   skype?: string,
>   designation?: string,
>   department?: string,
>   enable_portal?: boolean,
>   is_primary_contact?: boolean,
>   communication_preference?: {
>     is_sms_enabled?: boolean,
>     is_whatsapp_enabled?: boolean
>   }
> }
> ```

**Output:** `custom`

***

## Contacts

### addContactAddress

`contacts.addContactAddress`

Add Additional Address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.addContactAddress({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   attention?: string,
>   address?: string,
>   street2?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string,
>   phone?: string
> }
> ```

**Output:** `custom`

***

### addContactAttachment

`contacts.addContactAttachment`

Add an attachment to a contact. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.addContactAttachment({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addContactBankAccount

`contacts.addContactBankAccount`

Add a bank account to a contact. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.addContactBankAccount({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   gateway?: string,
>   account_number?: string,
>   account_type?: string,
>   routing_number?: string,
>   check_number?: string,
>   bank_name?: string,
>   name?: string,
>   first_name?: string,
>   last_name?: string,
>   beneficiary_name?: string,
>   street?: string,
>   city?: string,
>   state?: string,
>   country?: string,
>   zip?: string,
>   accept_license?: boolean
> }
> ```

**Output:** `custom`

***

### addContactCard

`contacts.addContactCard`

Add a card to a contact. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.addContactCard({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   card_token?: string,
>   gateway?: string,
>   card_number?: string,
>   cvv?: string,
>   first_name?: string,
>   last_name?: string,
>   address?: string,
>   city?: string,
>   state?: string,
>   country?: string,
>   zip?: string,
>   expire_month?: number,
>   expire_year?: number,
>   is_primary?: boolean,
>   is_backup?: boolean
> }
> ```

**Output:** `custom`

***

### addContactComment

`contacts.addContactComment`

Add a comment to a contact. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.addContactComment({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string
> }
> ```

**Output:** `custom`

***

### addContactTaxInfo

`contacts.addContactTaxInfo`

Add contact tax information. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.addContactTaxInfo({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `Record<string, custom>` | No | Tax information details for the contact. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### approveContactBankAccount

`contacts.approveContactBankAccount`

Approve a contact bank account. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.approveContactBankAccount({
	pathParams: { contact_id: '999999999999999', bank_account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   bank_account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### assignContactOwner

`contacts.assignContactOwner`

Assign an Owner to a Contact. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.assignContactOwner({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   owner_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### assignOwnerToContacts

`contacts.assignOwnerToContacts`

Assign an Owner to Multiple Contacts. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.assignOwnerToContacts({
	query: { organization_id: '999999999999999', contact_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   contact_ids: string,
>   owner_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createContact

`contacts.createContact`

Create a Contact. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.createContact({
	query: { organization_id: '999999999999999' },
	body: { contact_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   contact_name: string,
>   company_name?: string,
>   website?: string,
>   language_code?: string,
>   contact_type?: string,
>   customer_sub_type?: string,
>   credit_limit?: number,
>   pricebook_id?: string,
>   contact_number?: string,
>   ignore_auto_number_generation?: boolean,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   is_portal_enabled?: boolean,
>   currency_id?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   notes?: string,
>   billing_address?: {
>     attention?: string,
>     address?: string,
>     street2?: string,
>     state_code?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string,
>     phone?: string
>   },
>   shipping_address?: {
>     attention?: string,
>     address?: string,
>     street2?: string,
>     state_code?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string,
>     phone?: string
>   },
>   contact_persons?: {
>     salutation?: string,
>     first_name?: string,
>     last_name?: string,
>     email?: string,
>     phone?: string,
>     mobile?: string,
>     designation?: string,
>     department?: string,
>     skype?: string,
>     is_primary_contact?: boolean,
>     communication_preference?: {
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     },
>     enable_portal?: boolean
>   }[],
>   default_templates?: {
>     invoice_template_id?: string,
>     estimate_template_id?: string,
>     creditnote_template_id?: string,
>     purchaseorder_template_id?: string,
>     salesorder_template_id?: string,
>     retainerinvoice_template_id?: string,
>     paymentthankyou_template_id?: string,
>     retainerinvoice_paymentthankyou_template_id?: string,
>     invoice_email_template_id?: string,
>     estimate_email_template_id?: string,
>     creditnote_email_template_id?: string,
>     purchaseorder_email_template_id?: string,
>     salesorder_email_template_id?: string,
>     retainerinvoice_email_template_id?: string,
>     paymentthankyou_email_template_id?: string,
>     retainerinvoice_paymentthankyou_email_template_id?: string,
>     statement_template_id?: string,
>     payment_remittance_email_template_id?: string,
>     bill_template_id?: string
>   },
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   opening_balances?: {
>     location_id?: string,
>     exchange_rate?: number,
>     opening_balance_amount?: number
>   }[],
>   vat_reg_no?: string,
>   owner_id?: string,
>   tax_reg_no?: string,
>   tax_exemption_certificate_number?: string,
>   country_code?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   tax_regime?: string,
>   legal_name?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   place_of_supply?: string,
>   is_tds_registered?: boolean,
>   place_of_contact?: string,
>   gst_no?: string,
>   gst_treatment?: string,
>   tax_authority_name?: string,
>   avatax_exempt_no?: string,
>   avatax_use_code?: string,
>   tax_exemption_id?: string,
>   tax_exemption_code?: string,
>   tax_authority_id?: string,
>   tax_id?: string,
>   tds_tax_id?: string,
>   is_taxable?: boolean,
>   facebook?: string,
>   twitter?: string,
>   track_1099?: boolean,
>   tax_id_type?: string,
>   tax_id_value?: string
> }
> ```

**Output:** `custom`

***

### declineContactBankAccount

`contacts.declineContactBankAccount`

Decline a contact bank account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.declineContactBankAccount({
	pathParams: { contact_id: '999999999999999', bank_account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   bank_account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContact

`contacts.deleteContact`

Delete a Contact. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContact({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContactAddress

`contacts.deleteContactAddress`

Delete Additional Address. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContactAddress({
	pathParams: { contact_id: '999999999999999', address_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   address_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContactBankAccount

`contacts.deleteContactBankAccount`

Delete a contact bank account. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContactBankAccount({
	pathParams: { contact_id: '999999999999999', bank_account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   bank_account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContactCard

`contacts.deleteContactCard`

Delete a contact card. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContactCard({
	pathParams: { contact_id: '999999999999999', card_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   card_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContactComment

`contacts.deleteContactComment`

Delete a contact comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContactComment({
	pathParams: { contact_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContactDocument

`contacts.deleteContactDocument`

Delete a contact document. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContactDocument({
	pathParams: { contact_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContacts

`contacts.deleteContacts`

Delete contacts. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContacts({
	query: { organization_id: '999999999999999', contact_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   contact_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContactTag

`contacts.deleteContactTag`

Delete a contact tag. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContactTag({
	pathParams: { contact_id: '999999999999999', tag_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   tag_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteContactTaxInfo

`contacts.deleteContactTaxInfo`

Delete contact tax information. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.deleteContactTaxInfo({
	pathParams: { contact_id: '999999999999999', tax_info_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   tax_info_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### disableContactPaymentReminder

`contacts.disableContactPaymentReminder`

Disable Payment Reminders. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.disableContactPaymentReminder({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### disableContactPersonSms

`contacts.disableContactPersonSms`

Disable SMS for a contact person. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.disableContactPersonSms({
	pathParams: { contactperson_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contactperson_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### disableContactPortal

`contacts.disableContactPortal`

Disable the contact portal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.disableContactPortal({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailContact

`contacts.emailContact`

Email Contact. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.emailContact({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
		subject: 'sample',
		body: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send_customer_statement?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   to_mail_ids: string[],
>   subject: string,
>   body: string,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

**Output:** `custom`

***

### emailContactStatement

`contacts.emailContactStatement`

Email Statement. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.emailContactStatement({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
		subject: 'sample',
		body: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   start_date?: string,
>   end_date?: string,
>   multipart_or_formdata?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   send_from_org_email_id?: boolean,
>   to_mail_ids: string[],
>   cc_mail_ids?: string[],
>   subject: string,
>   body: string
> }
> ```

**Output:** `custom`

***

### enableContactPaymentReminder

`contacts.enableContactPaymentReminder`

Enable Payment Reminders. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.enableContactPaymentReminder({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### enableContactPersonSms

`contacts.enableContactPersonSms`

Enable SMS for a contact person. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.enableContactPersonSms({
	pathParams: { contactperson_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contactperson_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### enableContactPortal

`contacts.enableContactPortal`

Enable Portal Access. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.enableContactPortal({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		contact_persons: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   contact_persons: {
>     contact_person_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### getContact

`contacts.getContact`

Get Contact. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContact({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactAddress

`contacts.getContactAddress`

Get Contact Addresses. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactAddress({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactBankAccount

`contacts.getContactBankAccount`

Get a contact bank account. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactBankAccount({
	pathParams: { contact_id: '999999999999999', bank_account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   bank_account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactByReference

`contacts.getContactByReference`

Get a contact by reference. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactByReference({
	pathParams: { reference_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   reference_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactCard

`contacts.getContactCard`

Get a contact card. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactCard({
	pathParams: { contact_id: '999999999999999', card_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   card_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactCardCount

`contacts.getContactCardCount`

Get contact card count. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactCardCount({
	query: { organization_id: '999999999999999', contact_ids: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   contact_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactClientReviewEmail

`contacts.getContactClientReviewEmail`

Get client review email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactClientReviewEmail({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactContactPerson

`contacts.getContactContactPerson`

Get a contact person of a contact. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactContactPerson({
	pathParams: { contact_id: '999999999999999', contactperson_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   contactperson_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactDocument

`contacts.getContactDocument`

Get a contact document. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactDocument({
	pathParams: { contact_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactEmailContent

`contacts.getContactEmailContent`

Get contact email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactEmailContent({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactIncomeAndExpense

`contacts.getContactIncomeAndExpense`

Get contact income and expense. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactIncomeAndExpense({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactInventorySummary

`contacts.getContactInventorySummary`

Get contact inventory summary. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactInventorySummary({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactOpeningBalances

`contacts.getContactOpeningBalances`

Get contact opening balances. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactOpeningBalances({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactPaymentMethodEmail

`contacts.getContactPaymentMethodEmail`

Get payment method email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactPaymentMethodEmail({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactProfitAndLoss

`contacts.getContactProfitAndLoss`

Get contact profit and loss. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactProfitAndLoss({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactSmsContent

`contacts.getContactSmsContent`

Get contact SMS content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactSmsContent({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactsSmsContent

`contacts.getContactsSmsContent`

Get bulk contact SMS content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactsSmsContent({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactStatement

`contacts.getContactStatement`

Get a contact statement. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactStatement({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactStatementMail

`contacts.getContactStatementMail`

Get Statement Mail Content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactStatementMail({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   start_date?: string,
>   end_date?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactUnusedCredits

`contacts.getContactUnusedCredits`

Get unused credits of a contact. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactUnusedCredits({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getContactVendorStatementEmail

`contacts.getContactVendorStatementEmail`

Get vendor statement email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getContactVendorStatementEmail({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getUnusedRetainerPayments

`contacts.getUnusedRetainerPayments`

Get Unused Retainer Payments. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.getUnusedRetainerPayments({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   currency_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### inviteContactPersonToPortal

`contacts.inviteContactPersonToPortal`

Invite a contact person to the portal. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.inviteContactPersonToPortal({
	pathParams: { contactperson_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contactperson_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listAllContactBankAccounts

`contacts.listAllContactBankAccounts`

List all contact bank accounts. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listAllContactBankAccounts({
	query: { organization_id: '999999999999999', contact_ids: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   contact_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listAllContactPersons

`contacts.listAllContactPersons`

List all contact persons. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listAllContactPersons({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactAddresses

`contacts.listContactAddresses`

List contact addresses. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContactAddresses({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactAutobillRecurringInvoices

`contacts.listContactAutobillRecurringInvoices`

List Auto-bill Recurring Invoices for a Contact Card. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContactAutobillRecurringInvoices({
	pathParams: { contact_id: '999999999999999', card_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   card_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactBankAccounts

`contacts.listContactBankAccounts`

List contact bank accounts. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContactBankAccounts({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactCards

`contacts.listContactCards`

List contact cards. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContactCards({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactComments

`contacts.listContactComments`

List Comments. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContactComments({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactCreditNoteRefunds

`contacts.listContactCreditNoteRefunds`

List credit note refunds for a contact. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContactCreditNoteRefunds({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactPaymentRefunds

`contacts.listContactPaymentRefunds`

List payment refunds of a contact. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContactPaymentRefunds({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContacts

`contacts.listContacts`

List Contacts. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContacts({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   contact_type?: string,
>   contact_name?: string,
>   company_name?: string,
>   first_name?: string,
>   last_name?: string,
>   address?: string,
>   email?: string,
>   phone?: string,
>   filter_by?: string,
>   search_text?: string,
>   sort_column?: string,
>   zcrm_contact_id?: string,
>   zcrm_account_id?: string,
>   zcrm_vendor_id?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listContactTaxInfo

`contacts.listContactTaxInfo`

List contact tax information. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.listContactTaxInfo({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markContactActive

`contacts.markContactActive`

Mark as Active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.markContactActive({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markContactAddressAsBilling

`contacts.markContactAddressAsBilling`

Mark an address as billing. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.markContactAddressAsBilling({
	pathParams: { contact_id: '999999999999999', address_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   address_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markContactAddressAsShipping

`contacts.markContactAddressAsShipping`

Mark an address as shipping. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.markContactAddressAsShipping({
	pathParams: { contact_id: '999999999999999', address_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   address_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markContactInactive

`contacts.markContactInactive`

Mark as Inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.markContactInactive({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markContactsFor1099Tracking

`contacts.markContactsFor1099Tracking`

Mark Multiple Contacts for 1099 Tracking. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.markContactsFor1099Tracking({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   contact_ids?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### mergeContact

`contacts.mergeContact`

Merge contacts. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.mergeContact({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### resendContactPersonPortalInvite

`contacts.resendContactPersonPortalInvite`

Resend a portal invite. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.resendContactPersonPortalInvite({
	pathParams: { contactperson_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contactperson_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### restoreContactDocuments

`contacts.restoreContactDocuments`

Restore contact documents. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.restoreContactDocuments({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sendContactClientReviewEmail

`contacts.sendContactClientReviewEmail`

Send a client review email. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.sendContactClientReviewEmail({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sendContactPaymentMethodEmail

`contacts.sendContactPaymentMethodEmail`

Send a payment method request email. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.sendContactPaymentMethodEmail({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sendContactSms

`contacts.sendContactSms`

Send SMS to a contact. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.sendContactSms({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sendContactsSms

`contacts.sendContactsSms`

Send SMS to contacts. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.sendContactsSms({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sendContactVendorStatementEmail

`contacts.sendContactVendorStatementEmail`

Send a vendor statement email. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.contacts.sendContactVendorStatementEmail({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### trackContact1099

`contacts.trackContact1099`

Track 1099. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.trackContact1099({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### untrackContact1099

`contacts.untrackContact1099`

Untrack 1099. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.untrackContact1099({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateContact

`contacts.updateContact`

Update a Contact. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContact({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { contact_name: 'Sample record', contact_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   contact_name: string,
>   company_name?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   contact_type: string,
>   customer_sub_type?: string,
>   currency_id?: string,
>   opening_balances?: {
>     location_id?: string,
>     exchange_rate?: number,
>     opening_balance_amount?: number
>   }[],
>   credit_limit?: number,
>   pricebook_id?: string,
>   contact_number?: string,
>   ignore_auto_number_generation?: boolean,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   website?: string,
>   owner_id?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string,
>     label?: string
>   }[],
>   billing_address?: {
>     attention?: string,
>     address?: string,
>     street2?: string,
>     state_code?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string,
>     phone?: string
>   },
>   shipping_address?: {
>     attention?: string,
>     address?: string,
>     street2?: string,
>     state_code?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string,
>     phone?: string
>   },
>   contact_persons?: {
>     contact_person_id?: string,
>     salutation?: string,
>     first_name?: string,
>     last_name?: string,
>     email?: string,
>     phone?: string,
>     mobile?: string,
>     designation?: string,
>     department?: string,
>     skype?: string,
>     is_primary_contact?: boolean,
>     enable_portal?: boolean,
>     communication_preference?: {
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   default_templates?: {
>     invoice_template_id?: string,
>     estimate_template_id?: string,
>     creditnote_template_id?: string,
>     purchaseorder_template_id?: string,
>     salesorder_template_id?: string,
>     retainerinvoice_template_id?: string,
>     paymentthankyou_template_id?: string,
>     retainerinvoice_paymentthankyou_template_id?: string,
>     invoice_email_template_id?: string,
>     estimate_email_template_id?: string,
>     creditnote_email_template_id?: string,
>     purchaseorder_email_template_id?: string,
>     salesorder_email_template_id?: string,
>     retainerinvoice_email_template_id?: string,
>     paymentthankyou_email_template_id?: string,
>     retainerinvoice_paymentthankyou_email_template_id?: string,
>     statement_template_id?: string,
>     payment_remittance_email_template_id?: string,
>     bill_template_id?: string
>   },
>   notes?: string,
>   vat_reg_no?: string,
>   tax_reg_no?: string,
>   country_code?: string,
>   tax_treatment?: string,
>   tax_exemption_certificate_number?: string,
>   tax_regime?: string,
>   legal_name?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   place_of_supply?: string,
>   is_tds_registered?: boolean,
>   vat_treatment?: string,
>   place_of_contact?: string,
>   gst_no?: string,
>   gst_treatment?: string,
>   tax_authority_name?: string,
>   avatax_exempt_no?: string,
>   avatax_use_code?: string,
>   tax_exemption_id?: string,
>   tax_exemption_code?: string,
>   tax_authority_id?: string,
>   tax_id?: string,
>   is_taxable?: boolean,
>   facebook?: string,
>   twitter?: string,
>   track_1099?: boolean,
>   tax_id_type?: string,
>   tax_id_value?: string
> }
> ```

**Output:** `custom`

***

### updateContactAddress

`contacts.updateContactAddress`

Edit Additional Address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContactAddress({
	pathParams: { contact_id: '999999999999999', address_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { address_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   address_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   attention?: string,
>   address?: string,
>   street2?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string,
>   phone?: string,
>   address_id: string
> }
> ```

**Output:** `custom`

***

### updateContactBankAccount

`contacts.updateContactBankAccount`

Update a contact bank account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContactBankAccount({
	pathParams: { contact_id: '999999999999999', bank_account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   bank_account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   gateway?: string,
>   account_number?: string,
>   account_type?: string,
>   routing_number?: string,
>   check_number?: string,
>   bank_name?: string,
>   name?: string,
>   first_name?: string,
>   last_name?: string,
>   beneficiary_name?: string,
>   street?: string,
>   city?: string,
>   state?: string,
>   country?: string,
>   zip?: string,
>   accept_license?: boolean
> }
> ```

**Output:** `custom`

***

### updateContactCard

`contacts.updateContactCard`

Update a contact card. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContactCard({
	pathParams: { contact_id: '999999999999999', card_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   card_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   card_token?: string,
>   gateway?: string,
>   card_number?: string,
>   cvv?: string,
>   first_name?: string,
>   last_name?: string,
>   address?: string,
>   city?: string,
>   state?: string,
>   country?: string,
>   zip?: string,
>   expire_month?: number,
>   expire_year?: number,
>   is_primary?: boolean,
>   is_backup?: boolean
> }
> ```

**Output:** `custom`

***

### updateContactDocument

`contacts.updateContactDocument`

Update a contact document. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContactDocument({
	pathParams: { contact_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateContactTags

`contacts.updateContactTags`

Update contact tags. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContactTags({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `Record<string, custom>` | No | Reporting tags to associate with the contact. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateContactTaxInfo

`contacts.updateContactTaxInfo`

Update contact tax information. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContactTaxInfo({
	pathParams: { contact_id: '999999999999999', tax_info_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `Record<string, custom>` | No | Tax information details for the contact. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   tax_info_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateContactTrnStatus

`contacts.updateContactTrnStatus`

Update contact TRN status. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContactTrnStatus({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateContactUsingCustomField

`contacts.updateContactUsingCustomField`

Update a contact using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.updateContactUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: { contact_name: 'Sample record', contact_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   contact_name: string,
>   company_name?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   contact_type: string,
>   customer_sub_type?: string,
>   currency_id?: string,
>   opening_balances?: {
>     location_id?: string,
>     exchange_rate?: number,
>     opening_balance_amount?: number
>   }[],
>   credit_limit?: number,
>   pricebook_id?: string,
>   contact_number?: string,
>   ignore_auto_number_generation?: boolean,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   website?: string,
>   owner_id?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string,
>     label?: string
>   }[],
>   billing_address?: {
>     attention?: string,
>     address?: string,
>     street2?: string,
>     state_code?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string,
>     phone?: string
>   },
>   shipping_address?: {
>     attention?: string,
>     address?: string,
>     street2?: string,
>     state_code?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string,
>     phone?: string
>   },
>   contact_persons?: {
>     contact_person_id?: string,
>     salutation?: string,
>     first_name?: string,
>     last_name?: string,
>     email?: string,
>     phone?: string,
>     mobile?: string,
>     designation?: string,
>     department?: string,
>     skype?: string,
>     is_primary_contact?: boolean,
>     enable_portal?: boolean,
>     communication_preference?: {
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   default_templates?: {
>     invoice_template_id?: string,
>     estimate_template_id?: string,
>     creditnote_template_id?: string,
>     purchaseorder_template_id?: string,
>     salesorder_template_id?: string,
>     retainerinvoice_template_id?: string,
>     paymentthankyou_template_id?: string,
>     retainerinvoice_paymentthankyou_template_id?: string,
>     invoice_email_template_id?: string,
>     estimate_email_template_id?: string,
>     creditnote_email_template_id?: string,
>     purchaseorder_email_template_id?: string,
>     salesorder_email_template_id?: string,
>     retainerinvoice_email_template_id?: string,
>     paymentthankyou_email_template_id?: string,
>     retainerinvoice_paymentthankyou_email_template_id?: string,
>     statement_template_id?: string,
>     payment_remittance_email_template_id?: string,
>     bill_template_id?: string
>   },
>   notes?: string,
>   vat_reg_no?: string,
>   tax_reg_no?: string,
>   country_code?: string,
>   tax_treatment?: string,
>   tax_exemption_certificate_number?: string,
>   tax_regime?: string,
>   legal_name?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   place_of_supply?: string,
>   is_tds_registered?: boolean,
>   vat_treatment?: string,
>   place_of_contact?: string,
>   gst_no?: string,
>   gst_treatment?: string,
>   tax_authority_name?: string,
>   avatax_exempt_no?: string,
>   avatax_use_code?: string,
>   tax_exemption_id?: string,
>   tax_exemption_code?: string,
>   tax_authority_id?: string,
>   tax_id?: string,
>   is_taxable?: boolean,
>   facebook?: string,
>   twitter?: string,
>   track_1099?: boolean,
>   tax_id_type?: string,
>   tax_id_value?: string
> }
> ```

**Output:** `custom`

***

### verifyContactAddress

`contacts.verifyContactAddress`

Verify a Contact Address. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.contacts.verifyContactAddress({
	query: { organization_id: '999999999999999', line1: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   line1: string,
>   city?: string,
>   region?: string,
>   country?: string,
>   postal_code?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### verifyContactAddressById

`contacts.verifyContactAddressById`

Verify a contact address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.verifyContactAddressById({
	pathParams: { contact_id: '999999999999999', address_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   address_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### verifyContactBankAccount

`contacts.verifyContactBankAccount`

Verify a Contact Bank Account. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.verifyContactBankAccount({
	pathParams: { contact_id: '999999999999999', bank_account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string,
>   bank_account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   first_deposit_amount?: number,
>   second_deposit_amount?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### verifyContactEinvoice

`contacts.verifyContactEinvoice`

Verify contact e-invoice details. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.contacts.verifyContactEinvoice({
	pathParams: { contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Credit Notes

### addCreditNoteAttachment

`creditNotes.addCreditNoteAttachment`

Add attachment to a credit note. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.addCreditNoteAttachment({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   can_send_in_mail?: boolean,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addCreditNoteComment

`creditNotes.addCreditNoteComment`

Add a comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.addCreditNoteComment({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string
> }
> ```

**Output:** `custom`

***

### addCreditNoteDigitalSignature

`creditNotes.addCreditNoteDigitalSignature`

Add a digital signature to a credit note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.addCreditNoteDigitalSignature({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### applyCreditNoteSubstatus

`creditNotes.applyCreditNoteSubstatus`

Apply a sub-status to a credit note. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.applyCreditNoteSubstatus({
	pathParams: { creditnote_id: '999999999999999', substatus_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   substatus_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### applyCreditNoteToInvoice

`creditNotes.applyCreditNoteToInvoice`

Credit to an invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.applyCreditNoteToInvoice({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { invoice_id: '999999999999999', amount_applied: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   invoices?: {
>     invoice_id?: string,
>     amount_applied?: number
>   }[],
>   invoice_id: string,
>   amount_applied: number
> }
> ```

**Output:** `custom`

***

### approveCreditNote

`creditNotes.approveCreditNote`

Approve a credit note.. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.approveCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### approveCreditNotes

`creditNotes.approveCreditNotes`

Approve credit notes. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.approveCreditNotes({
	query: { organization_id: '999999999999999', creditnote_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   creditnote_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelCreditNoteEinvoice

`creditNotes.cancelCreditNoteEinvoice`

Cancel a credit note e-invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.cancelCreditNoteEinvoice({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelCreditNotesEinvoice

`creditNotes.cancelCreditNotesEinvoice`

Cancel credit note e-invoices. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.cancelCreditNotesEinvoice({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelEinvoiceCreditNote

`creditNotes.cancelEinvoiceCreditNote`

Cancel an e-invoice credit note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.cancelEinvoiceCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createCreditNote

`creditNotes.createCreditNote`

Create a credit note. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.createCreditNote({
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		date: '2026-01-15',
		line_items: [],
		creditnote_number: 'sample',
		reason_for_credit_debit_note: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_id?: string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   date: string,
>   is_draft?: boolean,
>   exchange_rate?: string,
>   line_items: {
>     item_id?: string,
>     invoice_id?: string,
>     invoice_item_id?: string,
>     description?: string,
>     code?: string,
>     name?: string,
>     type?: number,
>     account_id?: string,
>     account_name?: string,
>     quantity?: number,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     reverse_charge_tax_id?: string,
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     discount_code?: string,
>     serial_numbers?: string,
>     location_id?: string,
>     project_id?: string,
>     tags?: custom[],
>     line_item_category?: string
>   }[],
>   location_id?: string,
>   creditnote_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   tax_reg_no?: string,
>   reason_for_credit_debit_note?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   is_reverse_charge_applied?: boolean,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   shipping_address?: {
>     address?: string,
>     street2?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string
>   },
>   cfdi_usage?: string,
>   cfdi_reference_type?: string,
>   place_of_supply?: string,
>   ignore_auto_number_generation?: boolean,
>   reference_number?: string,
>   custom_fields?: string[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   template_id?: string,
>   tax_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   vat_treatment?: string,
>   is_inclusive_tax?: boolean,
>   avatax_tax_code?: string,
>   discount_code?: string
> }
> ```

**Output:** `custom`

***

### createCreditNoteRefund

`creditNotes.createCreditNoteRefund`

Refund credit note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.createCreditNoteRefund({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date?: string,
>   refund_mode?: string,
>   payment_form?: string,
>   reference_number?: string,
>   amount?: number,
>   exchange_rate?: string,
>   from_account_id?: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### deleteCreditNote

`creditNotes.deleteCreditNote`

Delete a credit note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.deleteCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteCreditNoteComment

`creditNotes.deleteCreditNoteComment`

Delete a Comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.deleteCreditNoteComment({
	pathParams: { creditnote_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteCreditNoteDocument

`creditNotes.deleteCreditNoteDocument`

Delete a credit note document. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.deleteCreditNoteDocument({
	pathParams: { creditnote_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteCreditNoteEinvoiceStatus

`creditNotes.deleteCreditNoteEinvoiceStatus`

Delete a credit note e-invoice status. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.deleteCreditNoteEinvoiceStatus({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteCreditNoteRefund

`creditNotes.deleteCreditNoteRefund`

Delete credit note refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.deleteCreditNoteRefund({
	pathParams: { creditnote_id: '999999999999999', creditnote_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   creditnote_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteCreditNoteSubstatus

`creditNotes.deleteCreditNoteSubstatus`

Delete a credit note sub-status. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.deleteCreditNoteSubstatus({
	pathParams: { creditnote_id: '999999999999999', substatus_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   substatus_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceOfCreditNote

`creditNotes.deleteInvoiceOfCreditNote`

Delete invoices credited. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.deleteInvoiceOfCreditNote({
	pathParams: { creditnote_id: '999999999999999', creditnote_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   creditnote_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailCreditNote

`creditNotes.emailCreditNote`

Email a credit note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.emailCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
		subject: 'sample',
		body: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   customer_id?: string,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   to_mail_ids: string[],
>   cc_mail_ids?: string[],
>   subject: string,
>   body: string
> }
> ```

**Output:** `custom`

***

### fetchCreditNoteEinvoice

`creditNotes.fetchCreditNoteEinvoice`

Fetch a credit note e-invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.fetchCreditNoteEinvoice({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### finalizeCreditNoteApproval

`creditNotes.finalizeCreditNoteApproval`

Finalize approval of a credit note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.finalizeCreditNoteApproval({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNote

`creditNotes.getCreditNote`

Get a credit note. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean,
>   accept?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteCustomFields

`creditNotes.getCreditNoteCustomFields`

Get credit note custom fields. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteCustomFields({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteDocument

`creditNotes.getCreditNoteDocument`

Retrieve a credit note document. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteDocument({
	pathParams: { creditnote_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

File responses use the response Content-Type supplied by Zoho and are returned base64-encoded.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   responseformat?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteEinvoice

`creditNotes.getCreditNoteEinvoice`

Get a credit note e-invoice. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteEinvoice({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteEmail

`creditNotes.getCreditNoteEmail`

Get email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteEmail({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   email_template_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteEmailHistory

`creditNotes.getCreditNoteEmailHistory`

Email history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteEmailHistory({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteMailContent

`creditNotes.getCreditNoteMailContent`

Get credit note email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteMailContent({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteRefund

`creditNotes.getCreditNoteRefund`

Get credit note refund. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteRefund({
	pathParams: { creditnote_id: '999999999999999', creditnote_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   creditnote_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteRefundById

`creditNotes.getCreditNoteRefundById`

Get a credit note refund. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteRefundById({
	pathParams: { refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCreditNoteSignatureTemplate

`creditNotes.getCreditNoteSignatureTemplate`

Get the digital signature template of a credit note. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.getCreditNoteSignatureTemplate({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCreditNoteComments

`creditNotes.listCreditNoteComments`

List credit note comments & history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.listCreditNoteComments({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCreditNoteRefundsOfACreditNote

`creditNotes.listCreditNoteRefundsOfACreditNote`

List refunds of a credit note. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.listCreditNoteRefundsOfACreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCreditNoteRefundsOfAllCreditNotes

`creditNotes.listCreditNoteRefundsOfAllCreditNotes`

List credit note refunds. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.listCreditNoteRefundsOfAllCreditNotes({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   customer_id?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCreditNotes

`creditNotes.listCreditNotes`

List all Credit Notes. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.listCreditNotes({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   creditnote_number?: string,
>   date?: string,
>   status?: draft | pending_approval | approved | open | closed | void | rejected | signed | pending_signature | unsigned_all | unsigned_draft | unsigned_sent | unsigned_approved,
>   total?: string,
>   reference_number?: string,
>   customer_name?: string,
>   item_name?: string,
>   customer_id?: string,
>   item_description?: string,
>   item_id?: string,
>   line_item_id?: string,
>   tax_id?: string,
>   filter_by?: Status.All | Status.Open | Status.Closed | Status.Void | Status.Draft | Status.Pending | Status.Approved | Status.Locked | Status.AvalaraSyncFailed | Status.TaxAutomationFailed | Status.MyApprovals | Status.Pushed | Status.YetToBePushed | Status.Failed | Status.CancelInitiated | Status.Signed | Status.PendingSignature | Status.UnsignedAll | Status.UnsignedDraft | Status.UnsignedApproved | Status.UnsignedSent | Status.BBPSYetToBePushed | Status.BBPSPushed | Status.BBPSPushFailed | Status.BBPSPendingApproval | Status.BBPSAccepted | Status.BBPSAcceptFailed | Status.BBPSRejected | Status.BBPSRejectFailed | Status.BBPSReturned | Status.BBPSReturnFailed | Type.CancellationInvoice | Type.DirectReturns | WithOutInvoiceNumber | ExceptionList | MissingAdvancedTrackingDetails | InconsistentList | Type.All | Type.Invoice,
>   search_text?: string,
>   sort_column?: customer_name | creditnote_number | balance | total | date | txn_posting_date | created_time | last_modified_time | cf_(\w+),
>   last_modified_time?: string,
>   location_ids?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCreditNotesEinvoice

`creditNotes.listCreditNotesEinvoice`

List credit note e-invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.listCreditNotesEinvoice({
	query: { organization_id: '999999999999999', creditnote_ids: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   creditnote_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCreditNoteTemplates

`creditNotes.listCreditNoteTemplates`

List credit note template. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.listCreditNoteTemplates({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listInvoicesOfCreditNote

`creditNotes.listInvoicesOfCreditNote`

List invoices credited. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.listInvoicesOfCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markCreditNoteDraft

`creditNotes.markCreditNoteDraft`

Convert Credit Note to Draft.. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.markCreditNoteDraft({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markCreditNoteEinvoiceCancelled

`creditNotes.markCreditNoteEinvoiceCancelled`

Mark a credit note e-invoice as cancelled. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.markCreditNoteEinvoiceCancelled({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markCreditNoteEinvoicePushed

`creditNotes.markCreditNoteEinvoicePushed`

Mark a credit note e-invoice as manually pushed. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.markCreditNoteEinvoicePushed({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   uuid?: string,
>   ack_date?: string,
>   ack_no?: string,
>   signed_qr_code?: string,
>   internal_data?: string
> }
> ```

**Output:** `custom`

***

### markCreditNoteOpen

`creditNotes.markCreditNoteOpen`

Convert to Open. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.markCreditNoteOpen({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markCreditNoteReadyToPush

`creditNotes.markCreditNoteReadyToPush`

Mark a credit note as ready to push. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.markCreditNoteReadyToPush({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markCreditNoteVoid

`creditNotes.markCreditNoteVoid`

Void a Credit Note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.markCreditNoteVoid({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### printCreditNotes

`creditNotes.printCreditNotes`

Print credit notes. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.printCreditNotes({
	query: { creditnote_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

File responses use the response Content-Type supplied by Zoho and are returned base64-encoded.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   creditnote_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### pushCreditNoteEinvoice

`creditNotes.pushCreditNoteEinvoice`

Push a credit note e-invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.pushCreditNoteEinvoice({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### pushCreditNoteRefundEinvoice

`creditNotes.pushCreditNoteRefundEinvoice`

Push a credit note refund e-invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.pushCreditNoteRefundEinvoice({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### pushCreditNotesEinvoice

`creditNotes.pushCreditNotesEinvoice`

Push credit note e-invoices. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.pushCreditNotesEinvoice({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### recallCreditNoteEinvoiceStatus

`creditNotes.recallCreditNoteEinvoiceStatus`

Recall a credit note e-invoice status. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.recallCreditNoteEinvoiceStatus({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### rejectCreditNote

`creditNotes.rejectCreditNote`

Reject a credit note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.rejectCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   reason?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitCreditNote

`creditNotes.submitCreditNote`

Submit a credit note for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.submitCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitCreditNotes

`creditNotes.submitCreditNotes`

Submit credit notes for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.submitCreditNotes({
	query: { organization_id: '999999999999999', creditnote_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   creditnote_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCreditNote

`creditNotes.updateCreditNote`

Update a credit note. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNote({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		date: '2026-01-15',
		line_items: [],
		creditnote_number: 'sample',
		reason_for_credit_debit_note: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   date: string,
>   is_draft?: boolean,
>   exchange_rate?: string,
>   line_items: {
>     item_id?: string,
>     line_item_id?: string,
>     account_id?: string,
>     name?: string,
>     description?: string,
>     item_order?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount?: number,
>     discount_code?: string,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     tax_treatment_code?: string,
>     reverse_charge_tax_id?: string,
>     avatax_use_code?: string,
>     avatax_tax_code?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     item_custom_fields?: custom[],
>     location_id?: string,
>     location_name?: string,
>     serial_numbers?: string,
>     project_id?: string,
>     tags?: custom[],
>     line_item_category?: string
>   }[],
>   location_id?: string,
>   creditnote_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   tax_reg_no?: string,
>   reason_for_credit_debit_note?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   is_reverse_charge_applied?: boolean,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   cfdi_usage?: string,
>   cfdi_reference_type?: string,
>   place_of_supply?: string,
>   ignore_auto_number_generation?: boolean,
>   reference_number?: string,
>   custom_fields?: string[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   template_id?: string,
>   tax_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   vat_treatment?: string,
>   is_inclusive_tax?: boolean,
>   item_id?: string,
>   account_id?: string,
>   name?: string,
>   avatax_tax_code?: string,
>   description?: string,
>   unit?: string,
>   rate?: number,
>   quantity?: number,
>   discount_code?: string
> }
> ```

**Output:** `custom`

***

### updateCreditNoteBillingAddress

`creditNotes.updateCreditNoteBillingAddress`

Update billing address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNoteBillingAddress({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string
> }
> ```

**Output:** `custom`

***

### updateCreditNoteCfdiStatus

`creditNotes.updateCreditNoteCfdiStatus`

Update a credit note CFDI status. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNoteCfdiStatus({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCreditNoteCustomFields

`creditNotes.updateCreditNoteCustomFields`

Update credit note custom fields. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNoteCustomFields({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateCreditNoteDocument

`creditNotes.updateCreditNoteDocument`

Update a credit note document. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNoteDocument({
	pathParams: { creditnote_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCreditNoteRefund

`creditNotes.updateCreditNoteRefund`

Update credit note refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNoteRefund({
	pathParams: { creditnote_id: '999999999999999', creditnote_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   creditnote_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date?: string,
>   refund_mode?: string,
>   payment_form?: string,
>   reference_number?: string,
>   amount?: number,
>   exchange_rate?: string,
>   from_account_id?: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### updateCreditNoteShippingAddress

`creditNotes.updateCreditNoteShippingAddress`

Update Shipping address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNoteShippingAddress({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string
> }
> ```

**Output:** `custom`

***

### updateCreditNoteTemplate

`creditNotes.updateCreditNoteTemplate`

Update a credit note template. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNoteTemplate({
	pathParams: { creditnote_id: '999999999999999', template_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string,
>   template_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCreditNoteUsingCustomField

`creditNotes.updateCreditNoteUsingCustomField`

Update a credit note using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.updateCreditNoteUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		customer_id: '999999999999999',
		date: '2026-01-15',
		line_items: [],
		creditnote_number: 'sample',
		reason_for_credit_debit_note: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   date: string,
>   is_draft?: boolean,
>   exchange_rate?: string,
>   line_items: {
>     item_id?: string,
>     line_item_id?: string,
>     account_id?: string,
>     name?: string,
>     description?: string,
>     item_order?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount?: number,
>     discount_code?: string,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     tax_treatment_code?: string,
>     reverse_charge_tax_id?: string,
>     avatax_use_code?: string,
>     avatax_tax_code?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     item_custom_fields?: custom[],
>     location_id?: string,
>     location_name?: string,
>     serial_numbers?: string,
>     project_id?: string,
>     tags?: custom[],
>     line_item_category?: string
>   }[],
>   location_id?: string,
>   creditnote_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   tax_reg_no?: string,
>   reason_for_credit_debit_note?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   is_reverse_charge_applied?: boolean,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   cfdi_usage?: string,
>   cfdi_reference_type?: string,
>   place_of_supply?: string,
>   ignore_auto_number_generation?: boolean,
>   reference_number?: string,
>   custom_fields?: string[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   template_id?: string,
>   tax_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   vat_treatment?: string,
>   is_inclusive_tax?: boolean,
>   item_id?: string,
>   account_id?: string,
>   name?: string,
>   avatax_tax_code?: string,
>   description?: string,
>   unit?: string,
>   rate?: number,
>   quantity?: number,
>   discount_code?: string
> }
> ```

**Output:** `custom`

***

### uploadCreditNoteDigitalSignature

`creditNotes.uploadCreditNoteDigitalSignature`

Upload a signed credit note. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.creditNotes.uploadCreditNoteDigitalSignature({
	pathParams: { creditnote_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   creditnote_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Currency

### createCurrency

`currency.createCurrency`

Create a Currency. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.currency.createCurrency({
	query: { organization_id: '999999999999999' },
	body: { currency_code: 'sample', currency_format: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   currency_code: string,
>   currency_symbol?: string,
>   price_precision?: number,
>   currency_format: string
> }
> ```

**Output:** `custom`

***

### createExchangeRate

`currency.createExchangeRate`

Create an exchange rate. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.currency.createExchangeRate({
	pathParams: { currency_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   currency_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   effective_date?: string,
>   rate?: number
> }
> ```

**Output:** `custom`

***

### deleteCurrency

`currency.deleteCurrency`

Delete a currency. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.currency.deleteCurrency({
	pathParams: { currency_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   currency_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteExchangeRate

`currency.deleteExchangeRate`

Delete an exchage rate. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.currency.deleteExchangeRate({
	pathParams: { currency_id: '999999999999999', exchange_rate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   currency_id: string,
>   exchange_rate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCurrency

`currency.getCurrency`

Get a Currency. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.currency.getCurrency({
	pathParams: { currency_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   currency_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getExchangeRate

`currency.getExchangeRate`

Get an exchange rate.. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.currency.getExchangeRate({
	pathParams: { currency_id: '999999999999999', exchange_rate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   currency_id: string,
>   exchange_rate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCurrencies

`currency.listCurrencies`

List Currencies. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.currency.listCurrencies({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listExchangeRates

`currency.listExchangeRates`

List exchange rates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.currency.listExchangeRates({
	pathParams: { currency_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   currency_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   from_date?: string,
>   is_current_date?: boolean,
>   sort_column?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCurrency

`currency.updateCurrency`

Update a Currency. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.currency.updateCurrency({
	pathParams: { currency_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { currency_code: 'sample', currency_format: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   currency_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   currency_code: string,
>   currency_symbol?: string,
>   price_precision?: number,
>   currency_format: string
> }
> ```

**Output:** `custom`

***

### updateExchangeRate

`currency.updateExchangeRate`

Update an exchange rate. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.currency.updateExchangeRate({
	pathParams: { currency_id: '999999999999999', exchange_rate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   currency_id: string,
>   exchange_rate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   effective_date?: string,
>   rate?: number
> }
> ```

**Output:** `custom`

***

## Customer Debit Notes

### createCustomerDebitNote

`customerDebitNotes.createCustomerDebitNote`

Create a customer debit note. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customerDebitNotes.createCustomerDebitNote({
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		type: 'debit_note',
		reference_invoice_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send?: boolean,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   type: debit_note,
>   currency_id?: string,
>   contact_persons?: string[],
>   invoice_number?: string,
>   date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   due_date?: string,
>   exchange_rate?: number,
>   location_id?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   reference_invoice_id: string,
>   reference_invoice_type?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items: {
>     item_id: string,
>     hsn_or_sac?: string,
>     location_id?: string,
>     description?: string,
>     rate?: number,
>     quantity?: number,
>     tax_id?: string,
>     tags?: custom[],
>     line_item_category?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteCustomerDebitNote

`customerDebitNotes.deleteCustomerDebitNote`

Delete a customer debit note. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customerDebitNotes.deleteCustomerDebitNote({
	pathParams: { debit_note_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   debit_note_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCustomerDebitNote

`customerDebitNotes.getCustomerDebitNote`

Get a customer debit note. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customerDebitNotes.getCustomerDebitNote({
	pathParams: { debit_note_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   debit_note_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean,
>   accept?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCustomerDebitNotes

`customerDebitNotes.listCustomerDebitNotes`

List customer debit notes. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customerDebitNotes.listCustomerDebitNotes({
	query: { organization_id: '999999999999999', filter_by: 'Type.DebitNote' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   item_name?: string,
>   item_id?: string,
>   item_description?: string,
>   customer_name?: string,
>   email?: string,
>   total?: string,
>   balance?: string,
>   custom_field?: string,
>   date?: string,
>   due_date?: string,
>   created_date?: string,
>   last_modified_time?: string,
>   status?: string,
>   customer_id?: string,
>   filter_by: Type.DebitNote,
>   search_text?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number,
>   invoice_number?: string,
>   reference_number?: string,
>   recurring_invoice_id?: string,
>   date_start?: string,
>   date_end?: string,
>   date_before?: string,
>   date_after?: string,
>   due_date_start?: string,
>   due_date_end?: string,
>   due_date_before?: string,
>   due_date_after?: string,
>   created_date_start?: string,
>   created_date_end?: string,
>   zcrm_potential_id?: string,
>   response_option?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCustomerDebitNote

`customerDebitNotes.updateCustomerDebitNote`

Update a customer debit note. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customerDebitNotes.updateCustomerDebitNote({
	pathParams: { debit_note_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   debit_note_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   type?: debit_note,
>   currency_id?: string,
>   invoice_number?: string,
>   template_id?: string,
>   date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   due_date?: string,
>   discount?: number,
>   exchange_rate?: number,
>   location_id?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items: {
>     item_id: string,
>     product_type?: string,
>     hsn_or_sac?: string,
>     location_id?: string,
>     description?: string,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     tax_id?: string,
>     item_total?: number,
>     tags?: custom[],
>     line_item_category?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Customer Payments

### bulkDeleteCustomerPayments

`customerPayments.bulkDeleteCustomerPayments`

Bulk delete Customer payments. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.bulkDeleteCustomerPayments({
	query: { organization_id: '999999999999999', payment_ids: 'sample', bulk_delete: false },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   payment_ids: string,
>   bulk_delete: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createCustomerPayment

`customerPayments.createCustomerPayment`

Create a payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.createCustomerPayment({
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		payment_mode: 'sample',
		amount: 1,
		date: '2026-01-15',
		invoices: [],
		invoice_id: '999999999999999',
		amount_applied: 1,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   payment_mode: string,
>   amount: number,
>   date: string,
>   reference_number?: string,
>   description?: string,
>   invoices: {
>     invoice_id?: string,
>     amount_applied?: number,
>     tax_amount_withheld?: number
>   }[],
>   exchange_rate?: number,
>   payment_form?: string,
>   bank_charges?: number,
>   custom_fields?: {
>     label?: string,
>     value?: string
>   }[],
>   location_id?: string,
>   invoice_id: string,
>   amount_applied: number,
>   account_id?: string,
>   contact_persons?: string[],
>   retainerinvoice_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createCustomerPaymentRefund

`customerPayments.createCustomerPaymentRefund`

Refund an excess customer payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.createCustomerPaymentRefund({
	pathParams: { customer_payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', amount: 1, from_account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   customer_payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount: number,
>   exchange_rate?: number,
>   payment_form?: string,
>   from_account_id: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### deleteCustomerPayment

`customerPayments.deleteCustomerPayment`

Delete a payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.deleteCustomerPayment({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteCustomerPaymentRefund

`customerPayments.deleteCustomerPaymentRefund`

Delete a Refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.deleteCustomerPaymentRefund({
	pathParams: { customer_payment_id: '999999999999999', refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   customer_payment_id: string,
>   refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCustomerPayment

`customerPayments.getCustomerPayment`

Retrieve a payment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.getCustomerPayment({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   accept?: json | pdf
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCustomerPaymentRefund

`customerPayments.getCustomerPaymentRefund`

Details of a refund. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.getCustomerPaymentRefund({
	pathParams: { customer_payment_id: '999999999999999', refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   customer_payment_id: string,
>   refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCustomerPaymentRefunds

`customerPayments.listCustomerPaymentRefunds`

List refunds of a customer payment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.listCustomerPaymentRefunds({
	pathParams: { customer_payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   customer_payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCustomerPayments

`customerPayments.listCustomerPayments`

List Customer Payments. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.listCustomerPayments({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   customer_name?: string,
>   reference_number?: string,
>   date?: string,
>   amount?: number,
>   notes?: string,
>   payment_mode?: string,
>   filter_by?: string,
>   sort_column?: string,
>   search_text?: string,
>   customer_id?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCustomerPayment

`customerPayments.updateCustomerPayment`

Update a payment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.updateCustomerPayment({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		payment_mode: 'sample',
		amount: 1,
		invoices: [],
		invoice_id: '999999999999999',
		amount_applied: 1,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   payment_mode: string,
>   amount: number,
>   date?: string,
>   reference_number?: string,
>   description?: string,
>   invoices: {
>     invoice_id?: string,
>     amount_applied?: number,
>     tax_amount_withheld?: number
>   }[],
>   exchange_rate?: number,
>   payment_form?: string,
>   bank_charges?: number,
>   custom_fields?: {
>     label?: string,
>     value?: string
>   }[],
>   invoice_id: string,
>   amount_applied: number,
>   tax_amount_withheld?: number,
>   location_id?: string,
>   account_id?: string,
>   retainerinvoice_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateCustomerPaymentRefund

`customerPayments.updateCustomerPaymentRefund`

Update a refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.updateCustomerPaymentRefund({
	pathParams: { customer_payment_id: '999999999999999', refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', amount: 1, from_account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   customer_payment_id: string,
>   refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount: number,
>   exchange_rate?: number,
>   payment_form?: string,
>   description?: string,
>   from_account_id: string
> }
> ```

**Output:** `custom`

***

### updateCustomerPaymentUsingCustomField

`customerPayments.updateCustomerPaymentUsingCustomField`

Update a payment using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.updateCustomerPaymentUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		customer_id: '999999999999999',
		payment_mode: 'sample',
		amount: 1,
		invoices: [],
		invoice_id: '999999999999999',
		amount_applied: 1,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   payment_mode: string,
>   amount: number,
>   date?: string,
>   reference_number?: string,
>   description?: string,
>   invoices: {
>     invoice_id?: string,
>     amount_applied?: number,
>     tax_amount_withheld?: number
>   }[],
>   exchange_rate?: number,
>   payment_form?: string,
>   bank_charges?: number,
>   custom_fields?: {
>     label?: string,
>     value?: string
>   }[],
>   invoice_id: string,
>   amount_applied: number,
>   tax_amount_withheld?: number,
>   location_id?: string,
>   account_id?: string,
>   retainerinvoice_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateCustomFieldsInCustomerPayment

`customerPayments.updateCustomFieldsInCustomerPayment`

Update custom field in existing customerpayments. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customerPayments.updateCustomFieldsInCustomerPayment({
	pathParams: { customer_payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | Update the custom fields of a customer payment. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   customer_payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   custom_fields?: {
>     value?: string,
>     label?: string,
>     data_type?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Custom Modules

### bulkUpdateCustomModuleRecords

`customModules.bulkUpdateCustomModuleRecords`

Bulk update custom module records. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customModules.bulkUpdateCustomModuleRecords({
	pathParams: { module_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
	body: { record_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

Include module-defined field API names as top-level cf\_\<api\_name> properties alongside record\_name. Values are scalar strings, numbers, or booleans; other unknown property names remain invalid.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   cf_debt_amount?: number,
>   module_record_id?: string,
>   record_name: string
> }
> ```

**Output:** `custom`

***

### createCustomModule

`customModules.createCustomModule`

Create a custom module. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customModules.createCustomModule({
	query: { organization_id: '999999999999999' },
	body: { module_name: 'Sample record', plural_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   module_name: string,
>   plural_name: string,
>   parent_module_id?: string,
>   record_name?: string,
>   description?: string,
>   shared_type?: string,
>   is_reporting_tags_supported?: boolean,
>   can_edit_module?: boolean,
>   can_create_module?: boolean,
>   can_delete_module?: boolean,
>   can_bulk_update_module?: boolean,
>   can_send_mail?: boolean,
>   can_bulk_send_mail?: boolean,
>   can_attach_documents?: boolean,
>   can_show_pdf_view?: boolean,
>   can_allow_pdf_print?: boolean,
>   allow_forclone?: boolean,
>   can_lock_record?: boolean,
>   can_use_widget_for_custommodule?: boolean,
>   can_show_custommodule_lhs?: boolean,
>   show_custommodule_in?: {
>     show_in?: string
>   }[],
>   module_permission?: {
>     role_id?: string,
>     can_create?: boolean,
>     can_edit?: boolean,
>     can_view?: boolean,
>     can_delete?: boolean,
>     can_approve?: boolean,
>     full_access?: boolean
>   }[],
>   module_visibility?: {
>     type?: string,
>     is_hidden?: boolean
>   }[],
>   allowed_apps?: string[],
>   default_customview_api_name?: string
> }
> ```

**Output:** `custom`

***

### createCustomModuleRecord

`customModules.createCustomModuleRecord`

Create a custom module record. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customModules.createCustomModuleRecord({
	pathParams: { module_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
	body: { record_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

Include module-defined field API names as top-level cf\_\<api\_name> properties alongside record\_name. Values are scalar strings, numbers, or booleans; other unknown property names remain invalid.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   record_name: string,
>   cf_debt_amount?: number
> }
> ```

**Output:** `custom`

***

### deleteCustomModule

`customModules.deleteCustomModule`

Delete a custom module. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customModules.deleteCustomModule({
	pathParams: { module_api_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_api_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   force_delete?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteCustomModuleRecord

`customModules.deleteCustomModuleRecord`

Delete a custom module record. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customModules.deleteCustomModuleRecord({
	pathParams: { module_name: 'Sample record', module_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_name: string,
>   module_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteCustomModuleRecords

`customModules.deleteCustomModuleRecords`

Delete custom module records. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.customModules.deleteCustomModuleRecords({
	pathParams: { module_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   record_ids?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCustomModule

`customModules.getCustomModule`

Get a custom module. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customModules.getCustomModule({
	pathParams: { module_api_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_api_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCustomModuleRecord

`customModules.getCustomModuleRecord`

Get a custom module record. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customModules.getCustomModuleRecord({
	pathParams: { module_name: 'Sample record', module_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_name: string,
>   module_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCustomModuleRecords

`customModules.listCustomModuleRecords`

List custom module records. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customModules.listCustomModuleRecords({
	pathParams: { module_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   customview_id?: string,
>   filter_by?: string,
>   search_text?: string,
>   sort_column?: string,
>   sort_order?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listCustomModules

`customModules.listCustomModules`

List custom modules. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.customModules.listCustomModules({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   portal_type?: string,
>   sort_order?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCustomModule

`customModules.updateCustomModule`

Update a custom module. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customModules.updateCustomModule({
	pathParams: { module_api_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
	body: { module_name: 'Sample record', plural_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_api_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   module_name: string,
>   plural_name: string,
>   parent_module_id?: string,
>   record_name?: string,
>   description?: string,
>   shared_type?: string,
>   is_reporting_tags_supported?: boolean,
>   can_edit_module?: boolean,
>   can_bulk_update_module?: boolean,
>   can_send_mail?: boolean,
>   can_bulk_send_mail?: boolean,
>   can_attach_documents?: boolean,
>   can_show_pdf_view?: boolean,
>   can_allow_pdf_print?: boolean,
>   allow_forclone?: boolean,
>   can_lock_record?: boolean,
>   can_use_widget_for_custommodule?: boolean,
>   can_show_custommodule_lhs?: boolean,
>   show_custommodule_in?: {
>     show_in?: string
>   }[],
>   module_permission?: {
>     role_id?: string,
>     can_create?: boolean,
>     can_edit?: boolean,
>     can_view?: boolean,
>     can_delete?: boolean,
>     can_approve?: boolean,
>     full_access?: boolean
>   }[],
>   module_visibility?: {
>     type?: string,
>     is_hidden?: boolean
>   }[],
>   default_customview_api_name?: string
> }
> ```

**Output:** `custom`

***

### updateCustomModuleRecord

`customModules.updateCustomModuleRecord`

Update a custom module record. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.customModules.updateCustomModuleRecord({
	pathParams: { module_name: 'Sample record', module_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { record_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

Include module-defined field API names as top-level cf\_\<api\_name> properties alongside record\_name. Values are scalar strings, numbers, or booleans; other unknown property names remain invalid.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   module_name: string,
>   module_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   record_name: string,
>   cf_debt_amount?: number
> }
> ```

**Output:** `custom`

***

## Delivery Challans

### addAttachmentToDeliveryChallan

`deliveryChallans.addAttachmentToDeliveryChallan`

Add attachment to a delivery challan. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.addAttachmentToDeliveryChallan({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

For a documented binary upload field, pass \{ filename, contentType, base64 }; the plugin builds the multipart body.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

**Output:** `custom`

***

### createDeliveryChallan

`deliveryChallans.createDeliveryChallan`

Create a delivery challan. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.createDeliveryChallan({
	query: { organization_id: '999999999999999' },
	body: { customer_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   deliverychallan_number?: string,
>   reference_number?: string,
>   template_id?: string,
>   date?: string,
>   challan_type?: string,
>   discount?: string,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   place_of_supply?: string,
>   exchange_rate?: number,
>   is_inclusive_tax?: boolean,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   line_items?: {
>     item_id?: string,
>     line_item_id?: string,
>     name?: string,
>     sku?: string,
>     description?: string,
>     item_order?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount?: string,
>     tax_id?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     hsn_or_sac?: string,
>     pricebook_id?: string,
>     warehouse_id?: string,
>     location_id?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   adjustment?: number,
>   adjustment_description?: string,
>   tax_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   shipping_address_id?: string,
>   shipping_address?: {
>     address?: string,
>     street2?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string,
>     phone?: string,
>     attention?: string
>   },
>   pricebook_id?: string,
>   branch_id?: string,
>   location_id?: string
> }
> ```

**Output:** `custom`

***

### deleteDeliveryChallan

`deliveryChallans.deleteDeliveryChallan`

Delete a delivery challan. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.deleteDeliveryChallan({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteDeliveryChallanAttachment

`deliveryChallans.deleteDeliveryChallanAttachment`

Delete a delivery challan attachment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.deleteDeliveryChallanAttachment({
	pathParams: { deliverychallan_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getDeliveryChallan

`deliveryChallans.getDeliveryChallan`

Retrieve a delivery challan. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.getDeliveryChallan({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getDeliveryChallanAttachment

`deliveryChallans.getDeliveryChallanAttachment`

Get a delivery challan attachment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.getDeliveryChallanAttachment({
	pathParams: { deliverychallan_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

File responses use the response Content-Type supplied by Zoho and are returned base64-encoded.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listDeliveryChallans

`deliveryChallans.listDeliveryChallans`

List delivery challans. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.listDeliveryChallans({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   sort_column?: string,
>   sort_order?: string,
>   filter_by?: string,
>   search_text?: string,
>   customer_id?: string,
>   status?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listDeliveryChallanTemplates

`deliveryChallans.listDeliveryChallanTemplates`

List delivery challan templates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.listDeliveryChallanTemplates({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markDeliveryChallanAsDelivered

`deliveryChallans.markDeliveryChallanAsDelivered`

Mark a delivery challan as delivered. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.markDeliveryChallanAsDelivered({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markDeliveryChallanAsOpen

`deliveryChallans.markDeliveryChallanAsOpen`

Mark a delivery challan as open. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.markDeliveryChallanAsOpen({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markDeliveryChallanAsReturned

`deliveryChallans.markDeliveryChallanAsReturned`

Mark a delivery challan as returned. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.markDeliveryChallanAsReturned({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markDeliveryChallanAsUndelivered

`deliveryChallans.markDeliveryChallanAsUndelivered`

Mark a delivery challan as undelivered. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.markDeliveryChallanAsUndelivered({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### returnDeliveryChallans

`deliveryChallans.returnDeliveryChallans`

Return delivery challans. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.returnDeliveryChallans({
	query: { organization_id: '999999999999999', deliverychallan_ids: 'sample' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   deliverychallan_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   line_items?: {
>     line_item_id?: string,
>     qty_returned?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### undoReturnDeliveryChallans

`deliveryChallans.undoReturnDeliveryChallans`

Undo return of delivery challans. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.undoReturnDeliveryChallans({
	query: { organization_id: '999999999999999', deliverychallan_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   deliverychallan_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateDeliveryChallan

`deliveryChallans.updateDeliveryChallan`

Update a delivery challan. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.updateDeliveryChallan({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { customer_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   deliverychallan_number?: string,
>   reference_number?: string,
>   template_id?: string,
>   date?: string,
>   challan_type?: string,
>   discount?: string,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   place_of_supply?: string,
>   exchange_rate?: number,
>   is_inclusive_tax?: boolean,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   line_items?: {
>     item_id?: string,
>     line_item_id?: string,
>     name?: string,
>     sku?: string,
>     description?: string,
>     item_order?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount?: string,
>     tax_id?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     hsn_or_sac?: string,
>     pricebook_id?: string,
>     warehouse_id?: string,
>     location_id?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   adjustment?: number,
>   adjustment_description?: string,
>   tax_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   shipping_address_id?: string,
>   shipping_address?: {
>     address?: string,
>     street2?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string,
>     phone?: string,
>     attention?: string
>   },
>   pricebook_id?: string,
>   branch_id?: string,
>   location_id?: string
> }
> ```

**Output:** `custom`

***

### updateDeliveryChallanShippingAddress

`deliveryChallans.updateDeliveryChallanShippingAddress`

Update shipping address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.updateDeliveryChallanShippingAddress({
	pathParams: { deliverychallan_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   street2?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string,
>   phone?: string,
>   attention?: string
> }
> ```

**Output:** `custom`

***

### updateDeliveryChallanTemplate

`deliveryChallans.updateDeliveryChallanTemplate`

Update a delivery challan template. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.deliveryChallans.updateDeliveryChallanTemplate({
	pathParams: { deliverychallan_id: '999999999999999', template_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   deliverychallan_id: string,
>   template_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Estimates

### approveEstimate

`estimates.approveEstimate`

Approve an estimate.. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.estimates.approveEstimate({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkExportEstimatesAsPdf

`estimates.bulkExportEstimatesAsPdf`

Bulk export estimates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.estimates.bulkExportEstimatesAsPdf({
	query: { organization_id: '999999999999999', estimate_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   estimate_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkPrintEstimates

`estimates.bulkPrintEstimates`

Bulk print estimates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.estimates.bulkPrintEstimates({
	query: { organization_id: '999999999999999', estimate_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   estimate_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createEstimate

`estimates.createEstimate`

Create an Estimate. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.createEstimate({
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send?: boolean,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   template_id?: string,
>   place_of_supply?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   shipping_address?: {
>     address?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string
>   },
>   estimate_number?: string,
>   reference_number?: string,
>   date?: string,
>   expiry_date?: string,
>   exchange_rate?: number,
>   discount?: number,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   is_inclusive_tax?: boolean,
>   custom_body?: string,
>   custom_subject?: string,
>   salesperson_name?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   line_items: {
>     item_id?: string,
>     line_item_id?: string,
>     name?: string,
>     description?: string,
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     item_order?: number,
>     bcy_rate?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount_amount?: number,
>     discount?: number,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     tax_treatment_code?: string,
>     item_total?: number,
>     location_id?: string,
>     tags?: custom[],
>     line_item_category?: string
>   }[],
>   location_id?: string,
>   notes?: string,
>   terms?: string,
>   shipping_charge?: string,
>   adjustment?: number,
>   adjustment_description?: string,
>   tax_id?: string,
>   tax_exemption_id?: string,
>   tax_authority_id?: string,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   item_id?: string,
>   line_item_id?: string,
>   name?: string,
>   description?: string,
>   rate?: number,
>   unit?: string,
>   quantity?: number,
>   project_id?: string,
>   accept_retainer?: boolean,
>   retainer_percentage?: number,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createEstimateComment

`estimates.createEstimateComment`

Add Comments. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.createEstimateComment({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string,
>   show_comment_to_clients?: boolean
> }
> ```

**Output:** `custom`

***

### deleteEstimate

`estimates.deleteEstimate`

Delete an Estimate. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.estimates.deleteEstimate({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteEstimateComment

`estimates.deleteEstimateComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.estimates.deleteEstimateComment({
	pathParams: { estimate_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailEstimate

`estimates.emailEstimate`

Email an estimate. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.estimates.emailEstimate({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   send_from_org_email_id?: boolean,
>   to_mail_ids: string[],
>   cc_mail_ids?: string[],
>   subject?: string,
>   body?: string,
>   mail_documents?: string[]
> }
> ```

**Output:** `custom`

***

### emailMultipleEstimates

`estimates.emailMultipleEstimates`

Email multiple estimates. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.estimates.emailMultipleEstimates({
	query: { organization_id: '999999999999999', estimate_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   estimate_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getEstimate

`estimates.getEstimate`

Get an estimate. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.estimates.getEstimate({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean,
>   accept?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getEstimateEmail

`estimates.getEstimateEmail`

Get estimate email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.estimates.getEstimateEmail({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999', email_template_id: 'agent@sample.invalid' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   email_template_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listEstimateComments

`estimates.listEstimateComments`

List estimate comments & history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.estimates.listEstimateComments({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listEstimates

`estimates.listEstimates`

List estimates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.estimates.listEstimates({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   estimate_number?: string,
>   reference_number?: string,
>   customer_name?: string,
>   total?: string,
>   customer_id?: string,
>   item_id?: string,
>   item_name?: string,
>   item_description?: string,
>   custom_field?: string,
>   expiry_date?: string,
>   expiry_date_start?: string,
>   expiry_date_end?: string,
>   expiry_date_before?: string,
>   expiry_date_after?: string,
>   date?: string,
>   last_modified_time?: string,
>   status?: draft | pending_approval | approved | sent | invoiced | accepted | declined | expired | viewed | signed | rejected | partially_invoiced | pending_signature,
>   filter_by?: Status.All | Status.Sent | Status.Pending | Status.Approved | Status.Draft | Status.Invoiced | Status.Accepted | Status.Declined | Status.Expired | Status.Viewed | Status.AvalaraSyncFailed | Status.TaxAutomationFailed | Status.MyApprovals | WithAttachment | WithoutAttachment | ExceptionList | EmailScheduled | Type.NewSubscription | Type.Invoice,
>   search_text?: string,
>   sort_column?: customer_name | estimate_number | date | total | created_time | last_modified_time | cf_(\w+),
>   zcrm_potential_id?: string,
>   location_ids?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listEstimateTemplates

`estimates.listEstimateTemplates`

List estimate template. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.estimates.listEstimateTemplates({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markEstimateAccepted

`estimates.markEstimateAccepted`

Mark an estimate as accepted. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.markEstimateAccepted({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markEstimateDeclined

`estimates.markEstimateDeclined`

Mark an estimate as declined. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.markEstimateDeclined({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markEstimateSent

`estimates.markEstimateSent`

Mark an estimate as sent. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.markEstimateSent({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitEstimate

`estimates.submitEstimate`

Submit an estimate for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.submitEstimate({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCustomFieldsInEstimate

`estimates.updateCustomFieldsInEstimate`

Update custom field in existing estimates. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.updateCustomFieldsInEstimate({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | Update the custom fields of an estimate. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateEstimate

`estimates.updateEstimate`

Update an Estimate. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.updateEstimate({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		custom_fields: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   template_id?: string,
>   place_of_supply?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   estimate_number?: string,
>   reference_number?: string,
>   date?: string,
>   expiry_date?: string,
>   exchange_rate?: number,
>   discount?: number,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   is_inclusive_tax?: boolean,
>   custom_body?: string,
>   custom_subject?: string,
>   salesperson_name?: string,
>   custom_fields: {
>     index?: number,
>     value?: string
>   }[],
>   line_items?: {
>     item_id?: string,
>     line_item_id?: string,
>     name?: string,
>     description?: string,
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     item_order?: number,
>     bcy_rate?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount_amount?: number,
>     discount?: number,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     tax_treatment_code?: string,
>     item_total?: number,
>     location_id?: string,
>     tags?: custom[],
>     line_item_category?: string
>   }[],
>   location_id?: string,
>   notes?: string,
>   terms?: string,
>   shipping_charge?: string,
>   adjustment?: number,
>   adjustment_description?: string,
>   tax_id?: string,
>   tax_exemption_id?: string,
>   tax_authority_id?: string,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   item_id?: string,
>   line_item_id?: string,
>   name?: string,
>   description?: string,
>   rate?: number,
>   unit?: string,
>   quantity?: number,
>   project_id?: string,
>   accept_retainer?: boolean,
>   retainer_percentage?: number,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateEstimateBillingAddress

`estimates.updateEstimateBillingAddress`

Update billing address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.updateEstimateBillingAddress({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string
> }
> ```

**Output:** `custom`

***

### updateEstimateComment

`estimates.updateEstimateComment`

Update comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.updateEstimateComment({
	pathParams: { estimate_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string,
>   show_comment_to_clients?: boolean
> }
> ```

**Output:** `custom`

***

### updateEstimateShippingAddress

`estimates.updateEstimateShippingAddress`

Update shipping address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.updateEstimateShippingAddress({
	pathParams: { estimate_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string
> }
> ```

**Output:** `custom`

***

### updateEstimateTemplate

`estimates.updateEstimateTemplate`

Update estimate template. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.updateEstimateTemplate({
	pathParams: { estimate_id: '999999999999999', template_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   estimate_id: string,
>   template_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateEstimateUsingCustomField

`estimates.updateEstimateUsingCustomField`

update an Estimate using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.estimates.updateEstimateUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		customer_id: '999999999999999',
		custom_fields: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   template_id?: string,
>   place_of_supply?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   estimate_number?: string,
>   reference_number?: string,
>   date?: string,
>   expiry_date?: string,
>   exchange_rate?: number,
>   discount?: number,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   is_inclusive_tax?: boolean,
>   custom_body?: string,
>   custom_subject?: string,
>   salesperson_name?: string,
>   custom_fields: {
>     index?: number,
>     value?: string
>   }[],
>   line_items?: {
>     item_id?: string,
>     line_item_id?: string,
>     name?: string,
>     description?: string,
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     item_order?: number,
>     bcy_rate?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount_amount?: number,
>     discount?: number,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     tax_treatment_code?: string,
>     item_total?: number,
>     location_id?: string,
>     tags?: custom[],
>     line_item_category?: string
>   }[],
>   location_id?: string,
>   notes?: string,
>   terms?: string,
>   shipping_charge?: string,
>   adjustment?: number,
>   adjustment_description?: string,
>   tax_id?: string,
>   tax_exemption_id?: string,
>   tax_authority_id?: string,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   item_id?: string,
>   line_item_id?: string,
>   name?: string,
>   description?: string,
>   rate?: number,
>   unit?: string,
>   quantity?: number,
>   project_id?: string,
>   accept_retainer?: boolean,
>   retainer_percentage?: number,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Expenses

### addExpenseAttachment

`expenses.addExpenseAttachment`

Add attachment to an expense. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.expenses.addExpenseAttachment({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		attachment: { filename: 'sample.pdf', contentType: 'application/pdf', base64: 'JVBERi0xLjQK' },
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

For a documented binary upload field, pass \{ filename, contentType, base64 }; the plugin builds the multipart body.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   attachment: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   totalFiles?: number,
>   document_ids?: string[]
> }
> ```

**Output:** `custom`

***

### createEmployee

`expenses.createEmployee`

Create an employee. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.expenses.createEmployee({
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', email: 'agent@sample.invalid' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   email: string
> }
> ```

**Output:** `custom`

***

### createExpense

`expenses.createExpense`

Create an Expense. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.expenses.createExpense({
	query: { organization_id: '999999999999999' },
	body: {
		account_id: '999999999999999',
		date: '2026-01-15',
		amount: 1,
		paid_through_account_id: '999999999999999',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   receipt?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   date: string,
>   amount: number,
>   tax_id?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   hsn_or_sac?: string,
>   gst_no?: string,
>   reverse_charge_tax_id?: string,
>   location_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     account_id?: string,
>     description?: string,
>     amount?: number,
>     tax_id?: string,
>     item_order?: string,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     reverse_charge_tax_id?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     location_id?: string,
>     tags?: custom[]
>   }[],
>   taxes?: {
>     tax_id?: string,
>     tax_amount?: number
>   }[],
>   is_inclusive_tax?: boolean,
>   is_billable?: boolean,
>   reference_number?: string,
>   description?: string,
>   customer_id?: string,
>   currency_id?: string,
>   exchange_rate?: number,
>   project_id?: string,
>   mileage_type?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   product_type?: string,
>   acquisition_vat_id?: string,
>   reverse_charge_vat_id?: string,
>   start_reading?: number,
>   end_reading?: number,
>   distance?: string,
>   mileage_unit?: string,
>   mileage_rate?: number,
>   employee_id?: string,
>   vehicle_type?: string,
>   can_reclaim_vat_on_mileage?: string,
>   fuel_type?: string,
>   engine_capacity_range?: string,
>   paid_through_account_id: string,
>   vendor_id?: string,
>   custom_fields?: string[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createExpenseReceipt

`expenses.createExpenseReceipt`

Add receipt to an expense.. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.expenses.createExpenseReceipt({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   receipt?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteEmployee

`expenses.deleteEmployee`

Delete an employee. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.expenses.deleteEmployee({
	pathParams: { employee_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   employee_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteExpense

`expenses.deleteExpense`

Delete an Expense. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.expenses.deleteExpense({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteExpenseReceipt

`expenses.deleteExpenseReceipt`

Delete a receipt. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.expenses.deleteExpenseReceipt({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getEmployee

`expenses.getEmployee`

Get an employee. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.expenses.getEmployee({
	pathParams: { employee_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   employee_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getExpense

`expenses.getExpense`

Get an Expense. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.expenses.getExpense({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getExpenseReceipt

`expenses.getExpenseReceipt`

Get an expense receipt. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.expenses.getExpenseReceipt({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

Zoho documents this as returning the attached receipt; JSON metadata responses are also accepted. Binary files are returned with their response content type and are limited to 10 MiB.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   preview?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listEmployees

`expenses.listEmployees`

List employees. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.expenses.listEmployees({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listExpenseComments

`expenses.listExpenseComments`

List expense History & Comments. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.expenses.listExpenseComments({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listExpenses

`expenses.listExpenses`

List Expenses. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.expenses.listExpenses({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   description?: string,
>   reference_number?: string,
>   date?: string,
>   status?: string,
>   amount?: number,
>   account_name?: string,
>   customer_name?: string,
>   vendor_name?: string,
>   customer_id?: string,
>   vendor_id?: string,
>   recurring_expense_id?: string,
>   paid_through_account_id?: string,
>   project_id?: string,
>   search_text?: string,
>   sort_column?: string,
>   filter_by?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateExpense

`expenses.updateExpense`

Update an Expense. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.expenses.updateExpense({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		account_id: '999999999999999',
		date: '2026-01-15',
		amount: 1,
		paid_through_account_id: '999999999999999',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   receipt?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   delete_receipt?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   date: string,
>   amount: number,
>   tax_id?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   hsn_or_sac?: string,
>   gst_no?: string,
>   reverse_charge_tax_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     account_id?: string,
>     description?: string,
>     amount?: number,
>     tax_id?: string,
>     item_order?: string,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     reverse_charge_tax_id?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     location_id?: string,
>     tags?: custom[]
>   }[],
>   location_id?: string,
>   taxes?: {
>     tax_id?: string,
>     tax_amount?: number
>   }[],
>   is_inclusive_tax?: boolean,
>   is_billable?: boolean,
>   reference_number?: string,
>   description?: string,
>   customer_id?: string,
>   currency_id?: string,
>   exchange_rate?: number,
>   project_id?: string,
>   mileage_type?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   product_type?: string,
>   acquisition_vat_id?: string,
>   reverse_charge_vat_id?: string,
>   start_reading?: number,
>   end_reading?: number,
>   distance?: string,
>   mileage_unit?: string,
>   mileage_rate?: number,
>   employee_id?: string,
>   vehicle_type?: string,
>   can_reclaim_vat_on_mileage?: string,
>   fuel_type?: string,
>   engine_capacity_range?: string,
>   paid_through_account_id: string,
>   vendor_id?: string,
>   custom_fields?: string[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateExpenseUsingCustomField

`expenses.updateExpenseUsingCustomField`

Update an expense using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.expenses.updateExpenseUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		account_id: '999999999999999',
		date: '2026-01-15',
		amount: 1,
		paid_through_account_id: '999999999999999',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   date: string,
>   amount: number,
>   tax_id?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   hsn_or_sac?: string,
>   gst_no?: string,
>   reverse_charge_tax_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     account_id?: string,
>     description?: string,
>     amount?: number,
>     tax_id?: string,
>     item_order?: string,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     reverse_charge_tax_id?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     location_id?: string,
>     tags?: custom[]
>   }[],
>   location_id?: string,
>   taxes?: {
>     tax_id?: string,
>     tax_amount?: number
>   }[],
>   is_inclusive_tax?: boolean,
>   is_billable?: boolean,
>   reference_number?: string,
>   description?: string,
>   customer_id?: string,
>   currency_id?: string,
>   exchange_rate?: number,
>   project_id?: string,
>   mileage_type?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   product_type?: string,
>   acquisition_vat_id?: string,
>   reverse_charge_vat_id?: string,
>   start_reading?: number,
>   end_reading?: number,
>   distance?: string,
>   mileage_unit?: string,
>   mileage_rate?: number,
>   employee_id?: string,
>   vehicle_type?: string,
>   can_reclaim_vat_on_mileage?: string,
>   fuel_type?: string,
>   engine_capacity_range?: string,
>   paid_through_account_id: string,
>   vendor_id?: string,
>   custom_fields?: string[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Fixed Assets

### createFixedAsset

`fixedAssets.createFixedAsset`

Create a fixed asset. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.createFixedAsset({
	query: { organization_id: '999999999999999' },
	body: {
		asset_name: 'Sample record',
		fixed_asset_type_id: '999999999999999',
		asset_account_id: '999999999999999',
		asset_cost: 1,
		asset_purchase_date: '2026-01-15',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   asset_name: string,
>   fixed_asset_type_id: string,
>   asset_account_id: string,
>   expense_account_id?: string,
>   depreciation_account_id?: string,
>   depreciation_method?: string,
>   depreciation_frequency?: string,
>   depreciation_percentage?: number,
>   total_life?: number,
>   salvage_value?: string,
>   depreciation_start_date?: string,
>   description?: string,
>   asset_cost: number,
>   computation_type?: string,
>   warranty_expiry_date?: string,
>   asset_purchase_date: string,
>   serial_no?: string,
>   dep_start_value?: number,
>   notes?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createFixedAssetComment

`fixedAssets.createFixedAssetComment`

Add a comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.createFixedAssetComment({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string
> }
> ```

**Output:** `custom`

***

### createFixedAssetType

`fixedAssets.createFixedAssetType`

Create a fixed asset type. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.createFixedAssetType({
	query: { organization_id: '999999999999999' },
	body: {
		fixed_asset_type_name: 'Sample record',
		expense_account_id: '999999999999999',
		depreciation_account_id: '999999999999999',
		depreciation_method: 'sample',
		depreciation_frequency: 'sample',
		depreciation_percentage: 1,
		total_life: 1,
		computation_type: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   fixed_asset_type_name: string,
>   expense_account_id: string,
>   depreciation_account_id: string,
>   depreciation_method: string,
>   depreciation_frequency: string,
>   depreciation_percentage: number,
>   total_life: number,
>   computation_type: string
> }
> ```

**Output:** `custom`

***

### deleteFixedAsset

`fixedAssets.deleteFixedAsset`

Delete a fixed asset. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.deleteFixedAsset({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteFixedAssetComment

`fixedAssets.deleteFixedAssetComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.deleteFixedAssetComment({
	pathParams: { fixed_asset_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteFixedAssetType

`fixedAssets.deleteFixedAssetType`

Delete a fixed asset type. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.deleteFixedAssetType({
	pathParams: { fixed_asset_type_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_type_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getFixedAsset

`fixedAssets.getFixedAsset`

Get fixed asset. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.getFixedAsset({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getFixedAssetForecast

`fixedAssets.getFixedAssetForecast`

Get fixed asset's forecast depreciation. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.getFixedAssetForecast({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getFixedAssetHistory

`fixedAssets.getFixedAssetHistory`

Get fixed asset history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.getFixedAssetHistory({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getFixedAssetTypeList

`fixedAssets.getFixedAssetTypeList`

Get fixed asset type list. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.getFixedAssetTypeList({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listFixedAssets

`fixedAssets.listFixedAssets`

Get fixed asset list. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.listFixedAssets({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   sort_column?: string,
>   sort_order?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markFixedAssetActive

`fixedAssets.markFixedAssetActive`

Mark fixed asset as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.markFixedAssetActive({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markFixedAssetCancel

`fixedAssets.markFixedAssetCancel`

Cancel fixed asset. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.markFixedAssetCancel({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markFixedAssetDraft

`fixedAssets.markFixedAssetDraft`

Mark fixed asset as draft. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.markFixedAssetDraft({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sellFixedAsset

`fixedAssets.sellFixedAsset`

Sell fixed asset. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.sellFixedAsset({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		expense_account_id: '999999999999999',
		invoice_id: '999999999999999',
		line_item_id: '999999999999999',
		reason: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   expense_account_id: string,
>   invoice_id: string,
>   line_item_id: string,
>   reason: string
> }
> ```

**Output:** `custom`

***

### updateFixedAsset

`fixedAssets.updateFixedAsset`

Update a fixed asset. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.updateFixedAsset({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		asset_name: 'Sample record',
		fixed_asset_type_id: '999999999999999',
		asset_account_id: '999999999999999',
		asset_cost: 1,
		asset_purchase_date: '2026-01-15',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   asset_name: string,
>   fixed_asset_type_id: string,
>   asset_account_id: string,
>   expense_account_id?: string,
>   depreciation_account_id?: string,
>   depreciation_method?: string,
>   depreciation_frequency?: string,
>   depreciation_percentage?: number,
>   total_life?: number,
>   salvage_value?: string,
>   depreciation_start_date?: string,
>   description?: string,
>   asset_cost: number,
>   computation_type?: string,
>   warranty_expiry_date?: string,
>   asset_purchase_date: string,
>   serial_no?: string,
>   dep_start_value?: number,
>   notes?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateFixedAssetType

`fixedAssets.updateFixedAssetType`

Update a fixed asset type. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.updateFixedAssetType({
	pathParams: { fixed_asset_type_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		fixed_asset_type_name: 'Sample record',
		expense_account_id: '999999999999999',
		depreciation_account_id: '999999999999999',
		depreciation_method: 'sample',
		depreciation_frequency: 'sample',
		depreciation_percentage: 1,
		total_life: 1,
		computation_type: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_type_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   fixed_asset_type_name: string,
>   expense_account_id: string,
>   depreciation_account_id: string,
>   depreciation_method: string,
>   depreciation_frequency: string,
>   depreciation_percentage: number,
>   total_life: number,
>   computation_type: string
> }
> ```

**Output:** `custom`

***

### writeOffFixedAsset

`fixedAssets.writeOffFixedAsset`

Write off fixed asset. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.fixedAssets.writeOffFixedAsset({
	pathParams: { fixed_asset_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', expense_account_id: '999999999999999', reason: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   fixed_asset_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   expense_account_id: string,
>   reason: string
> }
> ```

**Output:** `custom`

***

## Integration

### importCustomerUsingCrmAccountId

`integration.importCustomerUsingCrmAccountId`

Import a customer using the CRM account ID. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.integration.importCustomerUsingCrmAccountId({
	pathParams: { crm_account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   crm_account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### importCustomerUsingCrmContactId

`integration.importCustomerUsingCrmContactId`

Import a customer using CRM contact ID. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.integration.importCustomerUsingCrmContactId({
	pathParams: { crm_contact_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   crm_contact_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### importItemUsingCrmProductId

`integration.importItemUsingCrmProductId`

Import an item using the CRM product ID. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.integration.importItemUsingCrmProductId({
	pathParams: { crm_product_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   crm_product_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### importVendorUsingCrmVendorId

`integration.importVendorUsingCrmVendorId`

Import a vendor using the CRM vendor ID. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.integration.importVendorUsingCrmVendorId({
	pathParams: { crm_vendor_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   crm_vendor_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Invoices

### addInvoiceAttachment

`invoices.addInvoiceAttachment`

Add attachment to an invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.addInvoiceAttachment({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   can_send_in_mail?: boolean,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addInvoiceComment

`invoices.addInvoiceComment`

Add comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.addInvoiceComment({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string,
>   payment_expected_date?: string,
>   show_comment_to_clients?: boolean
> }
> ```

**Output:** `custom`

***

### addInvoiceDigitalSignature

`invoices.addInvoiceDigitalSignature`

Add a digital signature to an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.addInvoiceDigitalSignature({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addInvoiceDocument

`invoices.addInvoiceDocument`

Add a document to an invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.addInvoiceDocument({
	pathParams: { invoice_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addInvoiceOnlinePaymentBankAccount

`invoices.addInvoiceOnlinePaymentBankAccount`

Add a bank account for invoice online payments. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.addInvoiceOnlinePaymentBankAccount({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   invoice_ids?: string,
>   payment_amount?: number,
>   gateway?: string,
>   first_name?: string,
>   last_name?: string,
>   account_number?: string,
>   routing_number?: string,
>   account_type?: string,
>   bank_name?: string,
>   enable_autobilling?: boolean,
>   account_id?: string,
>   autobill_client_status?: string
> }
> ```

**Output:** `custom`

***

### applyCreditsToInvoice

`invoices.applyCreditsToInvoice`

Apply credits. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.applyCreditsToInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		invoice_payments: [],
		apply_creditnotes: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   invoice_payments: {
>     payment_id?: string,
>     amount_applied?: number
>   }[],
>   apply_creditnotes: {
>     creditnote_id?: string,
>     amount_applied?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### applyInvoiceSubstatus

`invoices.applyInvoiceSubstatus`

Apply a sub-status to an invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.applyInvoiceSubstatus({
	pathParams: { invoice_id: '999999999999999', substatus_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   substatus_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### applyPricebookToInvoice

`invoices.applyPricebookToInvoice`

Apply a price book to an invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.applyPricebookToInvoice({
	pathParams: { invoice_id: '999999999999999', pricebook_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   pricebook_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### approveInvoice

`invoices.approveInvoice`

Approve an invoice.. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.approveInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### approveInvoices

`invoices.approveInvoices`

Approve invoices. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.approveInvoices({
	query: { organization_id: '999999999999999', invoice_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkExportInvoicesAsPdf

`invoices.bulkExportInvoicesAsPdf`

Bulk export Invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.bulkExportInvoicesAsPdf({
	query: { organization_id: '999999999999999', invoice_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkInvoiceReminder

`invoices.bulkInvoiceReminder`

Bulk invoice reminder. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.bulkInvoiceReminder({
	query: { organization_id: '999999999999999', invoice_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkPrintInvoices

`invoices.bulkPrintInvoices`

Bulk print invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.bulkPrintInvoices({
	query: { organization_id: '999999999999999', invoice_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelEinvoiceInvoice

`invoices.cancelEinvoiceInvoice`

Cancel an e-invoice invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.cancelEinvoiceInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelInvoice

`invoices.cancelInvoice`

Cancel an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.cancelInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelInvoiceEinvoice

`invoices.cancelInvoiceEinvoice`

Cancel an invoice e-invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.cancelInvoiceEinvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelInvoicesEinvoice

`invoices.cancelInvoicesEinvoice`

Cancel invoice e-invoices. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.cancelInvoicesEinvoice({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelScheduledInvoiceEmail

`invoices.cancelScheduledInvoiceEmail`

Cancel a scheduled invoice email. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.cancelScheduledInvoiceEmail({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### cancelWriteOffInvoice

`invoices.cancelWriteOffInvoice`

Cancel write off. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.cancelWriteOffInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createInvoice

`invoices.createInvoice`

Create an invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.createInvoice({
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send?: boolean,
>   ignore_auto_number_generation?: boolean,
>   is_quick_create?: boolean,
>   batch_payments?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons?: string[],
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   invoice_number?: string,
>   place_of_supply?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   bank_account_id?: string,
>   discount_code?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   tax_reg_no?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   cfdi_usage?: string,
>   reference_number?: string,
>   template_id?: string,
>   date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   due_date?: string,
>   discount?: number,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   is_inclusive_tax?: boolean,
>   exchange_rate?: number,
>   location_id?: string,
>   recurring_invoice_id?: string,
>   invoiced_estimate_id?: string,
>   salesperson_name?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   send?: boolean,
>   line_items: {
>     item_id: string,
>     project_id?: string,
>     time_entry_ids?: custom[],
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     location_id?: string,
>     expense_id?: string,
>     bill_id?: string,
>     bill_item_id?: string,
>     expense_receipt_name?: string,
>     name?: string,
>     description?: string,
>     item_order?: number,
>     bcy_rate?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount_amount?: number,
>     discount?: number,
>     tags?: custom[],
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     tax_treatment_code?: string,
>     reverse_charge_tax_id?: string,
>     discount_code?: string,
>     salesorder_item_id?: string,
>     line_item_category?: string,
>     tax_selection_mode?: manual | automated,
>     automatic_tax_enabled?: boolean,
>     tax_category_code?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     }
>   }[],
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   allow_partial_payments?: boolean,
>   custom_body?: string,
>   custom_subject?: string,
>   notes?: string,
>   terms?: string,
>   shipping_charge?: string,
>   shipping_charge_tax_category?: {
>     tax_category_code?: string,
>     tax_category_name?: string,
>     description?: string
>   },
>   adjustment?: number,
>   adjustment_description?: string,
>   reason?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   billing_address_id?: string,
>   shipping_address_id?: string,
>   shipping_address?: {
>     address?: string,
>     street2?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string
>   },
>   automatic_tax_enabled?: boolean,
>   tax_selection_mode?: manual | automated,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   tax_id?: string,
>   expense_id?: string,
>   salesorder_item_id?: string,
>   avatax_tax_code?: string,
>   time_entry_ids?: string[],
>   batch_payments?: {
>     payment_mode?: string,
>     amount?: string,
>     account_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createInvoiceAsynchronousOnlinePayment

`invoices.createInvoiceAsynchronousOnlinePayment`

Process an asynchronous online payment for an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.createInvoiceAsynchronousOnlinePayment({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   invoice_ids?: string,
>   payment_amount?: number,
>   gateway?: string
> }
> ```

**Output:** `custom`

***

### createInvoiceFromSalesorder

`invoices.createInvoiceFromSalesorder`

Create an instant invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.createInvoiceFromSalesorder({
	query: { salesorder_id: '999999999999999', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   salesorder_id: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createInvoicesFromEstimates

`invoices.createInvoicesFromEstimates`

Create invoices from estimates. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.createInvoicesFromEstimates({
	query: { estimate_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   estimate_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createInvoicesFromProjects

`invoices.createInvoicesFromProjects`

Create invoices from projects. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.createInvoicesFromProjects({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   project_ids?: string,
>   invoice_number?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createInvoiceSynchronousOnlinePayment

`invoices.createInvoiceSynchronousOnlinePayment`

Process a synchronous online payment for an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.createInvoiceSynchronousOnlinePayment({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   card_token?: string,
>   invoice_ids?: string,
>   payment_amount?: number,
>   gateway?: string,
>   card_number?: string,
>   cvv?: string,
>   first_name?: string,
>   last_name?: string,
>   address?: string,
>   city?: string,
>   state?: string,
>   country?: string
> }
> ```

**Output:** `custom`

***

### deleteInvoice

`invoices.deleteInvoice`

Delete an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceAppliedCredit

`invoices.deleteInvoiceAppliedCredit`

Delete applied credit. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoiceAppliedCredit({
	pathParams: { invoice_id: '999999999999999', creditnotes_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   creditnotes_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceAttachment

`invoices.deleteInvoiceAttachment`

Delete last attached attachment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoiceAttachment({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceComment

`invoices.deleteInvoiceComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoiceComment({
	pathParams: { invoice_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceDocument

`invoices.deleteInvoiceDocument`

Delete Invoice attachment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoiceDocument({
	pathParams: { invoice_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceEinvoiceStatus

`invoices.deleteInvoiceEinvoiceStatus`

Delete an invoice e-invoice status. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoiceEinvoiceStatus({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceExpenseReceipt

`invoices.deleteInvoiceExpenseReceipt`

Delete the expense receipt. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoiceExpenseReceipt({
	pathParams: { expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceLineItem

`invoices.deleteInvoiceLineItem`

Delete an invoice line item. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoiceLineItem({
	pathParams: { invoice_id: '999999999999999', line_item_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   line_item_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoicePayment

`invoices.deleteInvoicePayment`

Delete a payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoicePayment({
	pathParams: { invoice_id: '999999999999999', invoice_payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   invoice_payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoices

`invoices.deleteInvoices`

Delete invoices. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoices({
	query: { organization_id: '999999999999999', invoice_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteInvoiceSubstatus

`invoices.deleteInvoiceSubstatus`

Delete an invoice sub-status. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.deleteInvoiceSubstatus({
	pathParams: { invoice_id: '999999999999999', substatus_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   substatus_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### disableInvoicePaymentReminder

`invoices.disableInvoicePaymentReminder`

Disable payment reminder. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.disableInvoicePaymentReminder({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailInvoice

`invoices.emailInvoice`

Email an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.emailInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send_customer_statement?: boolean,
>   send_attachment?: boolean,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   send_from_org_email_id?: boolean,
>   from_address_id?: string,
>   to_mail_ids: string[],
>   cc_mail_ids?: string[],
>   subject?: string,
>   body?: string
> }
> ```

**Output:** `custom`

***

### emailInvoices

`invoices.emailInvoices`

Email multiple invoices. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.emailInvoices({
	query: { organization_id: '999999999999999', invoice_ids: 'sample' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   contacts?: {
>     contact_id?: string,
>     email?: boolean,
>     snail_mail?: boolean
>   }[]
> }
> ```

**Output:** `custom`

***

### enableInvoicePaymentReminder

`invoices.enableInvoicePaymentReminder`

Enable payment reminder. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.enableInvoicePaymentReminder({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### fetchInvoiceEinvoice

`invoices.fetchInvoiceEinvoice`

Fetch an invoice e-invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.fetchInvoiceEinvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### finalizeInvoiceApproval

`invoices.finalizeInvoiceApproval`

Finalize approval of an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.finalizeInvoiceApproval({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### forcePayInvoice

`invoices.forcePayInvoice`

Force pay an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.forcePayInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### generateInvoicePaymentLink

`invoices.generateInvoicePaymentLink`

Generate payment link. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.generateInvoicePaymentLink({
	query: {
		transaction_id: '999999999999999',
		transaction_type: 'sample',
		link_type: 'sample',
		expiry_time: 'sample',
		organization_id: '999999999999999',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   transaction_id: string,
>   transaction_type: string,
>   link_type: string,
>   expiry_time: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoice

`invoices.getInvoice`

Get an invoice. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean,
>   accept?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceAdvancedTrackingDetails

`invoices.getInvoiceAdvancedTrackingDetails`

Get invoice advanced tracking details. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceAdvancedTrackingDetails({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceAttachment

`invoices.getInvoiceAttachment`

Get last attached attachment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceAttachment({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

Zoho documents this as returning the attached file; JSON metadata responses are also accepted. Binary files are returned with their response content type and are limited to 10 MiB.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   preview?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceByReference

`invoices.getInvoiceByReference`

Get an invoice by reference. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceByReference({
	pathParams: { reference_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   reference_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceCustomFields

`invoices.getInvoiceCustomFields`

Get invoice custom fields. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceCustomFields({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceDashboard

`invoices.getInvoiceDashboard`

Get invoice dashboard. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceDashboard({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   invoice_agent?: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceDeliveryNotes

`invoices.getInvoiceDeliveryNotes`

Get delivery notes for invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceDeliveryNotes({
	query: { organization_id: '999999999999999', invoice_ids: 'sample', accept: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string,
>   print?: boolean,
>   accept: string,
>   no_of_copies?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceDocumentDetails

`invoices.getInvoiceDocumentDetails`

Retrieve Invoice Document. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceDocumentDetails({
	pathParams: { invoice_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

File responses use the response Content-Type supplied by Zoho and are returned base64-encoded.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   responseformat?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceEinvoice

`invoices.getInvoiceEinvoice`

Get an invoice e-invoice. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceEinvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceEmail

`invoices.getInvoiceEmail`

Get invoice email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceEmail({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   email_template_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceMetadata

`invoices.getInvoiceMetadata`

Get invoice metadata. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceMetadata({
	pathParams: { invoice_id: '999999999999999', metadata_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   metadata_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoicePackingSlips

`invoices.getInvoicePackingSlips`

Get packing slips for invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoicePackingSlips({
	query: { organization_id: '999999999999999', invoice_ids: 'sample', accept: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string,
>   print?: boolean,
>   accept: string,
>   no_of_copies?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoicePaymentQr

`invoices.getInvoicePaymentQr`

Get invoice online payment QR code. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoicePaymentQr({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoicePaymentQrStatus

`invoices.getInvoicePaymentQrStatus`

Get invoice online payment QR status. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoicePaymentQrStatus({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceQrCode

`invoices.getInvoiceQrCode`

Get invoice QR code. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceQrCode({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceSignatureTemplate

`invoices.getInvoiceSignatureTemplate`

Get invoice signature template. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceSignatureTemplate({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getInvoiceSms

`invoices.getInvoiceSms`

Get invoice SMS content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getInvoiceSms({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getPaymentReminderMailContentForInvoice

`invoices.getPaymentReminderMailContentForInvoice`

Get payment reminder mail content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.getPaymentReminderMailContentForInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listInvoiceComments

`invoices.listInvoiceComments`

List invoice comments & history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.listInvoiceComments({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listInvoiceCreditsApplied

`invoices.listInvoiceCreditsApplied`

List credits applied. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.listInvoiceCreditsApplied({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listInvoicePayments

`invoices.listInvoicePayments`

List invoice payments. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.listInvoicePayments({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listInvoices

`invoices.listInvoices`

List invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.listInvoices({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_number?: string,
>   item_name?: string,
>   item_id?: string,
>   item_description?: string,
>   reference_number?: string,
>   customer_name?: string,
>   recurring_invoice_id?: string,
>   email?: string,
>   total?: string,
>   balance?: string,
>   custom_field?: string,
>   date?: string,
>   date_start?: string,
>   date_end?: string,
>   date_before?: string,
>   date_after?: string,
>   due_date?: string,
>   due_date_start?: string,
>   due_date_end?: string,
>   due_date_before?: string,
>   due_date_after?: string,
>   created_date?: string,
>   created_date_start?: string,
>   created_date_end?: string,
>   last_modified_time?: string,
>   status?: string,
>   customer_id?: string,
>   filter_by?: string,
>   search_text?: string,
>   sort_column?: string,
>   zcrm_potential_id?: string,
>   response_option?: number,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listInvoicesEinvoice

`invoices.listInvoicesEinvoice`

List invoice e-invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.listInvoicesEinvoice({
	query: { organization_id: '999999999999999', invoice_ids: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listInvoiceTemplates

`invoices.listInvoiceTemplates`

List invoice templates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.listInvoiceTemplates({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### mailInvoicePdf

`invoices.mailInvoicePdf`

Email an invoice as PDF. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.mailInvoicePdf({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### mapInvoiceWithSalesorder

`invoices.mapInvoiceWithSalesorder`

Associate invoices with sales order. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.mapInvoiceWithSalesorder({
	query: { invoice_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   invoice_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markInvoiceDraft

`invoices.markInvoiceDraft`

Mark as draft. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.markInvoiceDraft({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markInvoiceEinvoiceCancelled

`invoices.markInvoiceEinvoiceCancelled`

Mark an invoice e-invoice as cancelled. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.markInvoiceEinvoiceCancelled({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markInvoiceEinvoicePushed

`invoices.markInvoiceEinvoicePushed`

Mark an invoice e-invoice as manually pushed. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.markInvoiceEinvoicePushed({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   uuid?: string,
>   ack_date?: string,
>   ack_no?: string,
>   signed_qr_code?: string,
>   internal_data?: string
> }
> ```

**Output:** `custom`

***

### markInvoiceReadyToPush

`invoices.markInvoiceReadyToPush`

Mark an invoice as ready to push. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.markInvoiceReadyToPush({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markInvoiceSent

`invoices.markInvoiceSent`

Mark an invoice as sent. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.markInvoiceSent({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markInvoicesSent

`invoices.markInvoicesSent`

Mark invoices as sent. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.markInvoicesSent({
	query: { invoice_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   invoice_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markInvoicesShipped

`invoices.markInvoicesShipped`

Mark invoices as shipped. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.markInvoicesShipped({
	query: { invoice_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   invoice_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markInvoiceVoid

`invoices.markInvoiceVoid`

Void an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.markInvoiceVoid({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### previewInvoiceCoupons

`invoices.previewInvoiceCoupons`

Preview invoice with coupons. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.previewInvoiceCoupons({
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons?: string[],
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   invoice_number?: string,
>   place_of_supply?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   bank_account_id?: string,
>   discount_code?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   tax_reg_no?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   cfdi_usage?: string,
>   reference_number?: string,
>   template_id?: string,
>   date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   due_date?: string,
>   discount?: number,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   is_inclusive_tax?: boolean,
>   exchange_rate?: number,
>   location_id?: string,
>   recurring_invoice_id?: string,
>   invoiced_estimate_id?: string,
>   salesperson_name?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   send?: boolean,
>   line_items: {
>     item_id: string,
>     project_id?: string,
>     time_entry_ids?: custom[],
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     location_id?: string,
>     expense_id?: string,
>     bill_id?: string,
>     bill_item_id?: string,
>     expense_receipt_name?: string,
>     name?: string,
>     description?: string,
>     item_order?: number,
>     bcy_rate?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount_amount?: number,
>     discount?: number,
>     tags?: custom[],
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     tax_treatment_code?: string,
>     reverse_charge_tax_id?: string,
>     discount_code?: string,
>     salesorder_item_id?: string,
>     line_item_category?: string,
>     tax_selection_mode?: manual | automated,
>     automatic_tax_enabled?: boolean,
>     tax_category_code?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     }
>   }[],
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   allow_partial_payments?: boolean,
>   custom_body?: string,
>   custom_subject?: string,
>   notes?: string,
>   terms?: string,
>   shipping_charge?: string,
>   shipping_charge_tax_category?: {
>     tax_category_code?: string,
>     tax_category_name?: string,
>     description?: string
>   },
>   adjustment?: number,
>   adjustment_description?: string,
>   reason?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   billing_address_id?: string,
>   shipping_address_id?: string,
>   shipping_address?: {
>     address?: string,
>     street2?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string
>   },
>   automatic_tax_enabled?: boolean,
>   tax_selection_mode?: manual | automated,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   tax_id?: string,
>   expense_id?: string,
>   salesorder_item_id?: string,
>   avatax_tax_code?: string,
>   time_entry_ids?: string[],
>   batch_payments?: {
>     payment_mode?: string,
>     amount?: string,
>     account_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### printInvoiceDeliveryNote

`invoices.printInvoiceDeliveryNote`

Print invoice delivery note. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.printInvoiceDeliveryNote({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

File responses use the response Content-Type supplied by Zoho and are returned base64-encoded.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### printInvoicePackingSlip

`invoices.printInvoicePackingSlip`

Print invoice packing slip. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.invoices.printInvoicePackingSlip({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

File responses use the response Content-Type supplied by Zoho and are returned base64-encoded.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### pushInvoiceEinvoice

`invoices.pushInvoiceEinvoice`

Push an invoice e-invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.pushInvoiceEinvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### pushInvoicesEinvoice

`invoices.pushInvoicesEinvoice`

Push invoice e-invoices. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.pushInvoicesEinvoice({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### recallInvoiceEinvoiceStatus

`invoices.recallInvoiceEinvoiceStatus`

Recall an invoice e-invoice status. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.recallInvoiceEinvoiceStatus({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### rejectInvoice

`invoices.rejectInvoice`

Reject an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.rejectInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   reason?: string,
>   isCallForOEmbed?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### remindCustomerForInvoicePayment

`invoices.remindCustomerForInvoicePayment`

Remind Customer. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.remindCustomerForInvoicePayment({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		cc_mail_ids: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send_customer_statement?: boolean,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   to_mail_ids?: string[],
>   cc_mail_ids: string[],
>   subject?: string,
>   body?: string,
>   send_from_org_email_id?: boolean
> }
> ```

**Output:** `custom`

***

### scheduleInvoiceEmail

`invoices.scheduleInvoiceEmail`

Schedule an invoice email. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.scheduleInvoiceEmail({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   schedule_time?: string
> }
> ```

**Output:** `custom`

***

### sendInvoiceDunningNotifications

`invoices.sendInvoiceDunningNotifications`

Send invoice dunning notifications. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.sendInvoiceDunningNotifications({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sendInvoiceRetrySms

`invoices.sendInvoiceRetrySms`

Resend invoice payment SMS. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.sendInvoiceRetrySms({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sendInvoiceSms

`invoices.sendInvoiceSms`

Send invoice by SMS. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.sendInvoiceSms({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### sendInvoiceViaSnailMail

`invoices.sendInvoiceViaSnailMail`

Send an invoice via snail mail. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.sendInvoiceViaSnailMail({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   contact_person_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitInvoice

`invoices.submitInvoice`

Submit an invoice for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.submitInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitInvoices

`invoices.submitInvoices`

Submit invoices for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.submitInvoices({
	query: { invoice_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   invoice_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### unmapInvoicesFromSalesorders

`invoices.unmapInvoicesFromSalesorders`

Unmap invoices from sales orders. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.unmapInvoicesFromSalesorders({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### unshipInvoices

`invoices.unshipInvoices`

Mark invoices as unshipped. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.unshipInvoices({
	query: { invoice_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   invoice_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCustomFieldsInInvoice

`invoices.updateCustomFieldsInInvoice`

Update custom field in existing invoices. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateCustomFieldsInInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | Update the custom fields of an invoice. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateInvoice

`invoices.updateInvoice`

Update an invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   invoice_number?: string,
>   place_of_supply?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   bank_account_id?: string,
>   discount_code?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   tax_reg_no?: string,
>   gst_treatment?: string,
>   cfdi_usage?: string,
>   cfdi_reference_type?: string,
>   reference_invoice_id?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   reference_number?: string,
>   template_id?: string,
>   date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   due_date?: string,
>   discount?: number,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   is_inclusive_tax?: boolean,
>   exchange_rate?: number,
>   recurring_invoice_id?: string,
>   invoiced_estimate_id?: string,
>   salesperson_name?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   location_id?: string,
>   line_items: {
>     item_id: string,
>     project_id?: string,
>     time_entry_ids?: custom[],
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     location_id?: string,
>     expense_id?: string,
>     expense_receipt_name?: string,
>     name?: string,
>     description?: string,
>     item_order?: number,
>     bcy_rate?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount_amount?: number,
>     tags?: custom[],
>     discount?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     tax_treatment_code?: string,
>     reverse_charge_tax_id?: string,
>     discount_code?: string,
>     line_item_category?: string,
>     tax_selection_mode?: manual | automated,
>     automatic_tax_enabled?: boolean,
>     tax_category_code?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     }
>   }[],
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   allow_partial_payments?: boolean,
>   custom_body?: string,
>   custom_subject?: string,
>   notes?: string,
>   terms?: string,
>   shipping_charge?: string,
>   shipping_charge_tax_category?: {
>     tax_category_code?: string,
>     tax_category_name?: string,
>     description?: string
>   },
>   adjustment?: number,
>   adjustment_description?: string,
>   reason?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   automatic_tax_enabled?: boolean,
>   tax_selection_mode?: manual | automated,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   tax_id?: string,
>   expense_id?: string,
>   salesorder_item_id?: string,
>   avatax_tax_code?: string,
>   line_item_id?: string
> }
> ```

**Output:** `custom`

***

### updateInvoiceAdvancedTrackingDetails

`invoices.updateInvoiceAdvancedTrackingDetails`

Update invoice advanced tracking details. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceAdvancedTrackingDetails({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `Record<string, custom>` | No | Advanced inventory tracking details (batches or serial numbers) for the invoice line items. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateInvoiceAttachmentPreference

`invoices.updateInvoiceAttachmentPreference`

Update attachment preference. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceAttachmentPreference({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999', can_send_in_mail: false },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   can_send_in_mail: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateInvoiceBillingAddress

`invoices.updateInvoiceBillingAddress`

Update billing address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceBillingAddress({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string
> }
> ```

**Output:** `custom`

***

### updateInvoiceCfdiStatus

`invoices.updateInvoiceCfdiStatus`

Update an invoice CFDI status. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceCfdiStatus({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateInvoiceComment

`invoices.updateInvoiceComment`

Update comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceComment({
	pathParams: { invoice_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string,
>   show_comment_to_clients?: boolean
> }
> ```

**Output:** `custom`

***

### updateInvoiceEinvoicePaymentStatus

`invoices.updateInvoiceEinvoicePaymentStatus`

Update an invoice e-invoice payment status. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceEinvoicePaymentStatus({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateInvoiceMetadata

`invoices.updateInvoiceMetadata`

Update invoice metadata. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceMetadata({
	pathParams: { invoice_id: '999999999999999', metadata_name: 'Sample record' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   metadata_name: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateInvoiceShippingAddress

`invoices.updateInvoiceShippingAddress`

Update shipping address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceShippingAddress({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   street2?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string
> }
> ```

**Output:** `custom`

***

### updateInvoiceTemplate

`invoices.updateInvoiceTemplate`

Update invoice template. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceTemplate({
	pathParams: { invoice_id: '999999999999999', template_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   template_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateInvoiceUsingCustomField

`invoices.updateInvoiceUsingCustomField`

Update an invoice using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.updateInvoiceUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		customer_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_sms_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   invoice_number?: string,
>   place_of_supply?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   bank_account_id?: string,
>   discount_code?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     indirect_tax_no?: string,
>     zone_type?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     business_classification_type?: string,
>     business_classification_value?: string,
>     trader_name?: string,
>     legal_name?: string,
>     location_identifier_value?: string,
>     location_identifier_type?: string,
>     electronic_address_value?: string
>   },
>   tax_reg_no?: string,
>   gst_treatment?: string,
>   cfdi_usage?: string,
>   cfdi_reference_type?: string,
>   reference_invoice_id?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   reference_number?: string,
>   template_id?: string,
>   date?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   due_date?: string,
>   discount?: number,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   is_inclusive_tax?: boolean,
>   exchange_rate?: number,
>   recurring_invoice_id?: string,
>   invoiced_estimate_id?: string,
>   salesperson_name?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   location_id?: string,
>   line_items: {
>     item_id: string,
>     project_id?: string,
>     time_entry_ids?: custom[],
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     location_id?: string,
>     expense_id?: string,
>     expense_receipt_name?: string,
>     name?: string,
>     description?: string,
>     item_order?: number,
>     bcy_rate?: number,
>     rate?: number,
>     quantity?: number,
>     unit?: string,
>     discount_amount?: number,
>     tags?: custom[],
>     discount?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     tax_treatment_code?: string,
>     reverse_charge_tax_id?: string,
>     discount_code?: string,
>     line_item_category?: string,
>     tax_selection_mode?: manual | automated,
>     automatic_tax_enabled?: boolean,
>     tax_category_code?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     }
>   }[],
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   allow_partial_payments?: boolean,
>   custom_body?: string,
>   custom_subject?: string,
>   notes?: string,
>   terms?: string,
>   shipping_charge?: string,
>   shipping_charge_tax_category?: {
>     tax_category_code?: string,
>     tax_category_name?: string,
>     description?: string
>   },
>   adjustment?: number,
>   adjustment_description?: string,
>   reason?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   automatic_tax_enabled?: boolean,
>   tax_selection_mode?: manual | automated,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   tax_id?: string,
>   expense_id?: string,
>   salesorder_item_id?: string,
>   avatax_tax_code?: string,
>   line_item_id?: string
> }
> ```

**Output:** `custom`

***

### uploadInvoiceDigitalSignature

`invoices.uploadInvoiceDigitalSignature`

Upload a signed invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.uploadInvoiceDigitalSignature({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### uploadInvoiceDocument

`invoices.uploadInvoiceDocument`

Upload an invoice document file. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.invoices.uploadInvoiceDocument({
	pathParams: { invoice_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### voidInvoices

`invoices.voidInvoices`

Mark invoices as void. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.voidInvoices({
	query: { organization_id: '999999999999999', invoice_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   invoice_ids: string,
>   can_create_network_entity?: boolean,
>   unmap_salesorder?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### writeOffInvoice

`invoices.writeOffInvoice`

Write off invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.writeOffInvoice({
	pathParams: { invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### writeOffInvoices

`invoices.writeOffInvoices`

Write off invoices. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.invoices.writeOffInvoices({
	query: { invoice_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   invoice_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Items

### bulkDeleteItemVariants

`items.bulkDeleteItemVariants`

Bulk delete item variants. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.items.bulkDeleteItemVariants({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   variant_ids?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkMarkItemMastersActive

`items.bulkMarkItemMastersActive`

Bulk mark items as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.bulkMarkItemMastersActive({
	query: { organization_id: '999999999999999', item_master_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   item_master_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkMarkItemMastersInactive

`items.bulkMarkItemMastersInactive`

Bulk mark items as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.bulkMarkItemMastersInactive({
	query: { organization_id: '999999999999999', item_master_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   item_master_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkMarkItemVariantsActive

`items.bulkMarkItemVariantsActive`

Bulk mark item variants as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.bulkMarkItemVariantsActive({
	query: { organization_id: '999999999999999', variant_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   variant_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkMarkItemVariantsInactive

`items.bulkMarkItemVariantsInactive`

Bulk mark item variants as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.bulkMarkItemVariantsInactive({
	query: { organization_id: '999999999999999', variant_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   variant_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createItem

`items.createItem`

Create an Item. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.createItem({
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', rate: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   rate: number,
>   description?: string,
>   tax_id?: string,
>   locations?: {
>     location_id?: string,
>     initial_stock?: string,
>     initial_stock_rate?: string
>   }[],
>   purchase_tax_rule_id?: string,
>   sales_tax_rule_id?: string,
>   tax_percentage?: string,
>   sku?: string,
>   product_type?: string,
>   hsn_or_sac?: string,
>   sat_item_key_code?: string,
>   unitkey_code?: string,
>   item_code?: {
>     gtin?: string,
>     nature_code?: string
>   },
>   is_taxable?: boolean,
>   tax_exemption_id?: string,
>   purchase_tax_exemption_id?: string,
>   account_id?: string,
>   avatax_tax_code?: string,
>   avatax_use_code?: string,
>   product_tax_category?: {
>     tax_category_code: string,
>     tax_category_name?: string,
>     description?: string
>   },
>   item_type?: string,
>   purchase_description?: string,
>   purchase_rate?: string,
>   purchase_account_id?: string,
>   inventory_account_id?: string,
>   vendor_id?: string,
>   reorder_level?: string,
>   item_tax_preferences?: {
>     tax_id?: string,
>     tax_specification?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createItemMaster

`items.createItemMaster`

Create an item. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.createItemMaster({
	query: { organization_id: '999999999999999' },
	body: {
		item_master_name: 'Sample record',
		unit: 'sample',
		item_variants: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   pricebook_id?: string,
>   date?: string,
>   document_ids?: string,
>   can_sync_to_variant?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   item_master_name: string,
>   name?: string,
>   brand?: string,
>   manufacturer?: string,
>   unit: string,
>   description?: string,
>   product_type?: string,
>   tax_id?: string,
>   is_taxable?: boolean,
>   account_id?: string,
>   purchase_account_id?: string,
>   inventory_account_id?: string,
>   category_id?: string,
>   attribute_name1?: string,
>   attribute_name2?: string,
>   attribute_name3?: string,
>   item_variants: {
>     variant_id?: string,
>     variant_name: string,
>     rate: number,
>     purchase_rate?: string,
>     sku?: string,
>     upc?: number,
>     ean?: number,
>     isbn?: string,
>     part_number?: string,
>     reorder_level?: string,
>     attribute_option_name1?: string,
>     attribute_option_name2?: string,
>     attribute_option_name3?: string,
>     vendor_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     custom_fields?: custom[]
>   }[],
>   hsn_or_sac?: string,
>   unitkey_code?: string,
>   item_code?: {
>     gtin?: string,
>     nature_code?: string
>   },
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createItemVariant

`items.createItemVariant`

Create an item variant. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.createItemVariant({
	query: { organization_id: '999999999999999' },
	body: { variant_name: 'Sample record', rate: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   pricebook_id?: string,
>   date?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   variant_id?: string,
>   variant_name: string,
>   rate: number,
>   group_id?: string,
>   item_master_id?: string,
>   unit?: string,
>   unit_id?: string,
>   item_type?: string,
>   product_type?: string,
>   can_be_sold?: boolean,
>   can_be_purchased?: boolean,
>   track_inventory?: boolean,
>   is_taxable?: boolean,
>   tax_id?: string,
>   product_tax_category?: {
>     tax_category_code: string,
>     tax_category_name?: string,
>     description?: string
>   },
>   description?: string,
>   purchase_description?: string,
>   purchase_rate?: string,
>   purchase_account_id?: string,
>   inventory_account_id?: string,
>   reorder_level?: string,
>   sku?: string,
>   upc?: number,
>   ean?: number,
>   isbn?: string,
>   part_number?: string,
>   attribute_option_name1?: string,
>   vendor_id?: string,
>   brand?: string,
>   manufacturer?: string,
>   hsn_or_sac?: string,
>   unitkey_code?: string,
>   item_code?: {
>     gtin?: string,
>     nature_code?: string
>   },
>   locations?: {
>     location_id?: string,
>     initial_stock?: string,
>     initial_stock_rate?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteItem

`items.deleteItem`

Delete an item. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.items.deleteItem({
	pathParams: { item_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteItemMaster

`items.deleteItemMaster`

Delete an item. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.items.deleteItemMaster({
	pathParams: { item_master_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_master_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteItemVariant

`items.deleteItemVariant`

Delete an item variant. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.items.deleteItemVariant({
	pathParams: { variant_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   variant_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getItem

`items.getItem`

Get an item. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.items.getItem({
	pathParams: { item_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getItemMaster

`items.getItemMaster`

Retrieve an item. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.items.getItemMaster({
	pathParams: { item_master_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_master_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   include?: string,
>   print?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getItemVariant

`items.getItemVariant`

Retrieve an item variant. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.items.getItemVariant({
	pathParams: { variant_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   variant_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   pricebook_id?: string,
>   contact_id?: string,
>   location_id?: string,
>   branch_id?: string,
>   date?: string,
>   include?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listItemDetails

`items.listItemDetails`

Bulk fetch item details. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.items.listItemDetails({
	query: { item_ids: 'sample', organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   item_ids: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listItemMasters

`items.listItemMasters`

List items. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.items.listItemMasters({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number,
>   search_text?: string,
>   filter_by?: string,
>   sort_column?: string,
>   sort_order?: string,
>   item_master_name?: string,
>   item_master_name_startswith?: string,
>   item_master_name_contains?: string,
>   description?: string,
>   rate?: number,
>   purchase_rate?: number,
>   brand?: string,
>   manufacturer?: string,
>   category_id?: string,
>   account_id?: string,
>   purchase_account_id?: string,
>   inventory_account_id?: string,
>   tax_id?: string,
>   skip_variant?: boolean,
>   last_modified_time?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listItems

`items.listItems`

List items. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.items.listItems({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   name?: string,
>   name_startswith?: string,
>   name_contains?: string,
>   description?: string,
>   description_startswith?: string,
>   description_contains?: string,
>   rate?: string,
>   rate_less_than?: string,
>   rate_less_equals?: string,
>   rate_greater_than?: string,
>   rate_greater_equals?: string,
>   tax_id?: string,
>   tax_name?: string,
>   is_taxable?: boolean,
>   tax_exemption_id?: string,
>   account_id?: string,
>   filter_by?: string,
>   search_text?: string,
>   sort_column?: string,
>   sat_item_key_code?: string,
>   unitkey_code?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listItemVariants

`items.listItemVariants`

List item variants. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.items.listItemVariants({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number,
>   search_text?: string,
>   filter_by?: string,
>   sort_column?: string,
>   sort_order?: string,
>   status?: string,
>   name?: string,
>   name_startswith?: string,
>   name_contains?: string,
>   sku?: string,
>   sku_startswith?: string,
>   sku_contains?: string,
>   rate?: number,
>   purchase_rate?: number,
>   item_master_id?: string,
>   variant_ids?: string,
>   brand?: string,
>   manufacturer?: string,
>   category_id?: string,
>   warehouse_id?: string,
>   location_id?: string,
>   product_type?: string,
>   is_combo_product?: boolean,
>   last_modified_time?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markItemActive

`items.markItemActive`

Mark as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.markItemActive({
	pathParams: { item_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markItemInactive

`items.markItemInactive`

Mark as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.markItemInactive({
	pathParams: { item_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markItemMasterAsActive

`items.markItemMasterAsActive`

Mark an item as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.markItemMasterAsActive({
	pathParams: { item_master_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_master_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markItemMasterAsInactive

`items.markItemMasterAsInactive`

Mark an item as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.markItemMasterAsInactive({
	pathParams: { item_master_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_master_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markItemVariantAsActive

`items.markItemVariantAsActive`

Mark an item variant as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.markItemVariantAsActive({
	pathParams: { variant_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   variant_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markItemVariantAsInactive

`items.markItemVariantAsInactive`

Mark an item variant as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.markItemVariantAsInactive({
	pathParams: { variant_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   variant_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### moveItemVariant

`items.moveItemVariant`

Move an item variant. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.moveItemVariant({
	pathParams: { variant_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { variant_name: 'Sample record', rate: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `Record<string, custom>` | No | Request body to move a variant into another item. Uses the item variant create or update structure. Include the target item\_master\_id or group\_id . |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   variant_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### ungroupItemVariants

`items.ungroupItemVariants`

Mark item variants as single items. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.ungroupItemVariants({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   variant_ids?: string,
>   composite_item_ids?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCustomFieldsInItem

`items.updateCustomFieldsInItem`

Update custom field in existing items. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.updateCustomFieldsInItem({
	pathParams: { item_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | Update the custom fields of an item. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateItem

`items.updateItem`

Update an item. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.updateItem({
	pathParams: { item_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', rate: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   rate: number,
>   description?: string,
>   tax_id?: string,
>   purchase_tax_rule_id?: string,
>   sales_tax_rule_id?: string,
>   tax_percentage?: string,
>   hsn_or_sac?: string,
>   sat_item_key_code?: string,
>   unitkey_code?: string,
>   item_code?: {
>     gtin?: string,
>     nature_code?: string
>   },
>   sku?: string,
>   product_type?: string,
>   is_taxable?: boolean,
>   tax_exemption_id?: string,
>   purchase_tax_exemption_id?: string,
>   account_id?: string,
>   avatax_tax_code?: string,
>   avatax_use_code?: string,
>   product_tax_category?: {
>     tax_category_code: string,
>     tax_category_name?: string,
>     description?: string
>   },
>   item_type?: string,
>   purchase_description?: string,
>   purchase_rate?: string,
>   purchase_account_id?: string,
>   inventory_account_id?: string,
>   vendor_id?: string,
>   reorder_level?: string,
>   locations?: {
>     location_id?: string,
>     initial_stock?: string,
>     initial_stock_rate?: string
>   }[],
>   item_tax_preferences?: {
>     tax_id?: string,
>     tax_specification?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateItemMaster

`items.updateItemMaster`

Update an item. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.updateItemMaster({
	pathParams: { item_master_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		item_master_name: 'Sample record',
		unit: 'sample',
		item_variants: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `Record<string, custom>` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   item_master_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   update_recurring_invoice?: boolean,
>   pricebook_id?: string,
>   date?: string,
>   delete_image?: boolean,
>   can_sync_to_variant?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateItemUsingCustomField

`items.updateItemUsingCustomField`

Update an item using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.updateItemUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: { name: 'Sample record', rate: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   rate: number,
>   description?: string,
>   tax_id?: string,
>   purchase_tax_rule_id?: string,
>   sales_tax_rule_id?: string,
>   tax_percentage?: string,
>   hsn_or_sac?: string,
>   sat_item_key_code?: string,
>   unitkey_code?: string,
>   item_code?: {
>     gtin?: string,
>     nature_code?: string
>   },
>   sku?: string,
>   product_type?: string,
>   is_taxable?: boolean,
>   tax_exemption_id?: string,
>   purchase_tax_exemption_id?: string,
>   account_id?: string,
>   avatax_tax_code?: string,
>   avatax_use_code?: string,
>   product_tax_category?: {
>     tax_category_code: string,
>     tax_category_name?: string,
>     description?: string
>   },
>   item_type?: string,
>   purchase_description?: string,
>   purchase_rate?: string,
>   purchase_account_id?: string,
>   inventory_account_id?: string,
>   vendor_id?: string,
>   reorder_level?: string,
>   locations?: {
>     location_id?: string,
>     initial_stock?: string,
>     initial_stock_rate?: string
>   }[],
>   item_tax_preferences?: {
>     tax_id?: string,
>     tax_specification?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateItemVariant

`items.updateItemVariant`

Update an item variant. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.items.updateItemVariant({
	pathParams: { variant_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { variant_name: 'Sample record', rate: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `Record<string, custom>` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   variant_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   update_recurring_invoice?: boolean,
>   pricebook_id?: string,
>   date?: string,
>   delete_image?: boolean,
>   can_sync_to_master?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Journals

### addJournalAttachment

`journals.addJournalAttachment`

Add attachment to a journal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.addJournalAttachment({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   doc?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   totalFiles?: number,
>   document_ids?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addJournalComment

`journals.addJournalComment`

Add comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.addJournalComment({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string
> }
> ```

**Output:** `custom`

***

### applyJournalCreditsToBills

`journals.applyJournalCreditsToBills`

Apply journal credits to bills. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.applyJournalCreditsToBills({
	pathParams: { journal_id: '999999999999999', journal_line_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string,
>   journal_line_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   invoices?: {
>     invoice_id?: string,
>     amount_applied?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### applyJournalCreditsToInvoices

`journals.applyJournalCreditsToInvoices`

Apply journal credits to invoices. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.applyJournalCreditsToInvoices({
	pathParams: { journal_id: '999999999999999', journal_line_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string,
>   journal_line_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   invoices?: {
>     invoice_id?: string,
>     amount_applied?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### approveJournal

`journals.approveJournal`

Approve a journal. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.approveJournal({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkApproveJournals

`journals.bulkApproveJournals`

Bulk approve journals. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.bulkApproveJournals({
	query: { organization_id: '999999999999999', journal_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   journal_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkDeleteJournals

`journals.bulkDeleteJournals`

Bulk delete journals. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.bulkDeleteJournals({
	query: { organization_id: '999999999999999', journal_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   journal_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkPublishJournals

`journals.bulkPublishJournals`

Bulk publish journals. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.bulkPublishJournals({
	query: { organization_id: '999999999999999', journal_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   journal_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkSubmitJournals

`journals.bulkSubmitJournals`

Bulk submit journals for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.bulkSubmitJournals({
	query: { organization_id: '999999999999999', journal_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   journal_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createJournal

`journals.createJournal`

Create a journal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.createJournal({
	query: { organization_id: '999999999999999' },
	body: { journal_date: '2026-01-15' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   journal_date: string,
>   reference_number?: string,
>   notes?: string,
>   journal_type?: string,
>   vat_treatment?: string,
>   include_in_vat_return?: boolean,
>   product_type?: string,
>   is_bas_adjustment?: boolean,
>   currency_id?: string,
>   exchange_rate?: number,
>   location_id?: string,
>   line_items?: {
>     account_id?: string,
>     customer_id?: string,
>     line_id?: string,
>     description?: string,
>     tax_exemption_id?: string,
>     tax_authority_id?: string,
>     tax_exemption_type?: string,
>     tax_exemption_code?: string,
>     tax_authority_name?: string,
>     tax_id?: string,
>     amount: number,
>     debit_or_credit: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     location_id?: string,
>     tags?: custom[],
>     project_id?: string
>   }[],
>   tax_exemption_code?: string,
>   tax_exemption_type?: string,
>   status?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createRecurringJournal

`journals.createRecurringJournal`

Create a recurring journal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.createRecurringJournal({
	query: { organization_id: '999999999999999' },
	body: { journal_date: '2026-01-15' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   journal_date: string,
>   reference_number?: string,
>   notes?: string,
>   journal_type?: string,
>   vat_treatment?: string,
>   include_in_vat_return?: boolean,
>   product_type?: string,
>   is_bas_adjustment?: boolean,
>   currency_id?: string,
>   exchange_rate?: number,
>   location_id?: string,
>   line_items?: {
>     account_id?: string,
>     customer_id?: string,
>     line_id?: string,
>     description?: string,
>     tax_exemption_id?: string,
>     tax_authority_id?: string,
>     tax_exemption_type?: string,
>     tax_exemption_code?: string,
>     tax_authority_name?: string,
>     tax_id?: string,
>     amount: number,
>     debit_or_credit: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     location_id?: string,
>     tags?: custom[],
>     project_id?: string
>   }[],
>   tax_exemption_code?: string,
>   tax_exemption_type?: string,
>   status?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteJournal

`journals.deleteJournal`

Delete a journal. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.deleteJournal({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteJournalComment

`journals.deleteJournalComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.deleteJournalComment({
	pathParams: { journal_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteJournalCreditsPayables

`journals.deleteJournalCreditsPayables`

Delete applied credits from payables. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.deleteJournalCreditsPayables({
	pathParams: { journal_id: '999999999999999', journal_line_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string,
>   journal_line_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteJournalCreditsReceivables

`journals.deleteJournalCreditsReceivables`

Delete applied credits from receivables. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.deleteJournalCreditsReceivables({
	pathParams: { journal_id: '999999999999999', journal_line_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string,
>   journal_line_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteRecurringJournal

`journals.deleteRecurringJournal`

Delete a recurring journal. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.deleteRecurringJournal({
	pathParams: { recurring_journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getJournal

`journals.getJournal`

Get journal. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.journals.getJournal({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRecurringJournal

`journals.getRecurringJournal`

Get a recurring journal. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.journals.getRecurringJournal({
	pathParams: { recurring_journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTransactionJournalView

`journals.getTransactionJournalView`

Get journal view of a transaction. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.journals.getTransactionJournalView({
	pathParams: { transaction_id: '999999999999999' },
	query: { organization_id: '999999999999999', entity_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   transaction_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   entity_type: string,
>   report_basis?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listChildJournals

`journals.listChildJournals`

List child journals of a recurring journal. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.journals.listChildJournals({
	pathParams: { recurring_journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listJournalCredits

`journals.listJournalCredits`

List available credits of a journal. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.journals.listJournalCredits({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listJournals

`journals.listJournals`

Get journal list. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.journals.listJournals({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   entry_number?: string,
>   reference_number?: string,
>   date?: string,
>   notes?: string,
>   last_modified_time?: string,
>   total?: number,
>   customer_id?: string,
>   vendor_id?: string,
>   filter_by?: string,
>   sort_column?: string,
>   status?: string,
>   journal_type?: string,
>   account_id?: string,
>   account_code?: string,
>   customview_id?: string,
>   journal_ids?: string,
>   currency?: string,
>   tax_id?: string,
>   tax_exemption_id?: string,
>   tax_authority_id?: string,
>   search_text?: string,
>   branch_ids?: string,
>   location_ids?: string,
>   project_id?: string,
>   journal_entity_type?: string,
>   period_closure_id?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRecurringJournals

`journals.listRecurringJournals`

List recurring journals. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.journals.listRecurringJournals({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   sort_column?: string,
>   account_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markJournalPublished

`journals.markJournalPublished`

Mark a journal as published. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.markJournalPublished({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### rejectJournal

`journals.rejectJournal`

Reject a journal. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.journals.rejectJournal({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   reason?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### resumeRecurringJournal

`journals.resumeRecurringJournal`

Resume a recurring journal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.resumeRecurringJournal({
	pathParams: { recurring_journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### reverseJournal

`journals.reverseJournal`

Reverse a journal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.reverseJournal({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999', reversal_date: '2026-01-15', is_reversal_scheduled: false },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   reversal_date: string,
>   is_reversal_scheduled: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### stopRecurringJournal

`journals.stopRecurringJournal`

Stop a recurring journal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.stopRecurringJournal({
	pathParams: { recurring_journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitJournalForApproval

`journals.submitJournalForApproval`

Submit a journal for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.submitJournalForApproval({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateJournal

`journals.updateJournal`

Update a journal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.updateJournal({
	pathParams: { journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { journal_date: '2026-01-15' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   journal_date: string,
>   reference_number?: string,
>   notes?: string,
>   journal_type?: string,
>   vat_treatment?: string,
>   include_in_vat_return?: boolean,
>   product_type?: string,
>   is_bas_adjustment?: boolean,
>   currency_id?: string,
>   exchange_rate?: number,
>   location_id?: string,
>   line_items?: {
>     account_id?: string,
>     customer_id?: string,
>     line_id?: string,
>     description?: string,
>     tax_exemption_id?: string,
>     tax_authority_id?: string,
>     tax_exemption_type?: string,
>     tax_exemption_code?: string,
>     tax_authority_name?: string,
>     tax_id?: string,
>     amount: number,
>     debit_or_credit: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     tags?: custom[],
>     location_id?: string,
>     project_id?: string
>   }[],
>   tax_exemption_code?: string,
>   tax_exemption_type?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateRecurringJournal

`journals.updateRecurringJournal`

Update a recurring journal. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.journals.updateRecurringJournal({
	pathParams: { recurring_journal_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { journal_date: '2026-01-15' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_journal_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   journal_date: string,
>   reference_number?: string,
>   notes?: string,
>   journal_type?: string,
>   vat_treatment?: string,
>   include_in_vat_return?: boolean,
>   product_type?: string,
>   is_bas_adjustment?: boolean,
>   currency_id?: string,
>   exchange_rate?: number,
>   location_id?: string,
>   line_items?: {
>     account_id?: string,
>     customer_id?: string,
>     line_id?: string,
>     description?: string,
>     tax_exemption_id?: string,
>     tax_authority_id?: string,
>     tax_exemption_type?: string,
>     tax_exemption_code?: string,
>     tax_authority_name?: string,
>     tax_id?: string,
>     amount: number,
>     debit_or_credit: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     tags?: custom[],
>     location_id?: string,
>     project_id?: string
>   }[],
>   tax_exemption_code?: string,
>   tax_exemption_type?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Locations

### createLocation

`locations.createLocation`

Create a location. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.locations.createLocation({
	query: { organization_id: '999999999999999' },
	body: { location_name: 'Sample record', country: 'sample', tax_settings_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   type?: string,
>   email?: string,
>   phone?: string,
>   address?: {
>     city?: string,
>     state?: string,
>     country?: string,
>     attention?: string,
>     state_code?: string,
>     street_address1?: string,
>     street_address2?: string
>   },
>   location_name: string,
>   country: string,
>   tax_settings_id: string,
>   parent_location_id?: string,
>   associated_series_ids?: string[],
>   auto_number_generation_id?: string,
>   is_all_users_selected?: boolean,
>   user_ids?: string
> }
> ```

**Output:** `custom`

***

### deleteLocation

`locations.deleteLocation`

Delete a location. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.locations.deleteLocation({
	pathParams: { location_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   location_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### enableLocations

`locations.enableLocations`

Enable Locations. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.locations.enableLocations({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listLocations

`locations.listLocations`

List all locations. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.locations.listLocations({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markLocationActive

`locations.markLocationActive`

Mark as Active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.locations.markLocationActive({
	pathParams: { location_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   location_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markLocationInactive

`locations.markLocationInactive`

Mark as Inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.locations.markLocationInactive({
	pathParams: { location_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   location_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markLocationPrimary

`locations.markLocationPrimary`

Mark as Primary. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.locations.markLocationPrimary({
	pathParams: { location_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   location_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateLocation

`locations.updateLocation`

Update location. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.locations.updateLocation({
	pathParams: { location_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { location_name: 'Sample record', country: 'sample', tax_settings_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   location_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   type?: string,
>   email?: string,
>   phone?: string,
>   address?: {
>     city?: string,
>     state?: string,
>     country?: string,
>     attention?: string,
>     state_code?: string,
>     street_address1?: string,
>     street_address2?: string
>   },
>   location_name: string,
>   country: string,
>   tax_settings_id: string,
>   parent_location_id?: string,
>   associated_series_ids?: string[],
>   auto_number_generation_id?: string,
>   is_all_users_selected?: boolean,
>   user_ids?: string
> }
> ```

**Output:** `custom`

***

## Opening Balance

### cancelWriteoffOpeningBalance

`openingBalance.cancelWriteoffOpeningBalance`

Cancel a write-off. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.openingBalance.cancelWriteoffOpeningBalance({
	pathParams: { opening_balance_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   opening_balance_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createOpeningBalance

`openingBalance.createOpeningBalance`

Create opening balance. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.openingBalance.createOpeningBalance({
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   location_id?: string,
>   accounts?: {
>     account_id?: string,
>     debit_or_credit: string,
>     exchange_rate?: number,
>     currency_id?: string,
>     amount?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteOpeningBalance

`openingBalance.deleteOpeningBalance`

Delete opening balance. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.openingBalance.deleteOpeningBalance({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getOpeningBalance

`openingBalance.getOpeningBalance`

Get opening balance. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.openingBalance.getOpeningBalance({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listOpeningBalanceDetails

`openingBalance.listOpeningBalanceDetails`

List opening balance account details. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.openingBalance.listOpeningBalanceDetails({
	query: { organization_id: '999999999999999', account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listOpeningBalanceTransactions

`openingBalance.listOpeningBalanceTransactions`

List opening balance transactions. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.openingBalance.listOpeningBalanceTransactions({
	query: { organization_id: '999999999999999', account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   account_id: string,
>   opening_balance_date?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateOpeningBalance

`openingBalance.updateOpeningBalance`

Update opening balance. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.openingBalance.updateOpeningBalance({
	query: { organization_id: '999999999999999' },
	body: { opening_balance_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date?: string,
>   location_id?: string,
>   accounts?: {
>     account_split_id?: string,
>     account_id?: string,
>     account_name?: string,
>     debit_or_credit?: string,
>     exchange_rate?: number,
>     currency_id?: string,
>     currency_code?: string,
>     bcy_amount?: number,
>     amount?: number
>   }[],
>   opening_balance_id: string
> }
> ```

**Output:** `custom`

***

### writeoffOpeningBalance

`openingBalance.writeoffOpeningBalance`

Write off an opening balance. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.openingBalance.writeoffOpeningBalance({
	pathParams: { opening_balance_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   opening_balance_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   writeoff_date?: string,
>   reason?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Organizations

### copyOrganizationSettings

`organizations.copyOrganizationSettings`

Copy settings to an organization. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.organizations.copyOrganizationSettings({
	pathParams: { organization_id: '999999999999999' },
	query: { settings_to_copy: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   settings_to_copy: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createOrganization

`organizations.createOrganization`

Create an organization. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.organizations.createOrganization({
	body: {
		name: 'Sample record',
		currency_code: 'sample',
		time_zone: 'sample',
		portal_name: 'Sample record',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | No | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   fiscal_year_start_month?: string,
>   currency_code: string,
>   time_zone: string,
>   date_format?: string,
>   field_separator?: string,
>   language_code?: string,
>   industry_type?: string,
>   industry_size?: string,
>   portal_name: string,
>   org_address?: string,
>   remit_to_address?: string,
>   address?: {
>     street_address1?: string,
>     street_address2?: string,
>     city?: string,
>     state?: string,
>     country?: string,
>     zip?: string
>   }
> }
> ```

**Output:** `custom`

***

### createOrganizationAddress

`organizations.createOrganizationAddress`

Create the organization address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.organizations.createOrganizationAddress({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   attention?: string,
>   address1?: string,
>   address2?: string,
>   city?: string,
>   state?: string,
>   state_code?: string,
>   country?: string,
>   zip?: string,
>   phone?: string
> }
> ```

**Output:** `custom`

***

### deleteOrganizationAddress

`organizations.deleteOrganizationAddress`

Delete the organization address. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.organizations.deleteOrganizationAddress({
	pathParams: { address_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   address_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### downgradeOrganizationToInvoice

`organizations.downgradeOrganizationToInvoice`

Downgrade an organization to Zoho Invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.organizations.downgradeOrganizationToInvoice({
	pathParams: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | No | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getOrganization

`organizations.getOrganization`

Get an organization. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.organizations.getOrganization({
	pathParams: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | No | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getOrganizationAddress

`organizations.getOrganizationAddress`

Get the organization address. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.organizations.getOrganizationAddress({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listOrganizations

`organizations.listOrganizations`

List organizations. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.organizations.listOrganizations({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | No | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listOrganizationsForUser

`organizations.listOrganizationsForUser`

List organizations for a user. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.organizations.listOrganizationsForUser({});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | No | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   email?: string,
>   show_same_currency_orgs_only?: boolean,
>   show_admin_orgs_only?: boolean,
>   startTrial?: boolean,
>   show_active_orgs_only?: boolean,
>   app_name?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markOrganizationInactive

`organizations.markOrganizationInactive`

Mark an organization as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.organizations.markOrganizationInactive({
	pathParams: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | No | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateOrganization

`organizations.updateOrganization`

Update an organization. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.organizations.updateOrganization({
	pathParams: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | No | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name?: string,
>   fiscal_year_start_month?: string,
>   is_logo_uploaded?: boolean,
>   time_zone?: string,
>   date_format?: string,
>   field_separator?: string,
>   language_code?: string,
>   org_address?: string,
>   remit_to_address?: string,
>   address?: {
>     street_address1?: string,
>     street_address2?: string,
>     city?: string,
>     state?: string,
>     country?: string,
>     zip?: string
>   },
>   contact_name?: string,
>   phone?: string,
>   fax?: string,
>   website?: string,
>   email?: string,
>   currency_id?: string,
>   companyid_label?: string,
>   companyid_value?: string,
>   taxid_label?: string,
>   taxid_value?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string,
>     label?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateOrganizationAddress

`organizations.updateOrganizationAddress`

Update the organization address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.organizations.updateOrganizationAddress({
	pathParams: { address_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   address_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   attention?: string,
>   address1?: string,
>   address2?: string,
>   city?: string,
>   state?: string,
>   state_code?: string,
>   country?: string,
>   zip?: string,
>   phone?: string
> }
> ```

**Output:** `custom`

***

### upgradeOrganizationToBooks

`organizations.upgradeOrganizationToBooks`

Upgrade an organization to Zoho Books. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.organizations.upgradeOrganizationToBooks({
	pathParams: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | No | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Pricelists

### createPricebook

`pricelists.createPricebook`

Create a pricebook. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.pricelists.createPricebook({
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', pricebook_type: 'sample', sales_or_purchase_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   description?: string,
>   currency_id?: string,
>   pricebook_type: string,
>   percentage?: number,
>   pricebook_rate?: number,
>   pricing_scheme?: unit | volume,
>   is_increase?: boolean,
>   rounding_type?: string,
>   decimal_place?: number,
>   pricebook_items?: {
>     item_id?: string,
>     pricebook_rate?: number,
>     pricebook_discount?: string,
>     pricing_scheme?: unit | volume,
>     price_brackets?: custom[]
>   }[],
>   sales_or_purchase_type: string
> }
> ```

**Output:** `custom`

***

### deletePricebook

`pricelists.deletePricebook`

Delete the pricebook. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.pricelists.deletePricebook({
	pathParams: { pricebook_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   pricebook_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listPricebooks

`pricelists.listPricebooks`

List all pricebooks. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.pricelists.listPricebooks({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number,
>   filter_by?: string,
>   search_text?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markPricebookActive

`pricelists.markPricebookActive`

Mark as Active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.pricelists.markPricebookActive({
	pathParams: { pricebook_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   pricebook_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markPricebookInactive

`pricelists.markPricebookInactive`

Mark as Inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.pricelists.markPricebookInactive({
	pathParams: { pricebook_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   pricebook_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updatePricebook

`pricelists.updatePricebook`

Update pricebook. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.pricelists.updatePricebook({
	pathParams: { pricebook_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', pricebook_type: 'sample', sales_or_purchase_type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   pricebook_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   description?: string,
>   currency_id?: string,
>   pricebook_type: string,
>   percentage?: number,
>   pricebook_rate?: number,
>   pricing_scheme?: unit | volume,
>   is_increase?: boolean,
>   rounding_type?: string,
>   decimal_place?: number,
>   pricebook_items?: {
>     item_id?: string,
>     pricebook_rate?: number,
>     pricebook_item_id?: string,
>     pricebook_discount?: string,
>     pricing_scheme?: unit | volume,
>     price_brackets?: custom[]
>   }[],
>   sales_or_purchase_type: string
> }
> ```

**Output:** `custom`

***

## Projects

### addProjectComment

`projects.addProjectComment`

Post comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.addProjectComment({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { description: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description: string
> }
> ```

**Output:** `custom`

***

### addProjectTask

`projects.addProjectTask`

Add a project task. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.addProjectTask({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { task_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   task_name: string,
>   description?: string,
>   rate?: number,
>   budget_hours?: string
> }
> ```

**Output:** `custom`

***

### addProjectUser

`projects.addProjectUser`

Assign users. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.addProjectUser({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { cost_rate: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   users?: {
>     user_id: string
>   }[],
>   cost_rate: number
> }
> ```

**Output:** `custom`

***

### cloneProject

`projects.cloneProject`

Clone project. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.cloneProject({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { project_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   project_name: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### createProject

`projects.createProject`

Create a project. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.createProject({
	query: { organization_id: '999999999999999' },
	body: {
		project_name: 'Sample record',
		customer_id: '999999999999999',
		billing_type: 'sample',
		user_id: '999999999999999',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   project_name: string,
>   customer_id: string,
>   currency_id?: string,
>   description?: string,
>   billing_type: string,
>   rate?: string,
>   budget_type?: string,
>   budget_hours?: string,
>   budget_amount?: string,
>   cost_budget_amount?: number,
>   user_id: string,
>   tasks?: {
>     task_name: string,
>     description?: string,
>     rate?: string,
>     budget_hours?: string
>   }[],
>   users?: {
>     user_id?: string,
>     is_current_user?: boolean,
>     user_name?: string,
>     email?: string,
>     user_role?: string,
>     status?: string,
>     rate?: string,
>     budget_hours?: string,
>     total_hours?: string,
>     billed_hours?: string,
>     un_billed_hours?: string,
>     cost_rate?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteProject

`projects.deleteProject`

Delete project. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.projects.deleteProject({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteProjectComment

`projects.deleteProjectComment`

Delete comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.projects.deleteProjectComment({
	pathParams: { project_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteProjectTask

`projects.deleteProjectTask`

Delete project Task. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.projects.deleteProjectTask({
	pathParams: { project_id: '999999999999999', task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteProjectUser

`projects.deleteProjectUser`

Delete user. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.projects.deleteProjectUser({
	pathParams: { project_id: '999999999999999', user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getProject

`projects.getProject`

Get a project. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.projects.getProject({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getProjectTask

`projects.getProjectTask`

Get a project task. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.projects.getProjectTask({
	pathParams: { project_id: '999999999999999', task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getProjectUser

`projects.getProjectUser`

Get a Project User. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.projects.getProjectUser({
	pathParams: { project_id: '999999999999999', user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### inviteProjectUser

`projects.inviteProjectUser`

Invite user. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.projects.inviteProjectUser({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { user_name: 'Sample record', email: 'agent@sample.invalid' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   user_name: string,
>   email: string,
>   user_role?: string,
>   rate?: string,
>   budget_hours?: string,
>   cost_rate?: number
> }
> ```

**Output:** `custom`

***

### listProjectComments

`projects.listProjectComments`

List comments. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.projects.listProjectComments({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listProjectInvoices

`projects.listProjectInvoices`

List invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.projects.listProjectInvoices({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listProjects

`projects.listProjects`

List projects. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.projects.listProjects({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   customer_id?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listProjectTasks

`projects.listProjectTasks`

List project tasks. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.projects.listProjectTasks({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listProjectUsers

`projects.listProjectUsers`

List Users. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.projects.listProjectUsers({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markProjectActive

`projects.markProjectActive`

Activate project. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.markProjectActive({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markProjectInactive

`projects.markProjectInactive`

Inactivate a project. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.markProjectInactive({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateProject

`projects.updateProject`

Update project. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.updateProject({
	pathParams: { project_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		project_name: 'Sample record',
		customer_id: '999999999999999',
		billing_type: 'sample',
		user_id: '999999999999999',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   project_name: string,
>   customer_id: string,
>   currency_id?: string,
>   description?: string,
>   billing_type: string,
>   rate?: string,
>   budget_type?: string,
>   budget_hours?: string,
>   budget_amount?: string,
>   cost_budget_amount?: number,
>   user_id: string,
>   tasks?: {
>     task_name: string,
>     description?: string,
>     rate?: string,
>     budget_hours?: string
>   }[],
>   users?: {
>     user_id?: string,
>     is_current_user?: boolean,
>     user_name?: string,
>     email?: string,
>     user_role?: string,
>     status?: string,
>     rate?: string,
>     budget_hours?: string,
>     total_hours?: string,
>     billed_hours?: string,
>     un_billed_hours?: string,
>     cost_rate?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### updateProjectsUsingCustomField

`projects.updateProjectsUsingCustomField`

Update a project using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.updateProjectsUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		project_name: 'Sample record',
		customer_id: '999999999999999',
		billing_type: 'sample',
		user_id: '999999999999999',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   project_name: string,
>   customer_id: string,
>   currency_id?: string,
>   description?: string,
>   billing_type: string,
>   rate?: string,
>   budget_type?: string,
>   budget_hours?: string,
>   budget_amount?: string,
>   cost_budget_amount?: number,
>   user_id: string,
>   tasks?: {
>     task_name: string,
>     description?: string,
>     rate?: string,
>     budget_hours?: string
>   }[],
>   users?: {
>     user_id?: string,
>     is_current_user?: boolean,
>     user_name?: string,
>     email?: string,
>     user_role?: string,
>     status?: string,
>     rate?: string,
>     budget_hours?: string,
>     total_hours?: string,
>     billed_hours?: string,
>     un_billed_hours?: string,
>     cost_rate?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### updateProjectTask

`projects.updateProjectTask`

Update a project task. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.updateProjectTask({
	pathParams: { project_id: '999999999999999', task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { task_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   task_name: string,
>   description?: string,
>   rate?: number,
>   budget_hours?: string
> }
> ```

**Output:** `custom`

***

### updateProjectUser

`projects.updateProjectUser`

Update user. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.projects.updateProjectUser({
	pathParams: { project_id: '999999999999999', user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   user_name?: string,
>   user_role?: string,
>   rate?: number,
>   budget_hours?: string,
>   cost_rate?: number
> }
> ```

**Output:** `custom`

***

## Purchase Order

### addPurchaseOrderAttachment

`purchaseOrder.addPurchaseOrderAttachment`

Add attachment to a purchase order. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.addPurchaseOrderAttachment({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addPurchaseOrderComment

`purchaseOrder.addPurchaseOrderComment`

Add comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.addPurchaseOrderComment({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { description: 'sample', expected_delivery_date: '2026-01-15' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description: string,
>   expected_delivery_date: string
> }
> ```

**Output:** `custom`

***

### approvePurchaseOrder

`purchaseOrder.approvePurchaseOrder`

Approve a purchase order. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.approvePurchaseOrder({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createPurchaseOrder

`purchaseOrder.createPurchaseOrder`

Create a purchase order. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.createPurchaseOrder({
	query: { organization_id: '999999999999999' },
	body: {
		vendor_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   purchaseorder_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   gst_no?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   pricebook_id?: string,
>   reference_number?: string,
>   billing_address_id?: string,
>   crm_owner_id?: string,
>   crm_custom_reference_id?: string,
>   template_id?: string,
>   date?: string,
>   delivery_date?: string,
>   due_date?: string,
>   exchange_rate?: number,
>   discount?: string,
>   discount_account_id?: string,
>   is_discount_before_tax?: boolean,
>   is_inclusive_tax?: boolean,
>   notes?: string,
>   notes_default?: string,
>   terms?: string,
>   terms_default?: string,
>   ship_via?: string,
>   delivery_org_address_id?: string,
>   delivery_customer_id?: string,
>   attention?: string,
>   vat_treatment?: string,
>   is_update_customer?: string,
>   salesorder_id?: string,
>   location_id?: string,
>   line_items: {
>     item_id?: string,
>     account_id?: string,
>     name?: string,
>     description?: string,
>     unit?: string,
>     location_id?: string,
>     hsn_or_sac?: string,
>     reverse_charge_tax_id?: string,
>     rate?: number,
>     quantity?: string,
>     item_order?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     item_custom_fields?: custom[],
>     tags?: custom[],
>     line_item_category?: string,
>     project_id?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deletePurchaseOrder

`purchaseOrder.deletePurchaseOrder`

Delete purchase order. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.deletePurchaseOrder({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deletePurchaseOrderAttachment

`purchaseOrder.deletePurchaseOrderAttachment`

Delete an attachment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.deletePurchaseOrderAttachment({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deletePurchaseOrderComment

`purchaseOrder.deletePurchaseOrderComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.deletePurchaseOrderComment({
	pathParams: { purchaseorder_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailPurchaseOrder

`purchaseOrder.emailPurchaseOrder`

Email a purchase order. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.emailPurchaseOrder({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
		body: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   send_attachment?: boolean,
>   file_name?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   send_from_org_email_id?: boolean,
>   from_address_id?: string,
>   to_mail_ids: string[],
>   cc_mail_ids?: string[],
>   bcc_mail_ids?: string[],
>   subject?: string,
>   body: string,
>   mail_documents?: {
>     document_id?: string,
>     file_name?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### getPurchaseOrder

`purchaseOrder.getPurchaseOrder`

Get a purchase order. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.getPurchaseOrder({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean,
>   accept?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getPurchaseOrderAttachment

`purchaseOrder.getPurchaseOrderAttachment`

Get a purchase order attachment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.getPurchaseOrderAttachment({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

Zoho documents this as returning the attached file; JSON metadata responses are also accepted. Binary files are returned with their response content type and are limited to 10 MiB.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   preview?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getPurchaseOrderEmail

`purchaseOrder.getPurchaseOrderEmail`

Get purchase order email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.getPurchaseOrderEmail({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   email_template_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listPurchaseOrderComments

`purchaseOrder.listPurchaseOrderComments`

List purchase order comments & history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.listPurchaseOrderComments({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listPurchaseOrders

`purchaseOrder.listPurchaseOrders`

List purchase orders. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.listPurchaseOrders({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   purchaseorder_number?: string,
>   reference_number?: string,
>   date?: string,
>   status?: draft | pending_approval | approval_overdue | approved | rejected | open | billed | billed_not_received | cancelled | partially_billed | issued | partially_received | received | received_not_billed | manually_received | drop_shipped | closed | accepted | signed | pending_signature | to_be_received | to_be_billed | in_transit,
>   item_name?: string,
>   item_description?: string,
>   vendor_name?: string,
>   total?: string,
>   vendor_id?: string,
>   last_modified_time?: string,
>   item_id?: string,
>   filter_by?: Status.All | Status.Draft | Status.Issued | Status.Billed | Status.PartiallyBilled | Status.BilledNotReceived | Status.Received | Status.ReceivedNotBilled | Status.PartiallyReceived | Status.Cancelled | Status.DropShipped | Status.BackOrdered | Status.ReplenishedOrder | Status.Closed | Status.UnbilledBackOrder | Status.ToBeReceived | Status.Pending | Status.Approved | Status.ApprovalOverdue | Status.MyApprovals | Status.Accepted | Status.CancelledByVendor | Status.CancelledByUser | ExceptionList,
>   search_text?: string,
>   sort_column?: vendor_name | purchaseorder_number | date | delivery_date | expected_delivery_date | total | created_time | last_modified_time,
>   custom_field?: string,
>   created_date?: string,
>   location_ids?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listPurchaseOrderTemplates

`purchaseOrder.listPurchaseOrderTemplates`

List purchase order templates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.listPurchaseOrderTemplates({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markPurchaseOrderBilled

`purchaseOrder.markPurchaseOrderBilled`

Mark as billed. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.markPurchaseOrderBilled({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markPurchaseOrderCancelled

`purchaseOrder.markPurchaseOrderCancelled`

Cancel a purchase order. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.markPurchaseOrderCancelled({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markPurchaseOrderOpen

`purchaseOrder.markPurchaseOrderOpen`

Mark a purchase order as open. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.markPurchaseOrderOpen({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### rejectPurchaseOrders

`purchaseOrder.rejectPurchaseOrders`

Reject Purchase Order. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.rejectPurchaseOrders({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitPurchaseOrder

`purchaseOrder.submitPurchaseOrder`

Submit a purchase order for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.submitPurchaseOrder({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateCustomFieldsInPurchaseOrder

`purchaseOrder.updateCustomFieldsInPurchaseOrder`

Update custom field in existing purchaseorders. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.updateCustomFieldsInPurchaseOrder({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | Update the custom fields of a purchase order. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updatePurchaseOrder

`purchaseOrder.updatePurchaseOrder`

Update a purchase order. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.updatePurchaseOrder({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		vendor_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   purchaseorder_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   gst_no?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   pricebook_id?: string,
>   reference_number?: string,
>   discount?: string,
>   discount_account_id?: string,
>   is_discount_before_tax?: boolean,
>   billing_address_id?: string,
>   crm_owner_id?: string,
>   crm_custom_reference_id?: string,
>   template_id?: string,
>   date?: string,
>   delivery_date?: string,
>   due_date?: string,
>   exchange_rate?: number,
>   is_inclusive_tax?: boolean,
>   notes?: string,
>   notes_default?: string,
>   terms?: string,
>   terms_default?: string,
>   ship_via?: string,
>   delivery_org_address_id?: string,
>   delivery_customer_id?: string,
>   attention?: string,
>   vat_treatment?: string,
>   is_update_customer?: string,
>   salesorder_id?: string,
>   location_id?: string,
>   line_items: {
>     line_item_id?: string,
>     item_id?: string,
>     account_id?: string,
>     name?: string,
>     description?: string,
>     unit?: string,
>     location_id?: string,
>     hsn_or_sac?: string,
>     reverse_charge_tax_id?: string,
>     rate?: number,
>     quantity?: string,
>     item_order?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     item_custom_fields?: custom[],
>     tags?: custom[],
>     line_item_category?: string,
>     project_id?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updatePurchaseOrderAttachment

`purchaseOrder.updatePurchaseOrderAttachment`

Update attachment preference. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.updatePurchaseOrderAttachment({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999', can_send_in_mail: false },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   can_send_in_mail: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updatePurchaseOrderBillingAddress

`purchaseOrder.updatePurchaseOrderBillingAddress`

Update billing address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.updatePurchaseOrderBillingAddress({
	pathParams: { purchaseorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string,
>   attention?: string,
>   is_update_customer?: string
> }
> ```

**Output:** `custom`

***

### updatePurchaseOrderComment

`purchaseOrder.updatePurchaseOrderComment`

Update comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.updatePurchaseOrderComment({
	pathParams: { purchaseorder_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string,
>   expected_delivery_date?: string
> }
> ```

**Output:** `custom`

***

### updatePurchaseOrderTemplate

`purchaseOrder.updatePurchaseOrderTemplate`

Update purchase order template. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.updatePurchaseOrderTemplate({
	pathParams: { purchaseorder_id: '999999999999999', template_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchaseorder_id: string,
>   template_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   templates?: {
>     template_name?: string,
>     template_id?: string,
>     template_type?: string
>   }[]
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updatePurchaseOrderUsingCustomField

`purchaseOrder.updatePurchaseOrderUsingCustomField`

Update a purchase order using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseOrder.updatePurchaseOrderUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		vendor_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   purchaseorder_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   gst_no?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   pricebook_id?: string,
>   reference_number?: string,
>   discount?: string,
>   discount_account_id?: string,
>   is_discount_before_tax?: boolean,
>   billing_address_id?: string,
>   crm_owner_id?: string,
>   crm_custom_reference_id?: string,
>   template_id?: string,
>   date?: string,
>   delivery_date?: string,
>   due_date?: string,
>   exchange_rate?: number,
>   is_inclusive_tax?: boolean,
>   notes?: string,
>   notes_default?: string,
>   terms?: string,
>   terms_default?: string,
>   ship_via?: string,
>   delivery_org_address_id?: string,
>   delivery_customer_id?: string,
>   attention?: string,
>   vat_treatment?: string,
>   is_update_customer?: string,
>   salesorder_id?: string,
>   location_id?: string,
>   line_items: {
>     line_item_id?: string,
>     item_id?: string,
>     account_id?: string,
>     name?: string,
>     description?: string,
>     unit?: string,
>     location_id?: string,
>     hsn_or_sac?: string,
>     reverse_charge_tax_id?: string,
>     rate?: number,
>     quantity?: string,
>     item_order?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     item_custom_fields?: custom[],
>     tags?: custom[],
>     line_item_category?: string,
>     project_id?: string
>   }[],
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Purchase Returns

### addAttachmentToPurchaseReturn

`purchaseReturns.addAttachmentToPurchaseReturn`

Add attachment to a purchase return. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.addAttachmentToPurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

For a documented binary upload field, pass \{ filename, contentType, base64 }; the plugin builds the multipart body.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   can_send_in_mail?: boolean
> }
> ```

**Output:** `custom`

***

### closePurchaseReturn

`purchaseReturns.closePurchaseReturn`

Close a purchase return. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.closePurchaseReturn({
	query: { organization_id: '999999999999999', purchasereturn_ids: 'sample' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   purchasereturn_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   line_items?: {
>     line_item_id?: string,
>     qty_cancelled?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### confirmPurchaseReturn

`purchaseReturns.confirmPurchaseReturn`

Confirm a purchase return. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.confirmPurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createPurchaseReturn

`purchaseReturns.createPurchaseReturn`

Create a purchase return. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.createPurchaseReturn({
	query: { organization_id: '999999999999999' },
	body: {
		date: '2026-01-15',
		vendor_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   purchasereturn_number?: string,
>   reference_number?: string,
>   date: string,
>   reason?: string,
>   vendor_id: string,
>   is_inclusive_tax?: boolean,
>   line_items: {
>     item_id?: string,
>     po_item_id?: string,
>     name?: string,
>     description?: string,
>     quantity: number,
>     unit?: string,
>     rate?: number,
>     item_order?: number,
>     tax_id?: string,
>     tax_exemption_id?: string,
>     hsn_or_sac?: string,
>     location_id?: string,
>     discount?: string
>   }[],
>   terms?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   vat_treatment?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   discount?: string,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   shipping_charge?: number,
>   adjustment?: number,
>   adjustment_description?: string,
>   exchange_rate?: number,
>   currency_id?: string,
>   billing_address_id?: string,
>   shipping_address_id?: string,
>   location_id?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deletePurchaseReturn

`purchaseReturns.deletePurchaseReturn`

Delete a purchase return. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.deletePurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deletePurchaseReturnAttachment

`purchaseReturns.deletePurchaseReturnAttachment`

Delete an attachment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.deletePurchaseReturnAttachment({
	pathParams: { purchase_return_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailPurchaseReturn

`purchaseReturns.emailPurchaseReturn`

Email a purchase return. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.emailPurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send_attachment?: boolean,
>   attach_pdf?: boolean,
>   file_name?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   to_mail_ids?: string[],
>   cc_mail_ids?: string[],
>   bcc_mail_ids?: string[],
>   subject?: string,
>   body?: string
> }
> ```

**Output:** `custom`

***

### fulfillPurchaseReturn

`purchaseReturns.fulfillPurchaseReturn`

Fulfill a purchase return. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.fulfillPurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   line_items?: {
>     purchasereturn_item_id?: string,
>     quantity?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### getPurchaseReturn

`purchaseReturns.getPurchaseReturn`

Retrieve a purchase return. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.getPurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listPurchaseReturns

`purchaseReturns.listPurchaseReturns`

List purchase returns. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.listPurchaseReturns({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   status?: string,
>   search_text?: string,
>   sort_column?: string,
>   purchasereturn_date?: string,
>   vendor_name?: string,
>   purchasereturn_number?: string,
>   purchaseorder_number?: string,
>   item_name?: string,
>   item_description?: string,
>   customview_id?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### reopenPurchaseReturn

`purchaseReturns.reopenPurchaseReturn`

Reopen a purchase return. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.reopenPurchaseReturn({
	query: { organization_id: '999999999999999', purchasereturn_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   purchasereturn_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### unfulfillPurchaseReturn

`purchaseReturns.unfulfillPurchaseReturn`

Unfulfill a purchase return. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.unfulfillPurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   line_items?: {
>     purchasereturn_item_id?: string,
>     quantity?: number
>   }[]
> }
> ```

**Output:** `custom`

***

### updatePurchaseReturn

`purchaseReturns.updatePurchaseReturn`

Update a purchase return. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.updatePurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   purchasereturn_number?: string,
>   reference_number?: string,
>   date?: string,
>   reason?: string,
>   vendor_id?: string,
>   is_inclusive_tax?: boolean,
>   line_items?: {
>     item_id?: string,
>     po_item_id?: string,
>     name?: string,
>     description?: string,
>     quantity: number,
>     unit?: string,
>     rate?: number,
>     item_order?: number,
>     tax_id?: string,
>     tax_exemption_id?: string,
>     hsn_or_sac?: string,
>     location_id?: string,
>     discount?: string
>   }[],
>   terms?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   vat_treatment?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   discount?: string,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   shipping_charge?: number,
>   adjustment?: number,
>   adjustment_description?: string,
>   exchange_rate?: number,
>   currency_id?: string,
>   billing_address_id?: string,
>   shipping_address_id?: string,
>   location_id?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updatePurchaseReturnBillingAddress

`purchaseReturns.updatePurchaseReturnBillingAddress`

Update billing address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.updatePurchaseReturnBillingAddress({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   street2?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string,
>   phone?: string,
>   attention?: string
> }
> ```

**Output:** `custom`

***

### updatePurchaseReturnShippingAddress

`purchaseReturns.updatePurchaseReturnShippingAddress`

Update shipping address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.updatePurchaseReturnShippingAddress({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   street2?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string,
>   phone?: string,
>   attention?: string
> }
> ```

**Output:** `custom`

***

### voidPurchaseReturn

`purchaseReturns.voidPurchaseReturn`

Void a purchase return. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.purchaseReturns.voidPurchaseReturn({
	pathParams: { purchase_return_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   purchase_return_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   reason?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Recurring Bills

### createRecurringBill

`recurringBills.createRecurringBill`

Create a recurring bill. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.createRecurringBill({
	query: { organization_id: '999999999999999' },
	body: {
		vendor_id: '999999999999999',
		recurrence_name: 'Sample record',
		start_date: '2026-01-15',
		repeat_every: 'sample',
		recurrence_frequency: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   recurrence_name: string,
>   start_date: string,
>   end_date?: string,
>   source_of_supply?: string,
>   place_of_supply?: string,
>   destination_of_supply?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   tax_treatment?: string,
>   vat_treatment?: string,
>   vat_reg_no?: string,
>   is_abn_quoted?: string,
>   abn?: string,
>   is_reverse_charge_applied?: boolean,
>   pricebook_id?: string,
>   is_inclusive_tax?: boolean,
>   location_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     item_id?: string,
>     name?: string,
>     account_id?: string,
>     description?: string,
>     rate?: number,
>     hsn_or_sac?: string,
>     reverse_charge_tax_id?: string,
>     location_id?: string,
>     quantity?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     item_order?: number,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     unit?: string,
>     tags?: custom[],
>     line_item_category?: string,
>     is_billable?: boolean,
>     project_id?: string,
>     customer_id?: string,
>     item_custom_fields?: custom[],
>     serial_numbers?: custom[]
>   }[],
>   is_tds_applied?: boolean,
>   notes?: string,
>   terms?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   discount?: string,
>   discount_account_id?: string,
>   is_discount_before_tax?: boolean,
>   repeat_every: string,
>   recurrence_frequency: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteRecurringBill

`recurringBills.deleteRecurringBill`

Delete a recurring bill. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.deleteRecurringBill({
	pathParams: { recurring_bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRecurringBill

`recurringBills.getRecurringBill`

Get a recurring bill. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.getRecurringBill({
	pathParams: { recurring_bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRecurringBillHistory

`recurringBills.listRecurringBillHistory`

List recurring bill history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.listRecurringBillHistory({
	pathParams: { recurring_bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRecurringBills

`recurringBills.listRecurringBills`

List recurring bills. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.listRecurringBills({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   recurring_bill_id?: string,
>   vendor_id?: string,
>   vendor_name?: string,
>   status?: string,
>   recurrence_name?: string,
>   currency_id?: string,
>   currency_code?: string,
>   currency_symbol?: string,
>   start_date?: string,
>   end_date?: string,
>   source_of_supply?: string,
>   place_of_supply?: string,
>   destination_of_supply?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   tax_treatment?: string,
>   vat_treatment?: string,
>   vat_reg_no?: string,
>   is_abn_quoted?: string,
>   abn?: string,
>   is_reverse_charge_applied?: boolean,
>   pricebook_id?: string,
>   pricebook_name?: string,
>   is_inclusive_tax?: boolean,
>   line_items?: {
>     description?: string,
>     sku?: string,
>     name?: string,
>     account_id?: string,
>     account_name?: string,
>     image_document_id?: string,
>     location_id?: string,
>     location_name?: string,
>     reverse_charge_tax_id?: string,
>     reverse_charge_tax_name?: string,
>     reverse_charge_tax_percentage?: number,
>     reverse_charge_tax_amount?: number,
>     bcy_rate?: number,
>     rate?: number,
>     tags?: custom[],
>     quantity?: number,
>     tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     tax_name?: string,
>     tax_type?: string,
>     tax_percentage?: number,
>     item_total?: number,
>     item_total_inclusive_of_tax?: number,
>     item_order?: number,
>     unit?: string,
>     product_type?: string,
>     hsn_or_sac?: string,
>     acquisition_vat_id?: string,
>     acquisition_vat_name?: string,
>     acquisition_vat_percentage?: string,
>     acquisition_vat_amount?: string,
>     reverse_charge_vat_id?: string,
>     reverse_charge_vat_name?: string,
>     reverse_charge_vat_percentage?: string,
>     reverse_charge_vat_amount?: string,
>     is_billable?: boolean,
>     customer_id?: string,
>     customer_name?: string,
>     project_id?: string,
>     project_name?: string,
>     item_custom_fields?: custom[]
>   }[],
>   is_tds_applied?: boolean,
>   notes?: string,
>   terms?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   custom_fields?: {
>     custom_field_id?: string,
>     index?: number,
>     label?: string,
>     value?: string
>   }[],
>   acquisition_vat_summary?: {
>     tax_name?: string,
>     tax_amount?: string
>   }[],
>   reverse_charge_vat_summary?: {
>     tax_name?: string,
>     tax_amount?: string
>   }[],
>   acquisition_vat_total?: number,
>   reverse_charge_vat_total?: number,
>   created_time?: string,
>   created_by_id?: string,
>   last_modified_time?: string,
>   discount?: string,
>   discount_account_id?: string,
>   is_discount_before_tax?: boolean,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### resumeRecurringBill

`recurringBills.resumeRecurringBill`

Resume a recurring Bill. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.resumeRecurringBill({
	pathParams: { recurring_bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### stopRecurringBill

`recurringBills.stopRecurringBill`

Stop a recurring bill. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.stopRecurringBill({
	pathParams: { recurring_bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateRecurringBill

`recurringBills.updateRecurringBill`

Update a recurring bill. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.updateRecurringBill({
	pathParams: { recurring_bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		vendor_id: '999999999999999',
		recurrence_name: 'Sample record',
		start_date: '2026-01-15',
		repeat_every: 'sample',
		recurrence_frequency: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   recurring_bill_id?: string,
>   vendor_id: string,
>   currency_id?: string,
>   status?: string,
>   recurrence_name: string,
>   start_date: string,
>   end_date?: string,
>   source_of_supply?: string,
>   place_of_supply?: string,
>   destination_of_supply?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   tax_treatment?: string,
>   vat_treatment?: string,
>   vat_reg_no?: string,
>   is_abn_quoted?: string,
>   abn?: string,
>   is_reverse_charge_applied?: boolean,
>   pricebook_id?: string,
>   pricebook_name?: string,
>   is_inclusive_tax?: boolean,
>   location_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     item_id?: string,
>     name?: string,
>     account_id?: string,
>     description?: string,
>     rate?: number,
>     hsn_or_sac?: string,
>     reverse_charge_tax_id?: string,
>     location_id?: string,
>     quantity?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     item_order?: number,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     unit?: string,
>     tags?: custom[],
>     line_item_category?: string,
>     is_billable?: boolean,
>     project_id?: string,
>     customer_id?: string,
>     item_custom_fields?: custom[],
>     serial_numbers?: custom[]
>   }[],
>   is_tds_applied?: boolean,
>   notes?: string,
>   terms?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   discount?: string,
>   discount_account_id?: string,
>   is_discount_before_tax?: boolean,
>   repeat_every: string,
>   recurrence_frequency: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateRecurringBillUsingCustomField

`recurringBills.updateRecurringBillUsingCustomField`

Update a recurring bill using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringBills.updateRecurringBillUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		vendor_id: '999999999999999',
		recurrence_name: 'Sample record',
		start_date: '2026-01-15',
		repeat_every: 'sample',
		recurrence_frequency: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   recurring_bill_id?: string,
>   vendor_id: string,
>   currency_id?: string,
>   status?: string,
>   recurrence_name: string,
>   start_date: string,
>   end_date?: string,
>   source_of_supply?: string,
>   place_of_supply?: string,
>   destination_of_supply?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   tax_treatment?: string,
>   vat_treatment?: string,
>   vat_reg_no?: string,
>   is_abn_quoted?: string,
>   abn?: string,
>   is_reverse_charge_applied?: boolean,
>   pricebook_id?: string,
>   pricebook_name?: string,
>   is_inclusive_tax?: boolean,
>   location_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     item_id?: string,
>     name?: string,
>     account_id?: string,
>     description?: string,
>     rate?: number,
>     hsn_or_sac?: string,
>     reverse_charge_tax_id?: string,
>     location_id?: string,
>     quantity?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     item_order?: number,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     unit?: string,
>     tags?: custom[],
>     line_item_category?: string,
>     is_billable?: boolean,
>     project_id?: string,
>     customer_id?: string,
>     item_custom_fields?: custom[],
>     serial_numbers?: custom[]
>   }[],
>   is_tds_applied?: boolean,
>   notes?: string,
>   terms?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[],
>   discount?: string,
>   discount_account_id?: string,
>   is_discount_before_tax?: boolean,
>   repeat_every: string,
>   recurrence_frequency: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Recurring Expenses

### createRecurringExpense

`recurringExpenses.createRecurringExpense`

Create a recurring expense. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.createRecurringExpense({
	query: { organization_id: '999999999999999' },
	body: {
		account_id: '999999999999999',
		recurrence_name: 'Sample record',
		start_date: '2026-01-15',
		recurrence_frequency: 'sample',
		repeat_every: 'sample',
		amount: 1,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   recurrence_name: string,
>   start_date: string,
>   end_date?: string,
>   recurrence_frequency: string,
>   repeat_every: string,
>   gst_no?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   reverse_charge_tax_id?: string,
>   location_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     account_id?: string,
>     description?: string,
>     amount?: number,
>     tax_id?: string,
>     item_order?: string,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     reverse_charge_tax_id?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     tags?: custom[]
>   }[],
>   amount: number,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   product_type?: string,
>   acquisition_vat_id?: string,
>   reverse_charge_vat_id?: string,
>   tax_id?: string,
>   is_inclusive_tax?: boolean,
>   is_billable?: boolean,
>   customer_id?: string,
>   project_id?: string,
>   currency_id?: string,
>   exchange_rate?: number,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteRecurringExpense

`recurringExpenses.deleteRecurringExpense`

Delete a recurring expense. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.deleteRecurringExpense({
	pathParams: { recurring_expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRecurringExpense

`recurringExpenses.getRecurringExpense`

Get a recurring expense. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.getRecurringExpense({
	pathParams: { recurring_expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listChildExpensesOfRecurringExpense

`recurringExpenses.listChildExpensesOfRecurringExpense`

List child expenses created. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.listChildExpensesOfRecurringExpense({
	pathParams: { recurring_expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRecurringExpenseHistory

`recurringExpenses.listRecurringExpenseHistory`

List recurring expense history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.listRecurringExpenseHistory({
	pathParams: { recurring_expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRecurringExpenses

`recurringExpenses.listRecurringExpenses`

List recurring expenses. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.listRecurringExpenses({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   recurrence_name?: string,
>   last_created_date?: string,
>   next_expense_date?: string,
>   status?: string,
>   account_id?: string,
>   account_name?: string,
>   amount?: number,
>   customer_name?: string,
>   customer_id?: string,
>   paid_through_account_id?: string,
>   filter_by?: string,
>   search_text?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### resumeRecurringExpense

`recurringExpenses.resumeRecurringExpense`

Resume a recurring Expense. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.resumeRecurringExpense({
	pathParams: { recurring_expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### stopRecurringExpense

`recurringExpenses.stopRecurringExpense`

Stop a recurring expense. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.stopRecurringExpense({
	pathParams: { recurring_expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateRecurringExpense

`recurringExpenses.updateRecurringExpense`

Update a recurring expense. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.updateRecurringExpense({
	pathParams: { recurring_expense_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		account_id: '999999999999999',
		recurrence_name: 'Sample record',
		start_date: '2026-01-15',
		recurrence_frequency: 'sample',
		repeat_every: 'sample',
		amount: 1,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_expense_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   recurrence_name: string,
>   start_date: string,
>   end_date?: string,
>   recurrence_frequency: string,
>   repeat_every: string,
>   gst_no?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   reverse_charge_tax_id?: string,
>   location_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     account_id?: string,
>     description?: string,
>     amount?: number,
>     tax_id?: string,
>     item_order?: string,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     reverse_charge_tax_id?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     tags?: custom[]
>   }[],
>   amount: number,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   product_type?: string,
>   acquisition_vat_id?: string,
>   reverse_charge_vat_id?: string,
>   tax_id?: string,
>   is_inclusive_tax?: boolean,
>   is_billable?: boolean,
>   customer_id?: string,
>   project_id?: string,
>   currency_id?: string,
>   exchange_rate?: number,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateRecurringExpenseUsingCustomField

`recurringExpenses.updateRecurringExpenseUsingCustomField`

Update an recurring expense using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringExpenses.updateRecurringExpenseUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: {
		account_id: '999999999999999',
		recurrence_name: 'Sample record',
		start_date: '2026-01-15',
		recurrence_frequency: 'sample',
		repeat_every: 'sample',
		amount: 1,
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   recurrence_name: string,
>   start_date: string,
>   end_date?: string,
>   recurrence_frequency: string,
>   repeat_every: string,
>   gst_no?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   reverse_charge_tax_id?: string,
>   location_id?: string,
>   line_items?: {
>     line_item_id?: string,
>     account_id?: string,
>     description?: string,
>     amount?: number,
>     tax_id?: string,
>     item_order?: string,
>     product_type?: string,
>     acquisition_vat_id?: string,
>     reverse_charge_vat_id?: string,
>     reverse_charge_tax_id?: string,
>     tax_exemption_code?: string,
>     tax_exemption_id?: string,
>     tags?: custom[]
>   }[],
>   amount: number,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   product_type?: string,
>   acquisition_vat_id?: string,
>   reverse_charge_vat_id?: string,
>   tax_id?: string,
>   is_inclusive_tax?: boolean,
>   is_billable?: boolean,
>   customer_id?: string,
>   project_id?: string,
>   currency_id?: string,
>   exchange_rate?: number,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Recurring Invoices

### associateRecurringInvoiceBankAccount

`recurringInvoices.associateRecurringInvoiceBankAccount`

Associate a bank account with a recurring invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.associateRecurringInvoiceBankAccount({
	pathParams: { recurring_invoice_id: '999999999999999', account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string,
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### associateRecurringInvoiceCard

`recurringInvoices.associateRecurringInvoiceCard`

Associate a card with a recurring invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.associateRecurringInvoiceCard({
	pathParams: { recurring_invoice_id: '999999999999999', card_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string,
>   card_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createRecurringInvoice

`recurringInvoices.createRecurringInvoice`

Create a Recurring Invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.createRecurringInvoice({
	query: { organization_id: '999999999999999' },
	body: { recurrence_name: 'Sample record', customer_id: '999999999999999', recurrence_frequency: 'days' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   recurrence_name: string,
>   reference_number?: string,
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   place_of_supply?: string,
>   vat_treatment?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   cfdi_usage?: string,
>   allow_partial_payments?: boolean,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   start_date?: string,
>   end_date?: string,
>   recurrence_frequency: days | weeks | months | years,
>   repeat_every?: number,
>   location_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items?: {
>     line_item_id?: string,
>     quantity?: number,
>     name?: string,
>     item_total?: number,
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     tags?: custom[],
>     location_id?: string,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     project_id?: string,
>     line_item_category?: string
>   }[],
>   tax_id?: string,
>   custom_fields?: {
>     value?: string,
>     label?: string,
>     data_type?: string
>   }[],
>   email?: string,
>   billing_address?: {
>     address?: string,
>     street2?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string
>   },
>   shipping_address?: {
>     address?: string,
>     city?: string,
>     state?: string,
>     zip?: string,
>     country?: string,
>     fax?: string
>   },
>   avatax_use_code?: string,
>   avatax_exempt_no?: string,
>   template_id?: string,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   exchange_rate?: string,
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   discount?: string,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   is_inclusive_tax?: boolean,
>   item_id?: string,
>   name?: string,
>   description?: string,
>   rate?: number,
>   quantity?: number,
>   unit?: string,
>   avatax_tax_code?: string,
>   salesperson_name?: string,
>   shipping_charge?: number,
>   adjustment?: number,
>   adjustment_description?: string
> }
> ```

**Output:** `custom`

***

### deleteRecurringInvoice

`recurringInvoices.deleteRecurringInvoice`

Delete a Recurring Invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.deleteRecurringInvoice({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteRecurringInvoiceBankAccount

`recurringInvoices.deleteRecurringInvoiceBankAccount`

Delete the bank account of a recurring invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.deleteRecurringInvoiceBankAccount({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   can_delete_in_customer?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteRecurringInvoiceCard

`recurringInvoices.deleteRecurringInvoiceCard`

Delete the card of a recurring invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.deleteRecurringInvoiceCard({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   can_delete_in_customer?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### disableRecurringInvoiceAutobill

`recurringInvoices.disableRecurringInvoiceAutobill`

Disable auto-bill for a recurring invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.disableRecurringInvoiceAutobill({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### enableRecurringInvoiceAutobill

`recurringInvoices.enableRecurringInvoiceAutobill`

Enable auto-bill for a recurring invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.enableRecurringInvoiceAutobill({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRecurringInvoice

`recurringInvoices.getRecurringInvoice`

Get a Recurring Invoice. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.getRecurringInvoice({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRecurringInvoiceDashboard

`recurringInvoices.getRecurringInvoiceDashboard`

Get the recurring invoices dashboard. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.getRecurringInvoiceDashboard({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRecurringInvoiceChildInvoices

`recurringInvoices.listRecurringInvoiceChildInvoices`

List invoices created from a recurring invoice. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.listRecurringInvoiceChildInvoices({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   search_text?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRecurringInvoiceHistory

`recurringInvoices.listRecurringInvoiceHistory`

List Recurring Invoice History. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.listRecurringInvoiceHistory({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRecurringInvoices

`recurringInvoices.listRecurringInvoices`

List all  Recurring Invoice. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.listRecurringInvoices({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   recurrence_name?: string,
>   item_name?: string,
>   item_description?: string,
>   customer_name?: string,
>   line_item_id?: string,
>   item_id?: string,
>   tax_id?: string,
>   notes?: string,
>   start_date?: string,
>   end_date?: string,
>   customer_id?: string,
>   status?: string,
>   filter_by?: string,
>   search_text?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### resumeRecurringInvoice

`recurringInvoices.resumeRecurringInvoice`

Resume a Recurring Invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.resumeRecurringInvoice({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id?: string
> }
> ```

**Output:** `custom`

***

### resumeRecurringInvoices

`recurringInvoices.resumeRecurringInvoices`

Resume recurring invoices. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.resumeRecurringInvoices({
	query: { organization_id: '999999999999999', recurring_invoice_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   recurring_invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### stopRecurringInvoice

`recurringInvoices.stopRecurringInvoice`

Stop a Recurring Invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.stopRecurringInvoice({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id?: string
> }
> ```

**Output:** `custom`

***

### stopRecurringInvoices

`recurringInvoices.stopRecurringInvoices`

Stop recurring invoices. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.stopRecurringInvoices({
	query: { organization_id: '999999999999999', recurring_invoice_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   recurring_invoice_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateRecurringInvoice

`recurringInvoices.updateRecurringInvoice`

Update Recurring Invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.updateRecurringInvoice({
	pathParams: { recurring_invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { recurrence_name: 'Sample record', customer_id: '999999999999999', recurrence_frequency: 'days' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   recurrence_name: string,
>   reference_number?: string,
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   start_date?: string,
>   end_date?: string,
>   recurrence_frequency: days | weeks | months | years,
>   repeat_every?: number,
>   place_of_supply?: string,
>   vat_treatment?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   cfdi_usage?: string,
>   allow_partial_payments?: boolean,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   location_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items?: {
>     item_id?: string,
>     name?: string,
>     description?: string,
>     rate?: number,
>     quantity?: number,
>     discount?: string,
>     tags?: custom[],
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tax_exemption_id?: string,
>     tax_treatment_code?: string,
>     avatax_tax_code?: string,
>     avatax_use_code?: string,
>     item_total?: number,
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     location_id?: string,
>     project_id?: string,
>     line_item_category?: string
>   }[],
>   email?: string,
>   custom_fields?: {
>     value?: string,
>     label?: string,
>     data_type?: string
>   }[],
>   tax_id?: string,
>   tax_authority_id?: string,
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   tax_exemption_id?: string,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string
> }
> ```

**Output:** `custom`

***

### updateRecurringInvoiceTemplate

`recurringInvoices.updateRecurringInvoiceTemplate`

Update Recurring Invoice template. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.updateRecurringInvoiceTemplate({
	pathParams: { recurring_invoice_id: '999999999999999', template_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id: string,
>   template_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   recurring_invoice_id?: string,
>   template_id?: string
> }
> ```

**Output:** `custom`

***

### updateRecurringInvoiceUsingCustomField

`recurringInvoices.updateRecurringInvoiceUsingCustomField`

Update a recurring invoice using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.recurringInvoices.updateRecurringInvoiceUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: { recurrence_name: 'Sample record', customer_id: '999999999999999', recurrence_frequency: 'days' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   recurrence_name: string,
>   reference_number?: string,
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   start_date?: string,
>   end_date?: string,
>   recurrence_frequency: days | weeks | months | years,
>   repeat_every?: number,
>   place_of_supply?: string,
>   vat_treatment?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   cfdi_usage?: string,
>   allow_partial_payments?: boolean,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   location_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items?: {
>     item_id?: string,
>     name?: string,
>     description?: string,
>     rate?: number,
>     quantity?: number,
>     discount?: string,
>     tags?: custom[],
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tax_exemption_id?: string,
>     tax_treatment_code?: string,
>     avatax_tax_code?: string,
>     avatax_use_code?: string,
>     item_total?: number,
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     location_id?: string,
>     project_id?: string,
>     line_item_category?: string
>   }[],
>   email?: string,
>   custom_fields?: {
>     value?: string,
>     label?: string,
>     data_type?: string
>   }[],
>   tax_id?: string,
>   tax_authority_id?: string,
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   tax_exemption_id?: string,
>   avatax_use_code?: string,
>   avatax_exempt_no?: string
> }
> ```

**Output:** `custom`

***

## Registers

### bulkDeleteRegisterTransactions

`registers.bulkDeleteRegisterTransactions`

Bulk delete register transactions. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.registers.bulkDeleteRegisterTransactions({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `custom` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkUpdateRegisterTransactions

`registers.bulkUpdateRegisterTransactions`

Bulk update register transactions. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.registers.bulkUpdateRegisterTransactions({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   from_account_id?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   account_id?: string,
>   branch_id?: string,
>   date?: string,
>   bulk_update_reason?: string,
>   entities?: {
>     entity_id?: string,
>     entity_type?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### getRegisterBudgetVsActuals

`registers.getRegisterBudgetVsActuals`

Get register budget vs actuals. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.registers.getRegisterBudgetVsActuals({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   budget_id?: string,
>   filter_by?: string,
>   cash_based?: boolean,
>   from_date?: string,
>   to_date?: string,
>   period?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRegisterBulkActionHistory

`registers.getRegisterBulkActionHistory`

Get register bulk action history details. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.registers.getRegisterBulkActionHistory({
	pathParams: { account_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number,
>   sort_column?: string,
>   sort_order?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRegisterBulkUpdateEditpage

`registers.getRegisterBulkUpdateEditpage`

Get register bulk update edit page. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.registers.getRegisterBulkUpdateEditpage({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRegisterBulkActionHistory

`registers.listRegisterBulkActionHistory`

List register bulk action history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.registers.listRegisterBulkActionHistory({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number,
>   sort_column?: string,
>   sort_order?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRegisterTransactions

`registers.listRegisterTransactions`

List register transactions. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.registers.listRegisterTransactions({
	pathParams: { account_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   account_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   from_date?: string,
>   to_date?: string,
>   cash_based?: boolean,
>   account_id?: string,
>   group_by?: string,
>   sort_column?: string,
>   optional_columns?: string,
>   show_fcy?: boolean,
>   is_select_column_enabled?: boolean,
>   is_new_flow?: boolean,
>   is_account_code_column_enabled?: boolean,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Reporting Tags

### activeTag

`reportingTags.activeTag`

Mark Reporting Tag as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.activeTag({
	pathParams: { tag_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### activeTagOption

`reportingTags.activeTagOption`

Mark an option as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.activeTagOption({
	pathParams: { tag_id: '999999999999999', option_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string,
>   option_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createTag

`reportingTags.createTag`

Create Reporting Tag. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.createTag({
	query: { organization_id: '999999999999999' },
	body: {
		tag_name: 'Sample record',
		entities: [],
		multi_preference_entities: {},
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tag_name: string,
>   description?: string,
>   is_mandatory?: boolean,
>   entities: {
>     entity_name?: customers | vendors | items | banking | fixed_asset,
>     is_enabled?: boolean
>   }[],
>   multi_preference_entities: {
>     preference?: string,
>     entities?: {
>       entity_name?: custom,
>       is_enabled?: custom
>     }[]
>   }
> }
> ```

**Output:** `custom`

***

### deleteTag

`reportingTags.deleteTag`

Delete a reporting tag. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.deleteTag({
	pathParams: { tag_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getAllTagOptions

`reportingTags.getAllTagOptions`

Get Reporting Tags Options Detail Page. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.getAllTagOptions({
	query: { organization_id: '999999999999999', tag_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   tag_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTags

`reportingTags.getTags`

List of all Reporting Tags. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.getTags({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### inactiveTag

`reportingTags.inactiveTag`

Mark Reporting Tag as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.inactiveTag({
	pathParams: { tag_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### inactiveTagOption

`reportingTags.inactiveTagOption`

Mark an option as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.inactiveTagOption({
	pathParams: { tag_id: '999999999999999', option_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string,
>   option_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markDefaultOption

`reportingTags.markDefaultOption`

Mark an option as default for a reporting tag. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.markDefaultOption({
	pathParams: { tag_id: '999999999999999' },
	query: { organization_id: '999999999999999', default_option_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   default_option_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### reorderTags

`reportingTags.reorderTags`

Reorder Reporting Tags. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.reorderTags({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tags?: string[]
> }
> ```

**Output:** `custom`

***

### updateTag

`reportingTags.updateTag`

Update Reporting Tag. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.updateTag({
	pathParams: { tag_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		tag_name: 'Sample record',
		entities: [],
		multi_preference_entities: {},
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tag_name: string,
>   description?: string,
>   is_mandatory?: boolean,
>   entities: {
>     entity_name?: customers | vendors | items | banking | fixed_asset,
>     is_enabled?: boolean
>   }[],
>   multi_preference_entities: {
>     preference?: string,
>     entities?: {
>       entity_name?: custom,
>       is_enabled?: custom
>     }[]
>   }
> }
> ```

**Output:** `custom`

***

### updateTagCriteria

`reportingTags.updateTagCriteria`

Update Reporting Tag - Visibility Conditions. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.updateTagCriteria({
	pathParams: { tag_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		criteria_tags: [],
		options: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   criteria_tags: {
>     tag_id?: string,
>     type?: string
>   }[],
>   options: {
>     option_id?: string,
>     criteria_options?: custom[]
>   }[]
> }
> ```

**Output:** `custom`

***

### updateTagOptions

`reportingTags.updateTagOptions`

Update Reporting Tag Options. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.reportingTags.updateTagOptions({
	pathParams: { tag_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		options: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tag_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   options: {
>     option_name?: string,
>     option_id?: string,
>     is_active?: boolean,
>     is_default?: boolean,
>     children?: custom[]
>   }[]
> }
> ```

**Output:** `custom`

***

## Retainer Invoices

### addRetainerInvoiceAttachment

`retainerInvoices.addRetainerInvoiceAttachment`

Add attachment to a retainer invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.addRetainerInvoiceAttachment({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

The attachment is sent as a multipart file part; pass \{ filename, contentType, base64 }.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   can_send_in_mail?: boolean,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

**Output:** `custom`

***

### addRetainerInvoiceComment

`retainerInvoices.addRetainerInvoiceComment`

Add comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.addRetainerInvoiceComment({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string,
>   payment_expected_date?: string,
>   show_comment_to_clients?: boolean
> }
> ```

**Output:** `custom`

***

### applyRetainerPaymentsToInvoices

`retainerInvoices.applyRetainerPaymentsToInvoices`

Apply retainer invoice payments to invoices. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.applyRetainerPaymentsToInvoices({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   invoice_payments?: {
>     invoice_id?: string,
>     amount_applied?: number,
>     apply_date?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### approveRetainerInvoice

`retainerInvoices.approveRetainerInvoice`

Approve a retainer invoice.. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.approveRetainerInvoice({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createRetainerInvoice

`retainerInvoices.createRetainerInvoice`

Create a retainerinvoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.createRetainerInvoice({
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   reference_number?: string,
>   date?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   custom_fields?: {
>     index?: number,
>     show_on_pdf?: boolean,
>     value?: string,
>     label?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   location_id?: string,
>   line_items: {
>     description?: string,
>     item_order?: number,
>     rate?: number
>   }[],
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   template_id?: string,
>   place_of_supply?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### createRetainerInvoiceAsyncOnlinePayment

`retainerInvoices.createRetainerInvoiceAsyncOnlinePayment`

Record an asynchronous online payment for a retainer invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.createRetainerInvoiceAsyncOnlinePayment({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteAppliedRetainerPayment

`retainerInvoices.deleteAppliedRetainerPayment`

Delete a retainer payment applied to an invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.deleteAppliedRetainerPayment({
	pathParams: { retainerinvoice_id: '999999999999999', invoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string,
>   invoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteRetainerInvoice

`retainerInvoices.deleteRetainerInvoice`

Delete a retainer invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.deleteRetainerInvoice({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteRetainerInvoiceAttachment

`retainerInvoices.deleteRetainerInvoiceAttachment`

Delete an attachment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.deleteRetainerInvoiceAttachment({
	pathParams: { retainerinvoice_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteRetainerInvoiceComment

`retainerInvoices.deleteRetainerInvoiceComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.deleteRetainerInvoiceComment({
	pathParams: { retainerinvoice_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailRetainerInvoice

`retainerInvoices.emailRetainerInvoice`

Email a retainer invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.emailRetainerInvoice({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send_customer_statement?: boolean,
>   send_attachment?: boolean,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   send_from_org_email_id?: boolean,
>   to_mail_ids: string[],
>   cc_mail_ids?: string[],
>   subject?: string,
>   body?: string
> }
> ```

**Output:** `custom`

***

### getRetainerInvoice

`retainerInvoices.getRetainerInvoice`

Get a retainer invoice. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.getRetainerInvoice({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRetainerInvoiceAttachment

`retainerInvoices.getRetainerInvoiceAttachment`

Get a retainer invoice attachment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.getRetainerInvoiceAttachment({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

Zoho documents this as returning the attached file; JSON metadata responses are also accepted. Binary files are returned with their response content type and are limited to 10 MiB.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRetainerInvoiceEmail

`retainerInvoices.getRetainerInvoiceEmail`

Get retainer invoice email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.getRetainerInvoiceEmail({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRetainerInvoice

`retainerInvoices.listRetainerInvoice`

List retainer invoice comments & history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.listRetainerInvoice({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRetainerInvoices

`retainerInvoices.listRetainerInvoices`

List a retainer invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.listRetainerInvoices({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean,
>   sort_column?: string,
>   filter_by?: string,
>   sort_order?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listRetainerInvoiceTemplates

`retainerInvoices.listRetainerInvoiceTemplates`

List retainer invoice templates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.listRetainerInvoiceTemplates({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markRetainerInvoiceDraft

`retainerInvoices.markRetainerInvoiceDraft`

Mark as draft. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.markRetainerInvoiceDraft({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   reason?: string,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markRetainerInvoiceSent

`retainerInvoices.markRetainerInvoiceSent`

Mark a retainer invoice as sent. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.markRetainerInvoiceSent({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markRetainerInvoiceVoid

`retainerInvoices.markRetainerInvoiceVoid`

Void a retainer invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.markRetainerInvoiceVoid({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### submitRetainerInvoice

`retainerInvoices.submitRetainerInvoice`

Submit a retainer invoice for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.submitRetainerInvoice({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateRetainerInvoice

`retainerInvoices.updateRetainerInvoice`

update a retainerinvoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.updateRetainerInvoice({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		customer_id: '999999999999999',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   reference_number?: string,
>   date?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   custom_fields?: {
>     index?: number,
>     show_on_pdf?: boolean,
>     value?: string,
>     label?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   location_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   line_items: {
>     description?: string,
>     item_order?: number,
>     rate?: number
>   }[],
>   payment_options?: {
>     payment_gateways?: {
>       configured?: custom,
>       additional_field1?: custom,
>       gateway_name?: custom
>     }[]
>   },
>   template_id?: string,
>   place_of_supply?: string,
>   project_id?: string
> }
> ```

**Output:** `custom`

***

### updateRetainerInvoiceBillingAddress

`retainerInvoices.updateRetainerInvoiceBillingAddress`

Update billing address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.updateRetainerInvoiceBillingAddress({
	pathParams: { retainerinvoice_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string
> }
> ```

**Output:** `custom`

***

### updateRetainerInvoiceComment

`retainerInvoices.updateRetainerInvoiceComment`

Update comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.updateRetainerInvoiceComment({
	pathParams: { retainerinvoice_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string,
>   show_comment_to_clients?: boolean
> }
> ```

**Output:** `custom`

***

### updateRetainerInvoiceTemplate

`retainerInvoices.updateRetainerInvoiceTemplate`

Update retainer invoice template. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.retainerInvoices.updateRetainerInvoiceTemplate({
	pathParams: { retainerinvoice_id: '999999999999999', template_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   retainerinvoice_id: string,
>   template_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

## Sales Order

### addSalesOrderAttachment

`salesOrder.addSalesOrderAttachment`

Add attachment to a sales order. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.addSalesOrderAttachment({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   can_send_in_mail?: boolean,
>   doc?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   totalFiles?: number,
>   document_ids?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addSalesOrderComment

`salesOrder.addSalesOrderComment`

Add comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.addSalesOrderComment({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string
> }
> ```

**Output:** `custom`

***

### approveSalesOrder

`salesOrder.approveSalesOrder`

Approve a sales order.. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.approveSalesOrder({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkExportSalesOrdersAsPdf

`salesOrder.bulkExportSalesOrdersAsPdf`

Bulk export sales orders. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.bulkExportSalesOrdersAsPdf({
	query: { organization_id: '999999999999999', salesorder_ids: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   salesorder_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### bulkPrintSalesOrders

`salesOrder.bulkPrintSalesOrders`

Bulk print sales orders. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.bulkPrintSalesOrders({
	query: { organization_id: '999999999999999', salesorder_ids: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   salesorder_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createSalesOrder

`salesOrder.createSalesOrder`

Create a sales order. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.createSalesOrder({
	query: { organization_id: '999999999999999' },
	body: { customer_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean,
>   can_send_in_mail?: boolean,
>   totalFiles?: number,
>   doc?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   date?: string,
>   shipment_date?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   place_of_supply?: string,
>   salesperson_id?: string,
>   merchant_id?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   is_inclusive_tax?: boolean,
>   location_id?: string,
>   line_items?: {
>     item_order?: number,
>     item_id?: string,
>     rate?: number,
>     name?: string,
>     description?: string,
>     quantity?: number,
>     product_type?: string,
>     hsn_or_sac?: string,
>     sat_item_key_code?: string,
>     unitkey_code?: string,
>     location_id?: string,
>     discount?: string,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tags?: custom[],
>     unit?: string,
>     item_custom_fields?: custom[],
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     tax_treatment_code?: string,
>     avatax_exempt_no?: string,
>     avatax_use_code?: string,
>     project_id?: string,
>     line_item_category?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   billing_address_id?: string,
>   shipping_address_id?: string,
>   crm_owner_id?: string,
>   crm_custom_reference_id?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   salesorder_number?: string,
>   reference_number?: string,
>   is_update_customer?: boolean,
>   discount?: string,
>   exchange_rate?: number,
>   salesperson_name?: string,
>   notes_default?: string,
>   terms_default?: string,
>   tax_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   tax_authority_name?: string,
>   tax_exemption_code?: string,
>   avatax_exempt_no?: string,
>   avatax_use_code?: string,
>   shipping_charge?: number,
>   adjustment?: number,
>   delivery_method?: string,
>   estimate_id?: string,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   adjustment_description?: string,
>   pricebook_id?: string,
>   template_id?: string,
>   documents?: string[],
>   zcrm_potential_id?: string,
>   zcrm_potential_name?: string
> }
> ```

**Output:** `custom`

***

### deleteSalesOrder

`salesOrder.deleteSalesOrder`

Delete a sales order. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.deleteSalesOrder({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteSalesOrderAttachment

`salesOrder.deleteSalesOrderAttachment`

Delete an attachment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.deleteSalesOrderAttachment({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteSalesOrderComment

`salesOrder.deleteSalesOrderComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.deleteSalesOrderComment({
	pathParams: { salesorder_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailSalesOrder

`salesOrder.emailSalesOrder`

Email a sales order. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.emailSalesOrder({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
		subject: 'sample',
		body: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   salesorder_id?: string,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   send_attachment?: boolean,
>   file_name?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   from_address_id?: string,
>   send_from_org_email_id?: boolean,
>   to_mail_ids: string[],
>   cc_mail_ids?: string[],
>   bcc_mail_ids?: string[],
>   subject: string,
>   documents?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   invoice_id?: string,
>   body: string
> }
> ```

**Output:** `custom`

***

### getSalesOrder

`salesOrder.getSalesOrder`

Get a sales order. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.getSalesOrder({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean,
>   accept?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getSalesOrderAttachment

`salesOrder.getSalesOrderAttachment`

Get a sales order attachment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.getSalesOrderAttachment({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

Zoho documents this as returning the attached file; JSON metadata responses are also accepted. Binary files are returned with their response content type and are limited to 10 MiB.

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   preview?: boolean,
>   inline?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getSalesOrderEmail

`salesOrder.getSalesOrderEmail`

Get sales order email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.getSalesOrderEmail({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   email_template_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listSalesOrderComments

`salesOrder.listSalesOrderComments`

List sales order comments & history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.listSalesOrderComments({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listSalesOrders

`salesOrder.listSalesOrders`

List sales orders. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.listSalesOrders({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   sort_column?: customer_name | salesorder_number | reference_number | shipment_date | total | date | created_time | last_modified_time | subscription_number | first_name | company_name | cf_(\w+),
>   search_text?: string,
>   filter_by?: Status.All | Status.Draft | Status.Open | Status.Invoiced | Status.InvoicedNotShipped | Status.Confirmed | Status.UnFulfilled | Status.MarketPlaceSalesOrder | Status.ThisCycle | Status.PreviousCycle | Status.PartiallyInvoiced | Status.Void | Status.Closed | Status.Pending | Status.Approved | Status.OverDue | Status.Shipped | Status.ShippedNotInvoiced | Status.ToBeShipped | Status.ToBeInvoiced | Status.Fulfilled | Status.ManuallyFulfilled | Status.BackOrdered | Status.OnHold | Status.DropShipped | Status.ToBePacked | Status.AvalaraSyncFailed | Status.TaxAutomationFailed | Status.Network | Status.NetworkPending | Status.MyApprovals | Status.Unconfirmed | Status.Portal | Status.Cancelled | Status.NotConfirmed | Status.PendingOrders | Status.ShippedNotCancelledOrFailed | Status.Delivered | Status.CancelledOrFailed | Status.Viewed | Status.BBPSPendingApproval | Status.BBPSAccepted | Status.BBPSAcceptFailed | Status.BBPSRejected | Status.BBPSRejectFailed | Status.BBPSReturned | Status.BBPSReturnFailed | WithAttachment | WithoutAttachment | ExceptionList,
>   salesorder_number?: string,
>   item_name?: string,
>   item_id?: string,
>   item_description?: string,
>   reference_number?: string,
>   customer_name?: string,
>   email?: string,
>   total?: string,
>   date?: string,
>   created_date?: string,
>   shipment_date?: string,
>   expiry_date_start?: string,
>   expiry_date_end?: string,
>   expiry_date_before?: string,
>   expiry_date_after?: string,
>   status?: draft | pending_approval | approved | open | invoiced | invoiced_not_shipped | shipped_not_invoiced | partially_invoiced | not_invoiced | to_be_invoiced | paid | partially_paid | unpaid | cancelled | void | pending | overdue | closed | confirmed | onhold | network_pending_approval | rejected,
>   customer_id?: string,
>   salesperson_id?: string,
>   salesorder_ids?: string,
>   zcrm_potential_id?: string,
>   last_modified_time?: string,
>   accept?: string,
>   print?: boolean,
>   customview_id?: string,
>   location_ids?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listSalesOrderTemplates

`salesOrder.listSalesOrderTemplates`

List sales order templates. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.listSalesOrderTemplates({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markSalesOrderAsOpen

`salesOrder.markSalesOrderAsOpen`

Mark a sales order as open. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.markSalesOrderAsOpen({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markSalesOrderAsVoid

`salesOrder.markSalesOrderAsVoid`

Mark a sales order as void. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.markSalesOrderAsVoid({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   reason?: string
> }
> ```

**Output:** `custom`

***

### submitSalesOrder

`salesOrder.submitSalesOrder`

Submit a sales order for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.submitSalesOrder({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateSalesOrder

`salesOrder.updateSalesOrder`

Update a sales order. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesOrder({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { customer_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean,
>   can_send_in_mail?: boolean,
>   totalFiles?: number,
>   doc?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   date?: string,
>   shipment_date?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   place_of_supply?: string,
>   salesperson_id?: string,
>   merchant_id?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   is_inclusive_tax?: boolean,
>   location_id?: string,
>   line_items?: {
>     item_order?: number,
>     line_item_id?: string,
>     item_id?: string,
>     rate?: number,
>     name?: string,
>     description?: string,
>     quantity?: number,
>     discount?: string,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tags?: custom[],
>     unit?: string,
>     item_custom_fields?: custom[],
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     tax_treatment_code?: string,
>     avatax_exempt_no?: string,
>     avatax_use_code?: string,
>     project_id?: string,
>     location_id?: string,
>     line_item_category?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   billing_address_id?: string,
>   shipping_address_id?: string,
>   crm_owner_id?: string,
>   crm_custom_reference_id?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   salesorder_number?: string,
>   reference_number?: string,
>   is_update_customer?: boolean,
>   discount?: string,
>   exchange_rate?: number,
>   salesperson_name?: string,
>   notes_default?: string,
>   terms_default?: string,
>   tax_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   tax_authority_name?: string,
>   tax_exemption_code?: string,
>   avatax_exempt_no?: string,
>   avatax_use_code?: string,
>   shipping_charge?: number,
>   adjustment?: number,
>   delivery_method?: string,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   adjustment_description?: string,
>   pricebook_id?: string,
>   template_id?: string,
>   documents?: string[],
>   zcrm_potential_id?: string,
>   zcrm_potential_name?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateSalesOrderAttachmentPreference

`salesOrder.updateSalesOrderAttachmentPreference`

Update attachment preference. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesOrderAttachmentPreference({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999', can_send_in_mail: false },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   can_send_in_mail: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateSalesOrderBillingAddress

`salesOrder.updateSalesOrderBillingAddress`

Update billing address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesOrderBillingAddress({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   phone?: string,
>   fax?: string,
>   attention?: string,
>   is_one_off_address?: boolean,
>   is_update_customer?: boolean,
>   is_verified?: boolean
> }
> ```

**Output:** `custom`

***

### updateSalesOrderComment

`salesOrder.updateSalesOrderComment`

Update comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesOrderComment({
	pathParams: { salesorder_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description?: string
> }
> ```

**Output:** `custom`

***

### updateSalesorderCustomfields

`salesOrder.updateSalesorderCustomfields`

Update custom field in existing salesorders. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesorderCustomfields({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | Update the custom fields of a sales order. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   custom_fields?: {
>     customfield_id?: string,
>     index?: number,
>     value?: string,
>     label?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateSalesOrderShippingAddress

`salesOrder.updateSalesOrderShippingAddress`

Update shipping address. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesOrderShippingAddress({
	pathParams: { salesorder_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   address?: string,
>   city?: string,
>   state?: string,
>   zip?: string,
>   country?: string,
>   fax?: string,
>   attention?: string,
>   is_one_off_address?: boolean,
>   is_update_customer?: boolean,
>   is_verified?: boolean
> }
> ```

**Output:** `custom`

***

### updateSalesOrderSubStatus

`salesOrder.updateSalesOrderSubStatus`

Update a sales order sub status. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesOrderSubStatus({
	pathParams: { salesorder_id: '999999999999999', status_code: 'sample' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string,
>   status_code: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateSalesOrderTemplate

`salesOrder.updateSalesOrderTemplate`

Update sales order template. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesOrderTemplate({
	pathParams: { salesorder_id: '999999999999999', template_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   salesorder_id: string,
>   template_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateSalesOrderUsingCustomField

`salesOrder.updateSalesOrderUsingCustomField`

Update a sales order using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesOrder.updateSalesOrderUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: { customer_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   currency_id?: string,
>   contact_persons_associated?: {
>     contact_person_id?: string,
>     communication_preference?: {
>       is_email_enabled?: custom,
>       is_whatsapp_enabled?: custom
>     }
>   }[],
>   date?: string,
>   shipment_date?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     value?: string
>   }[],
>   place_of_supply?: string,
>   salesperson_id?: string,
>   merchant_id?: string,
>   gst_treatment?: string,
>   gst_no?: string,
>   shipping_gst_no?: string,
>   shipping_trader_name?: string,
>   shipping_legal_name?: string,
>   is_inclusive_tax?: boolean,
>   location_id?: string,
>   line_items?: {
>     item_order?: number,
>     line_item_id?: string,
>     item_id?: string,
>     rate?: number,
>     name?: string,
>     description?: string,
>     quantity?: number,
>     discount?: string,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tds_tax_id?: string,
>     tags?: custom[],
>     unit?: string,
>     item_custom_fields?: custom[],
>     tax_exemption_id?: string,
>     tax_exemption_code?: string,
>     tax_treatment_code?: string,
>     avatax_exempt_no?: string,
>     avatax_use_code?: string,
>     project_id?: string,
>     location_id?: string,
>     line_item_category?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   billing_address_id?: string,
>   shipping_address_id?: string,
>   crm_owner_id?: string,
>   crm_custom_reference_id?: string,
>   vat_treatment?: string,
>   tax_treatment?: string,
>   is_reverse_charge_applied?: boolean,
>   salesorder_number?: string,
>   reference_number?: string,
>   is_update_customer?: boolean,
>   discount?: string,
>   exchange_rate?: number,
>   salesperson_name?: string,
>   notes_default?: string,
>   terms_default?: string,
>   tax_id?: string,
>   tax_authority_id?: string,
>   tax_exemption_id?: string,
>   tax_authority_name?: string,
>   tax_exemption_code?: string,
>   avatax_exempt_no?: string,
>   avatax_use_code?: string,
>   shipping_charge?: number,
>   adjustment?: number,
>   delivery_method?: string,
>   is_discount_before_tax?: boolean,
>   discount_type?: string,
>   adjustment_description?: string,
>   pricebook_id?: string,
>   template_id?: string,
>   documents?: string[],
>   zcrm_potential_id?: string,
>   zcrm_potential_name?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Sales Receipt

### createSalesReceipt

`salesReceipt.createSalesReceipt`

Create a sales receipt. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesReceipt.createSalesReceipt({
	query: { organization_id: '999999999999999' },
	body: { customer_id: '999999999999999', payment_mode: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean,
>   can_send_in_mail?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   receipt_number?: string,
>   date?: string,
>   payment_mode: string,
>   line_items?: {
>     item_id?: string,
>     rate?: number,
>     quantity?: number,
>     tax_id?: string,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tags?: custom[],
>     line_item_category?: string
>   }[],
>   notes?: string,
>   terms?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteSalesReceipt

`salesReceipt.deleteSalesReceipt`

Delete a sales receipt. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.salesReceipt.deleteSalesReceipt({
	pathParams: { sales_receipt_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   sales_receipt_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailSalesReceipt

`salesReceipt.emailSalesReceipt`

Email a sales receipt. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.salesReceipt.emailSalesReceipt({
	pathParams: { sales_receipt_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
		subject: 'sample',
		body: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   sales_receipt_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   attach_pdf?: boolean,
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   to_mail_ids: string[],
>   subject: string,
>   body: string
> }
> ```

**Output:** `custom`

***

### getSalesReceipt

`salesReceipt.getSalesReceipt`

Get a sales receipt. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesReceipt.getSalesReceipt({
	pathParams: { sales_receipt_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   sales_receipt_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   accept?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listSalesReceipts

`salesReceipt.listSalesReceipts`

List sales receipts. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.salesReceipt.listSalesReceipts({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   receipt_number?: string,
>   item_name?: string,
>   sort_column?: string,
>   filter_by?: string,
>   customer_id?: string,
>   date?: string,
>   total?: number,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateSalesReceipt

`salesReceipt.updateSalesReceipt`

Update a sales receipt. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.salesReceipt.updateSalesReceipt({
	pathParams: { sales_receipt_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { customer_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   sales_receipt_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   customer_id: string,
>   receipt_number?: string,
>   date?: string,
>   payment_mode?: string,
>   line_items?: {
>     item_id?: string,
>     rate?: number,
>     quantity?: number,
>     product_tax_category?: {
>       tax_category_code: custom,
>       tax_category_name?: custom,
>       description?: custom
>     },
>     tags?: custom[],
>     line_item_category?: string
>   }[],
>   notes?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

## Self Billed Invoices

### createSelfBilledInvoice

`selfBilledInvoices.createSelfBilledInvoice`

Create a Self-Billed Invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.selfBilledInvoices.createSelfBilledInvoice({
	query: { organization_id: '999999999999999' },
	body: {
		bill_number: 'sample',
		vendor_id: '999999999999999',
		entity_type: 'sample',
		line_items: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | Yes | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   bill_number: string,
>   vendor_id: string,
>   reference_number?: string,
>   date?: string,
>   due_date?: string,
>   terms?: string,
>   adjustment?: number,
>   adjustment_description?: string,
>   is_draft?: boolean,
>   pricebook_id?: string,
>   is_item_level_tax_calc?: boolean,
>   is_inclusive_tax?: boolean,
>   discount?: number,
>   discount_code?: string,
>   discount_account_id?: string,
>   discount_type?: string,
>   is_discount_before_tax?: boolean,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   payment_mode?: string,
>   bank_account_id?: string,
>   account_id?: string,
>   template_id?: string,
>   entity_type: string,
>   tax_treatment?: string,
>   place_of_supply?: string,
>   tax_reg_no?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     legal_name?: string,
>     electronic_address_value?: string
>   },
>   permit_number?: string,
>   billing_address_id?: string,
>   recurring_bill_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   custom_fields?: {
>     custom_field_id?: string,
>     value?: string
>   }[],
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   line_items: {
>     item_id?: string,
>     name?: string,
>     account_id?: string,
>     description?: string,
>     rate?: number,
>     quantity?: number,
>     discount?: number,
>     tax_id?: string,
>     reverse_charge_tax_id?: string,
>     unit?: string,
>     item_order?: number,
>     is_billable?: boolean,
>     customer_id?: string,
>     project_id?: string,
>     hsn_or_sac?: string,
>     unitkey_code?: string,
>     product_type?: string,
>     tax_treatment_code?: string,
>     tags?: custom[],
>     item_custom_fields?: custom[]
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteSelfBilledInvoice

`selfBilledInvoices.deleteSelfBilledInvoice`

Delete a Self-Billed Invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.selfBilledInvoices.deleteSelfBilledInvoice({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getSelfBilledInvoice

`selfBilledInvoices.getSelfBilledInvoice`

Get a Self-Billed Invoice. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.selfBilledInvoices.getSelfBilledInvoice({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listSelfBilledInvoices

`selfBilledInvoices.listSelfBilledInvoices`

List Self-Billed Invoices. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.selfBilledInvoices.listSelfBilledInvoices({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   entity_type?: string,
>   bill_number?: string,
>   status?: string,
>   date_start?: string,
>   date_end?: string,
>   vendor_name?: string,
>   sort_column?: string,
>   sort_order?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### pushSelfBilledInvoiceEinvoice

`selfBilledInvoices.pushSelfBilledInvoiceEinvoice`

Push a self-billed invoice e-invoice. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.selfBilledInvoices.pushSelfBilledInvoiceEinvoice({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateSelfBilledInvoice

`selfBilledInvoices.updateSelfBilledInvoice`

Update a Self-Billed Invoice. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.selfBilledInvoices.updateSelfBilledInvoice({
	pathParams: { bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | Yes | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   bill_number?: string,
>   vendor_id?: string,
>   reference_number?: string,
>   date?: string,
>   due_date?: string,
>   terms?: string,
>   adjustment?: number,
>   adjustment_description?: string,
>   is_draft?: boolean,
>   pricebook_id?: string,
>   is_item_level_tax_calc?: boolean,
>   is_inclusive_tax?: boolean,
>   discount?: number,
>   discount_code?: string,
>   discount_account_id?: string,
>   discount_type?: string,
>   is_discount_before_tax?: boolean,
>   payment_terms?: number,
>   payment_terms_label?: string,
>   payment_mode?: string,
>   bank_account_id?: string,
>   account_id?: string,
>   template_id?: string,
>   entity_type?: string,
>   tax_treatment?: string,
>   place_of_supply?: string,
>   tax_reg_no?: string,
>   registration_details?: {
>     company_registration_no?: string,
>     einvoice_identifier_label?: string,
>     einvoice_identifier_value?: string,
>     additionalfield1?: string,
>     legal_name?: string,
>     electronic_address_value?: string
>   },
>   permit_number?: string,
>   billing_address_id?: string,
>   recurring_bill_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   custom_fields?: {
>     custom_field_id?: string,
>     value?: string
>   }[],
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   line_items?: {
>     item_id?: string,
>     name?: string,
>     account_id?: string,
>     description?: string,
>     rate?: number,
>     quantity?: number,
>     discount?: number,
>     tax_id?: string,
>     reverse_charge_tax_id?: string,
>     unit?: string,
>     item_order?: number,
>     is_billable?: boolean,
>     customer_id?: string,
>     project_id?: string,
>     hsn_or_sac?: string,
>     unitkey_code?: string,
>     product_type?: string,
>     tax_treatment_code?: string,
>     tags?: custom[],
>     item_custom_fields?: custom[]
>   }[]
> }
> ```

**Output:** `custom`

***

## Tasks

### addTask

`tasks.addTask`

Add a task. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.addTask({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   task_id?: string,
>   owner_ids?: string,
>   owner_id?: string,
>   task_type?: string,
>   title?: string,
>   due_date?: string,
>   contact_type?: string,
>   contact_id?: string,
>   can_push?: boolean,
>   related_entity_type?: string,
>   related_entity_id?: string,
>   related_sub_entity_type?: string,
>   related_sub_entity_id?: string,
>   status?: string,
>   billing_type?: string,
>   is_billable?: boolean,
>   task_rate?: number,
>   completion_percentage?: number,
>   priority?: string,
>   send_email_notification?: boolean,
>   mail_id?: string,
>   email_account_type?: string,
>   email_folder_id?: string,
>   email_account_id?: string,
>   mail_attachments?: {
>     attachment_id?: string,
>     file_name?: string
>   }[],
>   reminder?: {
>     remind_before?: number,
>     remind_at?: string,
>     remind_at_formatted?: string,
>     remind_type?: string,
>     remind_type_formatted?: string,
>     alert_type?: string,
>     alert_type_formatted?: string
>   },
>   task_description?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     index?: number,
>     label?: string,
>     value?: string,
>     value_formatted?: string,
>     api_name?: string
>   }[],
>   due_after?: number,
>   template_id?: string,
>   task_number?: string,
>   task_number_prefix?: string,
>   task_number_suffix?: string,
>   recurring_task_id?: string,
>   is_sub_task?: boolean,
>   parent_id?: string,
>   dependencies?: {
>     dependency_id?: string,
>     dependency_type?: number,
>     depends_on_id?: string,
>     depends_on_entity_type?: number
>   }[],
>   entity_tags?: {
>     name?: string,
>     color?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### addTaskAttachment

`tasks.addTaskAttachment`

Add attachment to task. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.addTaskAttachment({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   attachment?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### addTaskComment

`tasks.addTaskComment`

Add comment to task. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.addTaskComment({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { description: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description: string
> }
> ```

**Output:** `custom`

***

### deleteTask

`tasks.deleteTask`

Delete a tasks. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.tasks.deleteTask({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteTaskComment

`tasks.deleteTaskComment`

Delete comment of task. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.tasks.deleteTaskComment({
	pathParams: { task_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteTaskDocument

`tasks.deleteTaskDocument`

Delete document of task. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.tasks.deleteTaskDocument({
	pathParams: { task_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   un_associate?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteTasks

`tasks.deleteTasks`

Delete tasks. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.tasks.deleteTasks({
	query: { organization_id: '999999999999999', task_ids: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   task_ids: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTask

`tasks.getTask`

Get a task. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.tasks.getTask({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTaskDocument

`tasks.getTaskDocument`

Get document of task. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.tasks.getTaskDocument({
	pathParams: { task_id: '999999999999999', document_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string,
>   document_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   image_size?: string,
>   inline?: boolean,
>   print?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listTaskComments

`tasks.listTaskComments`

List comments of task. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.tasks.listTaskComments({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listTasks

`tasks.listTasks`

List tasks. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.tasks.listTasks({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   entity_id?: string,
>   sub_entity_id?: string,
>   owner_id?: string,
>   contact_id?: string,
>   client_id?: string,
>   status?: string,
>   parent_status?: string,
>   search_text?: string,
>   priority?: string,
>   entity_type?: string,
>   title?: string,
>   task_description?: string,
>   is_overdue?: string,
>   created_by?: string,
>   is_accountant_task?: string,
>   contact_ids?: string,
>   client_ids?: string,
>   owner_ids?: string,
>   date_start?: string,
>   date_end?: string,
>   task_number?: string,
>   sort_column?: string,
>   filter_by?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markTaskAsCompleted

`tasks.markTaskAsCompleted`

Mark task as completed. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.markTaskAsCompleted({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markTaskAsOngoing

`tasks.markTaskAsOngoing`

Mark task as ongoing. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.markTaskAsOngoing({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markTaskAsOpen

`tasks.markTaskAsOpen`

Mark task as open. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.markTaskAsOpen({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateATask

`tasks.updateATask`

Update a tasks. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.updateATask({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   task_id?: string,
>   owner_ids?: string,
>   owner_id?: string,
>   task_type?: string,
>   title?: string,
>   due_date?: string,
>   contact_type?: string,
>   contact_id?: string,
>   can_push?: boolean,
>   related_entity_type?: string,
>   related_entity_id?: string,
>   related_sub_entity_type?: string,
>   related_sub_entity_id?: string,
>   status?: string,
>   billing_type?: string,
>   is_billable?: boolean,
>   task_rate?: number,
>   completion_percentage?: number,
>   priority?: string,
>   send_email_notification?: boolean,
>   mail_id?: string,
>   email_account_type?: string,
>   email_folder_id?: string,
>   email_account_id?: string,
>   mail_attachments?: {
>     attachment_id?: string,
>     file_name?: string
>   }[],
>   reminder?: {
>     remind_before?: number,
>     remind_at?: string,
>     remind_at_formatted?: string,
>     remind_type?: string,
>     remind_type_formatted?: string,
>     alert_type?: string,
>     alert_type_formatted?: string
>   },
>   task_description?: string,
>   custom_fields?: {
>     customfield_id?: string,
>     index?: number,
>     label?: string,
>     value?: string,
>     value_formatted?: string,
>     api_name?: string
>   }[],
>   due_after?: number,
>   template_id?: string,
>   task_number?: string,
>   task_number_prefix?: string,
>   task_number_suffix?: string,
>   recurring_task_id?: string,
>   is_sub_task?: boolean,
>   parent_id?: string,
>   dependencies?: {
>     dependency_id?: string,
>     dependency_type?: number,
>     depends_on_id?: string,
>     depends_on_entity_type?: number
>   }[],
>   entity_tags?: {
>     name?: string,
>     color?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updatePercentageTask

`tasks.updatePercentageTask`

Update completed percentage. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.updatePercentageTask({
	pathParams: { task_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { completion_percentage: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   task_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   completion_percentage: number
> }
> ```

**Output:** `custom`

***

### updateTasks

`tasks.updateTasks`

Update tasks. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.tasks.updateTasks({
	query: { organization_id: '999999999999999', bulk_update: false },
	body: [],
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object[]` | No | List of tasks to be updated. |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   bulk_update: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   task_id?: string,
>   owner_ids?: string,
>   owner_id?: string,
>   task_type?: string,
>   title?: string,
>   due_date?: string,
>   contact_type?: string,
>   contact_id?: string,
>   can_push?: boolean,
>   related_entity_type?: string,
>   related_entity_id?: string,
>   related_sub_entity_type?: string,
>   related_sub_entity_id?: string,
>   status?: string,
>   billing_type?: string,
>   is_billable?: boolean,
>   task_rate?: number,
>   completion_percentage?: number,
>   priority?: string,
>   send_email_notification?: boolean,
>   mail_id?: string,
>   email_account_type?: string,
>   email_folder_id?: string,
>   email_account_id?: string,
>   mail_attachments?: {
>     attachment_id?: custom,
>     file_name?: custom
>   }[],
>   reminder?: {
>     remind_before?: number,
>     remind_at?: string,
>     remind_at_formatted?: string,
>     remind_type?: string,
>     remind_type_formatted?: string,
>     alert_type?: string,
>     alert_type_formatted?: string
>   },
>   task_description?: string,
>   custom_fields?: {
>     customfield_id?: custom,
>     index?: custom,
>     label?: custom,
>     value?: custom,
>     value_formatted?: custom,
>     api_name?: custom
>   }[],
>   due_after?: number,
>   template_id?: string,
>   task_number?: string,
>   task_number_prefix?: string,
>   task_number_suffix?: string,
>   recurring_task_id?: string,
>   is_sub_task?: boolean,
>   parent_id?: string,
>   dependencies?: {
>     dependency_id?: custom,
>     dependency_type?: custom,
>     depends_on_id?: custom,
>     depends_on_entity_type?: custom
>   }[],
>   entity_tags?: {
>     name?: custom,
>     color?: custom
>   }[]
> }[]
> ```

**Output:** `custom`

***

## Taxes

### createTax

`taxes.createTax`

Create a tax. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.taxes.createTax({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tax_name?: string,
>   tax_percentage?: number,
>   tax_type?: string,
>   tax_factor?: string,
>   tax_specific_type?: string,
>   tax_authority_name?: string,
>   tax_authority_id?: string,
>   country_code?: string,
>   purchase_tax_expense_account_id?: string,
>   is_value_added?: boolean,
>   update_recurring_invoice?: boolean,
>   update_recurring_expense?: boolean,
>   update_draft_invoice?: boolean,
>   update_recurring_bills?: boolean,
>   update_draft_so?: boolean,
>   update_subscription?: boolean,
>   update_project?: boolean,
>   is_editable?: boolean
> }
> ```

**Output:** `custom`

***

### createTaxAuthority

`taxes.createTaxAuthority`

Create a tax authority \[US and CA Edition only]. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.taxes.createTaxAuthority({
	query: { organization_id: '999999999999999' },
	body: { tax_authority_name: 'Sample record' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tax_authority_name: string,
>   description?: string,
>   registration_number?: string,
>   registration_number_label?: string
> }
> ```

**Output:** `custom`

***

### createTaxExemption

`taxes.createTaxExemption`

Create a tax exemption \[US Edition only]. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.taxes.createTaxExemption({
	query: { organization_id: '999999999999999' },
	body: { tax_exemption_code: 'sample', type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tax_exemption_code: string,
>   description?: string,
>   type: string
> }
> ```

**Output:** `custom`

***

### createTaxGroup

`taxes.createTaxGroup`

Create a tax group. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.taxes.createTaxGroup({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tax_group_name?: string,
>   taxes?: string
> }
> ```

**Output:** `custom`

***

### deleteTax

`taxes.deleteTax`

Delete a tax. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.taxes.deleteTax({
	pathParams: { tax_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteTaxAuthority

`taxes.deleteTaxAuthority`

Delete a tax authority \[US and CA Edition only]. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.taxes.deleteTaxAuthority({
	pathParams: { tax_authority_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_authority_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteTaxExemption

`taxes.deleteTaxExemption`

Delete a tax exemption \[US Edition only]. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.taxes.deleteTaxExemption({
	pathParams: { tax_exemption_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_exemption_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteTaxGroup

`taxes.deleteTaxGroup`

Delete a tax group. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.taxes.deleteTaxGroup({
	pathParams: { tax_group_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_group_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTax

`taxes.getTax`

Get a tax. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.taxes.getTax({
	pathParams: { tax_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTaxAuthority

`taxes.getTaxAuthority`

Get a tax authority \[US and CA Edition only]. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.taxes.getTaxAuthority({
	pathParams: { tax_authority_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_authority_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTaxExemption

`taxes.getTaxExemption`

Get a tax exemption \[US Edition only]. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.taxes.getTaxExemption({
	pathParams: { tax_exemption_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_exemption_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTaxGroup

`taxes.getTaxGroup`

Get a tax group. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.taxes.getTaxGroup({
	pathParams: { tax_group_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_group_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listTaxAuthorities

`taxes.listTaxAuthorities`

List tax authorities \[US Edition only]. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.taxes.listTaxAuthorities({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listTaxes

`taxes.listTaxes`

List taxes. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.taxes.listTaxes({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listTaxExemptions

`taxes.listTaxExemptions`

List tax exemptions \[US Edition only]. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.taxes.listTaxExemptions({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateTax

`taxes.updateTax`

Update a tax. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.taxes.updateTax({
	pathParams: { tax_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tax_id?: string,
>   tax_name?: string,
>   tax_percentage?: number,
>   tax_type?: string,
>   tax_factor?: string,
>   tax_specific_type?: string,
>   tax_authority_name?: string,
>   tax_authority_id?: string,
>   country_code?: string,
>   purchase_tax_expense_account_id?: string,
>   is_value_added?: boolean,
>   update_recurring_invoice?: boolean,
>   update_recurring_expense?: boolean,
>   update_draft_invoice?: boolean,
>   update_recurring_bills?: boolean,
>   update_draft_so?: boolean,
>   update_subscription?: boolean,
>   update_project?: boolean,
>   is_editable?: boolean,
>   tds_payable_account_id?: string
> }
> ```

**Output:** `custom`

***

### updateTaxAuthority

`taxes.updateTaxAuthority`

Update a tax authority \[US and CA Edition only]. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.taxes.updateTaxAuthority({
	pathParams: { tax_authority_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_authority_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tax_authority_name?: string,
>   description?: string,
>   registration_number?: string,
>   registration_number_label?: string
> }
> ```

**Output:** `custom`

***

### updateTaxExemption

`taxes.updateTaxExemption`

Update a tax exemption \[US Edition only]. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.taxes.updateTaxExemption({
	pathParams: { tax_exemption_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { tax_exemption_code: 'sample', type: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_exemption_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tax_exemption_code: string,
>   description?: string,
>   type: string
> }
> ```

**Output:** `custom`

***

### updateTaxGroup

`taxes.updateTaxGroup`

Update a tax group. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.taxes.updateTaxGroup({
	pathParams: { tax_group_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   tax_group_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   tax_group_name?: string,
>   taxes?: string
> }
> ```

**Output:** `custom`

***

## Time Entries

### createTimeEntries

`timeEntries.createTimeEntries`

Log time entries. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.createTimeEntries({
	query: { organization_id: '999999999999999' },
	body: {
		project_id: '999999999999999',
		task_id: '999999999999999',
		user_id: '999999999999999',
		log_date: '2026-01-15',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   task_id: string,
>   user_id: string,
>   log_date: string,
>   log_time?: string,
>   begin_time?: string,
>   end_time?: string,
>   is_billable?: boolean,
>   notes?: string,
>   start_timer?: string,
>   cost_rate?: number
> }
> ```

**Output:** `custom`

***

### deleteTimeEntries

`timeEntries.deleteTimeEntries`

Delete time entries. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.deleteTimeEntries({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteTimeEntry

`timeEntries.deleteTimeEntry`

Delete time entry. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.deleteTimeEntry({
	pathParams: { time_entry_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   time_entry_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getRunningTimer

`timeEntries.getRunningTimer`

Get timer. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.getRunningTimer({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTimeEntry

`timeEntries.getTimeEntry`

Get a time entry. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.getTimeEntry({
	pathParams: { time_entry_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   time_entry_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listTimeEntries

`timeEntries.listTimeEntries`

List time entries.. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.listTimeEntries({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   from_date?: string,
>   to_date?: string,
>   filter_by?: string,
>   project_id?: string,
>   user_id?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### startEntryTimer

`timeEntries.startEntryTimer`

Start timer. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.startEntryTimer({
	pathParams: { time_entry_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   time_entry_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### stopEntryTimer

`timeEntries.stopEntryTimer`

Stop timer. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.stopEntryTimer({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateTimeEntry

`timeEntries.updateTimeEntry`

Update time entry. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.timeEntries.updateTimeEntry({
	pathParams: { time_entry_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		project_id: '999999999999999',
		task_id: '999999999999999',
		user_id: '999999999999999',
		log_date: '2026-01-15',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   time_entry_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   project_id: string,
>   task_id: string,
>   user_id: string,
>   log_date: string,
>   log_time?: string,
>   begin_time?: string,
>   end_time?: string,
>   is_billable?: boolean,
>   notes?: string,
>   start_timer?: string,
>   cost_rate?: number
> }
> ```

**Output:** `custom`

***

## Transaction Locking

### deleteTransactionLock

`transactionLocking.deleteTransactionLock`

Delete a transaction lock. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.transactionLocking.deleteTransactionLock({
	query: { organization_id: '999999999999999', transaction_lock_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   transaction_lock_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   reason?: string
> }
> ```

**Output:** `custom`

***

### getAccountingPeriodTransactionLock

`transactionLocking.getAccountingPeriodTransactionLock`

Get transaction lock for an accounting period. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.transactionLocking.getAccountingPeriodTransactionLock({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   accounting_period_id?: string,
>   transaction_lock_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getTransactionLock

`transactionLocking.getTransactionLock`

Get transaction lock details. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.transactionLocking.getTransactionLock({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   accounting_period_id?: string,
>   transaction_lock_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listTransactionLocks

`transactionLocking.listTransactionLocks`

List transaction locks. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.transactionLocking.listTransactionLocks({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number,
>   accounting_period_id?: string,
>   lock_scope?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updatePartialUnlock

`transactionLocking.updatePartialUnlock`

Update partial unlock settings. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.transactionLocking.updatePartialUnlock({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   is_enabled?: boolean,
>   lock_module?: string,
>   start_date?: string,
>   end_date?: string,
>   reason?: string
> }
> ```

**Output:** `custom`

***

### updateTransactionLock

`transactionLocking.updateTransactionLock`

Update transaction lock. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.transactionLocking.updateTransactionLock({
	query: { organization_id: '999999999999999' },
	body: {},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   transaction_lock_status?: string,
>   transaction_lock_module?: string,
>   transaction_lock_date?: string,
>   accounting_period_id?: string,
>   reason?: string,
>   user_ids?: string[],
>   account_ids?: string[]
> }
> ```

**Output:** `custom`

***

## Users

### createUser

`users.createUser`

Create a user. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.users.createUser({
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', email: 'agent@sample.invalid' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   email: string,
>   role_id?: string,
>   cost_rate?: number
> }
> ```

**Output:** `custom`

***

### deleteUser

`users.deleteUser`

Delete a user. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.users.deleteUser({
	pathParams: { user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getCurrentUser

`users.getCurrentUser`

Get current user. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.users.getCurrentUser({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getUser

`users.getUser`

Get an user details. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.users.getUser({
	pathParams: { user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### inviteUser

`users.inviteUser`

Invite a user. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.users.inviteUser({
	pathParams: { user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listUsers

`users.listUsers`

List Users. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.users.listUsers({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   filter_by?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markUserActive

`users.markUserActive`

Mark user as active. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.users.markUserActive({
	pathParams: { user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markUserInactive

`users.markUserInactive`

Mark user as inactive. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.users.markUserInactive({
	pathParams: { user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateUser

`users.updateUser`

Update a user. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.users.updateUser({
	pathParams: { user_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { name: 'Sample record', email: 'agent@sample.invalid' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   user_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   name: string,
>   email: string,
>   role_id?: string,
>   cost_rate?: number
> }
> ```

**Output:** `custom`

***

## Vendor Credits

### addVendorCreditComment

`vendorCredits.addVendorCreditComment`

Add a comment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.addVendorCreditComment({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { description: 'sample' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   description: string
> }
> ```

**Output:** `custom`

***

### applyCreditsToABill

`vendorCredits.applyCreditsToABill`

Apply credits to a bill. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.applyCreditsToABill({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		bills: [],
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   bills: {
>     bill_id: string,
>     amount_applied: number
>   }[]
> }
> ```

**Output:** `custom`

***

### approveVendorCredit

`vendorCredits.approveVendorCredit`

Approve a Vendor credit. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.approveVendorCredit({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createVendorCredit

`vendorCredits.createVendorCredit`

Create a vendor credit. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.createVendorCredit({
	query: { organization_id: '999999999999999' },
	body: { vendor_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   ignore_auto_number_generation?: boolean,
>   bill_id?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   vat_treatment?: string,
>   vendor_credit_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   gst_no?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   pricebook_id?: string,
>   reference_number?: string,
>   is_update_customer?: boolean,
>   date?: string,
>   exchange_rate?: number,
>   is_inclusive_tax?: boolean,
>   location_id?: string,
>   line_items?: {
>     item_id?: string,
>     line_item_id?: string,
>     account_id?: string,
>     name?: string,
>     hsn_or_sac?: string,
>     reverse_charge_tax_id?: string,
>     location_id?: string,
>     description?: string,
>     item_order?: number,
>     quantity?: number,
>     unit?: string,
>     rate?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tags?: custom[],
>     line_item_category?: string,
>     item_custom_fields?: custom[],
>     serial_numbers?: custom[],
>     project_id?: string
>   }[],
>   notes?: string,
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   custom_fields?: {
>     custom_field_id?: string,
>     label?: string,
>     value?: string,
>     index?: number
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteVendorCredit

`vendorCredits.deleteVendorCredit`

Delete vendor credit. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.deleteVendorCredit({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteVendorCreditBill

`vendorCredits.deleteVendorCreditBill`

Delete bills credited. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.deleteVendorCreditBill({
	pathParams: { vendor_credit_id: '999999999999999', vendor_credit_bill_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string,
>   vendor_credit_bill_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteVendorCreditComment

`vendorCredits.deleteVendorCreditComment`

Delete a comment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.deleteVendorCreditComment({
	pathParams: { vendor_credit_id: '999999999999999', comment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string,
>   comment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteVendorCreditRefund

`vendorCredits.deleteVendorCreditRefund`

Delete vendor credit refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.deleteVendorCreditRefund({
	pathParams: { vendor_credit_id: '999999999999999', vendor_credit_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string,
>   vendor_credit_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getVendorCredit

`vendorCredits.getVendorCredit`

Get vendor credit. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.getVendorCredit({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   print?: boolean,
>   accept?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getVendorCreditRefund

`vendorCredits.getVendorCreditRefund`

Get vendor credit refund. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.getVendorCreditRefund({
	pathParams: { vendor_credit_id: '999999999999999', vendor_credit_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string,
>   vendor_credit_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listBillsCredited

`vendorCredits.listBillsCredited`

List bills credited. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.listBillsCredited({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listVendorCreditComments

`vendorCredits.listVendorCreditComments`

List vendor credit comments & history. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.listVendorCreditComments({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listVendorCreditRefundsOfAllVendorCredits

`vendorCredits.listVendorCreditRefundsOfAllVendorCredits`

List vendor credit refunds. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.listVendorCreditRefundsOfAllVendorCredits({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   customer_id?: string,
>   last_modified_time?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listVendorCreditRefundsOfAVendorCredit

`vendorCredits.listVendorCreditRefundsOfAVendorCredit`

List refunds of a vendor credit. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.listVendorCreditRefundsOfAVendorCredit({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listVendorCredits

`vendorCredits.listVendorCredits`

List vendor credits. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.listVendorCredits({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   vendor_credit_number?: string,
>   date?: string,
>   status?: open | draft | void | closed | pending_approval | approval_overdue | rejected | approved,
>   total?: string,
>   reference_number?: string,
>   customer_name?: string,
>   item_name?: string,
>   item_description?: string,
>   notes?: string,
>   custom_field?: string,
>   last_modified_time?: string,
>   customer_id?: string,
>   line_item_id?: string,
>   item_id?: string,
>   tax_id?: string,
>   filter_by?: Status.All | Status.Open | Status.Closed | Status.Void | Status.Draft | Status.Pending | Status.ApprovalOverdue | Status.MyApprovals | Status.EInvoicedDebitnotes | Status.EInvoicePendingDebitnotes | Status.BBPSYetToBePushed | Status.BBPSPushed | Status.BBPSPushFailed | Status.BBPSPendingApproval | Status.BBPSAccepted | Status.BBPSAcceptFailed | Status.BBPSRejected | Status.BBPSRejectFailed | Status.BBPSReturned | Status.BBPSReturnFailed | ExceptionList | MissingAdvancedTrackingDetails,
>   search_text?: string,
>   sort_column?: vendor_name | vendor_credit_number | balance | total | date | created_time | last_modified_time | reference_number | txn_posting_date,
>   page?: number,
>   per_page?: number,
>   location_ids?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markVendorCreditOpen

`vendorCredits.markVendorCreditOpen`

Convert to open. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.markVendorCreditOpen({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### markVendorCreditVoid

`vendorCredits.markVendorCreditVoid`

Void vendor credit. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.markVendorCreditVoid({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### refundVendorCredit

`vendorCredits.refundVendorCredit`

Refund a vendor credit. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.refundVendorCredit({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', amount: 1, account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount: number,
>   exchange_rate?: number,
>   account_id: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### submitVendorCredit

`vendorCredits.submitVendorCredit`

Submit a Vendor credit for approval. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.submitVendorCredit({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### updateVendorCredit

`vendorCredits.updateVendorCredit`

Update vendor credit. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.updateVendorCredit({
	pathParams: { vendor_credit_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { vendor_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id: string,
>   currency_id?: string,
>   vat_treatment?: string,
>   vendor_credit_number?: string,
>   gst_treatment?: string,
>   tax_treatment?: string,
>   gst_no?: string,
>   source_of_supply?: string,
>   destination_of_supply?: string,
>   place_of_supply?: string,
>   pricebook_id?: string,
>   reference_number?: string,
>   is_update_customer?: boolean,
>   date?: string,
>   exchange_rate?: number,
>   is_inclusive_tax?: boolean,
>   location_id?: string,
>   line_items?: {
>     item_id?: string,
>     line_item_id?: string,
>     account_id?: string,
>     name?: string,
>     hsn_or_sac?: string,
>     reverse_charge_tax_id?: string,
>     location_id?: string,
>     description?: string,
>     item_order?: number,
>     quantity?: number,
>     unit?: string,
>     rate?: number,
>     tax_id?: string,
>     tds_tax_id?: string,
>     tax_treatment_code?: string,
>     tags?: custom[],
>     line_item_category?: string,
>     item_custom_fields?: custom[],
>     serial_numbers?: custom[],
>     project_id?: string
>   }[],
>   notes?: string,
>   documents?: {
>     document_id?: string,
>     file_name?: string
>   }[],
>   custom_fields?: {
>     custom_field_id?: string,
>     label?: string,
>     value?: string,
>     index?: number
>   }[],
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateVendorCreditRefund

`vendorCredits.updateVendorCreditRefund`

Update vendor credit refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorCredits.updateVendorCreditRefund({
	pathParams: { vendor_credit_id: '999999999999999', vendor_credit_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', amount: 1, account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   vendor_credit_id: string,
>   vendor_credit_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount: number,
>   exchange_rate?: number,
>   account_id: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

## Vendor Payments

### bulkDeleteVendorPayments

`vendorPayments.bulkDeleteVendorPayments`

Bulk delete vendor payments. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.bulkDeleteVendorPayments({
	query: { organization_id: '999999999999999', vendorpayment_id: '999999999999999', bulk_delete: false },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   vendorpayment_id: string,
>   bulk_delete: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### createVendorPayment

`vendorPayments.createVendorPayment`

Create a vendor payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.createVendorPayment({
	query: { organization_id: '999999999999999' },
	body: { amount: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id?: string,
>   bills?: {
>     bill_payment_id?: string,
>     bill_id?: string,
>     amount_applied?: number,
>     tax_amount_withheld?: number
>   }[],
>   date?: string,
>   exchange_rate?: number,
>   amount: number,
>   paid_through_account_id?: string,
>   payment_mode?: string,
>   description?: string,
>   reference_number?: string,
>   check_details?: string[],
>   is_paid_via_print_check?: boolean,
>   location_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### deleteVendorPayment

`vendorPayments.deleteVendorPayment`

Delete a vendor payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.deleteVendorPayment({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### deleteVendorPaymentRefund

`vendorPayments.deleteVendorPaymentRefund`

Delete a refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.deleteVendorPaymentRefund({
	pathParams: { payment_id: '999999999999999', vendorpayment_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string,
>   vendorpayment_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### emailVendorPayment

`vendorPayments.emailVendorPayment`

Email a vendor payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.emailVendorPayment({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: {
		to_mail_ids: [],
		subject: 'sample',
		body: 'sample',
	},
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   send_attachment?: boolean,
>   attachments?: {
>     filename: string,
>     contentType: string,
>     base64: string
>   } | string,
>   file_name?: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   send_from_org_email_id?: boolean,
>   from_address_id?: string,
>   to_mail_ids: string[],
>   cc_mail_ids?: string[],
>   subject: string,
>   body: string,
>   email_template_id?: string
> }
> ```

**Output:** `custom`

***

### getVendorPayment

`vendorPayments.getVendorPayment`

Get a vendor payment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.getVendorPayment({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   fetchTaxInfo?: boolean,
>   fetchstatementlineinfo?: boolean,
>   print?: boolean,
>   is_bill_payment_id?: boolean
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getVendorPaymentEmailContent

`vendorPayments.getVendorPaymentEmailContent`

Get vendor payment email content. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.getVendorPaymentEmailContent({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### getVendorPaymentRefund

`vendorPayments.getVendorPaymentRefund`

Details of a refund. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.getVendorPaymentRefund({
	pathParams: { payment_id: '999999999999999', vendorpayment_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string,
>   vendorpayment_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listVendorPaymentRefunds

`vendorPayments.listVendorPaymentRefunds`

List refunds of a vendor payment. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.listVendorPaymentRefunds({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### listVendorPayments

`vendorPayments.listVendorPayments`

List vendor payments. Zoho Books API v3.

**Risk:** `read`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.listVendorPayments({
	query: { organization_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string,
>   vendor_name?: string,
>   reference_number?: string,
>   payment_number?: string,
>   date?: string,
>   amount?: number,
>   payment_mode?: string,
>   notes?: string,
>   vendor_id?: string,
>   last_modified_time?: string,
>   bill_id?: string,
>   description?: string,
>   filter_by?: string,
>   search_text?: string,
>   sort_column?: string,
>   page?: number,
>   per_page?: number
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

**Output:** `custom`

***

### refundExcessVendorPayment

`vendorPayments.refundExcessVendorPayment`

Refund an excess vendor payment. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.refundExcessVendorPayment({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', amount: 1, to_account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount: number,
>   exchange_rate?: number,
>   to_account_id: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### updateVendorPayment

`vendorPayments.updateVendorPayment`

Update a vendor payment. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.updateVendorPayment({
	pathParams: { payment_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { amount: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id?: string,
>   bills?: {
>     bill_payment_id?: string,
>     bill_id?: string,
>     amount_applied?: number,
>     tax_amount_withheld?: number
>   }[],
>   date?: string,
>   exchange_rate?: number,
>   amount: number,
>   paid_through_account_id?: string,
>   payment_mode?: string,
>   description?: string,
>   reference_number?: string,
>   is_paid_via_print_check?: boolean,
>   check_details?: string[],
>   location_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***

### updateVendorPaymentRefund

`vendorPayments.updateVendorPaymentRefund`

Update a refund. Zoho Books API v3.

**Risk:** `destructive`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.updateVendorPaymentRefund({
	pathParams: { payment_id: '999999999999999', vendorpayment_refund_id: '999999999999999' },
	query: { organization_id: '999999999999999' },
	body: { date: '2026-01-15', amount: 1, to_account_id: '999999999999999' },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | Yes | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | No | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
>   payment_id: string,
>   vendorpayment_refund_id: string
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   date: string,
>   refund_mode?: string,
>   reference_number?: string,
>   amount: number,
>   exchange_rate?: number,
>   to_account_id: string,
>   description?: string
> }
> ```

**Output:** `custom`

***

### updateVendorPaymentUsingCustomField

`vendorPayments.updateVendorPaymentUsingCustomField`

Update an vendor payment using a custom field's unique value. Zoho Books API v3.

**Risk:** `write`

```ts theme={null}
await corsair.zohobooks.api.vendorPayments.updateVendorPaymentUsingCustomField({
	query: { organization_id: '999999999999999' },
	headers: { X-Unique-Identifier-Key: 'sample', X-Unique-Identifier-Value: 'sample' },
	body: { amount: 1 },
});
```

**Input**

| Name | Type | Required | Description |
| - | - | - | - |
| `pathParams` | `object` | No | — |
| `query` | `object` | Yes | — |
| `headers` | `object` | Yes | — |
| `body` | `object` | No | — |

> [accordion] pathParams full type
>
> ```ts theme={null}
> {
> }
> ```

> [accordion] query full type
>
> ```ts theme={null}
> {
>   organization_id: string
> }
> ```

> [accordion] headers full type
>
> ```ts theme={null}
> {
>   X-Unique-Identifier-Key: string,
>   X-Unique-Identifier-Value: string,
>   X-Upsert?: boolean
> }
> ```

> [accordion] body full type
>
> ```ts theme={null}
> {
>   vendor_id?: string,
>   bills?: {
>     bill_payment_id?: string,
>     bill_id?: string,
>     amount_applied?: number,
>     tax_amount_withheld?: number
>   }[],
>   date?: string,
>   exchange_rate?: number,
>   amount: number,
>   paid_through_account_id?: string,
>   payment_mode?: string,
>   description?: string,
>   reference_number?: string,
>   is_paid_via_print_check?: boolean,
>   check_details?: string[],
>   location_id?: string,
>   tags?: {
>     tag_id?: string,
>     tag_option_id?: string
>   }[],
>   custom_fields?: {
>     index?: number,
>     value?: string
>   }[]
> }
> ```

**Output:** `custom`

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.