Get information about the company running the account.
Note that Erply allows to set different contact information for each store (location, warehouse). Each store may have a different phone number, e-mail address, postal address. In Erply back office, you can set that on location card.
Even company name, registry number and VAT number can be customized per-location — although you will probably need that only if your company is a franchise chain consisting of different corporate entities; and you are using a single Erply account, instead of a separate account for each entity.
To retrieve per-location information, see API getWarehouses. Only if a location does not have eg. a phone number, you can fall back to the corporate phone number.
This data set can be edited with API call editCompanyInfo.
|id||Integer||Record ID. You do not need to use this field, because
|name||String||Company name. DEPRECATED — companyName and companyTypeID are recommended instead.|
|companyTypeID||Integer||Company type ID. To retrieve a list of company types, see getCompanyTypes.|
|code||String||Company's registry code|
|VAT||String||Company's VAT number|
|phone||String||Corporate phone number|
|mobile||String||Corporate cellphone number|
|fax||String||Corporate fax number|
|String||Corporate e-mail address|
|bankName||String||Name of company's bank.|
|bankAccountNumber||String||Number of company's bank account.|
|bankIBAN||String||IBAN number of company's bank account.|
|bankSWIFT||String||BIC/SWIFT identifier of company's bank account.|
|bankName2||String||Name of company's bank.|
|bankAccountNumber2||String||Number of company's bank account.|
|bankIBAN2||String||IBAN number of company's bank account.|
|bankSWIFT2||String||BIC/SWIFT identifier of company's bank account.|
|address||String||Full postal address. Company may have several addresses defined; this API call returns only the first one of these.|
|*****||The same address as above, split into components:|
|street||String (65536)||Street address (or more generally, address line 1).|
|address2||String (65536)||Street address, line 2.|
|city||String (255)||City, region, or county.|
|ZIPcode||String (16)||Postal code or ZIP code.|
|country||String (255)||DO NOT USE THIS FIELD. See getConfParameters → "country" instead (to check which country settings this Erply account runs with).|
|defaultClientID||Integer||DEPRECATED — getConfParameters → "default_client_idDat" is recommended instead.
The ID of default POS customer. Note that each POS register may actually have a different default customer; this is just the fallback value. See getPointsOfSale.
|invoiceRounding||Decimal||DEPRECATED — getConfParameters → "invoice_rounding" is recommended instead.
The rounding setting applied to sales invoices . Possible values: 0.01 (no rounding), 0.05 (rounding to nearest 5 sub-units - cents, pennies etc.), 0.1, 1 (rounding to the nearest unit - euro, dollar or pound)
|defaultCurrency||String||DEPRECATED — getConfParameters → "default_currency" is recommended instead.
The 3-letter currency code of account's default currency (eg. "USD")