1. DianServices
Bilidox
  • Raíz
    • TestService
      • valuesGetAll
      • valuesS3GetItem
      • valuesDBGetItem
      • countersDBGetItem
    • DianServices
      • NumberingRangeGetAll
        GET
      • StatusZipGetAll
        GET
      • DocumentGetItem (invoice)
        GET
      • DocumentGetItem (support)
        GET
      • DocumentGetItemPayroll
        GET
      • CustomerPartyGetItem
        GET
      • DocumentNotesGetAll
        GET
      • DocumentEventsGetAll
        GET
      • SendMailCreate
        POST
      • TestSetCreate
        POST
      • InvoiceCreate
        POST
      • InvoiceCreate Test
        POST
      • InvoiceCreate Copy OK
        POST
      • CreditnoteCreate
        POST
      • CreditnoteCreate Copy
        POST
      • EquivalentCreate
        POST
      • EquivalentCreate Copy
        POST
      • EquivalentSpdCreate
        POST
      • EquivalentSpdCreate Copy
        POST
      • SupportCreate
        POST
      • SupportCreate Copy
        POST
      • PayrollCreate
        POST
      • PayrollCreate Copy
        POST
      • EventCreate
        POST
      • EventCreate ProviderRadian
        POST
    • S3File
      • fileUrlGetItem
      • filePdfGetItem
      • fileXmlGetItem
      • fileCreate
    • DDBRepositories
      • typesGetAll
      • typesGetAllTaxes
    • DDBProvider
      • providerGetAll
      • providersGetItem
      • providersCreate
      • providersUpdate
    • DDBCompany
      • companyGetAll
      • companyGetItem
      • companyGetItemCounter
      • companyCreate
      • companyUpdate
      • companyUpdateAttach
    • DDBCounter
      • counterGetAll
      • counterGetItem
    • DDBCertificate
      • certificateGetAll
      • certificateGetItem
      • certificateFileGetItem
      • certificateCreate
      • certificateUpdate
    • DDBDocument
      • documentGetAll
      • documentGetItem
    • DDBPurchaseOrder
      • purchaseorderGetAll
      • purchaseorderGetItem
      • purchaseorderPaymentGetPayu
      • purchaseorderPaymentGetWompi
      • purchaseorderCreate
      • purchaseorderCreatePayment
      • purchaseorderCreatePayment Wompi
      • purchaseorderUpdate
    • DDBSoftware
      • softwareGetAll
      • softwareGetItem
      • softwareCreate
      • softwareUpdate
    • DDBNumeration
      • numerationGetAll
      • numerationGetItem
      • numerationCreate
      • numerationUpdate
    • DDBEmployee
      • employeeGetAll
      • employeeGetItem
      • employeeCreate
      • employeeUpdate
    • DDBCustomer
      • customerGetAll
      • customerGetItem
      • customerCreate
      • customerUpdate
    • DDBSupplier
      • supplierGetAll
      • supplierGetItem
      • supplierCreate
      • supplierUpdate
    • DDBItem
      • itemGetAll
      • itemGetItem
      • itemCreate
      • itemUpdate
    • DDBUser
      • userOauth
      • userGetAll
      • userGetItem
      • userCreate
      • userCreateIntegrations
      • userUpdate
      • userChangePassword
      • userForgotPassword
      • userResetPassword
    • DDBSecurity
      • tokenCreate
      • tokenCreateIntegrations
  1. DianServices

CreditnoteCreate

POST
/v1/dian/credit-notes/

Solicitud

Autorización
Proporciona tu token bearer en el encabezado
Authorization
al realizar solicitudes a recursos protegidos.
Ejemplo:
Authorization: Bearer ********************
Parámetros de consulta

Parámetros del Body application/json

Ejemplos

Respuestas

