Payroll run policies

A set of rules that sets which components and inputs apply to a payroll run, by company, kind and pay date.

Fields

The API name is what the API, MCP and the CLI use.

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
KindkindConstantYes
EventeventConstantYes
Include unconsumed inputsincludeUnconsumedInputsBooleanYesWhen enabled, the related rule or behavior applies to this record.
Absence deduction 020emitAbsenceDeductionBooleanYesWhen on, payroll shows deduction 020 while keeping the same ISR as salary reduction.
Included occurrencesoccurrencesTextYesComma-separated list of component occurrence values allowed on the run.
Valid fromdateFromDateYesFirst calendar date this record applies.
Valid todateToDateLast calendar date this record applies, if any.
Created bycreatedByUser
Created atcreatedAtDate and TimeYes
Updated byupdatedByUser
Updated atupdatedAtDate and TimeYes
Published bypublishedByUser
Published atpublishedAtDate and Time
Blocked byblockedByUser
Blocked atblockedAtDate and Time
Archived byarchivedByUser
Archived atarchivedAtDate and Time

Actions

What you can do with a record. Every action also sends the webhook event payrollrunpolicies.<action>. Reads (find, get, count) work on every table.

NameAPI nameDescriptionWhere
CreatecreateAdd a new run policy.App · WebMCP · API · MCP · CLI
EditupdateSave changes to this run policy.App · WebMCP · API · MCP · CLI
ArchivearchiveRetire this run policy from daily use. It leaves active lists and pickers, and most actions stop. Unarchive to restore it.App · WebMCP · API · MCP · CLI
RestoreunarchiveReturn this run policy to active lists and actions.App · WebMCP · API · MCP · CLI
DeletedeleteDelete this run policy and the data that belongs with it. This cannot be undone.App · WebMCP · API · MCP · CLI

States

How a record moves from state to state. Archive and block can happen in any state.

ActionAPI name
Publishpublish