Avalara
Connect Avalara to Loopfour with your account details and see the jobs a workflow can do there, such as calculating sales tax on a sale.
Loopfour can calculate sales tax on a sale with Avalara AvaTax, read the tax document back, and void a tax document when its invoice is replaced.
- TriggerA deal closes in your CRM
- StepCalculate sales tax in AvalaraReturns the tax and the total including tax.
- StepCharge or invoice the customerUses the total including tax.
- OutputTax document saved in Avalara
What you can do
- Calculate sales tax on a sales invoice, a sales order (a quote that is not saved for filing), or a return.
- Commit a document for filing, when the sale is final.
- Record tax you already charged, by sending a set tax amount instead of the calculated one.
- Apply an exemption with the customer's certificate number.
- Look up a tax document by its document code.
- Void a tax document when the invoice it belongs to is replaced.
All of these are in the step's action list.
Connect
Avalara connects with your account details. You need your Avalara account ID and a license key.
Open Integrations
Select Integrations in the sidebar, find Avalara and select Connect.
Enter your account details
Enter your Account ID and License Key, and choose the Environment: Production or Sandbox. You can add a Company Code (optional), which steps use when they do not name a company.
Name and connect
You can also fill in Connection name (optional). Select Connect. The connection shows its environment and the last digits of the account, so you can tell sandbox from production.
Pick the account on each step
On each Avalara step, pick the account in Avalara Account.
Good to know
- Documents are not committed by default. Leave Commit Transaction off to calculate tax only. Turn it on when the document is final and should count toward filing.
- Use the invoice number as the document code for each invoice. Loopfour checks Avalara for a document with the same code before it creates one, and stops instead of creating a duplicate. A new code for each attempt would defeat that check.
- If a step fails after sending, check Avalara before running it again. Avalara may already have saved the document. Look it up, then reuse it or void it.
- Totals are in whole currency units. A total of 270.63 means $270.63, not 270.63 cents. When a payment step expects cents, your developer converts the amount.
- When you re-bill, void the old document. Use the same company code, document code and document type as the original, or the old tax stays in your filing.
- A picked account that stops working stops the step. It does not fall back to your other Avalara account, which may be the other environment.
- Discounts are not supported yet. A step with a document discount fails before it reaches Avalara.
Playbooks that use this system
Avalara can be added before the charge or invoice step in any billing workflow, such as Create an invoice when a deal closes.
Loopfour