Payroll ERP Export Pipelines
Enterprise organizations do not calculate payroll manually. The TitanGrid ecosystem is designed to act as the single source of truth for billable hours, which must be seamlessly pushed into External Resource Planning (ERP) systems.
Export File Compilation
Different ERP systems require completely different column headers, delimiters, and data formats. Rather than writing hardcoded CSV generators, TitanGrid utilizes a Dynamic Mapping Engine.
How it Works:
- Cycle Aggregation: The system sums all valid
worked_minutesfrom theAttendanceRecordtable between the requestedcycle_startandcycle_enddates. - Overtime Segmentation: Based on local labor laws, hours exceeding the weekly threshold (e.g., > 40 hours) are automatically segregated into a secondary
overtime_hrsvariable. - Template Mapping: The engine passes the variables through the requested
target_erptemplate (e.g.,sage_vip,xero, orquickbooks). This template renames the JSON keys to match the exact CSV header columns expected by the financial software.
Automated Cycle Exports
By hitting the Export Cycle endpoint, integrators can generate flat, delimited text files ready for immediate drag-and-drop into standard payroll software.
Operation Details
- Endpoint:
POST /api/payroll/export-cycle/ - Action: Compiles the requested 30-day payroll cycle. It calculates exact decimal hours (e.g.,
160.5hours instead of160h 30m), separates standard time from overtime, and outputs a flat CSV string that financial controllers can save natively as a.csvfile.
➔