v49

latestOpenAPI 3.0.0raw.githubusercontent.com2024-12-22168107389.8 KB
accounting/companyinfos

Retrieve Company Infos

Retrieve Company Infos from any connected Accounting software

get/accounting/companyinfos/{id}

Path parameters

idstring required

id of the companyinfo you want to retrieve.

Query parameters

remote_databoolean

Set to true to include data from the original Accounting software.

Headers

x-connection-tokenstring required

The connection token

Response

namestring nullable

The name of the company

legal_namestring nullable

The legal name of the company

tax_numberstring nullable

The tax number of the company

fiscal_year_end_monthnumber nullable

The month of the fiscal year end (1-12)

fiscal_year_end_daynumber nullable

The day of the fiscal year end (1-31)

currencystring nullable

The currency used by the company

urlsstring[] nullable

The URLs associated with the company

tracking_categoriesstring[] nullable

The UUIDs of the tracking categories used by the company

field_mappingsobject nullable

The custom field mappings of the object between the remote 3rd party & Panora

idstring nullable

The UUID of the company info record

remote_idstring nullable

The remote ID of the company info in the context of the 3rd Party

remote_dataobject nullable

The remote data of the company info in the context of the 3rd Party

remote_created_atstring date-time nullable

The date when the company info was created in the remote system

created_atstring date-time nullable

The created date of the company info record

modified_atstring date-time nullable

The last modified date of the company info record

Example response

{
  "name": "Acme Corporation",
  "legal_name": "Acme Corporation LLC",
  "tax_number": "123456789",
  "fiscal_year_end_month": 12,
  "fiscal_year_end_day": 31,
  "currency": "USD",
  "urls": [
    "https://www.acmecorp.com",
    "https://store.acmecorp.com"
  ],
  "tracking_categories": [
    "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
    "801f9ede-c698-4e66-a7fc-48d19eebaa4f"
  ],
  "field_mappings": {
    "custom_field_1": "value1",
    "custom_field_2": "value2"
  },
  "id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
  "remote_id": "company_1234",
  "remote_data": {
    "raw_data": {
      "additional_field": "some value"
    }
  },
  "remote_created_at": "2024-06-15T12:00:00Z",
  "created_at": "2024-06-15T12:00:00Z",
  "modified_at": "2024-06-15T12:00:00Z"
}