VeriFactu

Get VeriFactu stats

Return aggregated KPIs of your VeriFactu records: totals, counts per status, breakdown by record and invoice type and last transmission time.

  • Optional filters: date_from, date_to, environment.
  • pending_incident_count, blocked_incident_count and oldest_pending_at report the pending-remission alert and ignore the filters.
get/companies/{company}/verifactu/stats

Request

  • Base URL: https://api.factuarea.com/v1
  • URL: https://api.factuarea.com/v1/companies/{company}/verifactu/stats
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

companystring uuid required

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

Query parameters

statusstring
Example:accepted

Optional status filter.

record_typestring
Example:alta

Optional record type filter.

invoice_typestring
Example:F1

Optional invoice type filter.

date_fromstring
Example:2026-01-01

Optional date from filter.

date_tostring
Example:2026-03-31

Optional date to filter.

environmentstring
Example:production

Optional environment filter.

Headers

Factuarea-Versionstring date
Example:2026-06-01

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.

Response

Example response

{
  "data": {
    "object": "verifactu_stats",
    "total_records": 1284,
    "pending": 12,
    "submitted": 18,
    "accepted": 1250,
    "rejected": 3,
    "error": 1,
    "by_record_type": {
      "alta": 1230,
      "anulacion": 54
    },
    "by_invoice_type": {
      "F1": 1100,
      "F2": 130,
      "R1": 54
    },
    "last_transmission_at": "2026-04-15T10:31:05+02:00",
    "pending_incident_count": 31,
    "blocked_incident_count": 1,
    "oldest_pending_at": "2026-04-15T09:12:40+02:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.