The issued document is a self-delivery document. Self-delivery is the supply by the person liable to VAT of certain goods or the use of services for the needs of that person or business and is not an income. For example, the case when a hotel employee consumes a product from the bar. According to the [IAPR/SETE](https://sete.gr/media/6751717/mydata-sete_part-b_.pdf), self-delivery documents are issued using types 11.1 and 11.2 for the hospitality sector. In case of cancellation, it is used the credit receipt 11.4.

json definition with remarks:

{
    "currencyCode": "EUR",
    "invoiceType": "ΑΥΤΟΠΑΡΆΔΟΣΗ ΛΙΑΝΙΚΗΣ ",
    "invoiceTypeCode": "11.1",
    "DocumentTypeCode": "INVOICE",
    "series": "78AEP",
    "number": "40000",
    "dateIssued": "2023-03-13",
    "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": "BEST HOSPITALITY",
        "vat": "EL123456789",
        "address": {
            "countryCode": "GR",
            "city": "",
            "street": "Test address",
            "postal": "12345",
            "number": ""
        }
    },
    "paymentDetails": {
        "paymentMethods": [
            {
                "paymentMethodTypeCode": "3",
                "amount": 2
            }
        ]
    },
    "details": [
        {
            "descriptions": [
                "Mini Bar Comp. 24%"
            ],
            "netTotal": 1.61,
            "vatTotal": 0.39,
            "total": 2,
            "vatCategoryCode": "1",
            "recordTypeCode": 0,
            "incomeClassification": {
                "classificationTypeCode": "",
                "classificationCategoryCode": "category1_95",
                "amount": 1.61
            }
        }
    ],
    "additionalDetails": {
        "accountingDepartmentEmails": [],
        "transmissionMethod": "A"
    },
    "distributionDetails": {
        "internalDocumentId": "H4444"
    },
    "vatAnalysis": [
        {
            "name": "24",
            "percentage": 24,
            "vatAmount": 0.39,
            "underlyingValue": 1.61
        }
    ],
    "summaries": {
        "totalNetAmount": 1.61,
        "totalVatAmount": 0.39,
        "totalGrossValue": 2
    },
    "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.
  • 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