# InvoiceReference

Referenced invoice number and optional issue date.

Class 

`OfficeIMO.Invoicing`

**Namespace**

`OfficeIMO.Invoicing`

**Assembly**

`OfficeIMO.Invoicing`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Modifiers**

sealed

Referenced invoice number and optional issue date.

## Inheritance

- object
- InvoiceReference

## Usage

Explore 1 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 1

- Property [Invoice.PrecedingInvoices](/api/invoicing/officeimo-invoicing-invoice/#property-precedinginvoices)

Filter members 

Show inherited

## Constructors

`public InvoiceReference(string number, DateTime? issueDate = null)` [#](#constructor-ctor-string-nullable-system-datetime)

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

Creates a reference.

Parameters

**number string required**

**issueDate System.DateTime? = null optional**

## 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 string Number { get; set; }` [#](#property-number)

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

Document number.

`public DateTime? IssueDate { get; set; }` [#](#property-issuedate)

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

Issue date.

<!-- PowerForge markdown artifact sha256:6EB88D2CC6A4E83F77473FC25DE67B4EB11B9444F49D526EB4D88BB09265FA5C -->
