Fac-360
Summaries

Get a tenant-owned daily summary (RC) and its ticket operation

Reports the durable operation behind the summary, including the SUNAT ticket once it exists. The ticket is the only handle that can resolve a dispatch out of band, so it is published rather than hidden.

GET
/api/v2/summaries/{id}

Reports the durable operation behind the summary, including the SUNAT ticket once it exists. The ticket is the only handle that can resolve a dispatch out of band, so it is published rather than hidden.

Authorization

bearerAuth
AuthorizationBearer <token>

Tenant-bound, scoped and expiring Apifact credential. Migrated legacy credentials are accepted only on deprecated v1 writes and tenant-scoped v2 read, poll and download routes. Each operation names the single scope it requires in x-required-scope; the scope array of the security requirement itself is empty because OpenAPI 3.0 requires it to be for a non-oauth2 scheme.

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/summaries/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Authorization: Bearer apf_v2_tu_credencial"
{  "schemaVersion": "2.0",  "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",  "summaryId": "34e22033-2566-446b-a658-ac29eb10a36c",  "operationId": "3051932a-fdd2-48fa-b330-7e7d41535969",  "summaryType": "RC",  "environment": "BETA",  "issueDate": "2019-08-24",  "referenceDate": "2019-08-24",  "correlative": "string",  "documentName": "string",  "submissionProfileVersion": "sunat-summary-rc-v1",  "state": "VALIDATED",  "stateVersion": 1,  "lineCount": 1,  "ticket": "string",  "lastStatusCode": "string",  "responseCode": "string",  "responseMessage": "string",  "errorCode": "string",  "references": {    "total": 0,    "linked": 0,    "unlinked": 0  },  "deadline": {    "status": "WITHIN_DEADLINE",    "elapsedDays": 0,    "limitDays": 0  },  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}