Payroll
Draft a payroll run
NOT available to API keys — requires an interactive admin/approver session. Computes a draft payroll run for the period from current employees, tax cards, and employer settings. Drafting does not pay anyone — a separate approval is required. Pass idempotency_key to make retries safe.
post/payroll/draft
Request
- Base URLhttps://api.app.lastaccountingcompany.com/portal
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Updated payroll workspace including the draft run.
Payroll Workspace Data required
The payroll workspace for a period: employees, employer settings, and runs. Amounts are integer cents; rates are basis points. Interior shapes beyond the top level vary and are returned as-is.
Changes
No recorded changes to this operation across all 1 revision of this API.