Notas de ajuste
Introducción
Crear, consultar y gestionar notas de ajuste de documentos soporte con Factus API v2.
Accede al modulo a traves de factus.adjustmentNotes.
Documentación oficial: Notas de ajuste.
Métodos disponibles
| Método | Método HTTP + Endpoint | Descripción |
|---|---|---|
create(input, options?) | POST /v2/adjustment-notes/validate | Crear y validar una nota de ajuste |
list(params?, options?) | GET /v2/adjustment-notes | Listar notas de ajuste |
listAll(filter?, options?) | GET /v2/adjustment-notes | Recorrer todas las páginas automáticamente |
get(number, options?) | GET /v2/adjustment-notes/{number} | Obtener el detalle de la nota |
downloadXml(number, options?) | GET /v2/adjustment-notes/{number}/download-xml | Descargar el XML firmado |
downloadPdf(number, options?) | GET /v2/adjustment-notes/{number}/download-pdf | Descargar el PDF |
delete(referenceCode, options?) | DELETE /v2/adjustment-notes/reference/{reference_code} | Eliminar una nota no validada |
Consulta Paginación automática para el uso de listAll().