# InsuranceInfo

```csharp
 public class InsuranceInfoDto
 {
     public Guid UUID { get; set; }
     public Guid TemplateUUID { get; set; }
     public string TemplateBase64String { get; set; }
     public string InsuranceSerieOrNumber { get; set; }
     public DateTime IssueDate { get; set; }
     public string CurrencyCode { get; set; }
     public decimal? ExchangeRate { get; set; }
     public InvoicePeriodDto InvoicePeriod { get; set; }
 }
```

## UUID

> GUID is a unique number used to track documents of the specified data type.

```csharp
Insurance.InsuranceInfo.UUID = 'b8787efb-639d-4efc-85b5-953bf1dbaac0';
```

{% hint style="info" %}
If the field is left empty, a new UUID will be added to the document by the system.
{% endhint %}

## TemplateUUID

> This field is used for the UUID of the XSLT file to be added to the document. The XSLT file corresponding to this UUID is added to the document.

<pre class="language-csharp"><code class="lang-csharp"><strong>Insurance.InsuranceInfo.TemplateUUID = '94e8b735-1361-4d6f-a4a6-3745b62239c8';
</strong></code></pre>

{% hint style="info" %}

* If the TemplateUUID field is filled and the TemplateBase64String field is empty, the design corresponding to the entered TemplateUUID information will be added to the document.
* If the TemplateBase64String field is filled, the TemplateBase64String information will be added as the document's design regardless of the TemplateUUID field.
* If the TemplateUUID and TemplateBase64String fields are left empty, the default design will be added to the document.
  {% endhint %}

### TemplateBase64String

> The Base64 version of the design to be included in the document is added here.

{% hint style="info" %}

* The design containing the TemplateUUID information will be attached to the receipt.
* If the TemplateBase64String field is already filled, the TemplateBase64String information will be added to the receipt design regardless of whether the TemplateUUID field is included.
* If the TemplateUUID and TemplateBase64String fields are left blank, the default design will be added to the receipt.
  {% endhint %}

## InsuranceSerieOrNumber

> In this field, you can enter the 16-digit e-Insurance Commission Expense Document number and the 3-digit serial number. If you enter the 16-digit document number, no action will be taken; the value you entered will be used as the document number. If you enter the 3-digit serial number, a number will be generated from that serial number defined on the portal.

```csharp
//Manuel Belge Numarası
Insurance.InsuranceInfo.InsuranceSerieOrNumber = "EFT2025000000001";

//Seri Bilgisi
Insurance.InsuranceInfo.InsuranceSerieOrNumber = "EFT";
```

{% hint style="info" %}
The EFT series registered in the portal is automatically assigned the next number.
{% endhint %}

## IssueDate

> The document date and time are entered in this field.

```csharp
Insurance.InsuranceInfo.IssueDate = "2022-01-23T10:20:39.846Z";
```

## CurrencyCode

> This field is where the document's currency is entered. Possible values ​​are listed under Currency Codes in the code lists section.

```csharp
Insurance.InsuranceInfo.CurrencyCode = "TRY";
```

## ExchangeRate

> This field is where the exchange rate is entered if the document is issued in a currency other than Turkish Lira. The exchange rate information will be displayed on the document.

## InvoicePeriod

> This is the area where the 'Period Start and End Dates' of the document will be entered.

```csharp
public class InvoicePeriodDto
{
    public DateTime? StartDate { get; set; }
    public DateTime? EndDate { get; set; }
    public string Description { get; set; }
}
```
