Stamp payroll receipts
Queues every ready receipt of the run for stamping in one request. Send the ready count and net you checked (the run's rows.ready); if they changed, it returns 409 conflict and stamps nothing. Each receipt is stamped in the background on its own, so a rejected receipt never holds back the rest. Returns 202 with the run; follow progress through its counts and its receipts' states. Stamps are charged to the API wallet.
- Endpoint
POST /v1/payroll/runs/{runId}/stamp- Authorization
- Required permissions: `employees:manage`, `invoices:manage`.
- Environments
- Production and sandbox
- Idempotency
- Required for safe retries.
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.
List payroll receipts GET
Lists a run's receipts by employee name, optionally in one state, with their totals, the reasons a receipt needs attention (issues), whether a person omitted it (omitted), and the stamped CFDI's documentRef.