# InvoiceAllowanceCharge

Line or document-level allowance or charge.

Class 

`OfficeIMO.Invoicing`

**Namespace**

`OfficeIMO.Invoicing`

**Assembly**

`OfficeIMO.Invoicing`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[InvoiceLine.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Model/InvoiceLine.cs#L18)

**Modifiers**

sealed

Line or document-level allowance or charge.

## Inheritance

- object
- InvoiceAllowanceCharge

## Usage

Explore 2 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 [Invoice.AllowancesAndCharges](/api/invoicing/officeimo-invoicing-invoice/#property-allowancesandcharges)
- Property [InvoiceLine.AllowancesAndCharges](/api/invoicing/officeimo-invoicing-invoiceline/#property-allowancesandcharges)

Filter members 

Show inherited

## Constructors

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

## Inherited Methods

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

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from object

Returns

`int`

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

Inherited from object

Returns

`Type`

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

Inherited from object

Returns

`string?`

## Properties

`public bool IsCharge { get; set; }` [#](#property-ischarge)

[InvoiceLine.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Model/InvoiceLine.cs#L18)

True for a charge; false for an allowance.

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

[InvoiceLine.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Model/InvoiceLine.cs#L20)

Positive monetary amount.

`public decimal? BaseAmount { get; set; }` [#](#property-baseamount)

[InvoiceLine.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Model/InvoiceLine.cs#L22)

Base amount used with a percentage.

`public decimal? Percentage { get; set; }` [#](#property-percentage)

[InvoiceLine.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Model/InvoiceLine.cs#L24)

Percentage, expressed as 10 for ten percent.

`public string? Reason { get; set; }` [#](#property-reason)

[InvoiceLine.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Model/InvoiceLine.cs#L26)

Reason text.

`public string? ReasonCode { get; set; }` [#](#property-reasoncode)

[InvoiceLine.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Model/InvoiceLine.cs#L28)

UNTDID 5189 allowance or 7161 charge reason code.

`public InvoiceTaxCategory? Tax { get; set; }` [#](#property-tax)

[InvoiceLine.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Model/InvoiceLine.cs#L30)

Required for document-level amounts; line amounts inherit the line's category.

<!-- PowerForge markdown artifact sha256:B582532815EFF49176D11E71C5C229A97F5C1193B383D72F89BC14145B02D57B -->
