Skip to main content
Qobra sends this call each time a statement is sent to payroll, when the webhook subscribes to the 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.
Each record uses the format of the statement reporting records of the public API.

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.

User

Example

To read statement reporting data from the API, for example to rebuild a payroll export, use Fetch statements reporting.