Select salary month & year. Invoice total is pulled from Google Sheets.
Uses past invoice vs salary-day patterns, rounding rules, and weekend adjustment.