json definition with remarks:
{
"Currency": "Euro",
"CurrencyCode": "EUR",
"InvoiceTypeCode": "5.2",
"SpecialInvoiceCategory": 0,
"VariationType": 0,
"DocumentType": "Πιστωτικό Τιμολόγιο Αυτοτιμολόγησης",
"DocumentTypeCode": "INVOICE",
"SelfPricing": true, // Declares that it is self-billing
"IsDeliveryNote": false,
"OrderNumber":"" ,
"DistributionDetails.DeliveryDestinationDetails.Address.GLN" :"",
"Series": "ΤΠΥ",
"Number": "0028",
"DateIssued": "2024-10-18T10:30: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",
"Vat": "CounterParty's VAT",
"Address": {
"countryCode": "GR",
"country": "ΧΩΡΑ",
"city": "ΠΟΛΗ",
"street": "ΔΙΕΥΘΥΝΣΗ",
"postal": "ΤΑΧ.ΚΩΔΙΚΟΣ"
},
"phones": [
""
],
"emails": [
""
]
},
"AllowancesCharges": [],
"ContractOrderDetails": {
"ContractTypeCode": "12113812", //Αρ. Ασφαλιστηρίου
"Code": "102807311" //Αρ. Φακέλου Ζημιάς
},
"DistributionDetails": {
"InternalDocumentId": "4655550020"
},
"PaymentDetails": {
"PaymentMethods": [
{
"PaymentMethodType": "Επί πιστώσει",
"PaymentMethodTypeCode": 5,
"Amount": 190.00,
"Contactless": false
}
],
"PaymentDate": "2024-10-19T00:00:00"
},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
""
],
"TransmissionMethod": "A",
"AvoidEmailGrouping": false
},
"Details": [
{
"LineNo": 1,
"ItemCodification":"",
"Descriptions": [
"ITEM"
],
"Quantity": 1,
"UnitPrice": 190,
"NetTotal": 190,
"Total": 190,
"VATTotal": 0,
"VatExemptionCategoryCode": 7,
"VatCategory": "0",
"VatCategoryCode": 7,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"ExpensesClassification": { //IAPR expenses classification - paragraph 8.11 of mydata documentation
"ClassificationTypeCode": "E3_585_016",
"ClassificationCategoryCode": "category2_3",
"Amount": 190
},
"VatClassification": { //IAPR vat classification - paragraph 8.11 of mydata documentation
"ClassificationTypeCode": "VAT_361",
"ClassificationCategoryCode": "category2_3",
"Amount": 190
}
}
],
"Summaries": {
"TotalNetAmount": 190.00,
"TotalVATAmount": 0.00,
"TotalGrossValue": 190.00
},
"VatAnalysis": [
{
"Name": "0%",
"Percentage": 0,
"VatAmount": 0.00,
"UnderlyingValue": 190.00
}
],
"MiscellaneousData": {
"MoreInformation1": ""
},
"banks": [
{
"iban": "GRXX XXXX XXXX XXXX XXXX XXXX 008"
}
],
"IsDelayed": false,
"IsDelayedCode": 0,
"IsRetail": false
}