The issued document is a sales invoice and reflects the value of goods offered by the entity on Behalf of Third Parties, to an individual.
json definition with remarks:
{
"Currency": "Euro",
"CurrencyCode": "EUR",
"InvoiceTypeCode": "11.5",
"DocumentType": "ΑΠΟΔΕΙΞΗ ΛΙΑΝΙΚΗΣ ΓΙΑ ΛΟΓ/ΣΜΟ ΤΡΙΤΟΥ",
"DocumentTypeCode": "INVOICE",
"Series": "ΤΔ_ΕΠ_",
"Number": "13",
"DateIssued": "2023-03-27T00:00:00",
"RelativeDocuments": [],
"OrderCode": "ΠΡΔ22-0026876SO21-0014209",
"Issuer": {
"RegisteredName": "BEST COMPANY",
"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": "ΠΕΛΑΤΗΣ ΛΙΑΝΙΚΗΣ",
"Code": "00001" //CUSTOMER CODE
},
"DistributionDetails": {
"InternalDocumentId": "ΤΔ_Ε_22335"
},
"PaymentDetails": {
"NewBalance": 5000,
"PaymentMethods": [
{
"PaymentMethodType": "IN CASH ",
"PaymentMethodTypeCode": 3
}
]
},
"AdditionalDetails": {
"AccountingDepartmentEmails": [
"Ccompanyn@gmail.com"
],
"TransmissionMethod": "E",
"AvoidEmailGrouping": false,
"DocumentTemplate": "0"
},
"Details": [
{
"LineNo": 1,
"CategoryId": "20",
"Descriptions": [
"ΡΟΛΕΞ"
],
"MeasurementUnit": "ΤMΧ",
"UnitPrice": 1000,
"NetTotal": 1000,
"Total": 1240,
"VATTotal": 240,
"VatCategory": "24.00",
"VatCategoryCode": 1,
"IsInformative": false,
"IsHidden": false,
"RecordTypeCode": 0,
"IncomeClassification": {
"Id": 0,
"ClassificationTypeCode": "E3_881_002", //OK
"ClassificationCategoryCode": "category1_7",
"Amount": 1000
}
}
],
"Summaries": {
"TotalNetAmount": 1000,
"TotalVATAmount": 240.00,
"TotalGrossValue": 1240.00,
"TotalPayableAmount": 1240
},
"vatAnalysis": [
{
"name": "24",
"percentage": 24,
"vatAmount": 240,
"underlyingValue": 1000
}
],
"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 not mandatory for the B2C Receipts.
- 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