json definition with remarks:
{
"currencyCode": "EUR",
"invoiceType": "ΠΙΣΤΩΤΙΚΟ ΤΙΜΟΛΟΓΙΟ (163)",
"invoiceTypeCode": "5.2",
"specialInvoiceCategory": 0,
"variationType": 0,
"documentTypeCode": "INVOICE",
"isDeliveryNote": false,
"OrderNumber":"" ,
"DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
"series": "0485",
"number": "000005",
"dateIssued": "2024-10-21T14:56:50",
"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": "923fd6e9-40d9-4437-ae46-cfef46595741",
"movePurpose": "ΕΠΙΣΤΡΟΦΗ",
"totalQuantity": 0,
"movePurposeCode": 5,
"dispatchDate": "2024-09-26T14:57:09",
"dispatchTime": "2024-09-26T14:57:09",
"salesman": "ΛΟΥΚΑΣ",
"ldm": 0
},
"paymentDetails": {
"paymentMethods": [
{
"paymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
"paymentMethodTypeCode": 5,
"amount": 18500,
"amountAC": 0,
"contactless": false,
"tipAmount": 0,
"tipAmountAC": 0
}
]
},
"additionalDetails": {
"transmissionMethod": "A",
"sendAsPdf": false,
"avoidEmailGrouping": false,
"documentTemplate": "SP41",
"callback": false
},
"details": [
{
"lineNo": 1,
"ItemCodification":"",
"classificationLineNo": 1,
"code": "1",
"category": "2",
"colour": "BLUE (w466)",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"allowancesCharges": [
{
"type": 0,
"description": "ΕΚΠΤΩΣΗ",
"code": "1",
"level": 0,
"percentage": 12.56,
"amount": 2016.13,
"amountAC": 0,
"grossAmount": 16053.4,
"grossAmountAC": 0,
"underlyingValue": 16053.4,
"underlyingValueAC": 0,
"vatPercentage": 0,
"vatAmount": 0,
"vatAmountAC": 0
}
],
"totalNetValueBeforeTotalDiscount": 16053.4,
"unitPrice": 16053.4,
"netTotal": 14037.27,
"total": 17406.22,
"allowancesTotal": 2016.13,
"chargesTotal": 0,
"vatTotal": 3368.95,
"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_001",
"classificationCategoryCode": "category1_1",
"amount": 0
},
"noVat": false
},
{
"lineNo": 2,
"ItemCodification":"",
"classificationLineNo": 2,
"code": "100",
"descriptions": [
"ΕΙΔΙΚΟ ΤΕΛΟΣ ΤΑΞΙΝΟΜΗΣΗΣ"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 1093.78,
"unitPrice": 1093.78,
"netTotal": 1093.78,
"total": 1093.78,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 0,
"invoiceDetailTypeCode": 0,
"vatExemptionCategoryCode": 27,
"discountOption": false,
"vatCategory": "0",
"vatCategoryCode": 7,
"feesPercentCategoryCode": 10,
"isInformative": false,
"isHidden": false,
"recordTypeCode": 2,
"incomeClassification": {
"id": 0,
"amount": 0
},
"noVat": false
}
],
"summaries": {
"totalNetAmount": 15131.05,
"totalNetAmountAfterLineDiscounts": 0,
"totalVATAmount": 3368.95,
"totalWithheldAmount": 0,
"totalFeesAmount": 0,
"totalStampDutyAmount": 0,
"totalOtherTaxesAmount": 0,
"totalDeductionsAmount": 0,
"totalGrossValue": 18500,
"totalAllowances": 2016.13,
"totalPayableAmount": 18500
},
"vatAnalysis": [
{
"percentage": 24,
"vatAmount": 3368.95,
"vatAmountAC": 0,
"underlyingValue": 14037.27,
"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
}