home

Indirect Tax

Sovos Docs

Hungary

Enabling support for Hungary involves confirming prerequisites and product IDs, registering with the NAV (NTCA) tax authority, and setting up credentials.

Prerequisites

Requirements for CTC integration:

  • A username obtained from the NAV tax authority

  • A password obtained from the NAV tax authority

  • A signature and replacement keys obtained from the NAV tax authority

To obtain them, follow these instructions.

Requirements for EKAER integration:

  • A username obtained from the EKAER system

  • A password obtained from the EKAER system

To obtain them, follow these instructions.

Available products

  • hu_invoiceData_Polling_3.0

  • hu_InvoiceData__3.0

  • hu_TradeCard__2.1

Configure transmission credentials for Hungary CTC

You must have already configured a company and a product, as well as obtained the username, password, signature key, and replacement key from the NAV (NTCA) tax authority.

You must set up transmission credentials to connect your Sovos account to a valid business that is registered with the NAV (NTCA) tax authority.
  1. Send a POST request to the endpoint URL:
    POST https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings
  2. Include the following headers in your request:
    • Authorization: Bearer {accessToken}

    • Content-Type: application/json

    • x-correlationId: {uniqueValue}

  3. Include the following parameters inside the JSON payload in the request body:
    NameTypeRequiredDescription
    contextstringYesEnter "transmission".
    configurationsarray of objectsYes
    namestringYesEnter "partner_credentials_nav".
    valueobjectYes
    usernamestringYesThe username retrieved from the Hungarian Online Invoice System.
    passwordstringYesThe hash (SHA-512, upper case letters) of the password obtained in the Hungarian Online Invoice System.
    tokenDecryptionKeystringYesThe replacement key obtained in the Hungarian Online Invoice System.
    signatureEncryptionKeystringYesThe signature key obtained in the Hungarian Online Invoice System.
    scopeobjectYes
    categorystringYesEnter "HU_INV".
    productIdstringYesEnter "hu_InvoiceData__3.0".
    orgIdstringYesThe organization ID obtained from the Sovos Professional Services team.
    taxIdstringYesThe tax ID of the company for which the credentials are being configured.

Upon successful creation, the API will return a JSON object containing the uploaded transmission credentials and their assigned SETTING-ID

Samples for uploading transmission credentials for Hungary CTC

The request and response samples for adding new credentials using the dedicated Create settings endpoint.

Request sample

Request sample for uploading new credentials:

curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header 'Authorization: Bearer {accessToken}' \
--header 'x-correlationId: {uniqueValue}' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "context": "transmission",
        "configurations": [
            {
                "name": "partner_credentials_nav",
                "value": {
		    "username": INSERT-USERNAME-HERE,
                    "password": INSERT-PASSWORD-HASH-HERE,
                    "tokenDecryptionKey": INSERT-TOKENDECRKEY-HERE,
                    "signatureEncryptionKey": INSERT-SIGNATUREENCKEY-HERE
                },
		"scope": {
                    "category": "HU_INV",
                    "productId": "hu_InvoiceData__3.0",
                    "orgId": {orgId},
                    "taxId": {taxId}
                }
            }
        ]
    }
]'

Response sample

Response sample for adding new credentials:

{
    "status": 201,
    "message": "Created",
    "success": true,
    "timestamp": 1666259266257,
    "data": [
        {
            "message": "Configurations are created",
            "statusCode": 201,
            "configurationContextResponse": {
                "context": "Transmission",
                "configurations": [
                    {
                        "id": SETTING-ID,
                        "name": "partner_credentials_nav",
                        "value": {
                            "username": INSERT-USERNAME-HERE,
                            "password": INSERT-PASSWORD-HASH-HERE,
                            "tokenDecryptionKey": INSERT-TOKENDECRKEY-HERE,
                            "signatureEncryptionKey": INSERT-SIGNATUREENCKEY-HERE
                        },
                        "scope": {
                            "category": "HU_INV",
                            "productId": "hu_InvoiceData__3.0",
                            "orgId": {orgId},
                            "taxId": {taxId}
                        },
                        "auditData": {
                            "createdAt": 1666259265,
                            "createdBy": "user@company.com",
                            "isDeleted": false,
                            "version": 1
                        }
                    }
                ]
            }
        }
    ]
}

Configure transmission credentials for Hungary EKAER

You must have already configured a company and a product, as well as obtained the username and password from EKAER .

You must set up transmission credentials to connect your Sovos account to a valid business that is registered with the NAV (NTCA) tax authority.
  1. Send a POST request to the endpoint URL:
    POST https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings
  2. Include the following headers in your request:
    • Authorization: Bearer {accessToken}

    • Content-Type: application/json

    • x-correlationId: {uniqueValue}

  3. Include the following parameters inside the JSON payload in the request body:
    NameTypeRequiredDescription
    contextstringYesEnter "transmission".
    configurationsarray of objectsYes
    namestringYesEnter "partner_credentials_nav".
    valueobjectYes
    usernamestringYesThe username obtained from EKAER
    passwordstringYesThe hash (SHA-512, upper case letters) of the password obtained from EKAER .
    scopeobjectYes
    categorystringYesEnter "HU_DLV".
    productIdstringYesEnter "hu_TradeCard__2.1".
    orgIdstringYesThe organization ID obtained from the Sovos Professional Services team.
    taxIdstringYesThe tax ID of the company for which the credentials are being configured.
Upon successful creation, the API will return a JSON object containing the uploaded transmission credentials and their assigned SETTING-ID

Samples for uploading transmission credentials for Hungary EKAER

The request and response samples for adding new credentials using the dedicated Create settings endpoint.

Request sample

Request sample for uploading new credentials:

curl --location --request POST 'https://api-test.sovos.com/v2/configurations/organizations/{orgId}/settings' \
--header 'Authorization: Bearer {accessToken}' \
--header 'x-correlationId: {uniqueValue}' \
--header 'Content-Type: application/json' \
--data-raw '[
    {
        "context": "transmission",
        "configurations": [
            {
                "name": "partner_credentials_nav",
                "value": {
                    "username": INSERT-USERNAME-HERE,
                    "password": INSERT-PASSWORD-HASH-HERE
		},
		"scope": {
                    "category": "HU_DLV",
                    "productId": "hu_TradeCard__2.1",
                    "orgId": {orgId},
                    "taxId": {taxId}
                }
            }
        ]
    }
]'

Response sample

Response sample for adding new credentials:

{
    "status": 201,
    "message": "Created",
    "success": true,
    "timestamp": 1666259266257,
    "data": [
        {
            "message": "Configurations are created",
            "statusCode": 201,
            "configurationContextResponse": {
                "context": "Transmission",
                "configurations": [
                    {
                        "id": SETTING-ID,
                        "name": "partner_credentials_nav",
                        "value": {
                            "username": INSERT-USERNAME-HERE,
                            "password": INSERT-PASSWORD-HASH-HERE
                        },
                        "scope": {
                            "category": "HU_DLV",
                            "productId": "hu_TradeCard__2.1",
                            "orgId": {orgId},
                            "taxId": {taxId}
                        },
                        "auditData": {
                            "createdAt": 1666259265,
                            "createdBy": "user@company.com",
                            "isDeleted": false,
                            "version": 1
                        }
                    }
                ]
            }
        }
    ]
}