VoucherLines

This is the field where all details of receipt items (Goods / Services) will be entered.

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; }
}
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

string Compulsory

This is the field where the name of the product will be entered.

GrossWage

decimal Compulsory

This is the field where the gross wage will be entered.

Price

string Compulsory

This is the field where the product price will be entered.

KDVPercent

decimal Optional

This is the field where the VAT rate of the product will be entered.

KDV Oranları: 1, 10 ve 20'dir.

If the VAT rate is 0, the reason for tax exemption must be stated. See tax exemption object.

TaxExcemptionReasonInfo

KDVTotal

decimal Optional

This is the field where the VAT total of the product will be entered.

Taxes

List Optional

This is the field where other taxes to be added to the product will be entered. The possible values are specified under Tax Codes in the code lists section.

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: This is the field where the tax code is entered. string Compulsory

Total: This is the field where the tax total will be entered. decimal It Varies Depending on the Tax.

Percent: This is the field where the tax rate will be entered. decimal It Varies Depending on the Tax.

If it is included under Withholding Codes in the entered tax code lists section, the fields below must be filled.

ReasonCode: This is the field where the code will be entered.

ReasonDesc: This is the field where the description of the code will be entered.

Örn: If the tax entered belongs to VAT Withholding;

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

decimalOptional

This is the field where the Income Tax Withholding percentage will be entered.

GVWithholdingAmounth

decimalOptional

This is the field where the Income Tax Withholding amount will be entered.

Last updated