json definition with remarks:
{
"currencyCode": "EUR",
"invoiceType": "ΑΠΟΔΕΙΞΗ ΑΥΤΟΠΑΡΑΔΟΣΗΣ (196) ",
"invoiceTypeCode": "6.2",
"specialInvoiceCategory": 0,
"variationType": 0,
"documentTypeCode": "INVOICE",
"isDeliveryNote": false,
"OrderNumber":"" ,
"DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
"series": "0952",
"number": "002552",
"dateIssued": "2024-10-21T15:18:53",
"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": "92e44147-c856-4013-b3fb-9caa4c6f0cbc",
"movePurpose": "ΔΩΡΕΑΝ ΔΙΑΘΕΣΗ",
"totalQuantity": 0,
"movePurposeCode": 1,
"dispatchDate": "2024-10-10T15:19:05",
"dispatchTime": "2024-10-10T15:19:05",
"salesman": "ΝΙΚΟΛΑΟΣ",
"ldm": 0
},
"paymentDetails": {
"paymentMethods": [
{
"paymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
"paymentMethodTypeCode": 5,
"amount": 152.72,
"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": 0.6,
"totalNetValueBeforeTotalDiscount": 7.8,
"unitPrice": 13,
"netTotal": 7.8,
"total": 9.67,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 1.87,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 0,
"discountOption": false,
"vatCategory": "24,00",
"vatCategoryCode": 1,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
},
{
"lineNo": 2,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "1",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1.5,
"totalNetValueBeforeTotalDiscount": 19.5,
"unitPrice": 13,
"netTotal": 19.5,
"total": 24.18,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 4.68,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 0,
"discountOption": false,
"vatCategory": "24,00",
"vatCategoryCode": 1,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
},
{
"lineNo": 3,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "2",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 16.05,
"unitPrice": 16.05,
"netTotal": 16.05,
"total": 19.9,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 3.85,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 0,
"discountOption": false,
"vatCategory": "24,00",
"vatCategoryCode": 1,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
},
{
"lineNo": 4,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "3",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 12.95,
"unitPrice": 12.95,
"netTotal": 12.95,
"total": 16.06,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 3.11,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 0,
"discountOption": false,
"vatCategory": "24,00",
"vatCategoryCode": 1,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
},
{
"lineNo": 5,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "4",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 17,
"unitPrice": 17,
"netTotal": 17,
"total": 21.08,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 4.08,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 0,
"discountOption": false,
"vatCategory": "24,00",
"vatCategoryCode": 1,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
},
{
"lineNo": 6,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "2",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 44.01,
"unitPrice": 44.01,
"netTotal": 44.01,
"total": 54.57,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 10.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_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
},
{
"lineNo": 7,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "5",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 0.55,
"unitPrice": 0.55,
"netTotal": 0.55,
"total": 0.68,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 0.13,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 0,
"discountOption": false,
"vatCategory": "24,00",
"vatCategoryCode": 1,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
},
{
"lineNo": 8,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "6",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 0.55,
"unitPrice": 0.55,
"netTotal": 0.55,
"total": 0.68,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 0.13,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 0,
"discountOption": false,
"vatCategory": "24,00",
"vatCategoryCode": 1,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
},
{
"lineNo": 9,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "7",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 2,
"totalNetValueBeforeTotalDiscount": 4.76,
"unitPrice": 2.38,
"netTotal": 4.76,
"total": 5.9,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 1.14,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 0,
"discountOption": false,
"vatCategory": "24,00",
"vatCategoryCode": 1,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_595",
"classificationCategoryCode": "category1_6",
"amount": 0
},
"noVat": false
}
],
"summaries": {
"totalNetAmount": 123.17,
"totalNetAmountAfterLineDiscounts": 0,
"totalVATAmount": 29.55,
"totalWithheldAmount": 0,
"totalFeesAmount": 0,
"totalStampDutyAmount": 0,
"totalOtherTaxesAmount": 0,
"totalDeductionsAmount": 0,
"totalGrossValue": 152.72,
"totalAllowances": 0,
"totalPayableAmount": 152.72
},
"vatAnalysis": [
{
"percentage": 24,
"vatAmount": 29.55,
"vatAmountAC": 0,
"underlyingValue": 123.17,
"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": false
}