Skip to content

What a delivery link opens: the closed company, until when, and the years with documents.

POST
/v1/archive-delivery/inspect
curl --request POST \
--url https://api.emite.cr/v1/archive-delivery/inspect \
--header 'Content-Type: application/json' \
--data '{ "token": "example" }'

404 ARCHIVE_DELIVERY_LINK_INVALID for an unknown token or a company that is no longer closed, and ARCHIVE_DELIVERY_LINK_EXPIRED for an expired link.

Media typeapplication/json
object
token
required

The delivery link's token, as the email carried it.

string
>= 20 characters <= 200 characters
Examplegenerated
{
"token": "example"
}
Media typeapplication/json
object
companyName
required

The closed company’s name.

string
identificationType
required

Its identification type (Hacienda’s code).

string
identificationNumber
required

Its identification number.

string
closedAt
required

When the account was closed.

string
expiresAt
required

Until when the link downloads.

string
years
required

The calendar years (Costa Rica) with production documents, issued or received: the periods the page offers, the most recent first.

Array<number>
Example
{
"identificationType": "02",
"identificationNumber": "3101123456"
}