Scheduling Avalara VAT Reporting Batch Jobs
To ensure that Avalara VAT Reporting always contains your latest financials from Accounting, you must create a recurring batch task. You can do this using the standard Salesforce Apex class scheduler.
Perform the following steps to create a daily recurring job.
- From Setup, click Custom Code | Apex Classes.
- Click Schedule Apex.
- Next to Job Name, enter a meaningful name. For example, Avalara VAT Reporting Daily Job.
- Next to Apex Class, enter AvalaraVatReportingScheduler.
- Next to Frequency, select Weekly.
- Under Recurs every week on, select all the days. This specifies that the job runs every day. If there are eligible transactions, they are sent to Avalara VAT Reporting. If there are no eligible transactions, nothing is sent to Avalara VAT Reporting. For more information, see Sending Transaction Data to Avalara VAT Reporting.
- Next to Start, select today's date.
- Next to End, select a future date. For example, a year from today's date.
- Next to Preferred Start Time, select the time of day when the job should start running. For example, your company's end of business hours. Note that the hours display in your time zone.
- Click Save.