# CompanyInfo

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

{% hint style="info" %}
CompanyInfo derives from the PartyInfoDto object.
{% endhint %}

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

```javascript
ArchiveInvoice.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;">`Compulsory`</mark>

> Sender's Tax / T.R. This is the field where the ID Number will be entered.

### Name

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

> This is the field where the Sender's Title / Name and Surname will be entered.

### TaxOffice

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

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

### Address

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

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

### District&#x20;

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

> This is the field where the sender's district information is entered.

### City

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

> This is the field where the sender's city information is entered.

### Country

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

> This is the field where the sender's country information is 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 sender's phone number will be entered.

### Fax

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

> The sender's fax information is entered.

### Mail

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

> The sender's e-mail information is entered

### WebSite

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

> The sender's website information is entered.

### PartyIdentifications

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

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

```javascript
ArchiveInvoice.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 about the brokerage firm 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/archiveinvoice/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.
