Companies table for AvalaraAvatax data provider.
To insert a new company to an existing account you need to specify AccountId, CompanyCode, Name and DefaultCountry fields.
INSERT INTO Companies (AccountId,CompanyCode, Name, defaultCountry) VALUES ('2000137504', 'SAB', 'SAB&Co', 'US')
Avalara allows updates on Companies columns, expect for aggregate columns. Aggregate columns can not be updated.
UPDATE Companies SET Name='UpdatedName' WHERE Id = 283040
A company can be deleted by providing the Id of the company and issuing a DELETE statement.
DELETE FROM Companies WHERE Id = 283040
The unique ID number of this company.
If set, this is the unique ID number of the default location for this company.
Optional: A list of nexus defined for this company. To fetch this list, add the query string `?$include=Nexus` to your URL.
Used to apply tax detail dependency at a jurisdiction level.
The two character ISO-3166 country code of the default country for this company.
Optional: A list of tax rules defined for this company.
The name of this company, as shown to customers.
The date when this record was created.
The country code of the mini-one-stop-shop used for Value Added Tax (VAT) processing.
Optional: A list of contacts defined for this company.
A unique code that references this company within your account.
Set this value to true to receive warnings in API calls via SOAP.
Optional: A list of locations defined for this company.
Optional: A list of items defined for this company.
The User ID of the user who created this record.
The unique ID number of the account this company belongs to.
The date/time when this record was last modified.
Indicates whether this company prefers to round amounts at the document level or line level.
Business Identification No.
Optional: A list of UPCs defined for this company.
Set this value to true to indicate that you are still working to finish configuring this company. While this value is true, no tax reporting will occur and the company will not be usable for transactions.
Set this flag to true if this company must file its own tax returns. For users who have Returns enabled, this flag turns on monthly Worksheet generation for the company.
Optional: A list of tax codes defined for this company.
If this company is fully owned by another company, this is the unique identity of the parent company.
This is the three character ISO-4217 currency code of the default currency used by this company.
Set this flag to true to indicate that this company is a test company. If you have Returns enabled, Test companies will not file tax returns and can be used for validation purposes.
This flag indicates whether tax activity can occur for this company. Set this flag to true to permit the company to process transactions.
If this company participates in Streamlined Sales Tax, this is the date when the company joined the SST program.
The unique identifier of the mini-one-stop-shop used for Value Added Tax (VAT) processing.
The user ID of the user who last modified this record.
Optional: A list of settings defined for this company.
If this company files Streamlined Sales Tax, this is the PID of this company as defined by the Streamlined Sales Tax governing board.
For United States companies, this field contains your Taxpayer Identification Number. This is a nine digit number that is usually called an EIN for an Employer Identification Number if this company is a corporation, or SSN for a Social Security Number if this company is a person. This value is required if the address provided is inside the US and if you subscribed to the Avalara Managed Returns or SST Certified Service Provider service. Otherwise it is optional.
This flag is true if this company is the default company for this account. Only one company may be set as the default.
Set this flag to true to give this company its own unique tax profile. If this flag is true, this company will have its own Nexus, TaxRule, TaxCode, and Item definitions. If this flag is false, this company will inherit all profile values from its parent.