Skip to main content
GET
/
company
Get the company profile
curl --request GET \
  --url https://api.app.lastaccountingcompany.com/portal/company \
  --header 'Authorization: Bearer <token>'
{
  "customer_id": "<string>",
  "legal_name": "<string>",
  "business_id": "<string>",
  "vat_number": "<string>",
  "country_code": "<string>",
  "currency": "<string>",
  "fiscal_year_start_month": 123,
  "vat_period_months": 123,
  "company_form": "<string>",
  "statement_format": "<string>",
  "editable": true
}

Authorizations

Authorization
string
header
required

Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....

Query Parameters

customer_id
string

Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.

Response

Company profile.

The company's registered details and accounting configuration.

customer_id
string
business_id
string

Finnish business ID (Y-tunnus).

vat_number
string
country_code
string
currency
string
fiscal_year_start_month
integer

Month the fiscal year starts (1-12).

vat_period_months
integer

VAT reporting period length in months.

vat_period_source
enum<string>

Where the VAT period setting comes from.

Available options:
dated,
column,
default
company_form
string
statement_format
string
editable
boolean

Whether the caller may change settings (false for API keys).