# VoucherLines

> Makbuz kalemlerinin(Mal / Hizmet) tüm detaylarının girileceği alandır.

```csharp
public class EVoucherLineDto
{
    public string Name { get; set; }
    public decimal GrossWage { get; set; }
    public decimal Price { get; set; }
    public decimal KDVPercent { get; set; }
    public decimal KDVTotal { get; set; }
    public List<TaxDto> Taxes { get; set; }
    public decimal GVWithholdingPercent { get; set; }
    public decimal GVWithholdingTotal { get; set; }
}
```

```csharp
public class TaxDto
{
    public string TaxCode { get; set; }
    public decimal? Total { get; set; }
    public decimal? Percent { get; set; }
    public string ReasonCode { get; set; }
    public string ReasonDesc { get; set; }
}
```

### Name

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

> Ürünün adının girileceği alandır.

### GrossWage

<mark style="color:blue;">`decimal`</mark>  <mark style="color:red;">`Zorunlu`</mark>

> Brüt ücretin girileceği alandır.

### Price

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

> Ürün fiyatının girileceği alandır.

### KDVPercent

<mark style="color:blue;">`decimal`</mark>  <mark style="color:orange;">`Seçimli`</mark>

> Ürünün KDV oranının girileceği alandır.

{% hint style="info" %}
**KDV Oranları:** 1, 10 ve 20'dir.<br>

KDV Oranı 0 olması durumunda vergi muafiyet sebebi belirtilmelidir. Vergi muafiyet nesnesi için Bkz.

TaxExcemptionReasonInfo
{% endhint %}

### KDVTotal

<mark style="color:blue;">`decimal`</mark>  <mark style="color:orange;">`Seçimli`</mark>

> Ürünün KDV toplamının girileceği alandır.

### Taxes

<mark style="color:blue;">`List`</mark>  <mark style="color:orange;">`Seçimli`</mark>

> Ürüne eklenecek diğer vergilerin girileceği alandır. Alabileceği değerler kod listeleri bölümünde Vergi Kodları altında belirtilmiştir.

```csharp
public class TaxDto
{
     public string TaxCode { get; set; }
     public decimal Total { get; set; }
     public decimal Percent { get; set; }
     public string ReasonCode { get; set; }
     public string ReasonDesc { get; set; }
}
```

> **TaxCode:** Vergi kodunun girileceği alandır.  <mark style="color:blue;">`string`</mark>  <mark style="color:red;">`Zorunlu`</mark>

> **Total:** Vergi toplamının girileceği alandır.  <mark style="color:blue;">`decimal`</mark>  <mark style="color:orange;">`Vergiye göre değişiklik gösterir.`</mark>

> **Percent:** Vergi oranının girileceği alandır.  <mark style="color:blue;">`decimal`</mark>  <mark style="color:orange;">`Vergiye göre değişiklik gösterir.`</mark>

{% hint style="info" %}
Girilen vergi kod listeleri bölümünde Tevkifat Kodları altında yer alıyor ise aşağıda bulunan alanların doldurulması zorunludur.

**ReasonCode:** Kodun girileceği alandır.

**ReasonDesc:** Kodun açıklamasının girileceği alandır.
{% endhint %}

> **Örn:** Eğer girilen vergi <mark style="color:red;">**KDV Tevkifatına**</mark> ait ise;

```javascript
Voucher.VoucherLines[0].Taxes = [
    {
        TaxCode: "9015",
        Total: 1.72, //1.72 örnek olarak verilmiştir.
        Percent: 40,
        ReasonCode: "601",
        ReasonDesc: "Yapım İşleri İle Bu İşlerle Birlikte İfa Edilen Mühendislik"
    }
]
```

### GVWithholdingPercent

<mark style="color:blue;">`decimal`</mark><mark style="color:orange;">`Seçimli`</mark>

> Gelir Vergisi Stopajı yüzdesinin girileceği alandır.

### GVWithholdingAmounth

<mark style="color:blue;">`decimal`</mark><mark style="color:orange;">`Seçimli`</mark>

> Gelir Vergisi Stopajı tutarının girileceği alandır.


---

# 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/nilvera-model/voucher/voucherlines.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.
