Notas Débito electrónicas

Endpoint para emitir una nota débito electrónica a la DIAN

Changed on

Este endpoint permite emitir una nota débito electrónica a la DIAN.

Recuerda visitar previamente las guías de Inicio y la guía de Habilitación en la DIAN - Factura Electronica

post/debit-notes

Request

  • Base URL
    https://sandbox-api.alegra.com/e-provider/col/v1
  • URL
    https://sandbox-api.alegra.com/e-provider/col/v1/debit-notes
  • Auth
    HTTP bearer

Parameters

#/paths/~1events/post/parameters/0 (unresolved $ref)

Request body

prefixstring

Prefijo de la nota débito electrónica

numbernumber double required

Número de la nota débito electrónica

conceptCodestring required

Concepto por el cual se genera la nota débito. Se debe colocar el Código que corresponda de la tabla de tipos de concepto de corrección para Notas débito disponibles de la DIAN

notestring[]

Notas o información adicional: Texto libre, relativo al documento. Máximo 5000 caracteres por nota. <br><i>Campo oficial DIAN <Note></i>

companyCompany required(unresolved $ref)
customerCustomer required(unresolved $ref)
itemsItems[] required(unresolved $ref)

Array que contiene el listado de artículos y/o servicios

discountsAndChargesDiscountsAndCharges (unresolved $ref)
paymentsPayments required(unresolved $ref)
advancePaymentsItems[] (unresolved $ref)

Array con el listado de anticipos. Grupo de campos para información relacionadas con un anticipo. <br><i>Grupo de información oficial DIAN <PrePaidPayment></i>

invoicePeriodInvoicePeriod (unresolved $ref)
orderReferenceOrderReference (unresolved $ref)
despatchDocumentReferencesDespatchDocumentReferences (unresolved $ref)
receiptDocumentReferencesReceiptDocumentReferences (unresolved $ref)
dueDiligenceCodeDueDiligenceCode (unresolved $ref)
foreignCurrencyForeignCurrency (unresolved $ref)

Response

Objeto que representa la respuesta cuando se envía una nota débito electrónica a la DIAN

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • warning

      the / request property's exclusiveMinimum was set to true

    • warning

      the / request property's maxLength was set to 5000

    • info

      added the new optional header request parameter Idempotency-Key

    • info

      added the new optional request property

    • info

      added the new optional request property /

    • info

      added the new optional request property //

    • info

      added the new optional request property //

    • info

      added the new optional request property

    • info

      the /// request property format was generalized from float to no format

    • info

      the / request property format was generalized from float to no format

    • info

      the / request property format was generalized from float to no format

    • info

      the / request property format was generalized from float to no format

    • info

      the / request property format was generalized from float to no format

    • info

      the / request property format was generalized from float to no format

    • info

      the / request property format was generalized from float to no format

    • info

      the / request property format was generalized from float to no format

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status