json definition with remarks:
{
"currencyCode": "EUR",
"invoiceType": "ΑΠΟΔΕΙΞΗ ΛΙΑΝΙΚΗΣ ΠΩΛΗΣΗΣ (Δ)",
"invoiceTypeCode": "11.1",
"specialInvoiceCategory": 0,
"variationType": 0,
"documentTypeCode": "INVOICE",
"isDeliveryNote": false,
"OrderNumber":"" ,
"DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
"series": "0393",
"number": "000063",
"dateIssued": "2024-10-21T14:46:00",
"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",
},
"allowancesCharges": [],
"distributionDetails": {
"internalDocumentId": "dfe27407-77aa-4d64-b49b-9a9d81104da2",
"movePurpose": "ΠΩΛΗΣΗ",
"totalQuantity": 0,
"movePurposeCode": 1,
"dispatchDate": "2024-10-10T14:47:17",
"dispatchTime": "2024-10-10T14:47:17",
"salesman": "HASKO ALTIN",
"ldm": 0
},
"paymentDetails": {
"paymentMethods": [
{
"paymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
"paymentMethodTypeCode": 5,
"amount": 12120,
"amountAC": 0,
"contactless": false,
"tipAmount": 0,
"tipAmountAC": 0
}
]
},
"additionalDetails": {
"transmissionMethod": "A",
"sendAsPdf": false,
"avoidEmailGrouping": false,
"documentTemplate": "SP41VAT22",
"callback": false
},
"details": [
{
"lineNo": 1,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "3",
"category": "3",
"colour": "ΓΚΡΙ 00 (ΓΚ)",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 8044,
"unitPrice": 8044,
"netTotal": 8044,
"total": 8044,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 0,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 22,
"discountOption": false,
"vatCategory": "0",
"vatCategoryCode": 7,
"feesPercentCategoryCode": 0,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 0,
"incomeClassification": {
"id": 0,
"classificationTypeCode": "E3_561_003",
"classificationCategoryCode": "category1_1",
"amount": 0
},
"noVat": false
},
{
"lineNo": 2,
"ItemCodification":"",
"classificationLineNo": 2,
"code": "1",
"category": "2",
"colour": "ΓΚΡΙ 0000 (ΓΚ)",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 3287.1,
"unitPrice": 3287.1,
"netTotal": 3287.1,
"total": 4076,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 788.9,
"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_1",
"amount": 0
},
"noVat": false
}
],
"summaries": {
"totalNetAmount": 11331.1,
"totalNetAmountAfterLineDiscounts": 0,
"totalVATAmount": 788.9,
"totalWithheldAmount": 0,
"totalFeesAmount": 0,
"totalStampDutyAmount": 0,
"totalOtherTaxesAmount": 0,
"totalDeductionsAmount": 0,
"totalGrossValue": 12120,
"totalAllowances": 0,
"totalPayableAmount": 12120
},
"vatAnalysis": [
{
"percentage": 24,
"vatAmount": 788.9,
"vatAmountAC": 0,
"underlyingValue": 3287.1,
"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
}