InvoiceLines

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

public class EArchiveInvoiceLineDto
{
     public string Index { get; set; }
     public string SellerCode { get; set; }
     public string BuyerCode { get; set; }
     public string Name { get; set; }
     public string Description { get; set; }
     public decimal Quantity { get; set; }
     public string UnitType { get; set; }
     public decimal Price { get; set; }
     public decimal AllowanceTotal { get; set; }
     public decimal KDVPercent { get; set; }
     public decimal KDVTotal { get; set; }
     public List<TaxDto> Taxes { get; set; }
     public string ManufacturerCode { get; set; }
     public string BrandName { get; set; }
     public string ModelName { get; set; }
     public string Note { get; set; }
     public string OzelMatrahReason { get; set; }
     public decimal OzelMatrahTotal { get; set; }
}

Index

string Optional

This is the field where the sequence number of the invoice item will be specified.

SellerCode

string Optional

This is the field where the seller code of the product will be entered.

BuyerCode

string Optional

This is the field where the recipient code of the product will be entered.

Name

string Compulsory

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

Description

string Optional

This is the field where the description 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

decimal Compulsory

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

AllowanceTotal

decimal Compulsory

This is the field where the discount amount will be entered.

KDVPercent

decimal Optional

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

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

If the product has a VAT rate of 0, the tax exemption reason must be stated. See tax exemption object. TaxExemptionReasonInfo is the field where the VAT rate will be entered.

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;

ArchiveInvoice.InvoiceLines[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"
    }
]

ManufacturerCode

string Optional

This is the field where the manufacturer code will be entered.

BrandName

string Optional

This is the field where the brand name will be entered.

ModelName

string Optional

This is the field where the model name will be entered.

Note

string Optional

This is the field where the note will be added.

OzelMatrahReason

string Compulsory

This is the field where the special tax base reason will be entered. The possible values are specified under Special Base Codes in the code lists section.

It will be filled in if the invoice type is “OZELMATRAH”.

OzelMatrahTotal

decimal Compulsory

This is the field where the special tax base amount will be entered.

It will be filled in if the invoice type is “OZELMATRAH”.

The sales price will be entered as a single item. The VAT shown in the item will be calculated based on the "Special Base Amount".

Last updated