SAIF.PremiumAudit.Batch is a .NET Framework 4.8 console application that
recalculates workers' compensation policy premiums from submitted payroll audit
data. Each night it reads audits that underwriting has marked as ready, applies
the current payroll class code rates, writes the resulting premium adjustment
transactions back to the policy system, and produces success and error detail
reports for the operations team. The job is written in VB.NET and shares
validation logic with the SAIF.Framework.Validation library.
Recalculate earned premium for policies with a completed payroll audit and
post the resulting debit or credit transaction to the policy system.
Apply the payroll class code rates in effect on the policy effective date so
that audit adjustments match the rates the policy was rated with.
Produce an auditable per-policy record of every adjustment, including the
audits that were rejected and why, for the underwriting and premium accounting
teams.