Understand
Guide: Exemption Certificate Management (ECM)
Understand the difference between companyId and companyCode for AvaTax and ECM integrations.
If you’re an active AvaTax user, you may be accustomed to including the companyCode in request URLs. For ECM integrations, the APIs require your companyId in the request URLs. If you don’t know your companyId, you can retrieve it using the QueryCompanies API. The response will include the companyId for each company in your account.
Part of the Document management integration guide. Open the full “Understand” milestone on Avalara to see every page in this section.

