# CompanyInfo

> This is the field where sender information will be entered.

{% hint style="info" %}
&#x20;CompanyInfo is derived from the PartyInfoDto object.
{% endhint %}

{% hint style="info" %}
If the CompanyInfo object is not filled, the system retrieves the information of the active company and fills the PartyInfoDto object.
{% endhint %}

```javascript
EInvoice.CompanyInfo = null;
```

```csharp
public class PartyInfoDto : AddressInfoDto
{
     public string TaxNumber { get; set; }
     public string Name { get; set; }
     public string TaxOffice { get; set; }
     public List<IDTypeDto> PartyIdentifications { get; set; }
     public List<IDTypeDto> AgentPartyIdentifications { get; set; } 
}
```

```csharp
public class AddressInfoDto
{
     public string Address { get; set; }
     public string District { get; set; }
     public string City { get; set; }
     public string Country { get; set; }
     public string PostalCode { get; set; }
     public string Phone { get; set; }
     public string Fax { get; set; }
     public string Mail { get; set; }
     public string WebSite { get; set; }
}
```

```csharp
public class IDTypeDto
{
     public string SchemeID { get; set; }
     public string Value { get; set; }
}
```

### TaxNumber

<mark style="color:blue;">`string`</mark>  <mark style="color:red;">`Mandatory`</mark>

> This is the field where the Tax ID / Turkish Identification Number of the sender will be entered.

### Name

<mark style="color:blue;">`string`</mark>  <mark style="color:red;">`Mandatory`</mark>

> This is the field where the Title / Name Surname of the sender will be entered.

### TaxOffice

<mark style="color:blue;">`string`</mark>  <mark style="color:red;">`Mandatory`</mark>

> This is the field where the tax office of the sender will be entered.

### Address

<mark style="color:blue;">`string`</mark>  <mark style="color:red;">`Mandatory`</mark>

> This is the field where the address information of the sender will be entered.

### District

<mark style="color:blue;">`string`</mark>  <mark style="color:red;">`Mandatory`</mark>

> This is the field where the district information of the sender will be entered.

### City

<mark style="color:blue;">`string`</mark>  <mark style="color:red;">`Mandatory`</mark>

> This is the field where the city information of the sender will be entered.

### Country

<mark style="color:blue;">`string`</mark>  <mark style="color:red;">`Mandatory`</mark>

> This is the field where the country information of the sender will be entered.

### PostalCode

<mark style="color:blue;">`string`</mark>  <mark style="color:orange;">`Optional`</mark>

> This is the field where the postal code of the sender will be entered.

### Phone

<mark style="color:blue;">`string`</mark>  <mark style="color:orange;">`Optional`</mark>

> This is the field where the phone number of the sender will be entered.

### Fax

<mark style="color:blue;">`string`</mark>  <mark style="color:orange;">`Optional`</mark>

> The fax information of the sender is entered.

### Mail

<mark style="color:blue;">`string`</mark>  <mark style="color:orange;">`Optional`</mark>

> The email information of the sender is entered.

### WebSite

<mark style="color:blue;">`string`</mark>  <mark style="color:orange;">`Optional`</mark>

> The website information of the sender is entered.

### PartyIdentifications

<mark style="color:blue;">`string`</mark>  <mark style="color:orange;">`Optional`</mark>

> This is the field where other official information of the sender will be entered. Possible values are specified under the "Official Information Codes" section in the code lists.

```javascript
EInvoice.CompanyInfo.PartyIdentifications = [
                    { SchemeID: "TESISATNO", Value: "00000123456" }
];
```

### AgentPartyIdentifications

<mark style="color:blue;">`List`</mark>  <mark style="color:orange;">`Optional`</mark>

> This is the field where information belonging to the intermediary institution will be entered.
