POST
/
sunat
/
cpe
curl --request POST \
  --url https://api.factiliza.com/v1/sunat/cpe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ruc_emisor": "<string>",
  "codigo_tipo_documento": "<string>",
  "serie_documento": "<string>",
  "numero_documento": "<string>",
  "fecha_emision": "<string>",
  "total": "<string>"
}'
{
  "status": 200,
  "message": "Exito",
  "data": {
    "comprobante_estado_codigo": "1",
    "comprobante_estado_descripcion": "ACEPTADO",
    "empresa_estado_codigo": "00",
    "empresa_estado_description": "ACTIVO",
    "empresa_condicion_codigo": "00",
    "empresa_condicion_descripcion": "HABIDO"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The body is of type object.

Response

200
application/json

plant response

The response is of type object.