BillInfo
This object contains the header information for the receipt. Details about this object are described below.
public class BillInfoDto
{
public Guid UUID { get; set; }
public Guid TemplateUUID { get; set; }
public string TemplateBase64String { get; set; }
public string BillSerieOrNumber { get; set; }
public DateTime IssueDate { get; set; }
public string CurrencyCode { get; set; }
public decimal? ExchangeRate { get; set; }
public RelatedDocument RelatedDocument { get; set; }
public ValidityPeriod ValidityPeriod { get; set; }
}UUID
Guid Seçimli
GUID is a unique number used to track receipts.
Bill.BillInfo.UUID = 'b8787efb-639d-4efc-85b5-953bf1dbaac0';TemplateUUID
Guid Seçimli
This field is used for the UUID of the XSLT that will be added to the invoice. The XSLT corresponding to this UUID is added to the invoice.
TemplateBase64String
string Seçimli
The Base64 version of the design to be added to the receipt is inserted here.
BillSerieOrNumber
string Zorunlu
You can enter the 16-digit e-receipt number and the 3-digit serial number in this field. If you enter the 16-digit receipt number, no action will be taken; the value you entered will be used as the receipt number. If you enter the 3-digit serial number, a number will be generated from that serial number defined on the portal.
IssueDate
DateTime Zorunlu
The date and time of the bill are entered in this field.
CurrencyCode
string Zorunlu
This field is where the currency of the receipt is entered. The available values are listed under Currency Codes in the code lists section.
ExchangeRate
string Seçimli
This field is where the exchange rate is entered if the receipt is issued in a currency other than Turkish Lira. The exchange rate information will be displayed on the receipt.
RelatedDocument
string Zorunlu
Upon completion of the service, the universal unique identification number (ETTN) of the e-Invoice or e-Archive Invoice to be issued, or the device registration number of the POS device used to issue the retail sales receipt, will be entered into the Code field.
The
RelatedDocumentTypeobject is of typeEnum. If the device registration number of the POS terminal is entered in theCodefield,SALES_RECEIPTwill be entered. IfETTNis entered in theCodefield, this field specifies the type of invoice issued. It can take the values eInvoiceorear Archive_Invoice.
ValidityPeriod
string Zorunlu
The e-receipt document contains the service duration. It includes the date and time the table was first used and the date and time it was closed.
Last updated