Listar Billing Documents
Changed onLista los billing documents de la organización que coinciden con los filtros indicados.
Devuelve los billing documents (CFDI) filtrables por los parámetros de query. Falla con 404 si no se encuentran resultados para los filtros dados.
Request
- Base URLhttps://api.trytoku.com
- URLhttps://api.trytoku.com/billing-documents
- AuthAPI key in header x-api-key
Query parameters
Identificador de la Checkout Session con la que se cobró.
Folio con que se timbró el CFDI.
Acota el listado a los billing documents emitidos desde esta fecha, inclusive.
Acota el listado a los billing documents emitidos hasta esta fecha, inclusive.
Estado de un comprobante fiscal mexicano ante el SAT. Nace ISSUED, que es el documento ya timbrado y vigente. Pedir su cancelación lo deja en PENDING_CANCELLATION mientras el receptor la acepta, y el documento sigue vigente durante esa espera: pasa a CANCELLED si la acepta, y vuelve a ISSUED si la ventana de aceptación vence sin respuesta.
FAILED está declarado pero ningún flujo lo emite: el comprobante se registra solo después de timbrarse, así que un timbrado fallido no deja documento.
Estado del billing document ante el SAT: ISSUED timbrado, FAILED fallido, CANCELLED cancelado y PENDING_CANCELLATION con la cancelación pedida y en espera de respuesta del SAT.
Cantidad máxima de billing documents a devolver.
Cantidad de billing documents a saltar antes de empezar a devolver, para paginar.
Headers
Llave de API de una Account, para operar sobre esa Account en lugar de la principal.
Response
Successful Response
Changes
- breaking
the
/response's property type changed from no type tostringfor status - breaking
the
/response's property type changed from no type tostringfor status - breaking
the
/response's property type changed fromintegertonumberfor status - breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromintegertonumberfor status - breaking
the
/response's property type changed fromintegertonumberfor status - breaking
the
/response's property type changed fromstringto no type for status - warning
added the new
CANCELLEDenum value to the/response property for the response status - warning
added the new
COMPLEMENTenum value to the/response property for the response status - warning
added the new
CREDIT_NOTEenum value to the/response property for the response status - warning
added the new
FAILEDenum value to the/response property for the response status - warning
added the new
INVOICEenum value to the/response property for the response status - warning
added the new
ISSUEDenum value to the/response property for the response status - warning
added the new
PENDING_CANCELLATIONenum value to the/response property for the response status - info
api operation id
obtener-facturasremoved and replaced withget_billing_document - info
api tag
Facturaciónadded - info
added the new optional
headerrequest parameterx-account-key - info
added the new optional
queryrequest parametercheckout_session_id - info
queryrequest parameterid_invoicelist-of-types was widened by adding typesinteger - info
queryrequest parameterid_transactionlist-of-types was widened by adding typesinteger - info
for the
queryrequest parameterend_date, the format was generalized fromdatetodate-time - info
for the
queryrequest parameterid_invoice, the type was generalized fromstringto no type - info
for the
queryrequest parameterid_transaction, the type was generalized fromstringto no type - info
for the
queryrequest parameterlimit, the format was generalized fromint32to no format - info
for the
queryrequest parameteroffset, the format was generalized fromint32to no format - info
for the
queryrequest parameterstart_date, the format was generalized fromdatetodate-time - info
for the
queryrequest parameterstatus, the type was generalized fromstringto no type - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the
response's property default value0was removed for the status - info
the
response's property default value0was removed for the status - info
the
response's property default value0was removed for the status
- breaking