---
title: "setTaxRate"
slug: "api/basket/operations/settaxrate"
sidebar:
  order: 489
---

<a id="ref-d08b8643bf86"></a>
<a id="ref-e4f4229b6ebd"></a>
<a id="ref-4f441fdfcbfb"></a>

## Synopsis

```text
void setTaxRate(SessionId sessionId,
    string schemeId,
    string typeId,
    string categoryId,
    decimal rate)
throws BasketServiceFault;
```

See also: [`SessionId`](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [`BasketServiceFault`](/pCon/configuratorOnline/specs/api/basket/faults/basketservicefault#ref-d5adb74faa1b)

For the specified session, sets the tax rate of the specified tax category to the given value in percent.
