Payroll

Create Rule

Beta: this endpoint currently serves employers onboarded after March 4th and historical support will be added soon Custom rules can be created to associate specific attributes to pay statement items depending on the use case. For example, pay statement items that meet certain conditions can be labeled as a pre-tax 401k. This metadata can be retrieved where pay statement item information is available.

post/employer/pay-statement-item/rule

Headers

Finch-API-Versionstring date required

Header used to specify the version for a given API request. Current version is 2020-09-17.

Content-Typestring required

Used to indicate the original media type of the resource

Request body

effective_start_datestring nullable
effective_end_datestring nullable
entity_type'pay_statement_item'

The entity type to which the rule is applied.

Response

Successfully Created

idstring

Finch id (uuidv4) for the rule.

priorityinteger

The priority of the rule.

created_atstring date-time

The datetime when the rule was created.

updated_atstring date-time

The datetime when the rule was last updated.

effective_start_datestring nullable
effective_end_datestring nullable
entity_type'pay_statement_item'

The entity type to which the rule is applied.

Changes