Company

Property Type Description
APIException APIException Used to inform you of errors when using the API (for instance, a save error). Not a specifiable return property.
Id Int32
ExternalId String
OrganizationNumber String Max length 20 characters
Name String Max length 200 characters
FirstName String Max length 50 characters, only in use on Company Type ‘Consumer’
NickName String Max length 200 characters
Addresses Addresses
PhoneNumbers PhoneNumbers
EmailAddresses EmailAddresses
Url String Max length 255 characters
Country String Two letter country code
Note String Max length 1 073 741 823 characters
InvoiceLanguage String Two letter country code
Type CompanyType Enum: None, Lead, Consumer (also known as a private customer), Business, Supplier
Username String  N/A
Password String  N/A
IncorporationDate DateTime
DateCreated DateTime
Status Int32
PriceList Int32
Owner Int32
BankAccountNo String
TermsOfDeliveryId Int32
AccountDebit Int16
AccountCredit Int16
Discount Decimal
TypeGroup Int32
ShareCapital Decimal
NumberOfEmployees Int32
Turnover Decimal
Profit Decimal
IndustryId Int32
MemberNo Int32
DateChanged DateTime
BlockInvoice Boolean
Relations Relation[]
Maps CompanyMap[] (ConsumerCompanyNo)
DistributionMethod DistributionMethod Enum: Default, Unchanged, Print, EMail, ElectronicInvoice
CurrencyId String Default: LOCAL
PaymentTime Int16 Default (no change): Int16.MinValue, >=1: number of days, 0: no credit time, -1: end of month + 30 days, -2: end of month + 60 days, -3: end of month + 90 days, -4: end of month
LedgerCustomerAccount Int16 The account number used for the customer ledger
LedgerSupplierAccount Int16 The account number used for the supplier ledger

CompanySearchParameters

Property Type Description
CompanyId Int32
CompanyIds Int32[] Submit a list of Company Ids. Limited to 1000 Ids in one request.
ExternalId String
CompanyName String
ChangedAfter DateTime
CompanyEmail String
CompanyPhone String

 

APIException

Property Type Description
Type String
Message String
StackTrace String

 

Addresses

Property Type Description
Post Address
Delivery Address
Visit Address
Invoice Address

Address

Property Type Description
Street String Max length 250 characters
State String Max length 100 characters
PostalCode String Max length 16 characters
PostalArea String Max length 100 characters
Name String Max length 100 characters
City String Max length 100 characters
Country String Two letter country code

 

PhoneNumbers

Property Type Description
Home PhoneNumber NOT IN USE FOR COMPANY
Fax PhoneNumber
Mobile PhoneNumber
Primary PhoneNumber NOT IN USE FOR COMPANY
Work PhoneNumber

PhoneNumber

Property Type Description
Description string
Value string

 

EmailAddresses

Property Type Description
Home EmailAddress NOT IN USE FOR COMPANY
Invoice EmailAddress
Primary EmailAddress NOT IN USE FOR COMPANY
Work EmailAddress
Alternative EmailAddress NOT IN USE FOR COMPANY

EmailAddress

Property Type Description
Description String
Name String
Value String

 

Relation

Property Type Description
ContactId Int32
CompanyId Int32
FirstName String
LastName String
Role String
RoleId Int32
PhoneNumbers PhoneNumbers
EmailAddresses EmailAddresses
Fax String

CompanyMap

Property Type Description
MapType Int32
ExternalId String Max length 50 characters
CompanyId Int32

 

Category

Property Type Description
Id Int32
Name String
ShowContact bool
ShowCompany bool

 

KeyValuePair

Property Type Description
Key string
Value string