curl --location '/v1/dian/credit-notes/?isTest=false&companyId=901084328&providerId=901084328' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"TypeCode": "91",
"OperationCode": "20",
"Number": 1,
"Id": "0",
"Date": "2024-09-30",
"DueDate": "2024-10-22",
"CurrencyCode": "COP",
"Note": "",
"OrderReference": {
"Number": "0",
"Date": "2024-09-30"
},
"NumberingRange": {
"Id": 24093010565626,
"Date": "2024-09-30T00:00:00+00:00",
"Prefix": "NCP",
"FromNumber": 1,
"TechnicalKey": "",
"ToNumber": 10000,
"StartDate": "2024-01-01T00:00:00+00:00",
"EndDate": "2030-12-31T00:00:00+00:00"
},
"SoftwareProvider": {
"TestSetId": "",
"Origin": "Bilidox"
},
"SigningCertificate": {
"Password": "",
"Content": ""
},
"CompanyParty": {
"ImageUrl": "https://app.cuental.com/ImagesArchivo/PM_20180517201411241.jpg",
"Id": "901084328",
"IdentificationType": "31",
"ProviderId": "901084328",
"Name": "GRAFOSOFT SAS",
"PhysicalLocation": {
"Address": "NATURA ECOPARQUE EMPRESARIAL KM 2 ANILLO VIAL OF 628 T2",
"CityCode": "68276",
"SubentityCode": "68",
"CountryCode": "CO",
"CountryName": "",
"PostalZone": ""
},
"OrganizationTypeCode": "1",
"RegimeCode": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "10",
"TaxCode": "",
"CorporateRegistration": "05-376678-16",
"IndustryClassificationCode": "6201",
"Email": "gerencia@grafosoft.com",
"Phone": "3108697825"
},
"CustomerParty": {
"Id": "222222222222",
"IdentificationType": "13",
"Name": "Consumidor Final",
"PhysicalLocation": {
"Address": "0",
"CityCode": "11001",
"SubentityCode": "11",
"CountryCode": "CO",
"CountryName": "",
"PostalZone": "N/A"
},
"OrganizationTypeCode": "2",
"RegimeCode": "R-99-PN",
"TaxLevelCode": "R-99-PN",
"TaxResidentCode": "10",
"TaxCode": "",
"CorporateRegistration": "",
"IndustryClassificationCode": "",
"Email": "facturacion@grafosoft.com",
"Phone": ""
},
"PaymentMeans": {
"Code": "1",
"Date": "2024-09-30",
"MethodCode": "10"
},
"Items": [
{
"Code": "",
"Description": "Bilidox - Software como servicio (Computación en la Nube)",
"Quantity": 1,
"Price": "150.00",
"PriceReference": "150.00",
"consignmentTransport": null,
"ThirdPartyIdentification": "",
"UnitValue": "126.05",
"SubtotalAmount": "121.05",
"UnitCode": "94",
"BrandName": "",
"ModelName": "",
"Note": "",
"Discounts": [
{
"Code": "00",
"Percentage": "3,97",
"Amount": "5",
"BaseAmount": "126,05",
"Reason": "razon/motivo del descuento"
}
],
"Charges": [
{
"Code": "02",
"Percentage": 0,
"Amount": 0,
"BaseAmount": 0,
"Reason": "razon/motivo del recargo"
}
],
"Taxes": [
{
"Code": "01",
"Amount": "23.00",
"Percentage": "19.00",
"TaxableAmount": "121.05",
"PerUnitAmount": "0.00",
"Concept": "percentage"
},
{
"Code": "22",
"Amount": "10.00",
"Percentage": "0.00",
"TaxableAmount": "121.05",
"PerUnitAmount": "10.00",
"Concept": "amount"
}
]
}
],
"CustomizePrintFormat": {
"HeaderText": "",
"FooterText": ""
},
"LegalMonetaryTotal": {
"GrossAmount": "121.05",
"TaxExclusiveAmount": "121.05",
"TaxInclusiveAmount": "154.05",
"DiscountAmount": 0,
"ChargeAmount": 0,
"PrepaidAmount": 0,
"PayableAmount": "154.05"
},
"ConceptCode": "1",
"DocumentReference": {
"Number": "EP1",
"Date": "2024-09-30T05:00:00+00:00",
"TypeCode": "01",
"Uuid": "fdb313cb1bc4c805e06cba9616784b890405f98453a40a355e0de12d29b77e0825c957ceaf500b8cb207f53cb72e15d8",
"SchemeName": "CUFE-SHA384"
},
"HealthSectorExtension": null,
"FileName": "",
"QrCode": "",
"PaymentExchangeRate": null,
"Period": {
"StartDate": "2024-09-30",
"EndDate": "2024-10-22"
},
"CashRegister": null,
"BuyerBenefits": null
}'