The issued document includes order forms and is cleared with them. For example, the final receipt at the hotel restaurant when you ask for a bill.

json definition with remarks:


{
    "currency": "EUR",
    "currencyCode": "EUR",
    "invoiceType": "ΑΠΟΔΕΙΞΗ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ",
    "invoiceTypeCode": "11.2",
    "documentType": "ΑΠΟΔΕΙΞΗ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ",
    "documentTypeCode": "INVOICE",
    "series": "ABC",
    "number": "1",
    "DateIssued": "2022-12-28T00:00:00",
    "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": {}
        }
    },
    "PaymentDetails": {
        "PaymentMethods": [
            {
                "PaymentMethodTypeCode": 3,
                "Amount": 3.00
            }
        ],
        "fnbClearance": [
            "10001",
            "10002"
        ] // array of internalDocumentIds from Order Invoices associated with the receipt
    },
    "AdditionalDetails": {
        "AccountingDepartmentEmails": [
            "example@email.gr"
        ],
        "TransmissionMethod": "E"
    },
    "Details": [
        {
            "descriptions": [
                "SERVICE"
            ],
            "NetTotal": 2.61,
            "VATTotal": 0.39,
            "VatCategoryCode": 3,
            "incomeClassification": {
                "id": 0,
                "classificationTypeCode": "E3_561_003",
                "classificationCategoryCode": "category1_3",
                "amount": 2.61
            }
        }
    ],
    "Summaries": {
        "TotalNetAmount": 2.61,
        "TotalVATAmount": 0.39,
        "TotalGrossValue": 3.00
    },
    "VatAnalysis": [
        {
            "name": "6",
            "percentage": 6,
            "vatAmount": 0.39,
            "underlyingValue": 2.61
        }

    ],
    "DistributionDetails": {
        "project": "Τραπέζι 2",
        "internalDocumentId": "10006"
    },
    "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
  • fnbClearance: This is an array of internalDocumentIds from Order Invoices associated with the receipt and are cleared in this final receipt.
  • 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