The issued document is a services invoice and reflects the value of services supplied by the entity to an enterprise established outside the European Union.
json definition with remarks:
{
"Currency": "Euro",
"CurrencyCode": "EUR",
"InvoiceTypeCode": "2.3",
"DocumentType": "ΤΙΜΟΛΟΓΙΟ ΠΑΡΟΧΗΣ ΥΠΗΡΕΣΙΩΝ/ΣΕ ΤΡΙΤΗ ΧΩΡΑ",
"DocumentTypeCode": "INVOICE",
"Series": "ΤΔ_Ε_",
"Number": "0089",
"DateIssued": "2023-05-03T00:00:00",
"RelativeDocuments": [],
"OrderCode": "ΠΡΔ22-0026876SO21-0014209",
"Issuer": {
"RegisteredName": "Twinsoft",
"Vat": "EL998460572",
"TaxOffice": "ΦΑΕ ΑΘΗΝΩΝ",
"Activities": [
"TWINSOFT"
],
"GeneralCommercialRegistryNumber": "999999999",
"Address": {
"CountryCode": "GR",
"City": "ΑΘΗΝΑ",
"Street": "ΑΡΙΣΤΟΤΕΛΟΥΣ 14",
"Postal": "12345"
},
"Phones": [
"2106666666"
],
"Url": "myurl.gr"
},
"CounterParty": {
"RegisteredName": "FOREIGN COMPANY",
"Vat": "CN123456789",
"TaxOffice": "Not used",
"TaxOfficeCode": "NOT USED",
"Phones": [
""
],
"Faxes": [
""
],
"Emails": [
""
],
"Address": {
"CountryCode": "CN",
"City": "BEIJING ",
"Street": "STREET NUMBER ",
"Postal": "12345"
},
"Code": "00001"
},
"distributionDetails": {
"internalDocumentId": "ERT0089",
"project": "Τραπέζι",
"totalQuantity": 3
},
"PaymentDetails": {
"NewBalance": 5000,
"PaymentMethods": [
{
"PaymentMethodType": "IN CASH ",
"PaymentMethodTypeCode": 3
}
]
},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"foreigncompanyn@gmail.com"
],
"TransmissionMethod": "E",
"AvoidEmailGrouping": false,
"DocumentTemplate": "0"
},
"Details": [
{
"LineNo": 1,
"Code": "0000008990",
"CategoryId": "20",
"Descriptions": [
"ΥΠΗΡΕΣΙΑ 1"
],
"MeasurementUnit": "BOX",
"Quantity": 2,
"UnitPrice": 19.88,
"NetTotal": 39.76,
"Total": 39.76,
"VATTotal": 0,
"VatExemptionCategoryCode": 14,
"VatCategory": "0.00",
"VatCategoryCode": 7,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_006",
"ClassificationCategoryCode": "category1_3",
"Amount": 39.76
}
},
{
"LineNo": 2,
"Code": "0000008991",
"CategoryId": "20",
"Descriptions": [
"ΥΠΗΡΕΣΙΑ 2"
],
"MeasurementUnit": "BOX",
"Quantity": 10,
"UnitPrice": 19.88,
"NetTotal": 198.8,
"Total": 198.8,
"VATTotal": 0,
"VatExemptionCategoryCode": 14,
"VatCategory": "0.00",
"VatCategoryCode": 7,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_561_006",
"ClassificationCategoryCode": "category1_3",
"Amount": 198.8
}
}
],
"Summaries": {
"TotalCatalogNetAmount": 238.56,
"TotalNetAmount": 238.56,
"TotalVATAmount": 0,
"TotalGrossValue": 238.56,
"TotalAllowances": 0,
"TotalCharges": 0,
"TotalPayableAmount": 238.56
},
"VatAnalysis": [],
"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