# BookOnixTax

A tax component included in an ONIX price. Values are explicit assertions, serialized without rounding. At least RatePercent or Amount is required.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`3b680b1b6fb1` with working tree changes

**Source**

[BookOnixTax.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixTax.cs#L35)

**Implements**

`IEquatable<BookOnixTax>`

**Modifiers**

sealed

A tax component included in an ONIX price. Values are explicit assertions, serialized without rounding. At least RatePercent or Amount is required. Currency and territory come from the containing price.

## Inheritance

- object
- BookOnixTax

## Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Property [BookOnixPrice.Taxes](/api/workflows/officeimo-workflows-bookonixprice/#property-taxes)
- Method [BookOnixTax.<Clone>$](/api/workflows/officeimo-workflows-bookonixtax/#method-clone)

### Accepted by parameters 5

- Method [BookOnixTax.Equals](/api/workflows/officeimo-workflows-bookonixtax/#method-equals-bookonixtax) parameter `other`
- Method [BookOnixTax.op_Equality](/api/workflows/officeimo-workflows-bookonixtax/#method-op-equality-bookonixtax-bookonixtax) parameter `left`
- Method [BookOnixTax.op_Equality](/api/workflows/officeimo-workflows-bookonixtax/#method-op-equality-bookonixtax-bookonixtax) parameter `right`
- Method [BookOnixTax.op_Inequality](/api/workflows/officeimo-workflows-bookonixtax/#method-op-inequality-bookonixtax-bookonixtax) parameter `left`
- Method [BookOnixTax.op_Inequality](/api/workflows/officeimo-workflows-bookonixtax/#method-op-inequality-bookonixtax-bookonixtax) parameter `right`

Filter members 

Show inherited

## Constructors

`public BookOnixTax()` [#](#constructor-ctor)

`Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)`

## Methods

`public BookOnixTax <Clone>$()` [#](#method-clone)

Returns

`BookOnixTax`

Equals 2 overloads

`public override bool Equals(object? obj)` [#](#method-equals-object)

Parameters

**obj object? required**

Returns

`bool`

`public bool Equals(BookOnixTax? other)` [#](#method-equals-bookonixtax)

Parameters

**other BookOnixTax? required**

Returns

`bool`

`public override int GetHashCode()` [#](#method-gethashcode)

Returns

`int`

`public static bool op_Equality(BookOnixTax? left, BookOnixTax? right)` [#](#method-op-equality-bookonixtax-bookonixtax)

Parameters

**left BookOnixTax? required**

**right BookOnixTax? required**

Returns

`bool`

`public static bool op_Inequality(BookOnixTax? left, BookOnixTax? right)` [#](#method-op-inequality-bookonixtax-bookonixtax)

Parameters

**left BookOnixTax? required**

**right BookOnixTax? required**

Returns

`bool`

`public override string ToString()` [#](#method-tostring)

Returns

`string`

## Inherited Methods

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

## Properties

`public BookOnixTaxType Type { get; init; }` [#](#property-type)

[BookOnixTax.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixTax.cs#L35)

Type of tax included in the price.

`public BookOnixTaxRateCode? RateCode { get; init; }` [#](#property-ratecode)

[BookOnixTax.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixTax.cs#L37)

Optional tax-rate classification; OfficeIMO does not select a jurisdictional rate.

`public decimal? RatePercent { get; init; }` [#](#property-ratepercent)

[BookOnixTax.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixTax.cs#L39)

Optional percentage between zero and 100 inclusive.

`public decimal? TaxableAmount { get; init; }` [#](#property-taxableamount)

[BookOnixTax.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixTax.cs#L41)

Optional positive part of the price before this tax, at most the containing price amount.

`public decimal? Amount { get; init; }` [#](#property-amount)

[BookOnixTax.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixTax.cs#L43)

Optional nonnegative tax amount included in the price. Supplied tax amounts cannot sum above the price.

`public string? PricePartDescription { get; init; }` [#](#property-pricepartdescription)

[BookOnixTax.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/3b680b1b6fb15a268ff5525a4ca6cdd70b2f6613/OfficeIMO.Workflows/Publishing/BookOnixTax.cs#L45)

Optional description of the price component subject to this tax, at most 4096 characters.

<!-- PowerForge markdown artifact sha256:430FAC6E5C7306633C84A6BA85F317EBF69710DA3F3BB24C0B0BA0E954EC8306 -->
