Prepare contribution files
prepare_contributionPrepare Thailand SSO monthly contribution filings by calculating contributions and producing review XLSX and upload TXT files offline.
Instructions
Load the cached employer and encrypted prior baseline, calculate contributions, and atomically write review XLSX and upload TXT files. No network access.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| payDate | Yes | Gregorian date in YYYY-MM-DD format | |
| employer | No | Cached nickname or accountNo:branch; defaults to active employer | |
| employees | Yes | ||
| previousEmployees | No | Optional explicit baseline; otherwise load latest submitted baseline before this period |