Payroll → Books GL posting
When a payroll run completes, Fluide Payroll publishes aPAYROLL_RUN_COMPLETED event. Fluide Books consumes it and posts a double-entry journal entry using subsidiary-scoped payroll account mappings.
Prerequisites
- Books subsidiary configured for the company
- Payroll runs completing successfully — Run payroll
- Payroll GL mappings configured per subsidiary
Required mapping codes
Each subsidiary needs mappings for at minimum:
Configure mappings via Books HTTP APIs (audited) — see Payroll account mappings in Books API reference.
Steps
1
Configure payroll GL mappings
componentCode.2
Complete a payroll run
Process and complete a run — Run payroll. GL posting triggers on completion, not on draft or calculate.
3
Verify journal entry in Books
List journal entries for the period and confirm a posted payroll entry exists:
Tips
- Mappings are per subsidiary — multi-entity companies need a complete set for each legal entity.
- Posting is event-driven and idempotent on replay — re-consuming the same run event does not duplicate entries.
- Partner integrations: include acting-client headers on Books API calls when scoping to a merchant.
Troubleshooting
Related
Run payroll
Complete a run to trigger posting.
Books API reference
Mappings and journal entry endpoints.