Skip to main content

Introduction

A Legal Entity is a Croatian taxpayer business, identified by its OIB (Tax identifier), that wants to send and / or receive electronic invoices (eRačun) and report them to the Tax Authority through the A-Cube Platform. Each customer with an account on the A-Cube Platform can manage many Legal Entities.

Consumers don't need to handle e-invoices; therefore, they are not Legal Entities.

Services​

A Legal Entity can use A-Cube for two separate services, each enabled on its own and confirmed on its own with the Tax Authority:

ServiceFlagWhat A-Cube doesWhat the company confirms in FiskAplikacija
Document exchangedocumentExchangeEnabledSends and receives the Legal Entity's invoices and credit notes as its accredited service provider (ASP).A-Cube as its ASP, the address where it receives documents.
FiscalisationfiscalisationEnabledFiles the Tax Data Documents of its documents, and its payment and rejection reports (eReporting), with the Tax Authority.A-Cube as authorised to fiscalise for it.

A company can use both, or only one. For example, a company that exchanges its documents through another ASP can enable fiscalisation only, and have A-Cube file its Tax Data Documents.

The flow in a nutshell​

Register a Legal Entity in A-Cube by using the POST /legal-entities endpoint, with the services it uses.

In the sandbox environment, there is no FiskAplikacija step: run the onboarding check after creating the Legal Entity, and it confirms each enabled service without contacting the Tax Authority.

In the production environment, a Legal Entity needs to continue the onboarding process by following the next steps:

  1. Confirming A-Cube for each enabled service in FiskAplikacija, the Tax Authority's application in the ePorezna portal.
  2. A-Cube checks the confirmations automatically; to check at once, run the onboarding check.
  3. When a service is confirmed, the Legal Entity can use it.

See Onboard a Legal Entity for the details.

Receiving capabilities​

Receiving capabilities define which documents the entity accepts.

When document exchange is enabled, the Legal Entity is registered in A-Cube's metadata service (SMP) to receive invoices and credit notes of every business process. Senders find it there through the Tax Authority's address directory (AMS), once the company has confirmed A-Cube as its ASP.

Change, delete and restore​

A Legal Entity's details and services can be changed with PUT /legal-entities/{uuid}; its OIB can't. Turning a service on or off resets its confirmation to not_checked, and turning document exchange off removes the Legal Entity from A-Cube's metadata service (SMP).

DELETE /legal-entities/{uuid} deletes the Legal Entity and removes it from A-Cube's metadata service (SMP). Its documents and reports stay readable. Creating it again with the same OIB restores it.

Important

Turning document exchange off, or deleting the Legal Entity, also removes A-Cube as its ASP from the Tax Authority's address directory (AMS), at once and without confirmation. From then on, documents can't be delivered to the company through A-Cube. To receive through A-Cube again, turn document exchange back on and confirm A-Cube in FiskAplikacija again.

Every Legal Entity has a confirmation status for each service: documentExchangeConfirmationStatus and fiscalisationConfirmationStatus. It is updated by each check, automatic or through the onboarding check.

StatusDescription
not_checkedThe service hasn't been checked since the Legal Entity was created or the service was turned on or off. A service that isn't enabled stays not_checked.
confirmedThe company has confirmed A-Cube for the service.
not_confirmedThe company hasn't confirmed A-Cube for the service, or has chosen another provider.
check_failedThe check couldn't get an answer, and there is no earlier one. documentExchangeConfirmationError / fiscalisationConfirmationError say why.

When a later check fails, the last confirmed or not_confirmed status is kept, and the error field says why the check failed.