Create Payroll

Create a single payroll.

Payrolls can only be added to accounts with the Payroll type.
All the amounts on the top-level payroll object are the totals for all the associated compensations
Payrolls must have at least one employeeCompensation OR contractorCompensation
The transactionAmounts field should contain a list of all the amounts for all the non-reimbursement transactions that were used to fund this payroll.
If no transactionAmounts are provided, the companyDebit amount will be used instead
Puzzle uses this information to link this payroll with all the transactions that funded it to ensure everything gets represented in the general ledger correctly.
Puzzle currently only supports USD currencies

Required scope: write:payroll

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length ≥ 1

The company ID

Body Params
string
required
length ≥ 1

Partner-facing external identifier

string
required
string
required
length ≥ 1

Calendar date, YYYY-MM-DD

string
required
length ≥ 1

Calendar date, YYYY-MM-DD

companyDebit
object
required

A monetary amount with its currency

transactionAmounts
array of objects
required
transactionAmounts*
netPay
object
required

A monetary amount with its currency

reimbursements
object
required

A monetary amount with its currency

employerTaxes
object
required

A monetary amount with its currency

employeeTaxes
object
required

A monetary amount with its currency

employerBenefits
object
required

A monetary amount with its currency

employeeBenefitsDeductions
object
required

A monetary amount with its currency

boolean
required
employeeCompensations
array of objects
required
employeeCompensations*
contractorCompensations
array of objects
required
contractorCompensations*
payPeriod
object
deferredPayrollTaxes
object

A monetary amount with its currency

payrollFees
object

A monetary amount with its currency

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json