Pay component treatments

A rule that sets how a pay component affects the base of a tax.

Fields

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

NameAPI nameTypeRequiredDescription
IDidRecord IDYes
SequencesequenceWhole NumberYes
Pay componentpayrollcomponentIdReferenceYes
TreatmenttreatmentConstantYesHow the tax code applies: taxable, exempt, out of scope, or reverse charge.
Cap typecapKindConstant
Cap amountamountCapCurrency
TaxtaxIdReferenceYes
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

Relations

FieldPoints toKind
Pay component payrollcomponentIdPay componentsreference
Tax taxIdCompany taxesreference

Actions

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

NameAPI nameDescriptionWhere
CreatecreateAdd a treatment for this pay component and tax.App · WebMCP · API · MCP · CLI
EditupdateSave changes to this treatment.App · WebMCP · API · MCP · CLI
ArchivearchiveRetire this treatment. It leaves active lists and pickers, and most actions stop. The pay component and the tax themselves are kept. Unarchive to restore the treatment.App · WebMCP · API · MCP · CLI
RestoreunarchiveReturn this treatment to active lists and actions.App · WebMCP · API · MCP · CLI
DeletedeleteRemove this treatment. The pay component and the tax themselves are kept. 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