# DespatchInfo

### UUID

> GUID is a unique number used to track delivery note responses.

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

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

### TemplateUUID

> This field is used for the UUID of the XSLT that will be added to the reply note. The XSLT corresponding to this UUID is added to the reply note.

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

{% 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 response invoice.\
If the TemplateBase64String field is filled, the TemplateBase64String information will be added as the design of the response invoice regardless of the TemplateUUID field.\
If the TemplateUUID and TemplateBase64String fields are left blank, the default design will be added to the response invoice.
{% endhint %}

### TemplateBase64String

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

{% 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 reply invoice.
* If the TemplateBase64String field is filled, the TemplateBase64String information will be added as the design of the reply invoice regardless of the TemplateUUID field.
* If the TemplateUUID and TemplateBase64String fields are left empty, the default design will be added to the reply invoice.
  {% endhint %}

### DespatchType

> An Enum object is a data type object. It can accept the following values. The selection should be made according to the type of delivery note.

```csharp
    public enum DespatchType 
    {
        MATBUDAN = 0,
        SEVK = 1
    }
```

```javascript
EDespatch.DespatchInfo.DespatchType = 0;
```

### DespatchSerieOrNumber

> You can enter the 16-digit e-Delivery Note number and the 3-digit serial number in this field. If you enter the 16-digit delivery note number, no action will be taken; the value you enter will be determined as the delivery note number. If you enter the 3-digit serial number, a number will be generated from that serial number defined on the portal.

```javascript
//Manuel İrsaliye Numarası
EDespatch.DespatchInfo.DespatchSerieOrNumber = "EFT2022000000001";

//Seri Bilgisi
EDespatch.DespatchInfo.DespatchSerieOrNumber = "EFT";
```

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

### IssueDate

> The delivery note date is entered in this field.

```javascript
EDespatch.DespatchInfo.IssueDate = "2022-01-23T";
```

### ActualDespatchDateTime

> The delivery time is entered in this field.

```javascript
EDespatch.DespatchInfo.ActualDespatchDateTime= "10:20:39.846Z";
```

### PayableAmount

> This is the field where the amount to be paid on the delivery note will be entered.

```javascript
EDespatch.DespatchInfo.PayableAmount= 18,2;
```

### CurrencyCode

> This field is where the currency of the delivery note is entered. The possible values ​​are listed under Currency Codes in the code lists section.

```javascript
EDespatch.DespatchInfo.CurrencyCode = "TRY";
```

### DespatchProfile

> It is an object of type Enum. It can accept the following values. This is the field where the scenario of the e-delivery note will be specified.

```csharp
    public enum DespatchProfile 
    {
        TEMELIRSALIYE = 1,
        HKSIRSALIYE = 2
    }
```

{% tabs %}
{% tab title="TEMELİRSALİYE" %}

> This is a standard consignment note, also known as a transport consignment note.
> {% endtab %}

{% tab title="HKSİRSALİYE" %}

> This is a delivery note created and registered in the HKS system.
> {% endtab %}
> {% endtabs %}

### MatbuIssueDate

> The date of the printed delivery note is entered in this field.

```javascript
EDespatch.DespatchInfo.MatbuIssueDate= "2022-01-23T";
```

### MatbuNumber

> You must enter the 16-digit printed e-Delivery Note number in this field.

```javascript
EDespatch.DespatchInfo.MatbuNumber= "EFT2022000000001";
```


---

# 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/edespatchanswer/despatchinfo.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.
