# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.nilvera.com/en/nilvera-model/insurance/companyinfo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
