counterpart Structure

Struct counterpart 
Itontains all the necessary fields required to determine a Counterpart.
Public Structure counterpart
This language is not supported or no code example is available.
public struct counterpart
This language is not supported or no code example is available.
Fields
 
Name Description
Public field branch mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3. 
The branch, type of Integer
Public field city It is a mandatory field for non Greek Counterparts. 
mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3, no matter if the counterpart is Greek or not. 
The city, type of String
Public field country mandatory field. 
The country, type of String 
Get a list of all countries using myDATATools.getCountries
Public field countryDocumentId The country code of the country that issued the supplyAccountNo
Usually it takes the same value as the country field. Only when the documentNo is also valued does this field have value.
Public field documentNo Acceptable only for tax-free invoices (specialInvoiceCategory = 4) 
The document number, type of String
Public field name It is a mandatory field for non Greek Counterparts. 
mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3, no matter if the counterpart is Greek or not. 
The name, type of String
Public field postalCode It is a mandatory field for non Greek Counterparts. 
mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3, no matter if the counterpart is Greek or not. 
The postal code, type of String
Public field street mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3. 
The street, type of String
Public field streetNo mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3. 
The street number, type of String
Public field supplyAccountNo This field has value only in the case of fuel invoices. 
The electricity supply account number, type of string
Public field vatNumber mandatory field. 
The vat number, type of String
Top

.NET Framework

Supported in: 3.5 or newer

In this article

Definition