Skip to main content
GET
Documentos tributarios de una venta
Returns the DTE issued for one sale. Use it to show the folio to the customer, check the document’s status, or fetch its PDF.

Endpoint

Required scope

ecommerce:invoicing:read

Headers

Path parameters

Example request

Response

200 OK

401 Unauthorized

Missing, invalid, revoked, or expired token.

403 Forbidden

The token does not have the ecommerce:invoicing:read scope.

404 Not Found

No sale with that id, or it belongs to a different company.

502 Bad Gateway

ECOMMERCE_UPSTREAM_ERROR — the ecommerce service could not answer.

Operational notes

Authorizations

Authorization
string
header
required

Personal Access Token con prefijo kbai_pk_. Generar desde el portal con permiso developer.manage_tokens.

Path Parameters

id
string
required

Response

200 - application/json
items
object[]
required