The issued document is mainly used to cancel invoiced services/products, money, or for discount purposes under circumstances or even in case of error for the Banking Sector. For example, issuing a Credit Invoice to cancel an incorrectly billed bank service, issuing a digital cheque block, or a transfer process that did not take place but the customer was charged.
json definition with remarks:
{
"Currency": "Euro",
"CurrencyCode": "EUR",
"InvoiceType": "Πιστωτικό Τιµολόγιο",
"InvoiceTypeCode": "5.2", //IAPR code - paragraph 8.1 of mydata documentation
"DocumentTypeCode": "INVOICE",
"Series": "LKJH",
"Number": "014",
"DateIssued": "2023-04-24T00:00:00",
"RelativeDocuments": [
"Αντιστοιχεί στο πεδίο ΣΧΕΤ. ΠΑΡΑΣΤ/ΚΟ"
],
"Issuer": {
"RegisteredName": "Scrooge Bank",
"Vat": "EL118058830",
"TaxOffice": "ΦΑΕ ΑΘΗΝΩΝ",
"Activities": [
"ΤΡΑΠΕΖΑ"
],
"GeneralCommercialRegistryNumber": "999999999",
"Address": {
"CountryCode": "GR",
"City": "ΑΘΗΝΑ",
"Street": "ΑΡΙΣΤΟΤΕΛΟΥΣ 14",
"Postal": "12345"
},
"Phones": [
"2106666666"
],
"Url": "mybank.gr"
},
"CounterParty": {
"Code": "007796",
"RegisteredName": "ΠΕΤΡΟΣ ΠΕΤΡΟΥ",
"Vat": "EL158914006",
"TaxOffice": "Φ.Α.Ε. ΑΘΗΝΩΝ ",
"Activities": [
"REAL ESTATE"
],
"Address": {
"City": "ΑΘΗΝΑ",
"Municipality": "ΑΤΤΙΚΗΣ",
"Street": "ΗΠΕΙΡΟΥ 30",
"Postal": "12345",
"CountryCode": "GR"
},
"Phones": [
"210-9999999"
]
},
"PaymentDetails": {
"PaymentDate": "2022-12-14",
"PaymentMethods": [
{
"PaymentMethodType": "ΜΕΤΡΗΤΑ",
"PaymentMethodTypeCode": 2 //IAPR CODE - paragraph 8.12 of documentation
}
]
},
"DistributionDetails": {
"InternalDocumentId": "LKJH014"
},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"emailcounterparty@gmail.com"
],
"TransmissionMethod": "E",
"AvoidEmailGrouping": false,
"DocumentTemplate": "0"
},
"Details": [
{
"LineNo": 1,
"Descriptions": [
"Προϊόν 1"
],
"MeasurementUnitCode": 1, //IAPR code - paragraph 8.13 of mydata documentation
"Quantity": 1,
"VatCategoryCode": 1, //Κωδικός ΑΑΔΕ
"VatCategory": "24 %",
"VatTotal": 24.00,
"NetTotal": 100.00,
"Total": 124.00,
"IncomeClassification": { // IAPR income classification - paragraph 8.9
"ClassificationTypeCode": "E3_561_001",
"ClassificationCategoryCode": "category1_1",
"Amount": 100.00
}
}
],
"Summaries": {
"TotalNetAmount": 100.00,
"TotalVATAmount": 24.00,
"TotalGrossValue": 124.00
},
"VatAnalysis": [
{
"Name": "24%",
"VatAmount": 24.00,
"UnderlyingValue": 24.00
}
],
"MiscellaneousData": {
"MoreInformation1": "Προαιρετικό πεδίο για σχόλια"
},
"IsDelayedCode": 0 // Value 0: Realtime, 1: Problem on the issuer side, 2: Problem on the AADE side
}
Important remarks
- Issuer: Τhe details of the issuer are entered in this object and it is mandatory for all the invoices
- Counterparty: Τhe details of the counterparty are entered in this object. It is mandatory for the B2Β invoices.
- InternalDocumentId: It is a unique document number in the issuer’s system
- PaymethodTypeCode: This code corresponds to the paragraph 8.12 of IAPR myDATA documentation
- TransmissionMethod: If this field has value “E”, an email with the invoice url will be sent to the email address that has being setted to the field “AccountingDepartmentEmails”. If it has value “A”, the invoice is only going to be archived.
- Details: In this object, each line is a product/service that you sell and all the details of it.
- Summaries: the summary ammounts
- VatAnalysis: The analysis of vat amounts by percentage
- IsDelayedCode: This field is used for heterochronous transmission. Value 0: Realtime, 1: Problem on the issuer side, 2: Problem on the IAPR side