usage_records: the individual billable events Nmbr recorded.usage_summaries: monthly rollups of those records by company and event type.
How usage is counted
Usage summaries group records by theirrecorded_at month.
Paid usage (employee_paid, contractor_paid, employee_paid_unique, and contractor_paid_unique) is recorded in the month of the payroll’s pay date. The pay period the payroll covers and the day the money reaches the bank don’t change the month. Historical and correction payrolls generate no usage records.
Example:
- A payroll for 15 employees has a pay date of May 29. It covers April 16 to April 30.
- Nmbr records 15
employee_paidrecords with a May 29recorded_at. - The count appears in the May usage summary, even if a payment settles in June.
employee_paid or contractor_paid once. If a payment fails and is retried, the retry doesn’t record it again. The failure records its own disbursement_failure instead. See Failed payments.
If a summary count looks unexpected, inspect the underlying records and compare their recorded_at timestamps.
Failed payments
When an employee’s or contractor’s bank rejects a payment, Nmbr records adisbursement_failure for that attempt. It’s recorded in the month the bank reports the failure, which can be later than the pay date month.
Example:
- A payroll has a pay date of May 29. The employee’s bank rejects the payment on June 2.
- The payment is retried on June 3 and settles.
- The
employee_paidrecord stays in May. - The
disbursement_failurerecord appears in June.
disbursement_failure records.
Usage event types
Each usage summary has anevent and a count. These are the usage event types Nmbr currently returns:
Partners billed per employee per pay run usually reconcile against
employee_paid and contractor_paid. Partners billed per employee per month usually reconcile against employee_paid_unique and contractor_paid_unique.
Get monthly usage summaries
UseGET /usage_summaries to retrieve monthly rollups. Usage endpoints are partner-level endpoints, so authenticate with your partner secret.
0.
Reconcile a summary with usage records
UseGET /usage_records to inspect the records that feed a summary. Filter by the same company and the recorded date range for the month you are reconciling.
recorded_at on its paid usage records and contributes to the May summary, whatever pay period it covers.
Practical reconciliation flow
- Fetch
GET /usage_summariesfor the company and month you want to invoice. - Group the returned rows by
event. - Use
employee_paidpluscontractor_paidfor per-pay-run billing. - Use
employee_paid_uniquepluscontractor_paid_uniquefor per-month billing. - Use
disbursement_failureto count failed payments to employees and contractors. - If a count is unexpected, fetch
GET /usage_recordsfor the same company and recorded month, then inspect theevent,record, andrecorded_atvalues.

