json definition with remarks:

{
    "publicSalt": "",
    "publicSignature": "",
    "integritySignature": "",
    "uid": "",
    "iaprSignPolicy": 2,
    "uniqueId": "",
    "authenticationCode": "",
    "currencyCode": "EUR",
    "invoiceType": "ΤΙΜΟΛΟΓΙΟ ΠΩΛΗΣΗΣ",
    "invoiceTypeCode": "1.1",
    "specialInvoiceCategory": 0,
    "variationType": 0,
    "documentTypeCode": "ELB2G",
    "isDeliveryNote": false,
    "OrderNumber": "",
    "DistributionDetails.DeliveryDestinationDetails.Address.GLN": "",
    "series": "B",
    "number": "0000237231",
    "dateIssued": "2024-10-21T10:43:32",
    "orderCode": "",
    "issuer": {
        "registeredName": "issuer's name",
        "vat": "EL118058830",
        "taxOffice": "ΙΒ ΑΘΗΝΩΝ",
        "activities": [
            ""
        ],
        "phones": [
            "0000000"
        ],
        "faxes": [
            "0000000"
        ],
        "emails": [
            ""
        ],
        "address": {
            "country": "Ελλάδα",
            "countryCode": "GR",
            "city": "issuer's city",
            "street": "issuer's street",
            "postal": "11528"
        },
        "posId": "0"
    },
    "counterParty": {
        "registeredName": "counter party's name",
        "vat": "EL090401013",
        "taxOffice": "",
        "activities": [
            ""
        ],
        "phones": [
            "000000"
        ],
        "address": {
            "countryCode": "GR",
            "city": "counter party's city",
            "street": "counter party's street",
            "postal": "54642"
        },
        "code": "0007718005"
    },
    "recipient": {
        "registeredName": "Recipient's name",
        "vat": "EL090401013",
        "address": {
            "countryCode": "GR",
            "city": "Recipient's city",
            "street": "Recipient's street",
            "postal": "54642"
        }
    },
    "allowancesCharges": [],
    "distributionDetails": {
        "internalDocumentId": "000712396895",
        "relativeDocuments": [
            "811111 16.04.2024"
        ],
        "deliveryDestinationDetails": {
            "address": {
                "countryCode": "GR",
                "city": "delivery dest. city",
                "street": "delivery dest. street",
                "postal": "54642"
            },
            "remarks": "",
            "phones": [
                "000000"
            ]
        }
    },
    "paymentDetails": {
        "previousBalance": 1109119.35,
        "newBalance": 1110236.95,
        "paymentMethods": [
            {
                "paymentMethodType": "Net 60 Days",
                "paymentMethodTypeCode": 1,
                "amount": 1117.6,
                "remarks": "Net 60 Days",
                "contactless": false
            }
        ]
    },
    "additionalDetails": {
        "accountingDepartmentEmails": [
            ""
        ],
        "transmissionMethod": "A",
        "avoidEmailGrouping": false
    },
    "details": [
        {
            "lineNo": 10,
            "classificationLineNo": 1,
            "ItemCodification": "",
            "code": "43795",
            "cpvCode": "33141540-7",
            "categoryId": "17.22",
            "descriptions": [
                "Product's specifications"
            ],
            "measurementUnit": "TMX",
            "measurementUnitCodeEN": "H87",
            "ItemCodification": "",
            "quantity": 9,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "GR Customer Rebate",
                    "code": "1",
                    "percentage": 5,
                    "amount": 17.22,
                    "underlyingValue": 344.43
                }
            ],
            "totalNetValueBeforeTotalDiscount": 344.43,
            "lotNumber": "P100306935",
            "unitPrice": 38.27,
            "netTotal": 327.21,
            "total": 346.84,
            "allowancesTotal": 17.22,
            "vatTotal": 19.63,
            "vatCategory": "6%",
            "vatCategoryCode": 3,
            "isInformative": false,
            "isHidden": false,
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationTypeCode": "E3_561_001",
                "classificationCategoryCode": "category1_1",
                "amount": 0
            }
        },
        {
            "lineNo": 20,
            "classificationLineNo": 1,
            "ItemCodification": "",
            "code": "43796",
            "cpvCode": "33141540-7",
            "categoryId": "38.27",
            "descriptions": [
                "Product's specifications"
            ],
            "measurementUnit": "TMX",
            "measurementUnitCodeEN": "H87",
            "quantity": 10,
            "allowancesCharges": [
                {
                    "type": 0,
                    "description": "GR Customer Rebate",
                    "code": "1",
                    "percentage": 5,
                    "amount": 38.27,
                    "underlyingValue": 765.4
                }
            ],
            "totalNetValueBeforeTotalDiscount": 765.4,
            "lotNumber": "P280342176",
            "unitPrice": 76.54,
            "netTotal": 727.13,
            "total": 770.76,
            "allowancesTotal": 38.27,
            "vatTotal": 43.63,
            "vatCategory": "6%",
            "vatCategoryCode": 3,
            "isInformative": false,
            "isHidden": false,
            "recordTypeCode": 0,
            "incomeClassification": {
                "id": 0,
                "classificationTypeCode": "E3_561_001",
                "classificationCategoryCode": "category1_1",
                "amount": 0
            }
        }
    ],
    "summaries": {
        "totalNetAmount": 1054.34,
        "totalVATAmount": 63.26,
        "totalGrossValue": 1117.6,
        "totalAllowances": 55.49,
        "totalCharges": 0,
        "totalPayableAmount": 1117.6
    },
    "vatAnalysis": [
        {
            "name": "6%",
            "percentage": 6,
            "vatAmount": 63.26,
            "underlyingValue": 1054.34
        }
    ],
    "miscellaneousData": {
        "moreInformation2": ""
    },
    "b2GDetails": {
        "contractingAuthority": "ΕΛΛΗΝΙΚΗ ΣΤΑΤΙΣΤΙΚΗ ΑΡΧΗ (ΕΛ.ΣΤΑΤ.)",
        "contractingAuthorityCode": "1000.E00854.0001",
        "contractReferenceCode": "0",
        "contractTypeCode": "3|0" //|ΑΔΑ Ή ΠΔΕ [B2G] MANDATORY CHECK THE WORD FILE ΣΕ ΠΕΡΙΠΤΩΣΗ ΠΟΥ ΔΕΝ ΕΧΟΥΜΕ ΣΥΜΒΑΣΗ ΑΚΟΜΑ ΜΕ ΤΟ ΚΡΑΤΟΣ ΒΑΖΟΥΜΕ ΜΗΔΕΝ3|0
    },
    "isDelayed": false,
    "isDelayedCode": 0
}