An import finished
application/json- body
id*stringThe event's id, also its webhook-id header: deduplicate by it.
Format
uuidtype*"import.completed"Value in
"import.completed"timestamp*stringFormat
date-timebackfill?truePresent, and true, only on a delivery a backfill replayed (POST /v1/webhook-endpoints/{id}/backfill).
Value in
truedata*Any 2xx within 15 seconds acknowledges it; anything else is retried.
Example Requests
POST/import.completed
application/json
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "import.completed",
"timestamp": "2019-08-24T14:15:22Z",
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"object": "import",
"country": "ec",
"environment": "sandbox",
"business_id": "f59fcbb7-848d-4242-af07-a8bb7e3ab37c",
"status": "queued",
"status_transitions": {},
"files": [
{
"name": "string",
"kind": "xml",
"size": 0,
"sha256": "string",
"ignored_entries": 0
}
],
"counts": {
"found": 0,
"pending": 0,
"imported": 0,
"duplicate": 0,
"received": 0,
"skipped": 0,
"failed": 0
},
"verification": {
"sri": 0,
"listed": 0,
"signature": 0,
"unconfirmed": 0
},
"currency": "string",
"sales_total": "string",
"upgraded": {
"signature": 0,
"unconfirmed": 0
},
"numbering": [
{
"series_id": "0f6582ac-1e7e-41dc-a63a-24fccd074d0c",
"type": "invoice",
"establishment": "string",
"emission_point": "string",
"highest_imported": 0,
"highest_reserved": 0,
"next_number": 0,
"active": true,
"created": true
}
],
"failure": {
"code": "unreadable_archive",
"message": "string"
},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
}