post
http://localhost:8888/rest/v0/company//payrolls
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
