Create pay item

post
https://api.wafeq.com/v1/payslips/{payslip_id}/pay-items/

Endpoint for creating a new pay item.

Path Params
stringrequired
Query Params
string

Comma-separated related objects to return in full instead of as IDs. Accepted values: account, account.parent, cost_center. Nested relations are joined with a dot.

Body Params

A pay item of a payslip, such as a salary component or deduction.

stringrequired

The account associated with this pay item.

doublerequired

The unit amount for the pay item.

string | null

The cost center associated with this pay item.

stringrequired

The line item description for the pay item.

Headers
string

Client-provided UUID to uniquely identify a request

string

The id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.

stringenumDefaults to application/json

Generated from available request content types

Allowed:
Response