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

# AddNew Method of the Taxes Object

This method adds a country tax specification at the end of the collection.

> [!NOTE]
>
> The [**Name**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tax.md#name) and [**Keywords**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tax.md#keywords) properties of the added new [**Tax**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tax.md) object are empty by default.

## Syntax

```vb Visual Basic .NET theme={null}
Function AddNew() As Tax
```

```cpp C++ theme={null}
HRESULT AddNew(
  ITax** Result
);
```

## Parameters

**Result**

\[out, retval] A pointer to the [**ITax**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/tax.md)**\*** variable that receives the interface pointer for the added tax specification.

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FlexiCapture SDK functions](https://docs.abbyy.com/flexi-capture/sdk/api-reference/errorcodes.md).

## See also

[**Taxes**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/taxes.md)
