LegalEntity
Register your companies as legal entities, choose the A-Cube services they use, and check their onboarding with the Tax Authority.
Retrieves the collection of LegalEntity resources.
Returns the paginated list of your legal entities, newest first. All filters are optional and combine with AND.
Create a legal entity
Creates a Legal entity for one of your companies, identified by its tax identifier (OIB). When document exchange is enabled, it is also registered in A-Cube's metadata service (SMP), so senders can reach it. Creating a Legal entity you deleted earlier, with the same OIB, restores it.
Retrieves a LegalEntity resource.
Returns the corresponding legal entity by UUID.
Update a legal entity
Updates the Legal entity; its tax identifier (OIB) can't be changed. Optional fields that are left out keep their current value. Turning document exchange on or off registers or removes the Legal entity in A-Cube's metadata service (SMP), and turning a service on or off resets its confirmation status to `not_checked`.
Delete a legal entity
Deletes the Legal entity and its sub-accounts, 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.
Check the onboarding of a legal entity
Asks the Tax Authority whether the Legal entity has chosen A-Cube as its provider: for document exchange in the address directory (AMS), for fiscalisation in the fiscalisation system (CIS). Services that aren't enabled aren't checked. The result is also saved on the Legal entity.