Step 2: myDATA critical concepts

Take your time reading this topic. It will assist you with implementing myDATA in this manner, making it easier for the end user to begin sending invoices.

Before you begin coding, you must first comprehend a number of critical concepts. MyDATA includes a lot of fields that will confuse you if you don't have a guide.

These fields are:

  1. InvoiceType
  2. MovePurpose
  3. InvoiceVariationType
  4. SpecialInvoiceCategory
  5. invoiceLine.RecType
  6. invoiceLine.VatCategory
  7. FeesCategory
  8. InvoiceDetailType
  9. MeasurementUnit
  10. OtherTaxesCategory
  11. StampDutyCategory
  12. VatExemptionCategory
  13. WithheldCategory

The fields 1-4 refer to invoice elements. In addition, there are three more low-interest fields that you may already use in your application. These fields are the issuer.country, the elements.currency and the exchange rate
The fields 5-13 refer to invoice lines.

Under the myDATATools class, there are methods to get all the acceptable values for the above fields. The values for these fields are returned in a dictionary with the code and the Greek description for that code, allowing the Greek user to select the value that best suits his needs. To do so, we strongly recommend examining the form "frmMyDATATools" from the sample code.

The form "frmMyDATATools" demonstrates how you can get the acceptable values for each of the above fields.

The values for the above fields vary based on the type of invoice the user wishes to send. You don't need to worry about which values the user will select; all you need to know is what these values are and how to display them to the end user.

In this article

Definition