Factuarea APIDevelopers

Download the payroll export of a closed month

Download the payroll incidents file of a closed month for a Spanish payroll software, read from the frozen snapshot. - format is optional (a3 default, sage, nominasol); an unknown format returns 422. - A period without a close returns 404; the response is a binary spreadsheet.

GET
/companies/{company}/monthly-time-record-closes/{monthly_time_record_close}/payroll-export

Authorization

AuthorizationBearer <token>

Your API key as a bearer token: fact_live_… in production, fact_test_… in sandbox. See the authentication guide.

In: header

Path Parameters

company*string

Public identifier (UUID v7) of the company. Get it from GET /v1/me (data.scope[].id).

Formatuuid
monthly_time_record_close*string

Public identifier (UUID v7) of the monthly time-record close.

Formatuuid

Query Parameters

format?|

Payroll export format by software (defaults to a3).

Value in"a3" | "sage" | "nominasol" | null

Headers

Factuarea-Version?string

Pin the API version (YYYY-MM-DD, Stripe-style date versioning) for this request; omit to use the key's pinned version, or the latest if none. Unsupported version → 400 unsupported_api_version; malformed → 400 parameter_invalid_format. The effective version is echoed in the Factuarea-Version response header. See the Versioning guide.

Formatdate

Response Body

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

application/json

application/json

application/json

application/json

application/json

application/json

application/json