json definition with remarks:

{
    "currencyCode": "EUR",
    "invoiceType": "ΑΠΟΔΕΙΞΗ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ (Λ)",
    "invoiceTypeCode": "11.2",
    "specialInvoiceCategory": 0,
    "variationType": 0,
    "documentTypeCode": "INVOICE",
    "isDeliveryNote": false,
    "OrderNumber":"" ,      
    "DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
    "series": "0562",
    "number": "003405",
    "dateIssued": "2024-10-21T10:56:49",
    "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",
        "code": "0004546"
    },
    "allowancesCharges": [],
    "distributionDetails": {
        "internalDocumentId": "e8b135d1c9-1c7f-4fd2-bc69-ef406c050c8e",
        "movePurpose": "ΠΩΛΗΣΗ",
        "totalQuantity": 0,
        "movePurposeCode": 1,
        "dispatchDate": "2024-10-21T10:56:49",
        "dispatchTime": "2024-10-21T10:56:49",
        "salesman": "ΒΑΣΙΛΗΣ ",
        "ldm": 0
    },
    "paymentDetails": {
        "paymentMethods": [
            {
                "paymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
                "paymentMethodTypeCode": 5,
                "amount": 145.15,
                "amountAC": 0,
                "contactless": false,
                "tipAmount": 0,
                "tipAmountAC": 0
            }
        ]
    },
    "additionalDetails": {
        "transmissionMethod": "A",
        "sendAsPdf": false,
        "avoidEmailGrouping": false,
        "documentTemplate": "SP42",
        "callback": false
    },
    "details": [
        {
            "lineNo": 1,
            "ItemCodification":"",
            "classificationLineNo": 1,
            "code": "075000",
            "descriptions": [
                "service"
            ],
            "measurementUnitCode": 0,
            "quantity": 1.4,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 15,
                    "amount": 13.65,
                    "amountAC": 0,
                    "grossAmount": 91,
                    "grossAmountAC": 0,
                    "underlyingValue": 91,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 91,
            "unitPrice": 65,
            "netTotal": 77.35,
            "total": 95.91,
            "allowancesTotal": 13.65,
            "chargesTotal": 0,
            "vatTotal": 18.56,
            "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_003",
                "classificationCategoryCode": "category1_3",
                "amount": 0
            },
            "noVat": false
        },
        {
            "lineNo": 2,
            "ItemCodification":"",
            "classificationLineNo": 1,
            "code": "VAR",
            "descriptions": [
                "ΑΝΑΛΩΣΙΜΑ"
            ],
            "measurementUnitCode": 0,
            "quantity": 0.07,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 11.43,
                    "amount": 0.52,
                    "amountAC": 0,
                    "grossAmount": 4.55,
                    "grossAmountAC": 0,
                    "underlyingValue": 4.55,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 4.55,
            "unitPrice": 65,
            "netTotal": 4.03,
            "total": 5,
            "allowancesTotal": 0.52,
            "chargesTotal": 0,
            "vatTotal": 0.97,
            "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_003",
                "classificationCategoryCode": "category1_3",
                "amount": 0
            },
            "noVat": false
        },
        {
            "lineNo": 3,
            "ItemCodification":"",
            "classificationLineNo": 1,
            "code": "1",
            "descriptions": [
                "ITEM"
            ],
            "measurementUnitCode": 0,
            "quantity": 0.18,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 31.11,
                    "amount": 3.64,
                    "amountAC": 0,
                    "grossAmount": 11.7,
                    "grossAmountAC": 0,
                    "underlyingValue": 11.7,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 11.7,
            "unitPrice": 65,
            "netTotal": 8.06,
            "total": 9.99,
            "allowancesTotal": 3.64,
            "chargesTotal": 0,
            "vatTotal": 1.93,
            "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_003",
                "classificationCategoryCode": "category1_3",
                "amount": 0
            },
            "noVat": false
        },
        {
            "lineNo": 4,
            "ItemCodification":"",
            "classificationLineNo": 1,
            "code": "1",
            "descriptions": [
                "ITEM"
            ],
            "measurementUnitCode": 0,
            "quantity": 0.5,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 15,
                    "amount": 4.88,
                    "amountAC": 0,
                    "grossAmount": 32.5,
                    "grossAmountAC": 0,
                    "underlyingValue": 32.5,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 32.5,
            "unitPrice": 65,
            "netTotal": 27.62,
            "total": 34.25,
            "allowancesTotal": 4.88,
            "chargesTotal": 0,
            "vatTotal": 6.63,
            "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_003",
                "classificationCategoryCode": "category1_3",
                "amount": 0
            },
            "noVat": false
        }
    ],
    "summaries": {
        "totalNetAmount": 117.06,
        "totalNetAmountAfterLineDiscounts": 0,
        "totalVATAmount": 28.09,
        "totalWithheldAmount": 0,
        "totalFeesAmount": 0,
        "totalStampDutyAmount": 0,
        "totalOtherTaxesAmount": 0,
        "totalDeductionsAmount": 0,
        "totalGrossValue": 145.15,
        "totalAllowances": 22.69,
        "totalPayableAmount": 145.15
    },
    "vatAnalysis": [
        {
            "percentage": 24,
            "vatAmount": 28.09,
            "vatAmountAC": 0,
            "underlyingValue": 117.06,
            "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,
    "isFuelInvoice": false,
    "isRetail": true
}