🟢200
application/json
Bodyapplication/json

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location '/v1/dian/credit-notes/?isTest=false&companyId=821001377&providerId=901084328' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "Id": "NCVE22189",
  "TypeCode": "91",
  "OperationCode": "24",
  "Number": 22189,
  "ConceptCode": "1", //https://grafosoft-my.sharepoint.com/:x:/p/gerencia/EdZqfoWHvQxHqavTqWmXTLABxD_knbfH6PAyycHjfHx08g?e=jQWa3R
  "Date": "2024-05-09T10:52:56.897",
  "CurrencyCode": "COP",
  "Note": "",
  "FileName": "",
  "QrCode": "",
  "DocumentReference": {
    "Number": "FE2952",
    "Date": "2024-04-17T00:00:00",
    "TypeCode": "01",
    "Uuid": "e7f154b823e4bde1293cea5234fabd96db1393159b8074cadc026a9501417845c2dee4632ca5f455d54be3c8d1a7fef9",
    "SchemeName": "CUFE-SHA384"
  },
  "OrderReference": {
    "Number": "FAC 2952",
    "Date": "2024-05-09T00:00:00"
  },
  "NumberingRange": {
    "Id": 0,
    "Date": "2019-03-14T00:00:00",
    "Prefix": "NCVE",
    "FromNumber": 1,
    "ToNumber": 5000000,
    "TechnicalKey": "",
    "StartDate": "2019-01-19T00:00:00",
    "EndDate": "2030-01-19T00:00:00"
  },
  "SoftwareProvider": {
    "Id": "0d2b9dd9-3be0-4040-894f-4d4f83e62002",
    "Name": "901218151Cuental",
    "Pin": "18151",
    "TestSetId": "335a93db-710a-49e7-92f1-370009f277a9",
    "ProviderId": "901218151",
    "ProviderName": "",
    "Origin": "Cuental"
  },
  "SigningCertificate": {
    "Password": "JRlImseSzMwxYcZj",
    "Content": "",
    "Url": "https://app.cuental.com/ImagesArchivo/CF_20231024145304009.p12",
    "Token": "aHR0cHM6Ly9hcHAuY3VlbnRhbC5jb20vSW1hZ2VzQXJjaGl2by9DRl8yMDIzMTAyNDE0NTMwNDAwOS5wMTJ-SlJsSW1zZVN6TXd4WWNaag"
  },
  "CompanyParty": {
    "ProviderId": "901084328",
    "ImageUrl": "https://app.cuental.com/ImagesArchivo/PM_20201027095759787.jpeg",
    "Id": "901218151",
    "IdentificationType": "31",
    "Name": "HH AGRO S.A.S",
    "PhysicalLocation": {
      "Address": "CENTRAL DE ABASTOS DE BUCARAMANGA BG 10 LC 52",
      "CityCode": "68001",
      "SubentityCode": "68",
      "CountryCode": "CO",
      "CountryName": "",
      "PostalZone": ""
    },
    "OrganizationTypeCode": "1",
    "RegimeCode": "R-99-PN",
    "TaxLevelCode": "R-99-PN",
    "TaxResidentCode": "10",
    "TaxCode": null,
    "CorporateRegistration": "05-414366-16",
    "IndustryClassificationCode": "0113",
    "Email": "hhagrosas@gmail.com",
    "Phone": "3008590640"
  },
  "CustomerParty": {
    "Id": "900383385",
    "IdentificationType": "31",
    "Name": "INVERCOMER DEL CARIBE S.A.S.    ",
    "PhysicalLocation": {
      "Address": "BRR EL PRADO DG 21 30 238",
      "CityCode": "13001",
      "SubentityCode": "13",
      "CountryCode": "CO",
      "CountryName": "Colombia",
      "PostalZone": ""
    },
    "OrganizationTypeCode": "1",
    "RegimeCode": "O-13",
    "TaxLevelCode": "O-13",
    "TaxResidentCode": "10",
    "TaxCode": "",
    "CorporateRegistration": "0927784212",
    "IndustryClassificationCode": "",
    "Email": "recepcionfactura@megatiendas.co",
    "Phone": "6933070"
  },
  "Items": [
    {
      "Code": "163601",
      "Description": "TOMATE CHONTO X 1 MALLA",
      "Quantity": 157.70,
      "Price": 4400.00,
      "PriceReference": 0.00,
      "SubtotalAmount": 693880.00,
      "UnitCode": "EA",
      "BrandName": "",
      "ModelName": "",
      "Note": "",
      "ThirdPartyIdentification": "",
      "consignmentTransport": null,
      "Discounts": [],
      "Charges": [],
      "Taxes": [
        {
          "Code": "01",
          "Amount": 0.00,
          "Percentage": 0.00,
          "TaxableAmount": 693880.00,
          "PerUnitAmount": 0.0,
          "Concept": "Exento"
        }
      ]
    }
  ],
  "PaymentMeans": {
    "Code": "1",
    "MethodCode": "97",
    "Date": "2024-05-09T00:00:00"
  },
  "LegalMonetaryTotal": {
    "GrossAmount": 693880.00,
    "TaxExclusiveAmount": 693880.0000,
    "TaxInclusiveAmount": 693880.00,
    "DiscountAmount": 0.0,
    "ChargeAmount": 0.0,
    "PrepaidAmount": 0.00,
    "PayableAmount": 693880.00
  },
  "PaymentExchangeRate": null,
  "CustomizePrintFormat": {
    "HeaderText": "NO RESPONSABLE DE IVA ,PRODUCTOS EXCLUIDOS .",
    "FooterText": "FAVOR NO PRACTICAR RETENCION DE ICA EN EL MUNICIPIO DE BUCARAMANGA (somos  grandes contribuyentes ,Autorretenedores .Resolución 1017 de 31 mayo  de 2021)"
  },
  "Period": {
    "StartDate": "2024-04-17T00:00:00",
    "EndDate": "2024-04-17T00:00:00"
  }
}'
Respuesta Ejemplo de Respuesta
{}
Modificado en 2025-12-22 19:48:45
Anterior
InvoiceCreate Copy OK
Siguiente
CreditnoteCreate Copy
Built with