The issued document is a sales invoice and reflects the value of products supplied by the entity to an enterprise established within the European Union for Food Industry.

json definition with remarks:

{
  "Currency": "Euro",
  "CurrencyCode": "EUR",
  "InvoiceTypeCode": "1.2",
  "DocumentType": "INVOICE DELIVERY NOTE",
  "DocumentTypeCode": "INVOICE",
  "Series": "ΤΔ_Ε_",
  "Number": "22335",
  "DateIssued": "2023-03-23T00:00:00",
  "RelativeDocuments": [],
  "OrderCode": "ΠΡΔ22-0026876SO21-0014209",
  "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": "FOREIGN COMPANY",
    "Vat": "DE123456789",
    "TaxOffice": "Not used",
    "TaxOfficeCode": "NOT USED",
    "Phones": [
      ""
    ],
    "Faxes": [
      ""
    ],
    "Emails": [
      ""
    ],
    "Address": {
      "CountryCode": "DE",
      "City": "Reutlingen ",
      "Street": "STREET NUMBER ",
      "Postal": "12345"
    },
    "Code": "00001"
  },
  "DistributionDetails": {
    "InternalDocumentId": "ΤΔ_Ε_22335",
    "Delivery": "2023-03-29T00:00:00",
    "DeliveryOriginDetails": {
      "Address": {
        "City": "ΑΘΗΝΑ",
        "Street": "ΟΔΟΣ ΑΡΙΘΜΟΣ"
      }
    },
    "DeliveryDestinationDetails": {
      "Address": {
        "City": "Reutlingen ",
        "Street": "STREET NUMBER "
      }
    }
  },
  "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": [
        "DAIRY MILK EASY 0,3% 1,5L CAS8PCS"
      ],
      "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_005",
        "ClassificationCategoryCode": "category1_1",
        "Amount": 39.76
      }
    },
    {
      "LineNo": 2,
      "Code": "0000008991",
      "CategoryId": "20",
      "Descriptions": [
        "DAIRY MILK DRINK EASY 3% H/P 1,5L CAS8PC"
      ],
      "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_005",
        "ClassificationCategoryCode": "category1_1",
        "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