DespatchInfo

This object is the object that contains the delivery note headers. Details about the object are described below.

UUID

It is the unique number to be used to track the delivery note in the Guid data type.

EDespatch.DespatchInfo.UUID = 'b8787efb-639d-4efc-85b5-953bf1dbaac0';

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

TemplateUUID

This field is used for the UUID of the XSLT that will be added to the delivery note. XSLT of the UUID is added to the delivery note.

EDespatch.DespatchInfo.TemplateUUID = '94e8b735-1361-4d6f-a4a6-3745b62239c8';

If the TemplateUUID field is full and the TemplateBase64String field is empty, the design of the entered TemplateUUID information will be added to the delivery note.

If the TemplateBase64String field is full, TemplateBase64String information will be added as the design of the delivery note, regardless of the TemplateUUID field.

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

TemplateBase64String

Base64 of the design to be added to the delivery note is added here.

  • If the TemplateUUID field is full and the TemplateBase64String field is empty, the design of the entered TemplateUUID information will be added to the delivery note.

  • If the TemplateBase64String field is full, TemplateBase64String information will be added as the design of the delivery note, regardless of the TemplateUUID field.

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

DespatchType

It is an object of enum data type. It can take the following values. The selection should be made according to the delivery note type.

    public enum DespatchType 
    {
        MATBUDAN = 0,
        SEVK = 1
    }
EDespatch.DespatchInfo.DespatchType = 0;

DespatchSerieOrNumber

You can enter the 16-digit e-Delivery Note number and 3-digit serial information in this field. If you enter a 16-digit delivery note number, no action will be taken and the value you entered as the delivery note number will be determined. If you enter a 3-digit series, a number is generated based on this series defined on the portal.

//Manual Delivery Note Number
EDespatch.DespatchInfo.DespatchSerieOrNumber = "EFT2022000000001";

//Series Information
EDespatch.DespatchInfo.DespatchSerieOrNumber = "EFT";

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

IssueDate

The delivery note date is entered in this field.

EDespatch.DespatchInfo.IssueDate = "2022-01-23T";

ActualDespatchDateTime

Delivery note time is entered in this field.

EDespatch.DespatchInfo.ActualDespatchDateTime= "10:20:39.846Z";

PayableAmount

This is the field where the amount to be paid on the delivery note will be entered.

EDespatch.DespatchInfo.PayableAmount= 18,2;

CurrencyCode

This field is where the currency of the delivery note will be entered. The possible values are specified under Currency Codes in the code lists section.

EDespatch.DespatchInfo.CurrencyCode = "TRY";

DespatchProfile

It is an object of enum data type. It can take the following values. This is the field where the scenario of the e-delivery note will be specified.

    public enum DespatchProfile 
    {
        TEMELIRSALIYE = 1,
        HKSIRSALIYE = 2
    }

It is the standard delivery note known as the transportation delivery note.

MatbuIssueDate

The date of the printed delivery note is entered in this field.

EDespatch.DespatchInfo.MatbuIssueDate= "2022-01-23T";

MatbuNumber

You must enter the 16-digit e-Delivery Note number in this field.

EDespatch.DespatchInfo.MatbuNumber= "EFT2022000000001";

Last updated