counterpart Structure
Itontains all the necessary fields required to determine a Counterpart.
Name | Description | |
---|---|---|
branch |
mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3. The branch, type of Integer |
|
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 |
|
country |
mandatory field. The country, type of String Get a list of all countries using myDATATools.getCountries |
|
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. |
|
documentNo |
Acceptable only for tax-free invoices (specialInvoiceCategory = 4) The document number, type of String |
|
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 |
|
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 |
|
street |
mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3. The street, type of String |
|
streetNo |
mandatory field only when the isDeliveryNote = True or the invoiceType = 9.3. The street number, type of String |
|
supplyAccountNo |
This field has value only in the case of fuel invoices. The electricity supply account number, type of string |
|
vatNumber |
mandatory field. The vat number, type of String |