json definition with remarks:

{
    "currencyCode": "EUR",
    "invoiceType": "ΤΙΜΟΛΟΓΙΟ ΠΩΛΗΣΗΣ (Δ) (121) ",
    "invoiceTypeCode": "1.2",
    "specialInvoiceCategory": 0,
    "variationType": 0,
    "documentTypeCode": "INVOICE",
    "isDeliveryNote": false,
    "OrderNumber":"" ,      
    "DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
    "series": "0792",
    "number": "000776",
    "dateIssued": "2024-10-21T15:06:03",
    "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": "DE",
            "country": "ΧΩΡΑ",
            "city": "ΠΟΛΗ",
            "street": "ΔΙΕΥΘΥΝΣΗ",
            "postal": "ΤΑΧ.ΚΩΔΙΚΟΣ"
        }
    },
    "allowancesCharges": [],
    "distributionDetails": {
        "internalDocumentId": "e32969f2-eae0-49bd-aadf-24e7225d11b51e",
        "movePurpose": "ΠΩΛΗΣΗ",
        "totalQuantity": 0,
        "movePurposeCode": 1,
        "dispatchDate": "2024-09-23T15:06:08",
        "dispatchTime": "2024-09-23T15:06:08",
        "salesman": "VPS1 ",
        "ldm": 0
    },
    "paymentDetails": {
        "paymentMethods": [
            {
                "paymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
                "paymentMethodTypeCode": 5,
                "amount": 172.89,
                "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": "1",
            "descriptions": [
                "ITEM"
            ],
            "measurementUnitCode": 0,
            "quantity": 6,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 20,
                    "amount": 21.96,
                    "amountAC": 0,
                    "grossAmount": 109.8,
                    "grossAmountAC": 0,
                    "underlyingValue": 109.8,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 109.8,
            "unitPrice": 18.3,
            "netTotal": 87.84,
            "total": 87.84,
            "allowancesTotal": 21.96,
            "chargesTotal": 0,
            "vatTotal": 0,
            "invoiceDetailTypeCode": 0,
            "vatExemptionCategoryCode": 4,
            "discountOption": false,
            "vatCategory": "0",
            "vatCategoryCode": 7,
            "feesPercentCategoryCode": 0,
            "isInformative": false,
            "isHidden": false,
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationTypeCode": "E3_561_005",
                "classificationCategoryCode": "category1_1",
                "amount": 0
            },
            "noVat": false
        },
        {
            "lineNo": 2,
            "ItemCodification":"",
            "classificationLineNo": 1,
            "code": "2",
            "descriptions": [
                "ITEM"
            ],
            "measurementUnitCode": 0,
            "quantity": 1,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 20,
                    "amount": 4.46,
                    "amountAC": 0,
                    "grossAmount": 22.3,
                    "grossAmountAC": 0,
                    "underlyingValue": 22.3,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 22.3,
            "unitPrice": 22.3,
            "netTotal": 17.84,
            "total": 17.84,
            "allowancesTotal": 4.46,
            "chargesTotal": 0,
            "vatTotal": 0,
            "invoiceDetailTypeCode": 0,
            "vatExemptionCategoryCode": 4,
            "discountOption": false,
            "vatCategory": "0",
            "vatCategoryCode": 7,
            "feesPercentCategoryCode": 0,
            "isInformative": false,
            "isHidden": false,
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationTypeCode": "E3_561_005",
                "classificationCategoryCode": "category1_1",
                "amount": 0
            },
            "noVat": false
        },
        {
            "lineNo": 3,
            "ItemCodification":"",
            "classificationLineNo": 1,
            "code": "3",
            "descriptions": [
                "ITEM"
            ],
            "measurementUnitCode": 0,
            "quantity": 1,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 20,
                    "amount": 0.44,
                    "amountAC": 0,
                    "grossAmount": 2.21,
                    "grossAmountAC": 0,
                    "underlyingValue": 2.21,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 2.21,
            "unitPrice": 2.21,
            "netTotal": 1.77,
            "total": 1.77,
            "allowancesTotal": 0.44,
            "chargesTotal": 0,
            "vatTotal": 0,
            "invoiceDetailTypeCode": 0,
            "vatExemptionCategoryCode": 4,
            "discountOption": false,
            "vatCategory": "0",
            "vatCategoryCode": 7,
            "feesPercentCategoryCode": 0,
            "isInformative": false,
            "isHidden": false,
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationTypeCode": "E3_561_005",
                "classificationCategoryCode": "category1_1",
                "amount": 0
            },
            "noVat": false
        },
        {
            "lineNo": 4,
            "ItemCodification":"",
            "classificationLineNo": 1,
            "code": "4",
            "descriptions": [
                "ITEM"
            ],
            "measurementUnitCode": 0,
            "quantity": 1,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "ΕΚΠΤΩΣΗ",
                    "code": "1",
                    "level": 0,
                    "percentage": 20,
                    "amount": 16.36,
                    "amountAC": 0,
                    "grossAmount": 81.8,
                    "grossAmountAC": 0,
                    "underlyingValue": 81.8,
                    "underlyingValueAC": 0,
                    "vatPercentage": 0,
                    "vatAmount": 0,
                    "vatAmountAC": 0
                }
            ],
            "totalNetValueBeforeTotalDiscount": 81.8,
            "unitPrice": 81.8,
            "netTotal": 65.44,
            "total": 65.44,
            "allowancesTotal": 16.36,
            "chargesTotal": 0,
            "vatTotal": 0,
            "invoiceDetailTypeCode": 0,
            "vatExemptionCategoryCode": 4,
            "discountOption": false,
            "vatCategory": "0",
            "vatCategoryCode": 7,
            "feesPercentCategoryCode": 0,
            "isInformative": false,
            "isHidden": false,
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationTypeCode": "E3_561_005",
                "classificationCategoryCode": "category1_1",
                "amount": 0
            },
            "noVat": false
        }
    ],
    "summaries": {
        "totalNetAmount": 172.89,
        "totalNetAmountAfterLineDiscounts": 0,
        "totalVATAmount": 0,
        "totalWithheldAmount": 0,
        "totalFeesAmount": 0,
        "totalStampDutyAmount": 0,
        "totalOtherTaxesAmount": 0,
        "totalDeductionsAmount": 0,
        "totalGrossValue": 172.89,
        "totalAllowances": 43.22,
        "totalPayableAmount": 172.89
    },
    "vatAnalysis": [],
    "miscellaneousData": {
        "comments1": ""
    },
    "vatPaymentSuspension": false,
    "selfPricing": false,
    "isDelayed": false,
    "isDelayedCode": 0,
    "isFuelInvoice": false,
    "isRetail": false
}