v4

OpenAPI 3.0.02026-07-314441026.8 MB
Reports

Create liability report

When a Liability Report is created, the report content will be created asynchronously. It may then be retrieved asynchronously from the GET endpoint using an "accept: text/csv" header.

To filter which payrolls should be included in the report, you may pass a filters object here, which may contain: payroll_type: One or more valid payroll type, as array or comma separated values. payroll_status: One or more valid payroll status, as array or comma separated values. pay_date_from: Limits payrolls to only from this pay-date and after. pay_date_to: Limits payrolls to only from this pay-date and before.

post/reports/liability

Request body

business_entity_idstring

One of business_entity_id, pay_schedule_id or payroll_id must be set.

Must be present when pay_schedule_id and payroll_id is either empty or not set.

pay_schedule_idstring

One of business_entity_id, pay_schedule_id or payroll_id must be set.

Must be present when business_entity_id and payroll_id is either empty or not set.

payroll_idstring

One of business_entity_id, pay_schedule_id or payroll_id must be set.

Must be present when business_entity_id and pay_schedule_id is either empty or not set.

Response

Created

idstring

The unique identifier of the object in Nmbr.

objectstring

The type of the object in Nmbr ("report").