Ir al contenido

EcfLista los comprobantes emitidos

Lista los comprobantes emitidos

Ver como Markdown
GET
/api/v1/ecf
curl --request GET \
--url https://api.novafe.example/api/v1/ecf \
--header 'X-API-Key: <X-API-Key>'

Listado paginado de comprobantes emitidos.

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

Type
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
Status
string
Search
string
From
string format: date
To
string format: date
Environment
string

test, cert o production.

Retrying
boolean

Solo los comprobantes en reintento automático (true) o solo los que no (false).

MinAmount
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?$/
MaxAmount
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?$/
Sort
string

issuedAt (por defecto) o montoTotal.

Order
string

desc (por defecto) o asc.

Page
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
PageSize
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
Skip
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/

OK

object
items
required
Array<object>

Fila del listado de comprobantes emitidos.

object
id
required
string format: uuid
status
required
string
encf
required
string
type
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
environment
required
string
issueDate
required
string format: date
montoTotal
required
number | string format: double
/^-?(?:0|[1-9]\d*)(?:\.\d+)?$/
buyerRnc
required
null | string
buyerName
required
null | string
createdAt
required
string format: date-time
retry

Reintento automático (ver EcfRetry? EcfDto.Retry); null si no hubo ninguno.

object
count
required

Reenvíos automáticos que NovaFE ya hizo de este comprobante.

integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
max
required

Tope de reenvíos automáticos. Al agotarse, el rechazo queda firme.

integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
nextAttemptAt
required

Cuándo es el próximo intento; null si no hay uno pendiente.

null | string format: date-time
totalCount
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
page
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
pageSize
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
totalPages
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
hasNextPage
boolean
hasPreviousPage
boolean