Factuarea APIDevelopers

Download the payroll export of a closed month

Download the payroll incidents file of a closed month in the format of a Spanish payroll software (a3 for A3 Wolters Kluwer, sage for Sage, nominasol for NominaSOL), read from the frozen snapshot of the monthly close without recomputation.

  • Each row is one employee with their fiscal identity (tax ID and name), worked vs expected minutes, overtime, balance and the approved absences broken down by type.
  • format is optional and defaults to a3; a format outside the catalog returns 422. A period without a close returns 404. The response is a binary spreadsheet download.
GET
/monthly-time-record-closes/{monthly_time_record_close}/payroll-export
AuthorizationBearer <token>

In: header

Path Parameters

monthly_time_record_close*string

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
X-Active-Profile?string

Operate on behalf of a child company (gestoría master key): pass its public id (UUID v7) and the request runs against that child's data without changing the key's scope, tier or environment (omit to use the key's own company). Invalid UUID → 400 parameter_invalid_uuid; unknown or non-owned id → 404 profile_not_found. See the Acting on behalf guide.

Formatuuid

Response Body

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

application/json

application/json

application/json

application/json

application/json

application/json