Generate payroll GL export
POST/payroll/gl-exports
Generates a general ledger (GL) export batch for a payroll run, mapping payroll components (salaries, taxes, allowances, deductions) to the configured chart-of-accounts codes. The export can target CSV, or a connected accounting system (QuickBooks, Xero, etc.).
Request
Responses
- 201
- 422
GL export batch created.
Validation failed — check payroll_run_id or target_system value.