API referenceDocumentsPayroll
Change payroll payment date
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.
- Endpoint
PATCH /v1/payroll/runs/{runId}- Authorization
- Required permission: `employees:manage`.
- Environments
- Production and sandbox
- Idempotency
- Required for safe retries.
Get payroll run GET
Returns one payroll run with its receipt count and net per state, how many receipts wait for a salary (missingSalary), whether its receipts are still being calculated, and stampBlock while stamping is held: the plan or wallet ran out, background work was interrupted, or a published tax-rule change awaits confirmation.
Discard payroll run DELETE
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.