> For the complete documentation index, see [llms.txt](https://developer.nilvera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.nilvera.com/en/nilvera-model/expense/expenselines.md).

# ExpenseLines

> The field where all details of the expense voucher lines (goods / services) are entered.

```csharp
public class ExpenseLineDto
{
    public string Name { get; set; }
    public double Quantity { get; set; }
    public string UnitType { get; set; }
    public double Price { get; set; }
    public double KDVPercent { get; set; }
    public double KDVTotal { get; set; }
    public double GVWithholdingPercent { get; set; }
    public double GVWithholdingAmount { get; set; }
}
```

### Name

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

> The field where the name of the product / service is entered.

### Quantity

<mark style="color:blue;">`double`</mark>  <mark style="color:red;">`Required`</mark>

> The field where the quantity is entered.

### UnitType

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

> The field where the unit type is entered. Possible values are listed in the code lists section under Unit Codes.

### Price

<mark style="color:blue;">`double`</mark>  <mark style="color:red;">`Required`</mark>

> The field where the unit price is entered.

### KDVPercent

<mark style="color:blue;">`double`</mark>  <mark style="color:red;">`Required`</mark>

> The field where the VAT rate applied to the line is entered.

### KDVTotal

<mark style="color:blue;">`double`</mark>  <mark style="color:red;">`Required`</mark>

> The field where the VAT amount of the line is entered.

### GVWithholdingPercent

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

> The field where the income tax withholding rate applied to the line is entered.

### GVWithholdingAmount

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

> The field where the income tax withholding amount of the line is entered.

E.g.:

```javascript
Expense.ExpenseLines = [
    {
        Name: "Product Name",
        Quantity: 1,
        UnitType: "C62",
        Price: 100,
        KDVPercent: 20,
        KDVTotal: 20,
        GVWithholdingPercent: 0,
        GVWithholdingAmount: 0
    }
];
```
