The issued document is mainly used to cancel invoiced services/products, money, or for discount purposes under circumstances or even in case of error.
json definition with remarks:
{
"Currency": "Euro",
"CurrencyCode": "EUR",
"InvoiceTypeCode": "5.2",
"DocumentType": "ΠΙΣΤΩΤΙΚΟ ΤΙΜΟΛΟΓΙΟ",
"DocumentTypeCode": "INVOICE",
"Series": "ΠΤΣΧ_Ε_",
"Number": "2203985",
"DateIssued": "2023-03-24T00:00:00",
"OrderCode": "",
"Issuer": {
"RegisteredName": "BEST FOOD",
"Vat": "EL123456789",
"TaxOffice": "ΦΑΕ ΑΘΗΝΩΝ",
"TaxOfficeCode": "1234",
"Activities": [
"ΕΜΠΟΡΙΚΗ ΕΤΑΙΡΙΑ ΤΡΟΦΙΜΩΝ"
],
"GeneralCommercialRegistryNumber": "No G.E.MI. 121638001000",
"Phones": [
"2109999999"
],
"Faxes": [
"2109999999"
],
"Emails": [
""
],
"Address": {
"CountryCode": "GR",
"Region": "GR",
"City": "ΑΘΗΝΑ",
"Street": "ΟΔΟΣ ΑΡΙΘΜΟΣ",
"Postal": "12345"
},
"PosId": "0",
"BranchAddress": {}
},
"CounterParty": {
"RegisteredName": "ΕΠΙΧΕΙΡΙΣΗ",
"Vat": "EL123456789",
"TaxOffice": "ΑΘΗΝΩΝ ΦΑΕ",
"TaxOfficeCode": "1159",
"Phones": [
"2109999999"
],
"Faxes": [
"0000000000"
],
"Emails": [
""
],
"Address": {
"CountryCode": "GR",
"City": "ΑΘΗΝΑ",
"Street": "ΟΔΟΣ ΑΡΙΘΜΟΣ",
"Postal": "12345"
},
"Code": "00001"
},
"DistributionDetails": {
"InternalDocumentId": "ΠΤΣΧ_Ε_2203985",
"Delivery": "2023-03-24T00:00:00",
"DeliveryOriginDetails": {
"Address": {
"City": "ΑΘΗΝΑ",
"Street": "ΟΔΟΣ ΑΡΙΘΜΟΣ"
}
},
"DeliveryDestinationDetails": {
"Address": {
"City": "ΑΘΗΝΑ",
"Street": "ΟΔΟΣ ΑΡΙΘΜΟΣ"
}
}
},
"PaymentDetails": {
"NewBalance": 40081.48,
"PaymentMethods": [
{
"PaymentMethodType": "",
"PaymentMethodTypeCode": 5
}
]
},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"emailcounterparty@gmail.com"
],
"TransmissionMethod": "E",
"AvoidEmailGrouping": false,
"DocumentTemplate": "0"
},
"Details": [
{
"LineNo": 1,
"Code": "0000010460",
"CategoryId": "30",
"Descriptions": [
"ΡΟΦΗ ΚΑΦΕΣ ESPRESSO DECAF G_ΤΜΧ1KG"
],
"MeasurementUnit": "TMX",
"Quantity": 1,
"AllowancesCharges": [
{
"Type": 0,
"Description": "",
"Code": "1",
"Percentage": 0,
"Amount": 0
}
],
"UnitPrice": 24.58,
"NetTotal": 24.58,
"Total": 27.78,
"VATTotal": 3.2,
"VatExemptionCategoryCode": 0,
"VatCategory": "13.00",
"VatCategoryCode": 2,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_001",
"ClassificationCategoryCode": "category1_1",
"Amount": 24.58
}
}
],
"Summaries": {
"TotalCatalogNetAmount": 24.58,
"TotalNetAmount": 24.58,
"TotalVATAmount": 3.2,
"TotalGrossValue": 27.78,
"TotalAllowances": 0,
"TotalCharges": 0,
"TotalPayableAmount": 27.78
},
"VatAnalysis": [
{
"Name": "13.00",
"Percentage": 13,
"VatAmount": 3.2,
"UnderlyingValue": 24.58
}
],
"MiscellaneousData": {
"MoreInformation1": "Προαιρετικό πεδίο για σχόλια"
},
"IsDelayedCode": 0
}
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