Skip to main content
GET
/
documents
List Documents
curl --request GET \
  --url http://localhost:8000/documents
{
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "issuer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "issuer_razon_social": "<string>",
      "sequential": 123,
      "issue_date": "2023-12-25",
      "total": "<string>",
      "buyer_name": "<string>",
      "buyer_id": "<string>",
      "access_key": "<string>",
      "authorization_number": "<string>",
      "authorization_date": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123,
  "page": 123,
  "page_size": 123
}

Headers

authorization
string | null
x-api-key
string | null
x-tenant-id
string | null

Query Parameters

page
integer
default:1
Required range: x >= 1
page_size
integer
default:20
Required range: 1 <= x <= 100
document_type
string | null
status
enum<string> | null

Status values for document lifecycle.

Available options:
DRAFT,
VALIDATED,
NUMBER_RESERVED,
XML_GENERATED,
SIGNED,
RECEPTION_PENDING,
SUBMITTED_TO_SRI,
RECEIVED_BY_SRI,
AUTHORIZATION_PENDING,
AUTHORIZED,
REJECTED,
RECEPTION_RETRY_SCHEDULED,
AUTHORIZATION_RETRY_SCHEDULED,
RECEPTION_UNKNOWN,
AUTHORIZATION_UNKNOWN,
MANUAL_REVIEW_REQUIRED,
FAILED_PERMANENT,
CANCELLATION_REQUESTED,
CANCELLED,
VOIDED_BY_NC
search
string | null
date_from
string<date> | null
date_to
string<date> | null
issuer_id
string<uuid> | null

Cookies

factio_access_token
string | null

Response

Successful Response

Respuesta paginada del listado de documentos.

items
DocumentListItem · object[]
required
total
integer
required
page
integer
required
page_size
integer
required