The document issued is a retail receipt and includes environmental fees for plastic mostly. For example, the issued document includes environmental charges for the plastic lid of the coffee ordered by a customer.
json definition with remarks:
{
"Currency": "Euro",
"CurrencyCode": "EUR",
"InvoiceType": "ΑΠ-ΛΙΑΝ",
"InvoiceTypeCode": "11.1",
"SpecialInvoiceCategory": 0,
"VariationType": 0,
"DocumentTypeCode": "INVOICE",
"Series": "Α",
"Number": "5229",
"DateIssued": "2023-01-23T15:47:46.403",
"issuer": {
"registeredName": "BEST HOSPITALITY",
"vat": "EL123456789",
"taxOffice": "Φ.Α.Ε. ΑΘΗΝΩΝ",
"activities": [
"ΔΙΑΧ/ΣΗ ΦΙΛΟΞ/ΑΣ ΠΡΟΪΟΝΤΑ & ΥΠΗΡΕΣΙΕΣ"
],
"generalCommercialRegistryNumber": "99",
"phones": [
"210123456789"
],
"faxes": [
"210 123456789"
],
"emails": [
"info@besthospitality.gr"
],
"address": {
"countryCode": "GR",
"city": "ΝΕΟ ΗΡΑΚΛΕΙΟ",
"street": "ΟΔΟΣ ΑΡΙΘΜΟΣ",
"postal": "12345"
},
"branch": "Εδρα",
"posId": "0",
"branchAddress": {}
},
"CounterParty": {
"RegisteredName": "Λιανικής Πελάτης",
"Address": {}
},
"AllowancesCharges": [],
"DistributionDetails": {
"InternalDocumentId": "2c525021-7a82-4b95-82a2-cdca5729e4f5"
},
"PaymentDetails": {
"PaymentMethods": [
{
"PaymentMethodType": "cash",
"PaymentMethodTypeCode": 3,
"Amount": 6.8
}
],
"PaymentDate": "2023-01-18T15:47:46.403"
},
"Details": [
{
"LineNo": 1,
"Code": "K000093",
"Descriptions": [
"CAPPUCCINO DOUBLE"
],
"MeasurementUnit": "MU1",
"MeasurementUnitCode": 1,
"Quantity": 1,
"UnitPrice": 1.77,
"NetTotal": 1.77,
"Total": 2,
"VATTotal": 0.23,
"VatCategory": "Δ13",
"VatCategoryCode": 2,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_003",
"ClassificationCategoryCode": "category1_1",
"Amount": 1.77
}
},
{
"LineNo": 2,
"Code": "Π26",
"Descriptions": [
"ΠΟΤΗΡΙ -ΚΑΠΑΚΙ"
],
"MeasurementUnit": "MU1",
"MeasurementUnitCode": 1,
"Quantity": 1,
"UnitPrice": 0.04,
"NetTotal": 0.04,
"Total": 0.05,
"VATTotal": 0.01,
"VatCategory": "Π24",
"VatCategoryCode": 1,
"FeesPercentCategoryCode": 8,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 2
}
],
"Summaries": {
"TotalNetAmount": 1.81,
"TotalVATAmount": 0.24,
"TotalGrossValue": 2.05,
"TotalAllowances": 0
},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"skak@eurotel.gr"
],
"TransmissionMethod": "A"
},
"VatAnalysis": [
{
"name": "24",
"percentage": 24,
"vatAmount": 0.01,
"underlyingValue": 0.04
}
{
"name": "13",
"percentage": 13,
"vatAmount": 0.23,
"underlyingValue": 1.77
}
]
"IsDelayed": false,
"IsDelayedCode": 0
}
Important remarks
- Issuer: Τhe details of the issuer are entered in this object and it is mandatory for all the invoices
- Counterparty: Τhe details of the counterparty are entered in this object. It is not mandatory for the B2C documents.
- InternalDocumentId: It is a unique document number in the issuer’s system
- PaymethodTypeCode: This code corresponds to the paragraph 8.12 of IAPR myDATA documentation
- TransmissionMethod: If this field has value “E”, an email with the invoice url will be sent to the email address that has being setted to the field “AccountingDepartmentEmails”. If it has value “A”, the invoice is only going to be archived.
- Details: In this object, each line is a product/service that you sell and all the details of it.
- RecordTypeCode: This field needs to be setted to value 2, to indicate that the line is an environamental fee.
- Summaries: the summary ammounts
- VatAnalysis: The analysis of vat amounts by percentage
- IsDelayedCode: This field is used for heterochronous transmission. Value 0: Realtime, 1: Problem on the issuer side, 2: Problem on the AADE side