json definition with remarks:
{
"currencyCode": "EUR",
"invoiceType": "ΑΠΟΔ.ΕΠΙΣΤΡ.ΛΙΑΝ.ΠΩΛΗΘΕΝΤΩΝ",
"invoiceTypeCode": "11.4",
"specialInvoiceCategory": 0,
"variationType": 0,
"documentTypeCode": "INVOICE",
"isDeliveryNote": false,
"OrderNumber":"" ,
"DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
"series": "Α",
"number": "20000006",
"dateIssued": "2024-10-21T13:32:11",
"relativeDocuments": [
""
],
"correlatedInvoices": [],
"orderCode": "",
"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",
"code": "01-66666611"
},
"allowancesCharges": [],
"distributionDetails": {
"internalDocumentId": "4d335238-7073-46bf-a4a1-64d74699bb36244f",
"movePurpose": "ΕΠΙΣΤΡΟΦΗ",
"totalQuantity": 0,
"movePurposeCode": 5,
"dispatchDate": "2024-10-24T09:58:28",
"dispatchTime": "2024-10-24T09:58:28",
"salesman": "ΕΚΤΩΡ",
"ldm": 0
},
"paymentDetails": {
"paymentMethods": [
{
"paymentMethodType": "ΕΠΙ ΠΙΣΤΩΣΕΙ",
"paymentMethodTypeCode": 5,
"amount": 49990,
"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": "Shadow Green/Tahitian blue (PZ009015034188)",
"descriptions": [
"ITEM"
],
"measurementUnitCode": 0,
"quantity": 1,
"totalNetValueBeforeTotalDiscount": 40314.52,
"unitPrice": 40314.52,
"netTotal": 40314.52,
"total": 49990,
"allowancesTotal": 0,
"chargesTotal": 0,
"vatTotal": 9675.48,
"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": 40314.52,
"totalNetAmountAfterLineDiscounts": 0,
"totalVATAmount": 9675.48,
"totalWithheldAmount": 0,
"totalFeesAmount": 0,
"totalStampDutyAmount": 0,
"totalOtherTaxesAmount": 0,
"totalDeductionsAmount": 0,
"totalGrossValue": 49990,
"totalAllowances": 0,
"totalPayableAmount": 49990
},
"vatAnalysis": [
{
"percentage": 24,
"vatAmount": 9675.48,
"vatAmountAC": 0,
"underlyingValue": 40314.52,
"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
}