Earning data model
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | |
created_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
user_id | string | No | employee ID (reference to HrisEmployee) |
company_id | string | No | (reference to HrisCompany) |
paycode_id | string | No | the hris_paycode (earning code) this earning is paid under |
amount | number | No | money amount added to each pay run it applies to |
currency | string | No | |
hours | number | No | |
rate_amount | number | No | rate per hour/unit |
frequency | enum | No | ONE_TIME for a single addition to the next unprocessed pay run, otherwise recurring Values: ONE_TIME, DAY, QUARTER, YEAR, HOUR, MONTH, WEEK, BIWEEKLY, SEMIMONTHLY |
start_at | string (date-time) | No | recurring: first effective date; ONE_TIME: requested pay date (empty = next unprocessed pay run) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
end_at | string (date-time) | No | recurring: last effective date (empty = until stopped) (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
status | enum | No | Values: PENDING, ACTIVE, PROCESSED, ENDED, CANCELLED, FAILED |
payroll_id | string | No | the hris_payroll (pay run) a ONE_TIME earning targets or was paid in |
payslip_id | string | No | the hris_payslip a ONE_TIME earning was paid on |
notes | string | No |
Are we missing anything? Let us know