Ir al contenido

ReceivedEcfAprueba o rechaza un e-CF recibido

Aprueba o rechaza un e-CF recibido

Ver como Markdown
POST
/api/v1/received-ecf/{id}/commercial-approval
curl --request POST \
--url https://api.novafe.example/api/v1/received-ecf/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/commercial-approval \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "decision": "example", "rejectionReason": "example" }'

Aprueba o rechaza comercialmente un e-CF recibido (RF-05.5). Arma y firma el ACECF y encola su entrega al emisor externo y a la DGII (asíncrono: a diferencia del ARECF, no hay mandato de respuesta síncrona).

Autenticación: requiere una API key (header X-API-Key) con rol admin_tenant o emisor.

id
required
string format: uuid
object
decision
required
string
rejectionReason
required
null | string
Examplegenerated
{
"decision": "example",
"rejectionReason": "example"
}

Accepted

Bad Request

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string
errors
object
key
additional properties
Array<string>

Not Found

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string

Conflict

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string