json definition with remarks:

{
    "currencyCode": "EUR",
    "invoiceType": "ΤΙΜΟΛΟΓΙΟ ΠΩΛΗΣΗΣ (Δ) (121) ",
    "invoiceTypeCode": "1.1",
    "specialInvoiceCategory": 0,
    "variationType": 0,
    "documentTypeCode": "INVOICE",
    "isDeliveryNote": false,
    "OrderNumber":"" ,      
    "DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
    "series": "0395",
    "number": "000597",
    "dateIssued": "2024-10-21T09:34:28",
    "issuer": {
        "registeredName": "Issuer's Name",
        "vat": "Issuer's VAT",
        "generalCommercialRegistryNumber": "Αρ. ΓΕ.ΜΗ",
        "registrationNumber": "ΑΡ.Μ.Α.Ε.",
        "phones": [
            "210800000"
        ],
        "faxes": [
            "210800000"
        ],
        "url": "",
        "address": {
            "countryCode": "GR",
            "country": "ΧΩΡΑ",
            "city": "ΠΟΛΗ",
            "street": "ΔΙΕΥΘΥΝΣΗ",
            "postal": "ΤΑΧ.ΚΩΔΙΚΟΣ"
        },
        "posId": "0",
        "branchAddress": {
            "countryCode": "GR",
            "country": "ΧΩΡΑ",
            "city": "ΠΟΛΗ",
            "street": "ΔΙΕΥΘΥΝΣΗ",
            "postal": "ΤΑΧ.ΚΩΔΙΚΟΣ"
        },
        "branchPhones": [
            "231000000"
        ],
        "branchFaxes": [
            "2310000000"
        ]
    },
    "counterParty": {
        "registeredName": "counterParty's Name",
        "vat": "counterParty's vat",
        "phones": [
            "281000000"
        ],
        "emails": [],
        "address": {
            "countryCode": "GR",
            "country": "ΧΩΡΑ",
            "city": "ΠΟΛΗ",
            "street": "ΔΙΕΥΘΥΝΣΗ",
            "postal": "ΤΑΧ.ΚΩΔΙΚΟΣ"
        }
    },
    "allowancesCharges": [],
    "distributionDetails": {
        "internalDocumentId": "a153fa8b-4377-4fb2-be73-c49ca24250f5",
        "movePurpose": "ΠΩΛΗΣΗ",
        "totalQuantity": 0,
        "movePurposeCode": 1,
        "dispatchDate": "2024-10-21T09:37:41",
        "dispatchTime": "2024-10-21T09:37:41",
        "salesman": "ΓΙΩΡΓΟΣ",
        "ldm": 0
    },
    "paymentDetails": {
        "paymentMethods": [
            {
                "paymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
                "paymentMethodTypeCode": 5,
                "amount": 29479.01,
                "amountAC": 0,
                "contactless": false,
                "tipAmount": 0,
                "tipAmountAC": 0
            }
        ]
    },
    "additionalDetails": {
        "transmissionMethod": "A",
        "sendAsPdf": false,
        "avoidEmailGrouping": false,
        "documentTemplate": "SP111",
        "callback": false
    },
    "details": [
        {
            "lineNo": 1,
            "ItemCodification":"",
            "classificationLineNo": 1,
            "code": "",
            "category": "",
            "colour": "",
            "descriptions": [
                "ITEM"
            ],
            "measurementUnitCode": 0,
            "quantity": 1,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 19,
                    "amount": 4555.79,
                    "amountAC": 0,
                    "grossAmount": 23977.52,
                    "grossAmountAC": 0,
                    "underlyingValue": 23977.52,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 23977.52,
            "unitPrice": 23977.52,
            "netTotal": 19421.73,
            "total": 24082.95,
            "allowancesTotal": 4555.79,
            "chargesTotal": 0,
            "vatTotal": 4661.22,
            "invoiceDetailTypeCode": 0,
            "vatExemptionCategoryCode": 0,
            "discountOption": false,
            "vatCategory": "24,00",
            "vatCategoryCode": 1,
            "feesPercentCategoryCode": 0,
            "isInformative": false,
            "isHidden": false,
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationTypeCode": "E3_561_001",
                "classificationCategoryCode": "category1_1",
                "amount": 0
            },
            "noVat": false
        },
        {
            "lineNo": 2,
            "ItemCodification":"",
            "classificationLineNo": 2,
            "code": "100",
            "descriptions": [
                "ΕΙΔΙΚΟ ΤΕΛΟΣ ΤΑΞΙΝΟΜΗΣΗΣ"
            ],
            "measurementUnitCode": 0,
            "quantity": 1,
            "totalNetValueBeforeTotalDiscount": 5396.06,
            "unitPrice": 5396.06,
            "netTotal": 5396.06,
            "total": 5396.06,
            "allowancesTotal": 0,
            "chargesTotal": 0,
            "vatTotal": 0,
            "invoiceDetailTypeCode": 0,
            "vatExemptionCategoryCode": 27,
            "discountOption": false,
            "vatCategory": "0",
            "vatCategoryCode": 7,
            "feesPercentCategoryCode": 10,
            "isInformative": false,
            "isHidden": false,
            "recordTypeCode": 2,
            "incomeClassification": {
                "id": 0,
                "amount": 0
            },
            "noVat": false
        }
    ],
    "summaries": {
        "totalNetAmount": 24817.79,
        "totalNetAmountAfterLineDiscounts": 0,
        "totalVATAmount": 4661.22,
        "totalWithheldAmount": 0,
        "totalFeesAmount": 0,
        "totalStampDutyAmount": 0,
        "totalOtherTaxesAmount": 0,
        "totalDeductionsAmount": 0,
        "totalGrossValue": 29479.01,
        "totalAllowances": 4555.79,
        "totalPayableAmount": 29479.01
    },
    "vatAnalysis": [
        {
            "percentage": 24,
            "vatAmount": 4661.22,
            "vatAmountAC": 0,
            "underlyingValue": 19421.73,
            "underlyingValueAC": 0,
            "vatExemptionCode": 0,
            "initialAmount": 0,
            "initialAmountAC": 0,
            "discountAmount": 0,
            "discountAmountAC": 0,
            "grossAmount": 0,
            "grossAmountAC": 0,
            "myDataCode": 0
        }
    ],
    "miscellaneousData": {
        "comments1": ""
    },
    "vatPaymentSuspension": false,
    "selfPricing": false,
    "isDelayed": false,
    "isDelayedCode": 0,
    "isRetail": false
}