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';
circle-info

If the field is left empty, a new UUID will be added to the receipt by the system.

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.

circle-info
  • If the TemplateUUID field is filled and the TemplateBase64String field is empty, the design corresponding to the entered TemplateUUID information will be added to the order.

  • If the TemplateBase64String field is filled, the TemplateBase64String information will be added as the order design regardless of the TemplateUUID field.

  • If the TemplateUUID and TemplateBase64String fields are left empty, the default design will be added to the order.

TemplateBase64String

string Seçimli

The Base64 version of the design to be added to the receipt is inserted here.

circle-info
  • If the TemplateUUID field is filled and the TemplateBase64String field is empty, the design corresponding to the entered TemplateUUID information will be added to the receipt.

  • If the TemplateBase64String field is filled, the TemplateBase64String information will be added as the receipt design regardless of the TemplateUUID field.

  • If the TemplateUUID and TemplateBase64String fields are left empty, the default design will be added to the receipt.

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.

circle-info

The EAD series registered in the portal is automatically assigned the next number.

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 RelatedDocumentType object is of type Enum. If the device registration number of the POS terminal is entered in the Code field, SALES_RECEIPT will be entered. If ETTN is entered in the Code field, this field specifies the type of invoice issued. It can take the values ​​eInvoice or ear 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