# ProducerInfo

```csharp
    public class ProducerInfoDto
    {
        public Guid UUID { get; set; }
        public Guid TemplateUUID { get; set; }
        public string TemplateBase64String { get; set; }
        public DateTime DeliveryDate { get; set; }
        public string ProducerSerieOrNumber { get; set; }
        public DateTime IssueDate { get; set; } 
        public string CurrencyCode { get; set; }
        public decimal? ExchangeRate { get; set; }
    }
```

### UUID

> It is the unique number in the Guid data type that will be used to track the receipt.

```javascript
Producer.ProducerInfo.UUID = 'b8787efb-639d-4efc-85b5-953bf1dbaac0';
```

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

### TemplateUUID

> This field is used for the UUID of the XSLT that will be added to the receipt. XSLT of the UUID is added to the voucher.

```javascript
Producer.ProducerInfo.TemplateUUID = '94e8b735-1361-4d6f-a4a6-3745b62239c8';
```

{% hint style="info" %}

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

### TemplateBase64String

> The Base64 of the design to be added to the receipt is added here.

{% hint style="info" %}

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

### ProducerSerieOrNumber

> You can enter the 16-digit e-Producer Receipt number and 3-digit serial information in this field. If you enter a 16-digit receipt number, no action will be taken and the value you entered will be determined as the receipt number. If you enter a 3-digit series, a number is generated based on this series defined on the portal.

```javascript
//Manual Receipt Number
Producer.ProducerInfo.ProducerSerieOrNumber = "EFT2022000000001";

//Series Information
Producer.ProducerInfo.ProducerSerieOrNumber = "EFT";
```

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

### IssueDate

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

```javascript
Producer.ProducerInfo.IssueDate = "2022-01-23T10:20:39.846Z";
```

### CurrencyCode

> This field is where the currency of the receipt will be entered. The possible values are specified under Currency Codes in the code lists section.

```javascript
Producer.ProducerInfo.CurrencyCode = "TRY";
```

### ExchangeRate

> This is the field where the exchange rate will be entered when the receipt is issued in a currency other than Turkish lira. Exchange rate information will appear on the receipt.


---

# 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/producer/producerinfo.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.
