ProducerLines
This is the field where all details of receipt items (Goods / Services) will be entered.
public class EProducerLineDto
{
public string Name { get; set; }
public decimal Quantity { get; set; }
public string UnitType { get; set; }
public decimal Price { get; set; }
public List<TaxDto> Taxes { get; set; }
public decimal GVWithholdingPercent { get; set; }
public decimal GVWithholdingAmount { 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.
Quantity
decimal Compulsory
This is the field where the amount will be entered.
UnitType
string Compulsory
This is the field where the unit type will be entered. The possible values are specified under Unit Codes in the code lists section.
Price
string Zorunlu
This is the field where the product price 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.
stringCompulsory
Total: This is the field where the tax total will be entered.
decimalIt Varies Depending on the Tax.
Percent: This is the field where the tax rate will be entered.
decimalIt Varies Depending on the Tax.
Örn: If the tax entered belongs to VAT Withholding;
Producer.ProducerLines[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