send_to_payroll trigger. When several statements are sent to payroll at once, Qobra sends one call per statement. For the headers, the envelope and the delivery rules, see the webhooks overview.
Payload
data is the list of the statement reporting records of the statement. A statement has:
- one record per plan the user is paid on in the period;
- one record for the manual adjustments of the statement;
- one record for the draw of the statement.
Record fields
Your statement reporting can hold more fields: the metrics your admins flag and map to the statement report, and one field per group dimension. Each one appears under its API key.
Every amount field comes with a
<key>_currency field holding its ISO 4217 currency code, for example payment and payment_currency. Amounts are not rounded.