API Cupo (Import Quota)
Description¶
This API allows you to validate whether the cuit/cuil has available quota and whether it is a valid CUIT/CUIL.
POST¶
ObtenerCupos¶
Endpoint¶
🔐 POST - Production Environment
🚀 https://apis.andreanigloballpack.com/validacioncuit-globallpack/api/v1/ObtenerCupos
🧪 POST - Testing Environment
🛠️ https://apisqa.andreanigloballpack.com/validacioncuit/api/v1/ObtenerCupos
- This API allows you to obtain information about the consignor.
Request¶
- Required field: "numeroDocumentoConsignatario" (CUIT/CUIL of the consignor)
{
"tipoDocumentoConsignatario": "cuil",
"numeroDocumentoConsignatario": "99999999999",
"validarCupo": true,
"validarNivel3": true,
"contratoCourrier": "60000000000"
}
Response¶
Status 200 (OK)
- "cuitValido": 0 = invalid, 1 = valid
- "cantidadCuposDisponibles": number of available quotas for the consignor to be able to import individually. If it is 0, there is no available quota and the regime of their shipment will be general or detailed commercial.
- "nivel3": true = has electronic tax domicile, a service that allows receiving official communications from ARCA and is mandatory to be able to use the services with tax key.
- "esMayorDeEdad": true = is over 16 years old, false = is underage. If underage, the quota and level 3 are not validated.
{
"cuitValido": 1,
"cantidadCuposDisponibles": 5,
"nivel3": false,
"esMayorDeEdad": true
}
Status 500 (InternalServerError)
[
{
"code": "CUIT_INVALIDO",
"property": "NumeroDocumentoConsignatario",
"message": "La longitud del CUIT debe ser exactamente de 11 caracteres."
}
]
Status 500 (InternalServerError)
[
{
"code": "31707",
"property": "ARCA",
"message": "Consignatario inexistente"
}
]