json definition with remarks:
{
"IAPRSignPolicy": 2,
"CurrencyCode": "EUR",
"InvoiceTypeCode": "1.1",
"SpecialInvoiceCategory": 0,
"VariationType": 0,
"DocumentType": "ΤΙΜΟΛΟΓΙΟ ΠΩΛΗΣΗΣ",
"DocumentTypeCode": "INVOICE",
"IsDeliveryNote": false,
"OrderNumber":"" ,
"DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
"Series": "ΤΠ",
"Number": "1234",
"DateIssued": "2024-10-22T00:00:00Z",
"Issuer": {
"RegisteredName": "Issuer's Registered Name",
"BrandName": "Issuer's Brand Name",
"RegistrationNumber": "Issuer's ARMAE",
"Vat": "EL123456789",
"TaxOffice": "TaxOffice",
"Activities": [
"Issuer's activity"
],
"GeneralCommercialRegistryNumber": "Issuer's GEMI",
"Phones": [
"Issuer's phone number"
],
"Faxes": [],
"Emails": [
"Issuer's email address"
],
"Url": "Issuer's URL",
"Address": {
"Country": "GR",
"CountryCode": "GR",
"Street": "Issuer's street name and number"
},
"Branch": "Branch location",
"BranchCode": 0,
"PosId": "0",
"BranchAddress": {
"City": "Branch Location",
"Street": "Branch street name and number",
"Postal": "Branch Postal code"
},
"BranchPhones": [
"Branch Phone",
""
]
},
"CounterParty": {
"RegisteredName": "CounterParty Registered Name",
"Vat": "EL123456789",
"Activities": [
"CounterParty activities"
],
"Phones": [
"CounterParty phone number"
],
"Faxes": [],
"Address": {
"CountryCode": "GR",
"City": "CounterParty city",
"Street": "CounterParty street name and number",
"Postal": "CounterParty Postal code"
},
"Code": "customer code"
},
"Recipient": {
"RegisteredName": "Recipient's Registered Name",
"Vat": "EL123456789",
"Address": {
"CountryCode": "GR",
"City": "Recipient's city",
"Street": "Recipient's street name and number",
"Postal": "Recipient's Postal code"
}
},
"AllowancesCharges": [],
"DistributionDetails": {
"InternalDocumentId": "Unique number for each invoice",
"DispatchTime": "2024-10-22T00:00:00Z",
"Delivery": "2024-10-22T00:00:00Z",
"RelativeDocuments": [],
"DeliveryOriginDetails": {
"Address": {
"CountryCode": "GR",
"City": "",
"Street": "Delivery street name and number",
"Postal": "Delivery postal code"
},
"Remarks": "",
"Phones": [
""
]
}
},
"PaymentDetails": {
"PreviousBalance": 10,
"PaymentMethods": [
{
"PaymentMethodType": "Επι Πιστώσει 30 Μέρες",
"PaymentMethodTypeCode": 5,
"Amount": 100,
"Remarks": "e.g. ΠΙΣΤΩΣΗ 30 ΗΜΕΡΩΝ",
"Contactless": false
}
]
},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"TEST@GMAIL.COM"
],
"TransmissionMethod": "A",
"AvoidEmailGrouping": false
},
"Details": [
{
"LineNo": 0,
"Code": "product code",
"Descriptions": [
"the name of the product or the service"
],
"MeasurementUnit": "Τεμάχια",
"MeasurementUnitCode": 1,
"MeasurementUnitCodeEN": "H87",
"ItemCodification":"",
"Quantity": 1,
"AllowancesCharges": [],
"TotalNetValueBeforeTotalDiscount": 705.51,
"UnitPrice": 705.51,
"NetTotalAfterInlineALCs": 705.51,
"NetTotal": 705.51,
"Total": 874.83,
"AllowancesTotal": 0,
"VATTotal": 169.32,
"VatCategory": "Vat percentage",
"VatCategoryCode": 1,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_001",
"ClassificationCategoryCode": "category1_1",
"Amount": 0
}
},
{
"LineNo": 1,
"Code": "product code",
"Descriptions": [
"the name of the product or the service"
],
"MeasurementUnit": "Τεμάχια",
"MeasurementUnitCode": 1,
"MeasurementUnitCodeEN": "H87",
"ItemCodification":"",
"Quantity": 1,
"AllowancesCharges": [],
"TotalNetValueBeforeTotalDiscount": 740.89,
"UnitPrice": 740.89,
"NetTotalAfterInlineALCs": 740.89,
"NetTotal": 740.89,
"Total": 918.7,
"AllowancesTotal": 0,
"VATTotal": 177.81,
"VatCategory": "Vat percentage",
"VatCategoryCode": 1,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_001",
"ClassificationCategoryCode": "category1_1",
"Amount": 0
}
},
{
"LineNo": 2,
"Code": "product code",
"Descriptions": [
"the name of the product or the service"
],
"MeasurementUnit": "Τεμάχια",
"MeasurementUnitCode": 1,
"MeasurementUnitCodeEN": "H87",
"ItemCodification":"",
"Quantity": 1,
"AllowancesCharges": [],
"TotalNetValueBeforeTotalDiscount": 659.31,
"UnitPrice": 659.31,
"NetTotalAfterInlineALCs": 659.31,
"NetTotal": 659.31,
"Total": 817.54,
"AllowancesTotal": 0,
"VATTotal": 158.24,
"VatCategory": "Vat percentage",
"VatCategoryCode": 1,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_001",
"ClassificationCategoryCode": "category1_1",
"Amount": 0
}
},
{
"LineNo": 3,
"Code": "product code",
"Descriptions": [
"the name of the product or the service"
],
"MeasurementUnit": "Τεμάχια",
"MeasurementUnitCode": 1,
"MeasurementUnitCodeEN": "H87",
"ItemCodification":"",
"Quantity": 1,
"AllowancesCharges": [],
"TotalNetValueBeforeTotalDiscount": 604.4,
"UnitPrice": 604.4,
"NetTotalAfterInlineALCs": 604.4,
"NetTotal": 604.4,
"Total": 749.46,
"AllowancesTotal": 0,
"VATTotal": 145.06,
"VatCategory": "Vat percentage",
"VatCategoryCode": 1,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_001",
"ClassificationCategoryCode": "category1_1",
"Amount": 0
}
}
],
"Summaries": {
"TotalCatalogNetAmount": 2710.11,
"TotalNetAmount": 2710.11,
"TotalVATAmount": 650.43,
"TotalGrossValue": 3360.54
},
"VatAnalysis": [
{
"Name": "24.0",
"Percentage": 24,
"VatAmount": 650.43,
"UnderlyingValue": 2710.11
}
],
"MiscellaneousData": {
"MoreInformation1": "Whatever you need to add, usually at invoice's footer"
},
"IsDelayed": false,
"IsDelayedCode": 0,
"IsRetail": false
}