API referenceDocumentsPayroll
Discard payroll run
Discards a run whose receipts were never sent to SAT: the run is removed at once, and its receipts and their unsent drafts follow in the background. Returns 409 conflict once any receipt is queued, stamping, or stamped.
- Endpoint
DELETE /v1/payroll/runs/{runId}- Authorization
- Required permission: `employees:manage`.
- Environments
- Production and sandbox
- Idempotency
- Required for safe retries.
Change payroll payment date PATCH
Changes the payment date (FechaPago) of every receipt and recalculates them in the background. Returns 409 conflict once any receipt is queued, stamping, or stamped.
Recalculate payroll run POST
Recalculates in the background, from current employee data and tax rules, every receipt not yet sent to SAT, and adds or removes employees who joined or left the run. Read the run until calculating is false.