Company

The company [Company] object holds your company information and generic account information including account-wide OpenAir settings.

XML

SOAP

REST

Database table

Object

Company

oaCompany

account

Supported Commands

Read, Modify

read(), modify()

The Company object has the following properties:

XML

SOAP

Database

Description

addr

An Address object with the company's address details. See Address Fields.

addr_addr1

address1

First line of the address.

addr_addr2

address2

Second line of the address.

addr_addr3

address3

Third line of the address.

addr_addr4

address4

Fourth line of the address.

addr_city

city

City name.

addr_contact_id

The associated contact ID.

addr_country

country

Country name.

addr_email

Email address.

addr_fax

fax

Fax number.

addr_first

First name.

addr_id

The ID of the associated address.

addr_last

Last name.

addr_middle

Middle name.

addr_mobile

Mobile phone number.

addr_phone

phone

Phone number.

addr_salutation

Salutation.

addr_state

state

State name.

addr_zip

zip

Zip code of the address.

base_currency

base_currency

base_currency

Three-letter code for the base currency.

businesstype

businesstype

business_type

General business category.

company

company

company

The company name, as it should be printed on invoices and other documents.

created

created

created

[Read-only] The date the company record was created.

Must be a Date object for XML API and SOAP API. See Date Fields

currencies

currencies

currencies

Comma-separated list of three-letter codes for the currencies used for business transactions in a multicurrency account.

flags

flags

Company-specific settings. See Company and User Settings.

hide_rate

hide_rate

A 1/0 field indicating whether to hide hourly rate from normal user types in the company.

id

id

id

[Read-only] Unique ID. Automatically assigned by OpenAir.

is_multicurrency

is_multicurrency

is_multicurrency

A 1/0 field indicating whether the company's account is a multicurrency account.

nickname

nickname

nickname

The company nickname.

rate_from

rate_from

rate_from

Where is the hourly billing rate pulled from:

  • ca - Category billing rate

  • cc - Category billing rate with a customer override

  • us - User billing rate

  • cp - Customer/project billing rate

  • up - User billing rate over-ridden on a project basis

  • pr - Project based billing rules

updated

updated

updated

[Read-only] The date the company record was last updated or modified.

Must be a Date object for XML API and SOAP API. See Date Fields

VAT_registration_number

VAT_registration_number

vat_registration_number

VAT registration number.

workscheduleid

workscheduleid

workschedule_id

[Read-only] The ID of the associated primary company workschedule.