Skip to content

Companies

The company’s legal entities, with tax details. Invoicing settings are not exposed.

Module: Settings (settings).

  • GET /api/v1/legal_entities - List with filters, sorting and pagination (scope settings:read)
  • GET /api/v1/legal_entities/{id} - A record by id (scope settings:read)
  • POST /api/v1/legal_entities - Create a record (scope settings:write)
  • PATCH /api/v1/legal_entities/{id} - Modify the submitted fields (scope settings:write)
  • POST /api/v1/legal_entities/{id}/set_default - Makes the company the default. (scope settings:write)
  • POST /api/v1/legal_entities/{id}/set_billing - The company’s invoicing settings. It does not include SmartBill or e-Factura keys. (scope invoices:write)
  • id (string, uuid; read): Unique identifier (UUID).
  • code (string; write)
  • name (string; write, required)
  • is_default (boolean; read)
  • is_active (boolean; write): Whether the record is active.
  • legal_name (string; write)
  • cui (string; write)
  • reg_com (string; write)
  • address (string; write)
  • city (string; write)
  • county (string; write)
  • postal_code (string; write)
  • phone (string; write)
  • email (string; write)
  • iban (string; write)
  • bank (string; write)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • updated_at (string, date-time; read): Last modification date (ISO 8601).