Skip to main content
GET
Get the buyer email of an accepted note, to send it yourself

Authorizations

Authorization
string
header
required

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

Path Parameters

kind
enum<string>
required

Note series: credit selects credit notes (credit_note, DIAN 91), debit selects debit notes (debit_note, DIAN 92). Each series has its own counter.

Available options:
credit,
debit
document_id
string
required

Prefix and number, e.g. SETP990000001.

Response

Successful Response

What the buyer email carries, for sending it yourself.

document_id
string
required
subject
string
required

NIT; company name; number; document type code; trade name, as Anexo 1.9 §9.1 prescribes.

zip_base64
string
required

The ZIP (AttachedDocument XML and PDF), base64.

zip_name
string
required
recipient
string | null

The buyer's email of the document, if it has one.