Companies
The company’s legal entities, with tax details. Invoicing settings are not exposed.
Module: Settings (settings).
Endpoints
Section titled “Endpoints”GET /api/v1/legal_entities- List with filters, sorting and pagination (scopesettings:read)GET /api/v1/legal_entities/{id}- A record by id (scopesettings:read)POST /api/v1/legal_entities- Create a record (scopesettings:write)PATCH /api/v1/legal_entities/{id}- Modify the submitted fields (scopesettings:write)POST /api/v1/legal_entities/{id}/set_default- Makes the company the default. (scopesettings:write)POST /api/v1/legal_entities/{id}/set_billing- The company’s invoicing settings. It does not include SmartBill or e-Factura keys. (scopeinvoices:write)
Fields
Section titled “Fields”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).