The document issued is a self-delivery credit note for cases that you want to cancel a self-delivery invoice.
json definition with remarks:
{
"currencyCode": "EUR",
"invoiceType": "ΠΙΣΤΩΤΙΚΟ ΑΥΤΟΠΑΡΑΔΟΣΗ ΛΙΑΝΙΚΗΣ ",
"invoiceTypeCode": "11.4",
"DocumentTypeCode": "INVOICE",
"series": "LKJH",
"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": "HOTEL",
"vat": "EL999999999",
"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": "Α7777"
},
"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