UPA File Generator
generate_upa_filesGenerate UPA pension declaration XML (the Dutch payroll-to-pension-fund message) for one or more periods, with employments, schemes and optional deliberate defects that a receiving system should reject. Deterministic per seed. XML is large, so ask for the summary format unless you need the file contents; for bulk use the REST API at https://toolforte.com/api/v1/tools/upa-file-generator
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Same seed returns the same employments. Omit for the default set. | |
| count | No | Employments to generate. | |
| format | No | summary returns file names and warnings only, which is usually what you want. xml returns full file contents and can be very large. | summary |
| months | No | How many monthly periods to generate, 1 to 12 (default 1) | |
| defects | No | Switch on deliberate defects to test rejection paths. Valid ids: invalidBsn, duplicateBsn, duplicateNumIv, totalsMismatch, endBeforeStart, dateOutsidePeriod, unknownRegVrnt, negativeAmount, zeroNormHours, missingMandatory | |
| startYear | No | Year of the first period | |
| schemeType | No | Pension scheme type: FPR, SPR or DB | |
| startMonth | No | Month of the first period, 1 to 12 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| format | No | ||
| result | No | The result, when it is not an object | |
| fileCount | No | ||
| fileNames | No | ||
| peopleCount | No |