Skip to main content
GET
Get the RADIAN event chain of an invoice

Authorizations

Authorization
string
header
required

Send your Cufea API key as Authorization: Bearer <key>.

Path Parameters

invoice_id
string
required

Prefix and number, e.g. SETP990000001.

Response

Successful Response

The RADIAN event chain of an invoice, derived from its history.

accepted
enum<string>[]
required

Codes the DIAN accepted, oldest first.

RADIAN events of a sales invoice (TB/13.3.1 Eventos de un Documento Electrónico).

The description of each code is the literal AAH04 requires in DocumentResponse/Response/cbc:Description (anexo19.txt:15426, 15566, 15748, 15827; 032 at 31565-31567).

Available options:
030,
031,
032,
033,
034
events
EventRecord · object[]
required

Saved events, oldest first, with their derived state.

invoice_id
string
required

The invoice the events belong to.

next_allowed
enum<string>[]
required

Codes that may be sent today under the chain and timing rules, in code order.

RADIAN events of a sales invoice (TB/13.3.1 Eventos de un Documento Electrónico).

The description of each code is the literal AAH04 requires in DocumentResponse/Response/cbc:Description (anexo19.txt:15426, 15566, 15748, 15827; 032 at 31565-31567).

Available options:
030,
031,
032,
033,
034
notes_blocked
enum<string> | null

The accepted 033 or 034 that closes the invoice to notes, if any.

Available options:
030,
031,
032,
033,
034