The issued invoice includes room charges along with the accommodation, for which a receipt has already been issued and paid. In that case, the room charges are simply displayed in the final voucher that the customer receives when leaving the hotel. Example: Charges for products ordered by a customer in the room that have already been issued the moment of receiving them and their imprint is informative.

json definition with remarks:


{
    
    "currency": "EUR",
    "currencyCode": "EUR",
    "invoiceType": "ΑΠΟΔΕΙΞΗ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ",
    "invoiceTypeCode": "11.2",
    "specialInvoiceCategory": 2,
    "documentType": "ΑΠΟΔΕΙΞΗ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ",
    "documentTypeCode": "INVOICE",
    "series": "TEST",
    "number": "08",
    "dateIssued": "2023-03-14T13:33:43.845Z",
    "relativeDocuments": [],
    "orderCode": "Test1",
    "Issuer": {
        "RegisteredName": "BEST HOSPITALITY",
        "Vat": "EL123456789",
        "TaxOffice": "ΦΑΕ ΑΘΗΝΩΝ",
        "Activities": [
            "Hospitality"
        ],
        "GeneralCommercialRegistryNumber": "999999999",
        "Address": {
            "CountryCode": "GR",
            "City": "ΑΘΗΝΑ",
            "Street": "ΑΡΙΣΤΟΤΕΛΟΥΣ 14",
            "Postal": "12345"
        },
        "Phones": [
            "2106666666"
        ],
        "Url": "myurl.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": {}
        }
    },
    "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,
            "code": "Test1",
            "descriptions": [
                "Διαμονή 2 νύχτες"
            ],
            "specialFeatures": [],
            "quantity": 1,
            "allowancesCharges": [
                {
                    "type": 0
                }
            ],
            "unitPrice": 100.00,
            "netTotal": 100.00,
            "total": 124.00,
            "allowancesTotal": 0,
            "vatTotal": 24.00,
            "vatCategory": "24",
            "vatCategoryCode": 1,
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationType": "0",
                "classificationTypeCode": "E3_561_003",
                "classificationCategoryCode": "category1_3"
            }
        },
        {
            "lineNo": 2,
            "code": "Test1",
            "descriptions": [
                "Χρέωση room charge"
            ],
            "specialFeatures": [],
            "quantity": 1,
            "allowancesCharges": [
                {
                    "type": 0
                }
            ],
            "unitPrice": 12.4,
            "netTotal": 12.4,
            "total": 12.4,
            "allowancesTotal": 0,
            "vatTotal": 0,
            "vatCategory": "0",
            "VatExemptionCategoryCode": 27,
            "vatCategoryCode": 7,
            "vatExemption": "Λοιπές Εξαιρέσεις ΦΠΑ",
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationType": "0",
                "classificationTypeCode": "",
                "classificationCategoryCode": "category1_95"
            }
        }
    ],
    "summaries": {
        "totalNetAmount": 112.40,
        "totalVATAmount": 24.00,
        "totalGrossValue": 136.40,
        "totalAllowances": 0,
        "totalCharges": 0,
        "totalPayableAmount": 136.40
    },
    "vatAnalysis": [
        {
            "percentage": 24,
            "vatAmount": 24.00,
            "underlyingValue": 100.00
        }
    ],
    "DistributionDetails": {
        "internalDocumentId": "0004"
    },

    "isDelayedCode": 0
}

Important remarks

  • specialInvoiceCategory: This field has to be setted to value 2, to indicate that the invoice that is being issued includes room charges
  • 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.
  • 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