The document indicated as FNB is an order form which is used as a temporary receipt and reflects the value of services/products offered by the entity to an individual, but is in no way a tax document - a legal receipt/invoice. It is offset against the final receipt and is not sent to the AADE. For example, order form in the restaurant of the hotel.
json definition with remarks:
{
"currency": "EUR",
"currencyCode": "EUR",
"invoiceType": " ΑΠΟΔΕΙΞΗ ΠΑΡΑΓΓΕΛΙΑΣ",
"invoiceTypeCode": "11.2",
"documentType": "ΑΠΟΔΕΙΞΗ ΠΑΡΑΓΓΕΛΙΑΣ",
"documentTypeCode": "FNB", // special indicator for Food and Beverage
"series": "FNB",
"number": "2",
"dateIssued": "2022-12-23T13:33:43.845Z",
"relativeDocuments": [],
"orderCode": "Test1", // κωδικός παραγγελίας
"Issuer": {
"RegisteredName": "Best Hospitality",
"Vat": "EL123456789",
"TaxOffice": "ΦΑΕ ΑΘΗΝΩΝ",
"Activities": [
"ΤΡΑΠΕΖΑ"
],
"GeneralCommercialRegistryNumber": "999999999",
"Address": {
"CountryCode": "GR",
"City": "ΑΘΗΝΑ",
"Street": "ΑΡΙΣΤΟΤΕΛΟΥΣ 14",
"Postal": "12345"
},
"Phones": [
"2106666666"
],
"Url": "myhost.gr"
},
"counterParty": {
"registeredName": "CORRAS GAS Station Demo",
"registrationNumber": "154981088",
"vat": "EL154981088",
"taxOfficeCode": "ΦΑΕ ΑΘΗΝΩΝ",
"activities": [],
"generalCommercialRegistryNumber": "Γ.Ε.Μ.Η.",
"phones": [
"2109999999"
],
"faxes": [],
"emails": [],
"address": {
"countryCode": "GR",
"municipality": "ΑΘΗΝΑ",
"city": "ΑΘΗΝΑ",
"street": "Κηφισού 32, 11000 Athens, Greece",
"postal": "11000",
"geographicalCoordinates": {}
}
},
"DistributionDetails": {
"project":"Τραπέζι 2", // field for number of table
"internalDocumentId": "10004" // unique identifier in your system
},
"paymentDetails": {
"paymentMethods": [
{
"paymentMethodId": "1",
"paymentMethodType": "Credit Card",
"paymentMethodTypeCode": 7,
"amount": 100.00
}
],
"paymentDate": "2022-11-14T00:00:00",
"counterpartCurrency": "EUR"
},
"additionalDetails": {
"accountingDepartmentEmails": [
"test@example.com"
],
"transmissionMethod": "E",
"documentTemplate": ""
},
"details": [
{
"lineNo": 1,
"date": "2022-11-28T13:33:43.845Z",
"code": "Test1",
"descriptions": [
"Παροχή Υπηρεσιών Πληροφορικής"
],
"specialFeatures": [],
"quantity": 1,
"allowancesCharges": [
{
"type": 0
}
],
"unitPrice": 80.65,
"netTotal": 80.65,
"total": 100.00,
"allowancesTotal": 0,
"vatTotal": 19.35,
"vatCategory": "24",
"vatCategoryCode": 1,
"recordTypeCode": 0
}
],
"summaries": {
"totalNetAmount": 80.65,
"totalVATAmount": 19.35,
"totalGrossValue": 100.00,
"totalAllowances": 0,
"totalCharges": 0,
"totalPayableAmount": 100.00
},
"vatAnalysis": [
{
"percentage": 24,
"vatAmount": 19.35,
"underlyingValue": 100.00
}
],
"miscellaneousData": {},
"isDelayedCode": 0
}
Important remarks
- documentTypeCode: The indication “FNB” declares that the issued document is an order form and not a tax document - a legal receipt/invoice. This document is not transmitted to IAPR
- 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 FNB 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.
- 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