> ## Documentation Index
> Fetch the complete documentation index at: https://developers.luccasoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Started

<Frame caption="Legal-Entities & Business-Establishments Relationships Diagram">
  ```mermaid theme={null}
  classDiagram
      business-establishment "1..n" --> "1" legal-entity : "belongs to"
      legal-entity "0..n" --> "1" country : "located in"

      class business-establishment {
          bool isHeadquarters
          ...
      }

      class legal-entity {
          string countryCode
      }

  ```
</Frame>

The structure of an organization is represented through several objects.

<Steps titleSize="h3">
  <Step title="Legal-Entity">
    A [legal-entity](./legal-entity) is an entity that has legal
    rights and responsibilities. They belong to a country and as such are subject to its jurisdiction.
  </Step>

  <Step title="Business-Establishment">
    A [business-establishment](./business-establishment) belongs to a
    single legal-entity and represents an operating unit where business is conducted, goods are made
    or stored or processed or where services are rendered. It can be an office, a factory, an assembly
    plant, a retail store, a warehouse, etc...
    <Note>This is the essential building block in regards to access rights management. Consequently, most
    objects are attached, either directly or indirectly, to a business-establishment.</Note>
  </Step>

  <Step title="Department">
    A department (coming soon) represents a functional grouping of employees.
    It may be child to another department. As such, departments are a **tree-like structure**.
    Departments have no relationships with business-establishments nor
    legal-entities, and can thus be used to represent a matrix organizational structure.
  </Step>
</Steps>

<Warning>
  Please note creating legal-entities and business-establishments may affect your billing.
</Warning>
