Skip to Content

The nightly check found another system reusing a number on its series

Request Body

application/json
  1. body
id*string

The event's id, also its webhook-id header: deduplicate by it.

Formatuuid
type*"series.duplicate_detected"
Value in"series.duplicate_detected"
timestamp*string
Formatdate-time
backfill?true

Present, and true, only on a delivery a backfill replayed (POST /v1/webhook-endpoints/{id}/backfill).

Value intrue
data*

Response Body

Any 2xx within 15 seconds acknowledges it; anything else is retried.

Example Requests
POST/series.duplicate_detected
Request Body
application/json
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "type": "series.duplicate_detected",
  "timestamp": "2019-08-24T14:15:22Z",
  "data": {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "object": "series",
    "business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
    "environment": "sandbox",
    "type": "invoice",
    "establishment": "string",
    "emission_point": "string",
    "establishment_address": "string",
    "establishment_name": "string",
    "emission_point_name": "string",
    "issued_by": "fiscalbase",
    "active": true,
    "next_number": 1,
    "last_number_seen": 0,
    "last_seen_on": "2019-08-24",
    "seen_this_month": 0,
    "issued_today": 0,
    "gaps": {
      "count": 0,
      "oldest_missing": 0
    },
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z",
    "document": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "number": "string",
      "access_key": "string"
    }
  }
}