Skip to main content
All CollectionsDashboardSupplier Settings
How to Add a Primer Registry
How to Add a Primer Registry

Seamlessly integrate the Primer platform to ensure MyData compliance for your business.

Lucia Burin Sestakova avatar
Written by Lucia Burin Sestakova
Updated over 2 months ago

πŸ” Required Role Permissions: Registries

πŸ“’ NOTE

This article concerns users who

  • operate in Greece,

  • use payment terminals with a VivaWallet gateway.

As a business operating in Greece, you are required to report your sales, purchase invoices and financial ledgers to the Independent Authority for Public Revenue (AADE) via the MyData platform.

Primer allows the integration of the Ventrata dashboard with the MyData API to send the necessary data directly to AADE.


Create Primer Registry

  1. In the Ventrata dashboard, go to Supplier Settings > Registries.

  2. Press the + New Registry button.

  3. Select Primer Registry.

  4. Enter a name for the registry.

  5. Enter the MyData username and password you use for your Primer account.


    πŸ“— TIP

    Both the username and password consist of a combination of UPPER and lower case letters, as well as numbers.


  6. Enter your MyData License Key in the 'Serial Number' field.


    πŸ“— TIP

    The serial number consists of 6 sets of 3 characters, made up of UPPER case letters and numbers, separated by dashes. For instance, AA1-A1A-1AA-AA1-A1A-1AA.


  7. Enter the following information as they were declared to AADE.

    *All of the fields are required*

    • Company Name

    • Small Name

    • Email

    • Address

    • City

    • TK

    • Activity

    • VAT Number

    • DOY

    • Phone Number

    • GEMH Number

    • Representative Name

    • Representative Surname

    • Representative VAT Number

  8. Press the Create Registry button.


Primer Registry Request

Every time an order is paid for through a VivaWallet gateway, the /sendData HTTP POST request is fired.

The request body is sent in JSON format and contains information about the business and the order, including the number and name of products, total price and tax.

{
"invoice": [
{
"extra": {
"tk": "f",
"city": "e",
"time": "16:31",
"address": "d",
"sendEmail": false,
"customerVat": null,
"movePurpose": 1,
"customerCode": "44cfdca5-7486-4012-a970-e3ef52dae337",
"customerName": null,
"locationName": null,
"customerActivity": null,
"showOptionalFields": false
},
"issuer": {
"branch": 0,
"country": "GR",
"vatNumber": "800566476"
},
"invoiceHeader": {
"aa": 325398128237,
"series": "A",
"currency": "EUR",
"issueDate": "2024-09-20",
"invoiceType": "11.1"
},
"invoiceDetails": [
{
"code": null,
"name": "Primer GR 24% Adult",
"netValue": "9.68",
"quantity": 1,
"vatAmount": "2.32",
"lineNumber": 1,
"vatCategory": 1,
"measurementUnit": 1,
"incomeClassification": [
{
"amount": "9.68",
"classificationType": "E3_561_003",
"classificationCategory": "category1_1"
}
],
"expensesClassification": []
}
],
"invoiceSummary": {
"totalNetValue": "9.68",
"totalVatAmount": "2.32",
"totalFeesAmount": 0,
"totalGrossValue": "12.0",
"totalWithheldAmount": 0,
"incomeClassification": [
{
"amount": "9.68",
"classificationType": "E3_561_003",
"classificationCategory": "category1_1"
}
],
"totalStampDutyAmount": 0,
"totalDeductionsAmount": 0,
"totalOtherTaxesAmount": 0,
"expensesClassification": []
},
"paymentMethods": {
"paymentMethodDetails": [
{
"type": 7,
"amount": "12.0",
"tipAmount": "0.0",
"transactionId": "bf72bff5-381e-4c6e-9a71-dadba6d5ea4e",
"transactionDate": "20-09-2024 16:31:48",
"providersSignature": {
"signature": "MEUCIQCweQOT+N3iTUDVPEsuI578PkDwtoonWuJYr44EU0J1HgIgb0un3m/u2Seu43JLmA2RCAVdpZjk38hy4L/rAq2IeN4=",
"signingAuthor": "MyData_V1_21012021"
},
"transactionDetails": {
"aid": "A000000004101001",
"rnn": "426413463558",
"panCard": "541333XXXXXX9999",
"cardType": "MasterCard",
"finalCode": 0,
"isEuronet": "viva",
"merchantId": "3d01051e-3122-43c5-8909-a90fd9775027",
"terminalId": 16008252,
"transactionId": "116426413463558463558",
"tipAmountString": "0.0",
"transactionDate": "20-09-2024 16:31:48",
"amountTotalString": "12.0",
"authorizationCode": "463558",
"transactionNumber": 4264166006008252
}
}
]
}
}
],
"templateId": 3
}
Did this answer your question?