For invoices eligible for late fees, you can schedule a batch job to apply late fees automatically. 

To schedule the Late Fee Batch Job, 

  1. Go to Setup → Apex Classes.
  2. Click Schedule Apex.
  3. Enter a Job Name and select ApplyLateFeeScheduleJob from the Apex Class lookup.
  4. Set Weekly frequency and select all days to run the batch job daily.
  5. Enter Start Date, End Date and Preferred Start Time.
  6. Click Save. 


Your late fee batch job is now scheduled to run daily.